SapInstances interface

Interface representing a SapInstances.

Methods

beginCreate(string, string, string, SAPInstance, SapInstancesCreateOptionalParams)

Creates the SAP Instance resource.

This will be used by service only. PUT operation on this resource by end user will return a Bad Request error.

beginCreateAndWait(string, string, string, SAPInstance, SapInstancesCreateOptionalParams)

Creates the SAP Instance resource.

This will be used by service only. PUT operation on this resource by end user will return a Bad Request error.

beginDelete(string, string, string, SapInstancesDeleteOptionalParams)

Deletes the SAP Instance resource.

This will be used by service only. Delete operation on this resource by end user will return a Bad Request error. You can delete the parent resource, which is the SAP Migration discovery site resource, using the delete operation on it.

beginDeleteAndWait(string, string, string, SapInstancesDeleteOptionalParams)

Deletes the SAP Instance resource.

This will be used by service only. Delete operation on this resource by end user will return a Bad Request error. You can delete the parent resource, which is the SAP Migration discovery site resource, using the delete operation on it.

get(string, string, string, SapInstancesGetOptionalParams)

Gets the SAP Instance resource.

listBySapDiscoverySite(string, string, SapInstancesListBySapDiscoverySiteOptionalParams)

Lists the SAP Instance resources for the given SAP Migration discovery site resource.

update(string, string, string, SAPInstanceTagsUpdate, SapInstancesUpdateOptionalParams)

Updates the SAP Instance resource.

Method Details

beginCreate(string, string, string, SAPInstance, SapInstancesCreateOptionalParams)

Creates the SAP Instance resource.

This will be used by service only. PUT operation on this resource by end user will return a Bad Request error.

function beginCreate(resourceGroupName: string, sapDiscoverySiteName: string, sapInstanceName: string, resource: SAPInstance, options?: SapInstancesCreateOptionalParams): Promise<SimplePollerLike<OperationState<SAPInstance>, SAPInstance>>

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.

sapInstanceName

string

The name of SAP Instance resource for SAP Migration.

resource
SAPInstance

Resource create parameters.

options
SapInstancesCreateOptionalParams

The options parameters.

Returns

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

beginCreateAndWait(string, string, string, SAPInstance, SapInstancesCreateOptionalParams)

Creates the SAP Instance resource.

This will be used by service only. PUT operation on this resource by end user will return a Bad Request error.

function beginCreateAndWait(resourceGroupName: string, sapDiscoverySiteName: string, sapInstanceName: string, resource: SAPInstance, options?: SapInstancesCreateOptionalParams): Promise<SAPInstance>

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.

sapInstanceName

string

The name of SAP Instance resource for SAP Migration.

resource
SAPInstance

Resource create parameters.

options
SapInstancesCreateOptionalParams

The options parameters.

Returns

Promise<SAPInstance>

beginDelete(string, string, string, SapInstancesDeleteOptionalParams)

Deletes the SAP Instance resource.

This will be used by service only. Delete operation on this resource by end user will return a Bad Request error. You can delete the parent resource, which is the SAP Migration discovery site resource, using the delete operation on it.

function beginDelete(resourceGroupName: string, sapDiscoverySiteName: string, sapInstanceName: string, options?: SapInstancesDeleteOptionalParams): 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.

sapInstanceName

string

The name of SAP Instance resource for SAP Migration.

options
SapInstancesDeleteOptionalParams

The options parameters.

Returns

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

beginDeleteAndWait(string, string, string, SapInstancesDeleteOptionalParams)

Deletes the SAP Instance resource.

This will be used by service only. Delete operation on this resource by end user will return a Bad Request error. You can delete the parent resource, which is the SAP Migration discovery site resource, using the delete operation on it.

function beginDeleteAndWait(resourceGroupName: string, sapDiscoverySiteName: string, sapInstanceName: string, options?: SapInstancesDeleteOptionalParams): 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.

sapInstanceName

string

The name of SAP Instance resource for SAP Migration.

options
SapInstancesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, SapInstancesGetOptionalParams)

Gets the SAP Instance resource.

function get(resourceGroupName: string, sapDiscoverySiteName: string, sapInstanceName: string, options?: SapInstancesGetOptionalParams): Promise<SAPInstance>

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.

sapInstanceName

string

The name of SAP Instance resource for SAP Migration.

options
SapInstancesGetOptionalParams

The options parameters.

Returns

Promise<SAPInstance>

listBySapDiscoverySite(string, string, SapInstancesListBySapDiscoverySiteOptionalParams)

Lists the SAP Instance resources for the given SAP Migration discovery site resource.

function listBySapDiscoverySite(resourceGroupName: string, sapDiscoverySiteName: string, options?: SapInstancesListBySapDiscoverySiteOptionalParams): PagedAsyncIterableIterator<SAPInstance, SAPInstance[], PageSettings>

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
SapInstancesListBySapDiscoverySiteOptionalParams

The options parameters.

Returns

update(string, string, string, SAPInstanceTagsUpdate, SapInstancesUpdateOptionalParams)

Updates the SAP Instance resource.

function update(resourceGroupName: string, sapDiscoverySiteName: string, sapInstanceName: string, properties: SAPInstanceTagsUpdate, options?: SapInstancesUpdateOptionalParams): Promise<SAPInstance>

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.

sapInstanceName

string

The name of SAP Instance resource for SAP Migration.

properties
SAPInstanceTagsUpdate

The resource properties to be updated.

options
SapInstancesUpdateOptionalParams

The options parameters.

Returns

Promise<SAPInstance>