Interface SapApplicationServerInstances
public interface SapApplicationServerInstances
Resource collection API of SapApplicationServerInstances.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new SapApplicationServerInstance resource.Deletes the SAP Application Server Instance resource.delete
(String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName, com.azure.core.util.Context context) Deletes the SAP Application Server Instance resource.deleteById
(String id) Deletes the SAP Application Server Instance resource.deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Deletes the SAP Application Server Instance resource.Gets the SAP Application Server Instance corresponding to the Virtual Instance for SAP solutions resource.Gets the SAP Application Server Instance corresponding to the Virtual Instance for SAP solutions resource.com.azure.core.http.rest.Response<SapApplicationServerInstance>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Gets the SAP Application Server Instance corresponding to the Virtual Instance for SAP solutions resource.com.azure.core.http.rest.Response<SapApplicationServerInstance>
getWithResponse
(String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName, com.azure.core.util.Context context) Gets the SAP Application Server Instance corresponding to the Virtual Instance for SAP solutions resource.com.azure.core.http.rest.PagedIterable<SapApplicationServerInstance>
Lists the SAP Application Server Instance resources for a given Virtual Instance for SAP solutions resource.com.azure.core.http.rest.PagedIterable<SapApplicationServerInstance>
Lists the SAP Application Server Instance resources for a given Virtual Instance for SAP solutions resource.startInstance
(String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName) Starts the SAP Application Server Instance.startInstance
(String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName, com.azure.core.util.Context context) Starts the SAP Application Server Instance.stopInstance
(String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName) Stops the SAP Application Server Instance.stopInstance
(String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName, StopRequest body, com.azure.core.util.Context context) Stops the SAP Application Server Instance.
-
Method Details
-
getWithResponse
com.azure.core.http.rest.Response<SapApplicationServerInstance> getWithResponse(String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName, com.azure.core.util.Context context) Gets the SAP Application Server Instance corresponding to the 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.applicationInstanceName
- The name of SAP Application Server instance resource.context
- The context to associate with this operation.- Returns:
- the SAP Application Server Instance corresponding to the 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.
-
get
SapApplicationServerInstance get(String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName) Gets the SAP Application Server Instance corresponding to the 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.applicationInstanceName
- The name of SAP Application Server instance resource.- Returns:
- the SAP Application Server Instance corresponding to the 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.
-
delete
OperationStatusResult delete(String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName) Deletes the SAP Application Server Instance resource. <br><br>This operation 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.applicationInstanceName
- The name of SAP Application Server instance 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, String applicationInstanceName, com.azure.core.util.Context context) Deletes the SAP Application Server Instance resource. <br><br>This operation 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.applicationInstanceName
- The name of SAP Application Server instance 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.
-
list
com.azure.core.http.rest.PagedIterable<SapApplicationServerInstance> list(String resourceGroupName, String sapVirtualInstanceName) Lists the SAP Application Server Instance resources for a given 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 Application Server Instance resources 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<SapApplicationServerInstance> list(String resourceGroupName, String sapVirtualInstanceName, com.azure.core.util.Context context) Lists the SAP Application Server Instance resources for a given 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 Application Server Instance resources 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 applicationInstanceName) Starts the SAP Application Server 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.applicationInstanceName
- The name of SAP Application Server instance 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.
-
startInstance
OperationStatusResult startInstance(String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName, com.azure.core.util.Context context) Starts the SAP Application Server 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.applicationInstanceName
- The name of SAP Application Server instance 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.
-
stopInstance
OperationStatusResult stopInstance(String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName) Stops the SAP Application Server 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.applicationInstanceName
- The name of SAP Application Server instance 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.
-
stopInstance
OperationStatusResult stopInstance(String resourceGroupName, String sapVirtualInstanceName, String applicationInstanceName, StopRequest body, com.azure.core.util.Context context) Stops the SAP Application Server 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.applicationInstanceName
- The name of SAP Application Server instance resource.body
- SAP Application server instance 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 the SAP Application Server Instance corresponding to the Virtual Instance for SAP solutions resource.- Parameters:
id
- the resource ID.- Returns:
- the SAP Application Server Instance corresponding to the 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<SapApplicationServerInstance> getByIdWithResponse(String id, com.azure.core.util.Context context) Gets the SAP Application Server Instance corresponding to the Virtual Instance for SAP solutions resource.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- the SAP Application Server Instance corresponding to the 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 the SAP Application Server Instance resource. <br><br>This operation 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 SAP Application Server Instance resource. <br><br>This operation 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 SapApplicationServerInstance resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new SapApplicationServerInstance definition.
-