ServerInstances interface

Interface representing a ServerInstances.

Methods

beginCreate(string, string, string, string, ServerInstance, ServerInstancesCreateOptionalParams)

Creates the Server 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, string, ServerInstance, ServerInstancesCreateOptionalParams)

Creates the Server 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, string, ServerInstancesDeleteOptionalParams)

Deletes the Server 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, string, ServerInstancesDeleteOptionalParams)

Deletes the Server 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, string, ServerInstancesGetOptionalParams)

Gets the Server Instance resource.

listBySapInstance(string, string, string, ServerInstancesListBySapInstanceOptionalParams)

Lists the Server Instance resources for the given SAP Instance resource.

update(string, string, string, string, UpdateServerInstanceRequest, ServerInstancesUpdateOptionalParams)

Updates the Server Instance resource. This operation on a resource by end user will return a Bad Request error.

Method Details

beginCreate(string, string, string, string, ServerInstance, ServerInstancesCreateOptionalParams)

Creates the Server 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, serverInstanceName: string, resource: ServerInstance, options?: ServerInstancesCreateOptionalParams): Promise<SimplePollerLike<OperationState<ServerInstance>, ServerInstance>>

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.

serverInstanceName

string

The name of the Server instance resource for SAP Migration.

resource
ServerInstance

Resource create parameters.

options
ServerInstancesCreateOptionalParams

The options parameters.

Returns

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

beginCreateAndWait(string, string, string, string, ServerInstance, ServerInstancesCreateOptionalParams)

Creates the Server 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, serverInstanceName: string, resource: ServerInstance, options?: ServerInstancesCreateOptionalParams): Promise<ServerInstance>

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.

serverInstanceName

string

The name of the Server instance resource for SAP Migration.

resource
ServerInstance

Resource create parameters.

options
ServerInstancesCreateOptionalParams

The options parameters.

Returns

Promise<ServerInstance>

beginDelete(string, string, string, string, ServerInstancesDeleteOptionalParams)

Deletes the Server 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, serverInstanceName: string, options?: ServerInstancesDeleteOptionalParams): 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.

serverInstanceName

string

The name of the Server instance resource for SAP Migration.

options
ServerInstancesDeleteOptionalParams

The options parameters.

Returns

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

beginDeleteAndWait(string, string, string, string, ServerInstancesDeleteOptionalParams)

Deletes the Server 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, serverInstanceName: string, options?: ServerInstancesDeleteOptionalParams): 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.

serverInstanceName

string

The name of the Server instance resource for SAP Migration.

options
ServerInstancesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, string, ServerInstancesGetOptionalParams)

Gets the Server Instance resource.

function get(resourceGroupName: string, sapDiscoverySiteName: string, sapInstanceName: string, serverInstanceName: string, options?: ServerInstancesGetOptionalParams): Promise<ServerInstance>

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.

serverInstanceName

string

The name of the Server instance resource for SAP Migration.

options
ServerInstancesGetOptionalParams

The options parameters.

Returns

Promise<ServerInstance>

listBySapInstance(string, string, string, ServerInstancesListBySapInstanceOptionalParams)

Lists the Server Instance resources for the given SAP Instance resource.

function listBySapInstance(resourceGroupName: string, sapDiscoverySiteName: string, sapInstanceName: string, options?: ServerInstancesListBySapInstanceOptionalParams): PagedAsyncIterableIterator<ServerInstance, ServerInstance[], 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.

sapInstanceName

string

The name of SAP Instance resource for SAP Migration.

options
ServerInstancesListBySapInstanceOptionalParams

The options parameters.

Returns

update(string, string, string, string, UpdateServerInstanceRequest, ServerInstancesUpdateOptionalParams)

Updates the Server Instance resource. This operation on a resource by end user will return a Bad Request error.

function update(resourceGroupName: string, sapDiscoverySiteName: string, sapInstanceName: string, serverInstanceName: string, properties: UpdateServerInstanceRequest, options?: ServerInstancesUpdateOptionalParams): Promise<ServerInstance>

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.

serverInstanceName

string

The name of the Server instance resource for SAP Migration.

properties
UpdateServerInstanceRequest

The resource properties to be updated.

options
ServerInstancesUpdateOptionalParams

The options parameters.

Returns

Promise<ServerInstance>