SapDatabaseInstances Interface

public interface SapDatabaseInstances

Resource collection API of SapDatabaseInstances.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new SapDatabaseInstance resource.

abstract void delete(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName)

Deletes the Database resource corresponding to a Virtual Instance for SAP solutions resource.

abstract void delete(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName, Context context)

Deletes the Database resource corresponding to a Virtual Instance for SAP solutions resource.

abstract void deleteById(String id)

Deletes the Database resource corresponding to a Virtual Instance for SAP solutions resource.

abstract void deleteByIdWithResponse(String id, Context context)

Deletes the Database resource corresponding to a Virtual Instance for SAP solutions resource.

abstract SapDatabaseInstance get(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName)

Gets the SAP Database Instance resource.

abstract SapDatabaseInstance getById(String id)

Gets the SAP Database Instance resource.

abstract Response<SapDatabaseInstance> getByIdWithResponse(String id, Context context)

Gets the SAP Database Instance resource.

abstract Response<SapDatabaseInstance> getWithResponse(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName, Context context)

Gets the SAP Database Instance resource.

abstract PagedIterable<SapDatabaseInstance> list(String resourceGroupName, String sapVirtualInstanceName)

Lists the Database resources associated with a Virtual Instance for SAP solutions resource.

abstract PagedIterable<SapDatabaseInstance> list(String resourceGroupName, String sapVirtualInstanceName, Context context)

Lists the Database resources associated with a Virtual Instance for SAP solutions resource.

abstract OperationStatusResult start(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName)

Starts the database instance of the SAP system.

abstract OperationStatusResult start(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName, StartRequest body, Context context)

Starts the database instance of the SAP system.

abstract OperationStatusResult stop(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName)

Stops the database instance of the SAP system.

abstract OperationStatusResult stop(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName, StopRequest body, Context context)

Stops the database instance of the SAP system.

Method Details

define

public abstract SapDatabaseInstance.DefinitionStages.Blank define(String name)

Begins definition for a new SapDatabaseInstance resource.

Parameters:

name - resource name.

Returns:

the first stage of the new SapDatabaseInstance definition.

delete

public abstract void delete(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName)

Deletes the Database resource corresponding to a Virtual Instance for SAP solutions resource.

This will be used by service only. Delete by end user will return a Bad Request error.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
sapVirtualInstanceName - The name of the Virtual Instances for SAP solutions resource.
databaseInstanceName - Database resource name string modeled as parameter for auto generation to work correctly.

delete

public abstract void delete(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName, Context context)

Deletes the Database resource corresponding to a Virtual Instance for SAP solutions resource.

This will be used by service only. Delete by end user will return a Bad Request error.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
sapVirtualInstanceName - The name of the Virtual Instances for SAP solutions resource.
databaseInstanceName - Database resource name string modeled as parameter for auto generation to work correctly.
context - The context to associate with this operation.

deleteById

public abstract void deleteById(String id)

Deletes the Database resource corresponding to a Virtual Instance for SAP solutions resource.

This will be used by service only. Delete by end user will return a Bad Request error.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract void deleteByIdWithResponse(String id, Context context)

Deletes the Database resource corresponding to a Virtual Instance for SAP solutions resource.

This will be used by service only. Delete by end user will return a Bad Request error.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

get

public abstract SapDatabaseInstance get(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName)

Gets the SAP Database Instance resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
sapVirtualInstanceName - The name of the Virtual Instances for SAP solutions resource.
databaseInstanceName - Database resource name string modeled as parameter for auto generation to work correctly.

Returns:

the SAP Database Instance resource.

getById

public abstract SapDatabaseInstance getById(String id)

Gets the SAP Database Instance resource.

Parameters:

id - the resource ID.

Returns:

the SAP Database Instance resource along with Response<T>.

getByIdWithResponse

public abstract Response<SapDatabaseInstance> getByIdWithResponse(String id, Context context)

Gets the SAP Database Instance resource.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

the SAP Database Instance resource along with Response<T>.

getWithResponse

public abstract Response<SapDatabaseInstance> getWithResponse(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName, Context context)

Gets the SAP Database Instance resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
sapVirtualInstanceName - The name of the Virtual Instances for SAP solutions resource.
databaseInstanceName - Database resource name string modeled as parameter for auto generation to work correctly.
context - The context to associate with this operation.

Returns:

the SAP Database Instance resource along with Response<T>.

list

public abstract PagedIterable<SapDatabaseInstance> list(String resourceGroupName, String sapVirtualInstanceName)

Lists the Database resources associated with a Virtual Instance for SAP solutions resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
sapVirtualInstanceName - The name of the Virtual Instances for SAP solutions resource.

Returns:

the response of a SAPDatabaseInstance list operation as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<SapDatabaseInstance> list(String resourceGroupName, String sapVirtualInstanceName, Context context)

Lists the Database resources associated with a Virtual Instance for SAP solutions resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
sapVirtualInstanceName - The name of the Virtual Instances for SAP solutions resource.
context - The context to associate with this operation.

Returns:

the response of a SAPDatabaseInstance list operation as paginated response with PagedIterable<T>.

start

public abstract OperationStatusResult start(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName)

Starts the database instance of the SAP system.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
sapVirtualInstanceName - The name of the Virtual Instances for SAP solutions resource.
databaseInstanceName - Database resource name string modeled as parameter for auto generation to work correctly.

Returns:

the response.

start

public abstract OperationStatusResult start(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName, StartRequest body, Context context)

Starts the database instance of the SAP system.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
sapVirtualInstanceName - The name of the Virtual Instances for SAP solutions resource.
databaseInstanceName - Database resource name string modeled as parameter for auto generation to work correctly.
body - SAP Database server instance start request body.
context - The context to associate with this operation.

Returns:

the response.

stop

public abstract OperationStatusResult stop(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName)

Stops the database instance of the SAP system.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
sapVirtualInstanceName - The name of the Virtual Instances for SAP solutions resource.
databaseInstanceName - Database resource name string modeled as parameter for auto generation to work correctly.

Returns:

the response.

stop

public abstract OperationStatusResult stop(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName, StopRequest body, Context context)

Stops the database instance of the SAP system.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
sapVirtualInstanceName - The name of the Virtual Instances for SAP solutions resource.
databaseInstanceName - Database resource name string modeled as parameter for auto generation to work correctly.
body - Stop request for the database instance of the SAP system.
context - The context to associate with this operation.

Returns:

the response.

Applies to