Interface SapVirtualInstances
public interface SapVirtualInstances
Resource collection API of SapVirtualInstances.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new SapVirtualInstance resource.delete
(String resourceGroupName, String sapVirtualInstanceName, com.azure.core.util.Context context) Deletes a Virtual Instance for SAP solutions resource and its child resources, that is the associated Central Services Instance, Application Server Instances and Database Instance.deleteById
(String id) Deletes a Virtual Instance for SAP solutions resource and its child resources, that is the associated Central Services Instance, Application Server Instances and Database Instance.deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Deletes a Virtual Instance for SAP solutions resource and its child resources, that is the associated Central Services Instance, Application Server Instances and Database Instance.deleteByResourceGroup
(String resourceGroupName, String sapVirtualInstanceName) Deletes a Virtual Instance for SAP solutions resource and its child resources, that is the associated Central Services Instance, Application Server Instances and Database Instance.Gets a Virtual Instance for SAP solutions resource.com.azure.core.http.rest.Response<SapVirtualInstance>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Gets a Virtual Instance for SAP solutions resource.getByResourceGroup
(String resourceGroupName, String sapVirtualInstanceName) Gets a Virtual Instance for SAP solutions resource.com.azure.core.http.rest.Response<SapVirtualInstance>
getByResourceGroupWithResponse
(String resourceGroupName, String sapVirtualInstanceName, com.azure.core.util.Context context) Gets a Virtual Instance for SAP solutions resource.com.azure.core.http.rest.PagedIterable<SapVirtualInstance>
list()
Gets all Virtual Instances for SAP solutions resources in a Subscription.com.azure.core.http.rest.PagedIterable<SapVirtualInstance>
list
(com.azure.core.util.Context context) Gets all Virtual Instances for SAP solutions resources in a Subscription.com.azure.core.http.rest.PagedIterable<SapVirtualInstance>
listByResourceGroup
(String resourceGroupName) Gets all Virtual Instances for SAP solutions resources in a Resource Group.com.azure.core.http.rest.PagedIterable<SapVirtualInstance>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) Gets all Virtual Instances for SAP solutions resources in a Resource Group.Starts the SAP application, that is the Central Services instance and Application server instances.Starts the SAP application, that is the Central Services instance and Application server instances.Stops the SAP Application, that is the Application server instances and Central Services instance.stop
(String resourceGroupName, String sapVirtualInstanceName, StopRequest body, com.azure.core.util.Context context) Stops the SAP Application, that is the Application server instances and Central Services instance.
-
Method Details
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<SapVirtualInstance> getByResourceGroupWithResponse(String resourceGroupName, String sapVirtualInstanceName, com.azure.core.util.Context context) Gets 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:
- a Virtual Instance for SAP solutions 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.
-
getByResourceGroup
Gets 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:
- a Virtual Instance for SAP solutions 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.
-
deleteByResourceGroup
OperationStatusResult deleteByResourceGroup(String resourceGroupName, String sapVirtualInstanceName) Deletes a Virtual Instance for SAP solutions resource and its child resources, that is the associated Central Services Instance, Application Server Instances and Database Instance.- 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 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, com.azure.core.util.Context context) Deletes a Virtual Instance for SAP solutions resource and its child resources, that is the associated Central Services Instance, Application Server Instances and Database Instance.- 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 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<SapVirtualInstance> listByResourceGroup(String resourceGroupName) Gets all Virtual Instances for SAP solutions resources in a Resource Group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.- Returns:
- all Virtual Instances for SAP solutions resources in a Resource Group 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<SapVirtualInstance> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Gets all Virtual Instances for SAP solutions resources in a Resource Group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.context
- The context to associate with this operation.- Returns:
- all Virtual Instances for SAP solutions resources in a Resource Group 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<SapVirtualInstance> list()Gets all Virtual Instances for SAP solutions resources in a Subscription.- Returns:
- all Virtual Instances for SAP solutions resources in a Subscription as paginated response with
PagedIterable
. - Throws:
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<SapVirtualInstance> list(com.azure.core.util.Context context) Gets all Virtual Instances for SAP solutions resources in a Subscription.- Parameters:
context
- The context to associate with this operation.- Returns:
- all Virtual Instances for SAP solutions resources in a Subscription 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.
-
start
Starts the SAP application, that is the Central Services instance and Application server instances.- 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 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.
-
start
OperationStatusResult start(String resourceGroupName, String sapVirtualInstanceName, com.azure.core.util.Context context) Starts the SAP application, that is the Central Services instance and Application server instances.- 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 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.
-
stop
Stops the SAP Application, that is the Application server instances and Central Services instance.- 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 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.
-
stop
OperationStatusResult stop(String resourceGroupName, String sapVirtualInstanceName, StopRequest body, com.azure.core.util.Context context) Stops the SAP Application, that is the Application server instances and Central Services instance.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.sapVirtualInstanceName
- The name of the Virtual Instances for SAP solutions resource.body
- The Virtual Instance for SAP solutions resource stop request body.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 a Virtual Instance for SAP solutions resource.- Parameters:
id
- the resource ID.- Returns:
- a Virtual Instance for SAP solutions 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<SapVirtualInstance> getByIdWithResponse(String id, com.azure.core.util.Context context) Gets a Virtual Instance for SAP solutions resource.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- a Virtual Instance for SAP solutions 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 a Virtual Instance for SAP solutions resource and its child resources, that is the associated Central Services Instance, Application Server Instances and Database Instance.- 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 a Virtual Instance for SAP solutions resource and its child resources, that is the associated Central Services Instance, Application Server Instances and Database Instance.- 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 SapVirtualInstance resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new SapVirtualInstance definition.
-