Interface SapDatabaseInstances
public interface SapDatabaseInstances
Resource collection API of SapDatabaseInstances.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new SapDatabaseInstance resource.Deletes the Database resource corresponding to a Virtual Instance for SAP solutions resource.delete
(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName, com.azure.core.util.Context context) Deletes the Database resource corresponding to a Virtual Instance for SAP solutions resource.deleteById
(String id) Deletes the Database resource corresponding to a Virtual Instance for SAP solutions resource.deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Deletes the Database resource corresponding to a Virtual Instance for SAP solutions resource.Gets the SAP Database Instance resource.Gets the SAP Database Instance resource.com.azure.core.http.rest.Response<SapDatabaseInstance>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Gets the SAP Database Instance resource.com.azure.core.http.rest.Response<SapDatabaseInstance>
getWithResponse
(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName, com.azure.core.util.Context context) Gets the SAP Database Instance resource.com.azure.core.http.rest.PagedIterable<SapDatabaseInstance>
Lists the Database resources associated with a Virtual Instance for SAP solutions resource.com.azure.core.http.rest.PagedIterable<SapDatabaseInstance>
Lists the Database resources associated with a Virtual Instance for SAP solutions resource.startInstance
(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName) Starts the database instance of the SAP system.startInstance
(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName, com.azure.core.util.Context context) Starts the database instance of the SAP system.stopInstance
(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName) Stops the database instance of the SAP system.stopInstance
(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName, StopRequest body, com.azure.core.util.Context context) Stops the database instance of the SAP system.
-
Method Details
-
getWithResponse
com.azure.core.http.rest.Response<SapDatabaseInstance> getWithResponse(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName, com.azure.core.util.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
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
get
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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
OperationStatusResult delete(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName) Deletes the Database resource corresponding to a Virtual Instance for SAP solutions resource. <br><br>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.- Returns:
- the current status of an async operation.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
OperationStatusResult delete(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName, com.azure.core.util.Context context) Deletes the Database resource corresponding to a Virtual Instance for SAP solutions resource. <br><br>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.- Returns:
- the current status of an async operation.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.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:
- defines the collection of SAP Database Instances as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<SapDatabaseInstance> list(String resourceGroupName, String sapVirtualInstanceName, com.azure.core.util.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:
- defines the collection of SAP Database Instances as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
startInstance
OperationStatusResult startInstance(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 current status of an async operation.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
startInstance
OperationStatusResult startInstance(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName, com.azure.core.util.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.context
- The context to associate with this operation.- Returns:
- the current status of an async operation.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
stopInstance
OperationStatusResult stopInstance(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 current status of an async operation.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
stopInstance
OperationStatusResult stopInstance(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName, StopRequest body, com.azure.core.util.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 current status of an async operation.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getById
Gets the SAP Database Instance resource.- Parameters:
id
- the resource ID.- Returns:
- the SAP Database Instance resource along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getByIdWithResponse
com.azure.core.http.rest.Response<SapDatabaseInstance> getByIdWithResponse(String id, com.azure.core.util.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
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteById
Deletes the Database resource corresponding to a Virtual Instance for SAP solutions resource. <br><br>This will be used by service only. Delete by end user will return a Bad Request error.- Parameters:
id
- the resource ID.- Returns:
- the current status of an async operation.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteByIdWithResponse
Deletes the Database resource corresponding to a Virtual Instance for SAP solutions resource. <br><br>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.- Returns:
- the current status of an async operation.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
define
Begins definition for a new SapDatabaseInstance resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new SapDatabaseInstance definition.
-