Interface HanaInstances
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new HanaInstance resource.void
Deletes a SAP HANA instance.void
deleteById
(String id) Deletes a SAP HANA instance.void
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Deletes a SAP HANA instance.void
deleteByResourceGroup
(String resourceGroupName, String hanaInstanceName) Deletes a SAP HANA instance.Gets properties of a SAP HANA instance.com.azure.core.http.rest.Response<HanaInstance>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Gets properties of a SAP HANA instance.getByResourceGroup
(String resourceGroupName, String hanaInstanceName) Gets properties of a SAP HANA instance.com.azure.core.http.rest.Response<HanaInstance>
getByResourceGroupWithResponse
(String resourceGroupName, String hanaInstanceName, com.azure.core.util.Context context) Gets properties of a SAP HANA instance.com.azure.core.http.rest.PagedIterable<HanaInstance>
list()
Gets a list of SAP HANA instances in the specified subscription.com.azure.core.http.rest.PagedIterable<HanaInstance>
list
(com.azure.core.util.Context context) Gets a list of SAP HANA instances in the specified subscription.com.azure.core.http.rest.PagedIterable<HanaInstance>
listByResourceGroup
(String resourceGroupName) Gets a list of SAP HANA instances in the specified subscription and the resource group.com.azure.core.http.rest.PagedIterable<HanaInstance>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) Gets a list of SAP HANA instances in the specified subscription and the resource group.void
The operation to restart a SAP HANA instance.void
The operation to restart a SAP HANA instance.void
The operation to shutdown a SAP HANA instance.void
The operation to shutdown a SAP HANA instance.void
The operation to start a SAP HANA instance.void
The operation to start a SAP HANA instance.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<HanaInstance> list()Gets a list of SAP HANA instances in the specified subscription.Gets a list of SAP HANA instances in the specified subscription. The operations returns various properties of each SAP HANA on Azure instance.
- Returns:
- a list of SAP HANA instances in the specified 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
Gets a list of SAP HANA instances in the specified subscription.Gets a list of SAP HANA instances in the specified subscription. The operations returns various properties of each SAP HANA on Azure instance.
- Parameters:
context
- The context to associate with this operation.- Returns:
- a list of SAP HANA instances in the specified 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.
-
listByResourceGroup
Gets a list of SAP HANA instances in the specified subscription and the resource group.Gets a list of SAP HANA instances in the specified subscription and the resource group. The operations returns various properties of each SAP HANA on Azure instance.
- Parameters:
resourceGroupName
- Name of the resource group.- Returns:
- a list of SAP HANA instances in the specified subscription and the 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<HanaInstance> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Gets a list of SAP HANA instances in the specified subscription and the resource group.Gets a list of SAP HANA instances in the specified subscription and the resource group. The operations returns various properties of each SAP HANA on Azure instance.
- Parameters:
resourceGroupName
- Name of the resource group.context
- The context to associate with this operation.- Returns:
- a list of SAP HANA instances in the specified subscription and the 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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<HanaInstance> getByResourceGroupWithResponse(String resourceGroupName, String hanaInstanceName, com.azure.core.util.Context context) Gets properties of a SAP HANA instance.Gets properties of a SAP HANA instance for the specified subscription, resource group, and instance name.
- Parameters:
resourceGroupName
- Name of the resource group.hanaInstanceName
- Name of the SAP HANA on Azure instance.context
- The context to associate with this operation.- Returns:
- properties of a SAP HANA instance for the specified subscription, resource group, and instance name 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 properties of a SAP HANA instance.Gets properties of a SAP HANA instance for the specified subscription, resource group, and instance name.
- Parameters:
resourceGroupName
- Name of the resource group.hanaInstanceName
- Name of the SAP HANA on Azure instance.- Returns:
- properties of a SAP HANA instance for the specified subscription, resource group, and instance name.
- 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
Deletes a SAP HANA instance.Deletes a SAP HANA instance with the specified subscription, resource group, and instance name.
- Parameters:
resourceGroupName
- Name of the resource group.hanaInstanceName
- Name of the SAP HANA on Azure instance.- 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 a SAP HANA instance.Deletes a SAP HANA instance with the specified subscription, resource group, and instance name.
- Parameters:
resourceGroupName
- Name of the resource group.hanaInstanceName
- Name of the SAP HANA on Azure instance.context
- The context to associate with this 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.
-
restart
The operation to restart a SAP HANA instance.- Parameters:
resourceGroupName
- Name of the resource group.hanaInstanceName
- Name of the SAP HANA on Azure instance.- 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.
-
restart
void restart(String resourceGroupName, String hanaInstanceName, com.azure.core.util.Context context) The operation to restart a SAP HANA instance.- Parameters:
resourceGroupName
- Name of the resource group.hanaInstanceName
- Name of the SAP HANA on Azure instance.context
- The context to associate with this 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
The operation to start a SAP HANA instance.- Parameters:
resourceGroupName
- Name of the resource group.hanaInstanceName
- Name of the SAP HANA on Azure instance.- 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
The operation to start a SAP HANA instance.- Parameters:
resourceGroupName
- Name of the resource group.hanaInstanceName
- Name of the SAP HANA on Azure instance.context
- The context to associate with this 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.
-
shutdown
The operation to shutdown a SAP HANA instance.- Parameters:
resourceGroupName
- Name of the resource group.hanaInstanceName
- Name of the SAP HANA on Azure instance.- 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.
-
shutdown
void shutdown(String resourceGroupName, String hanaInstanceName, com.azure.core.util.Context context) The operation to shutdown a SAP HANA instance.- Parameters:
resourceGroupName
- Name of the resource group.hanaInstanceName
- Name of the SAP HANA on Azure instance.context
- The context to associate with this 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 properties of a SAP HANA instance.Gets properties of a SAP HANA instance for the specified subscription, resource group, and instance name.
- Parameters:
id
- the resource ID.- Returns:
- properties of a SAP HANA instance for the specified subscription, resource group, and instance name 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<HanaInstance> getByIdWithResponse(String id, com.azure.core.util.Context context) Gets properties of a SAP HANA instance.Gets properties of a SAP HANA instance for the specified subscription, resource group, and instance name.
- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- properties of a SAP HANA instance for the specified subscription, resource group, and instance name 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 SAP HANA instance.Deletes a SAP HANA instance with the specified subscription, resource group, and instance name.
- Parameters:
id
- the resource ID.- 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 SAP HANA instance.Deletes a SAP HANA instance with the specified subscription, resource group, and instance name.
- Parameters:
id
- the resource ID.context
- The context to associate with this 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 HanaInstance resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new HanaInstance definition.
-