Interface SapVirtualInstancesClient
public interface SapVirtualInstancesClient
An instance of this class provides access to all the operations defined in SapVirtualInstancesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SapVirtualInstanceInner>,
SapVirtualInstanceInner> beginCreate
(String resourceGroupName, String sapVirtualInstanceName, SapVirtualInstanceInner body) Creates an Virtual Instance for SAP.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SapVirtualInstanceInner>,
SapVirtualInstanceInner> beginCreate
(String resourceGroupName, String sapVirtualInstanceName, SapVirtualInstanceInner body, com.azure.core.util.Context context) Creates an Virtual Instance for SAP.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OperationStatusResultInner>,
OperationStatusResultInner> beginDelete
(String resourceGroupName, String sapVirtualInstanceName) Deletes an Virtual Instance for SAP.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OperationStatusResultInner>,
OperationStatusResultInner> beginDelete
(String resourceGroupName, String sapVirtualInstanceName, com.azure.core.util.Context context) Deletes an Virtual Instance for SAP.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OperationStatusResultInner>,
OperationStatusResultInner> beginStart
(String resourceGroupName, String sapVirtualInstanceName) Starts the SAP System.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OperationStatusResultInner>,
OperationStatusResultInner> beginStart
(String resourceGroupName, String sapVirtualInstanceName, com.azure.core.util.Context context) Starts the SAP System.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OperationStatusResultInner>,
OperationStatusResultInner> beginStop
(String resourceGroupName, String sapVirtualInstanceName, StopRequest body) Stops the SAP System.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OperationStatusResultInner>,
OperationStatusResultInner> beginStop
(String resourceGroupName, String sapVirtualInstanceName, StopRequest body, com.azure.core.util.Context context) Stops the SAP System.Creates an Virtual Instance for SAP.create
(String resourceGroupName, String sapVirtualInstanceName, SapVirtualInstanceInner body) Creates an Virtual Instance for SAP.create
(String resourceGroupName, String sapVirtualInstanceName, SapVirtualInstanceInner body, com.azure.core.util.Context context) Creates an Virtual Instance for SAP.Deletes an Virtual Instance for SAP.delete
(String resourceGroupName, String sapVirtualInstanceName, com.azure.core.util.Context context) Deletes an Virtual Instance for SAP.getByResourceGroup
(String resourceGroupName, String sapVirtualInstanceName) Gets an Virtual Instance for SAP.com.azure.core.http.rest.Response<SapVirtualInstanceInner>
getByResourceGroupWithResponse
(String resourceGroupName, String sapVirtualInstanceName, com.azure.core.util.Context context) Gets an Virtual Instance for SAP.com.azure.core.http.rest.PagedIterable<SapVirtualInstanceInner>
list()
Gets all Virtual Instances for SAP in the subscription.com.azure.core.http.rest.PagedIterable<SapVirtualInstanceInner>
list
(com.azure.core.util.Context context) Gets all Virtual Instances for SAP in the subscription.com.azure.core.http.rest.PagedIterable<SapVirtualInstanceInner>
listByResourceGroup
(String resourceGroupName) Gets all Virtual Instances for SAP in a resource group.com.azure.core.http.rest.PagedIterable<SapVirtualInstanceInner>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) Gets all Virtual Instances for SAP in a resource group.Starts the SAP System.Starts the SAP System.Stops the SAP System.stop
(String resourceGroupName, String sapVirtualInstanceName, StopRequest body) Stops the SAP System.stop
(String resourceGroupName, String sapVirtualInstanceName, StopRequest body, com.azure.core.util.Context context) Stops the SAP System.Updates an Virtual Instance for SAP.com.azure.core.http.rest.Response<SapVirtualInstanceInner>
updateWithResponse
(String resourceGroupName, String sapVirtualInstanceName, UpdateSapVirtualInstanceRequest body, com.azure.core.util.Context context) Updates an Virtual Instance for SAP.
-
Method Details
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SapVirtualInstanceInner>,SapVirtualInstanceInner> beginCreate(String resourceGroupName, String sapVirtualInstanceName, SapVirtualInstanceInner body) Creates an Virtual Instance for SAP.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.sapVirtualInstanceName
- The name of the Virtual Instances for SAP.body
- The Virtual Instance for SAP request body.- Returns:
- the
SyncPoller
for polling of define the Virtual Instance for SAP. - 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.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SapVirtualInstanceInner>,SapVirtualInstanceInner> beginCreate(String resourceGroupName, String sapVirtualInstanceName, SapVirtualInstanceInner body, com.azure.core.util.Context context) Creates an Virtual Instance for SAP.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.sapVirtualInstanceName
- The name of the Virtual Instances for SAP.body
- The Virtual Instance for SAP request body.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of define the Virtual Instance for SAP. - 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.
-
create
SapVirtualInstanceInner create(String resourceGroupName, String sapVirtualInstanceName, SapVirtualInstanceInner body) Creates an Virtual Instance for SAP.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.sapVirtualInstanceName
- The name of the Virtual Instances for SAP.body
- The Virtual Instance for SAP request body.- Returns:
- define the Virtual Instance for SAP.
- 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.
-
create
Creates an Virtual Instance for SAP.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.sapVirtualInstanceName
- The name of the Virtual Instances for SAP.- Returns:
- define the Virtual Instance for SAP.
- 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.
-
create
SapVirtualInstanceInner create(String resourceGroupName, String sapVirtualInstanceName, SapVirtualInstanceInner body, com.azure.core.util.Context context) Creates an Virtual Instance for SAP.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.sapVirtualInstanceName
- The name of the Virtual Instances for SAP.body
- The Virtual Instance for SAP request body.context
- The context to associate with this operation.- Returns:
- define the Virtual Instance for SAP.
- 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 an Virtual Instance for SAP.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.sapVirtualInstanceName
- The name of the Virtual Instances for SAP.- Returns:
- an Virtual Instance for SAP.
- 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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<SapVirtualInstanceInner> getByResourceGroupWithResponse(String resourceGroupName, String sapVirtualInstanceName, com.azure.core.util.Context context) Gets an Virtual Instance for SAP.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.sapVirtualInstanceName
- The name of the Virtual Instances for SAP.context
- The context to associate with this operation.- Returns:
- an Virtual Instance for SAP 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.
-
update
Updates an Virtual Instance for SAP.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.sapVirtualInstanceName
- The name of the Virtual Instances for SAP.- Returns:
- define the Virtual Instance for SAP.
- 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.
-
updateWithResponse
com.azure.core.http.rest.Response<SapVirtualInstanceInner> updateWithResponse(String resourceGroupName, String sapVirtualInstanceName, UpdateSapVirtualInstanceRequest body, com.azure.core.util.Context context) Updates an Virtual Instance for SAP.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.sapVirtualInstanceName
- The name of the Virtual Instances for SAP.body
- The Update Virtual Instance for SAP request body.context
- The context to associate with this operation.- Returns:
- define the Virtual Instance for SAP 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OperationStatusResultInner>,OperationStatusResultInner> beginDelete(String resourceGroupName, String sapVirtualInstanceName) Deletes an Virtual Instance for SAP.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.sapVirtualInstanceName
- The name of the Virtual Instances for SAP.- Returns:
- the
SyncPoller
for polling of 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OperationStatusResultInner>,OperationStatusResultInner> beginDelete(String resourceGroupName, String sapVirtualInstanceName, com.azure.core.util.Context context) Deletes an Virtual Instance for SAP.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.sapVirtualInstanceName
- The name of the Virtual Instances for SAP.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of 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
Deletes an Virtual Instance for SAP.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.sapVirtualInstanceName
- The name of the Virtual Instances for SAP.- 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
OperationStatusResultInner delete(String resourceGroupName, String sapVirtualInstanceName, com.azure.core.util.Context context) Deletes an Virtual Instance for SAP.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.sapVirtualInstanceName
- The name of the Virtual Instances for SAP.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<SapVirtualInstanceInner> listByResourceGroup(String resourceGroupName) Gets all Virtual Instances for SAP in a resource group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.- Returns:
- all Virtual Instances for SAP 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<SapVirtualInstanceInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Gets all Virtual Instances for SAP 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 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<SapVirtualInstanceInner> list()Gets all Virtual Instances for SAP in the subscription.- Returns:
- all Virtual Instances for SAP in the 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<SapVirtualInstanceInner> list(com.azure.core.util.Context context) Gets all Virtual Instances for SAP in the subscription.- Parameters:
context
- The context to associate with this operation.- Returns:
- all Virtual Instances for SAP in the 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.
-
beginStart
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OperationStatusResultInner>,OperationStatusResultInner> beginStart(String resourceGroupName, String sapVirtualInstanceName) Starts 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.- Returns:
- the
SyncPoller
for polling of 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.
-
beginStart
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OperationStatusResultInner>,OperationStatusResultInner> beginStart(String resourceGroupName, String sapVirtualInstanceName, com.azure.core.util.Context context) Starts 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.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of 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
Starts 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.- 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
OperationStatusResultInner start(String resourceGroupName, String sapVirtualInstanceName, com.azure.core.util.Context context) Starts 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.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.
-
beginStop
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OperationStatusResultInner>,OperationStatusResultInner> beginStop(String resourceGroupName, String sapVirtualInstanceName, StopRequest body) Stops 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.body
- The Virtual Instances for SAP stop request body.- Returns:
- the
SyncPoller
for polling of 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.
-
beginStop
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OperationStatusResultInner>,OperationStatusResultInner> beginStop(String resourceGroupName, String sapVirtualInstanceName, StopRequest body, com.azure.core.util.Context context) Stops 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.body
- The Virtual Instances for SAP stop request body.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of 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
OperationStatusResultInner stop(String resourceGroupName, String sapVirtualInstanceName, StopRequest body) Stops 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.body
- The Virtual Instances for SAP stop request body.- 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 System.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.sapVirtualInstanceName
- The name of the Virtual Instances for SAP.- 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
OperationStatusResultInner stop(String resourceGroupName, String sapVirtualInstanceName, StopRequest body, com.azure.core.util.Context context) Stops 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.body
- The Virtual Instances for SAP 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.
-