SapDiscoverySites interface

Interface representing a SapDiscoverySites.

Methods

beginCreate(string, string, SAPDiscoverySite, SapDiscoverySitesCreateOptionalParams)

Creates a discovery site resource for SAP Migration. This resource will be used to run system discovery and assessment with Azure Migrate.

beginCreateAndWait(string, string, SAPDiscoverySite, SapDiscoverySitesCreateOptionalParams)

Creates a discovery site resource for SAP Migration. This resource will be used to run system discovery and assessment with Azure Migrate.

beginDelete(string, string, SapDiscoverySitesDeleteOptionalParams)

Deletes a SAP Migration discovery site resource and its child resources, that is the associated SAP Instances and Server Instances.

beginDeleteAndWait(string, string, SapDiscoverySitesDeleteOptionalParams)

Deletes a SAP Migration discovery site resource and its child resources, that is the associated SAP Instances and Server Instances.

beginImportEntities(string, string, SapDiscoverySitesImportEntitiesOptionalParams)

Import your SAP systems' inventory using the Discovery template into your SAP Migration discovery site resource and it's child resources, the SAP instances and Server instances.

beginImportEntitiesAndWait(string, string, SapDiscoverySitesImportEntitiesOptionalParams)

Import your SAP systems' inventory using the Discovery template into your SAP Migration discovery site resource and it's child resources, the SAP instances and Server instances.

get(string, string, SapDiscoverySitesGetOptionalParams)

Gets a SAP Migration discovery site resource.

listByResourceGroup(string, SapDiscoverySitesListByResourceGroupOptionalParams)

Gets all SAP Migration discovery site resources in a Resource Group.

listBySubscription(SapDiscoverySitesListBySubscriptionOptionalParams)

Gets all SAP Migration discovery site resources in a Subscription.

update(string, string, SAPDiscoverySiteTagsUpdate, SapDiscoverySitesUpdateOptionalParams)

Updates a SAP Migration discovery site resource.

Method Details

beginCreate(string, string, SAPDiscoverySite, SapDiscoverySitesCreateOptionalParams)

Creates a discovery site resource for SAP Migration. This resource will be used to run system discovery and assessment with Azure Migrate.

function beginCreate(resourceGroupName: string, sapDiscoverySiteName: string, resource: SAPDiscoverySite, options?: SapDiscoverySitesCreateOptionalParams): Promise<SimplePollerLike<OperationState<SAPDiscoverySite>, SAPDiscoverySite>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

sapDiscoverySiteName

string

The name of the discovery site resource for SAP Migration.

resource
SAPDiscoverySite

Resource create parameters.

options
SapDiscoverySitesCreateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<SAPDiscoverySite>, SAPDiscoverySite>>

beginCreateAndWait(string, string, SAPDiscoverySite, SapDiscoverySitesCreateOptionalParams)

Creates a discovery site resource for SAP Migration. This resource will be used to run system discovery and assessment with Azure Migrate.

function beginCreateAndWait(resourceGroupName: string, sapDiscoverySiteName: string, resource: SAPDiscoverySite, options?: SapDiscoverySitesCreateOptionalParams): Promise<SAPDiscoverySite>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

sapDiscoverySiteName

string

The name of the discovery site resource for SAP Migration.

resource
SAPDiscoverySite

Resource create parameters.

options
SapDiscoverySitesCreateOptionalParams

The options parameters.

Returns

Promise<SAPDiscoverySite>

beginDelete(string, string, SapDiscoverySitesDeleteOptionalParams)

Deletes a SAP Migration discovery site resource and its child resources, that is the associated SAP Instances and Server Instances.

function beginDelete(resourceGroupName: string, sapDiscoverySiteName: string, options?: SapDiscoverySitesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

sapDiscoverySiteName

string

The name of the discovery site resource for SAP Migration.

options
SapDiscoverySitesDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, SapDiscoverySitesDeleteOptionalParams)

Deletes a SAP Migration discovery site resource and its child resources, that is the associated SAP Instances and Server Instances.

function beginDeleteAndWait(resourceGroupName: string, sapDiscoverySiteName: string, options?: SapDiscoverySitesDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

sapDiscoverySiteName

string

The name of the discovery site resource for SAP Migration.

options
SapDiscoverySitesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

beginImportEntities(string, string, SapDiscoverySitesImportEntitiesOptionalParams)

Import your SAP systems' inventory using the Discovery template into your SAP Migration discovery site resource and it's child resources, the SAP instances and Server instances.

function beginImportEntities(resourceGroupName: string, sapDiscoverySiteName: string, options?: SapDiscoverySitesImportEntitiesOptionalParams): Promise<SimplePollerLike<OperationState<OperationStatusResult>, OperationStatusResult>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

sapDiscoverySiteName

string

The name of the discovery site resource for SAP Migration.

options
SapDiscoverySitesImportEntitiesOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<OperationStatusResult>, OperationStatusResult>>

beginImportEntitiesAndWait(string, string, SapDiscoverySitesImportEntitiesOptionalParams)

Import your SAP systems' inventory using the Discovery template into your SAP Migration discovery site resource and it's child resources, the SAP instances and Server instances.

function beginImportEntitiesAndWait(resourceGroupName: string, sapDiscoverySiteName: string, options?: SapDiscoverySitesImportEntitiesOptionalParams): Promise<OperationStatusResult>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

sapDiscoverySiteName

string

The name of the discovery site resource for SAP Migration.

options
SapDiscoverySitesImportEntitiesOptionalParams

The options parameters.

Returns

get(string, string, SapDiscoverySitesGetOptionalParams)

Gets a SAP Migration discovery site resource.

function get(resourceGroupName: string, sapDiscoverySiteName: string, options?: SapDiscoverySitesGetOptionalParams): Promise<SAPDiscoverySite>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

sapDiscoverySiteName

string

The name of the discovery site resource for SAP Migration.

options
SapDiscoverySitesGetOptionalParams

The options parameters.

Returns

Promise<SAPDiscoverySite>

listByResourceGroup(string, SapDiscoverySitesListByResourceGroupOptionalParams)

Gets all SAP Migration discovery site resources in a Resource Group.

function listByResourceGroup(resourceGroupName: string, options?: SapDiscoverySitesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<SAPDiscoverySite, SAPDiscoverySite[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

options
SapDiscoverySitesListByResourceGroupOptionalParams

The options parameters.

Returns

listBySubscription(SapDiscoverySitesListBySubscriptionOptionalParams)

Gets all SAP Migration discovery site resources in a Subscription.

function listBySubscription(options?: SapDiscoverySitesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<SAPDiscoverySite, SAPDiscoverySite[], PageSettings>

Parameters

options
SapDiscoverySitesListBySubscriptionOptionalParams

The options parameters.

Returns

update(string, string, SAPDiscoverySiteTagsUpdate, SapDiscoverySitesUpdateOptionalParams)

Updates a SAP Migration discovery site resource.

function update(resourceGroupName: string, sapDiscoverySiteName: string, properties: SAPDiscoverySiteTagsUpdate, options?: SapDiscoverySitesUpdateOptionalParams): Promise<SAPDiscoverySite>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

sapDiscoverySiteName

string

The name of the discovery site resource for SAP Migration.

properties
SAPDiscoverySiteTagsUpdate

The resource properties to be updated.

options
SapDiscoverySitesUpdateOptionalParams

The options parameters.

Returns

Promise<SAPDiscoverySite>