Interface AppliancesClient
public interface AppliancesClient
An instance of this class provides access to all the operations defined in AppliancesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ApplianceInner>,
ApplianceInner> beginCreateOrUpdate
(String resourceGroupName, String resourceName, ApplianceInner parameters) Creates or updates an Appliance in the specified Subscription and Resource Group.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ApplianceInner>,
ApplianceInner> beginCreateOrUpdate
(String resourceGroupName, String resourceName, ApplianceInner parameters, com.azure.core.util.Context context) Creates or updates an Appliance in the specified Subscription and Resource Group.beginDelete
(String resourceGroupName, String resourceName) Deletes an Appliance with the specified Resource Name, Resource Group, and Subscription Id.beginDelete
(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Deletes an Appliance with the specified Resource Name, Resource Group, and Subscription Id.createOrUpdate
(String resourceGroupName, String resourceName, ApplianceInner parameters) Creates or updates an Appliance in the specified Subscription and Resource Group.createOrUpdate
(String resourceGroupName, String resourceName, ApplianceInner parameters, com.azure.core.util.Context context) Creates or updates an Appliance in the specified Subscription and Resource Group.void
Deletes an Appliance with the specified Resource Name, Resource Group, and Subscription Id.void
Deletes an Appliance with the specified Resource Name, Resource Group, and Subscription Id.getByResourceGroup
(String resourceGroupName, String resourceName) Gets the details of an Appliance with a specified resource group and name.com.azure.core.http.rest.Response<ApplianceInner>
getByResourceGroupWithResponse
(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Gets the details of an Appliance with a specified resource group and name.getUpgradeGraph
(String resourceGroupName, String resourceName, String upgradeGraph) Gets the upgrade graph of an Appliance with a specified resource group and name and specific release train.com.azure.core.http.rest.Response<UpgradeGraphInner>
getUpgradeGraphWithResponse
(String resourceGroupName, String resourceName, String upgradeGraph, com.azure.core.util.Context context) Gets the upgrade graph of an Appliance with a specified resource group and name and specific release train.com.azure.core.http.rest.PagedIterable<ApplianceInner>
list()
Gets a list of Appliances in the specified subscription.com.azure.core.http.rest.PagedIterable<ApplianceInner>
list
(com.azure.core.util.Context context) Gets a list of Appliances in the specified subscription.com.azure.core.http.rest.PagedIterable<ApplianceInner>
listByResourceGroup
(String resourceGroupName) Gets a list of Appliances in the specified subscription and resource group.com.azure.core.http.rest.PagedIterable<ApplianceInner>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) Gets a list of Appliances in the specified subscription and resource group.listClusterCustomerUserCredential
(String resourceGroupName, String resourceName) Returns the cluster customer user credentials for the dedicated appliance.com.azure.core.http.rest.Response<ApplianceListClusterCustomerUserCredentialResultsInner>
listClusterCustomerUserCredentialWithResponse
(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Returns the cluster customer user credentials for the dedicated appliance.listClusterUserCredential
(String resourceGroupName, String resourceName) Returns the cluster user credentials for the dedicated appliance.com.azure.core.http.rest.Response<ApplianceListCredentialResultsInner>
listClusterUserCredentialWithResponse
(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Returns the cluster user credentials for the dedicated appliance.com.azure.core.http.rest.PagedIterable<ApplianceOperationInner>
Lists all available Appliances operations.com.azure.core.http.rest.PagedIterable<ApplianceOperationInner>
listOperations
(com.azure.core.util.Context context) Lists all available Appliances operations.update
(String resourceGroupName, String resourceName, PatchableAppliance parameters) Updates an Appliance with the specified Resource Name in the specified Resource Group and Subscription.com.azure.core.http.rest.Response<ApplianceInner>
updateWithResponse
(String resourceGroupName, String resourceName, PatchableAppliance parameters, com.azure.core.util.Context context) Updates an Appliance with the specified Resource Name in the specified Resource Group and Subscription.
-
Method Details
-
listOperations
com.azure.core.http.rest.PagedIterable<ApplianceOperationInner> listOperations()Lists all available Appliances operations.- Returns:
- lists of Appliances operations 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.
-
listOperations
com.azure.core.http.rest.PagedIterable<ApplianceOperationInner> listOperations(com.azure.core.util.Context context) Lists all available Appliances operations.- Parameters:
context
- The context to associate with this operation.- Returns:
- lists of Appliances operations 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<ApplianceInner> list()Gets a list of Appliances in the specified subscription. The operation returns properties of each Appliance.- Returns:
- a list of Appliances 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 Appliances in the specified subscription. The operation returns properties of each Appliance.- Parameters:
context
- The context to associate with this operation.- Returns:
- a list of Appliances 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
com.azure.core.http.rest.PagedIterable<ApplianceInner> listByResourceGroup(String resourceGroupName) Gets a list of Appliances in the specified subscription and resource group. The operation returns properties of each Appliance.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.- Returns:
- a list of Appliances in the specified subscription and 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<ApplianceInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Gets a list of Appliances in the specified subscription and resource group. The operation returns properties of each Appliance.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.context
- The context to associate with this operation.- Returns:
- a list of Appliances in the specified subscription and 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.
-
getByResourceGroup
Gets the details of an Appliance with a specified resource group and name.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- Appliances name.- Returns:
- the details of an Appliance with a specified resource group and 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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<ApplianceInner> getByResourceGroupWithResponse(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Gets the details of an Appliance with a specified resource group and name.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- Appliances name.context
- The context to associate with this operation.- Returns:
- the details of an Appliance with a specified resource group and 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ApplianceInner>,ApplianceInner> beginCreateOrUpdate(String resourceGroupName, String resourceName, ApplianceInner parameters) Creates or updates an Appliance in the specified Subscription and Resource Group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- Appliances name.parameters
- Parameters supplied to create or update an Appliance.- Returns:
- the
SyncPoller
for polling of appliances definition. - 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ApplianceInner>,ApplianceInner> beginCreateOrUpdate(String resourceGroupName, String resourceName, ApplianceInner parameters, com.azure.core.util.Context context) Creates or updates an Appliance in the specified Subscription and Resource Group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- Appliances name.parameters
- Parameters supplied to create or update an Appliance.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of appliances definition. - 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.
-
createOrUpdate
ApplianceInner createOrUpdate(String resourceGroupName, String resourceName, ApplianceInner parameters) Creates or updates an Appliance in the specified Subscription and Resource Group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- Appliances name.parameters
- Parameters supplied to create or update an Appliance.- Returns:
- appliances definition.
- 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.
-
createOrUpdate
ApplianceInner createOrUpdate(String resourceGroupName, String resourceName, ApplianceInner parameters, com.azure.core.util.Context context) Creates or updates an Appliance in the specified Subscription and Resource Group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- Appliances name.parameters
- Parameters supplied to create or update an Appliance.context
- The context to associate with this operation.- Returns:
- appliances definition.
- 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<Void>,Void> beginDelete(String resourceGroupName, String resourceName) Deletes an Appliance with the specified Resource Name, Resource Group, and Subscription Id.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- Appliances name.- Returns:
- the
SyncPoller
for polling of long-running 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<Void>,Void> beginDelete(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Deletes an Appliance with the specified Resource Name, Resource Group, and Subscription Id.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- Appliances name.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of long-running 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 Appliance with the specified Resource Name, Resource Group, and Subscription Id.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- Appliances 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.
-
delete
Deletes an Appliance with the specified Resource Name, Resource Group, and Subscription Id.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- Appliances name.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.
-
update
Updates an Appliance with the specified Resource Name in the specified Resource Group and Subscription.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- Appliances name.parameters
- The updatable fields of an existing Appliance.- Returns:
- appliances definition.
- 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<ApplianceInner> updateWithResponse(String resourceGroupName, String resourceName, PatchableAppliance parameters, com.azure.core.util.Context context) Updates an Appliance with the specified Resource Name in the specified Resource Group and Subscription.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- Appliances name.parameters
- The updatable fields of an existing Appliance.context
- The context to associate with this operation.- Returns:
- appliances definition 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.
-
listClusterCustomerUserCredential
ApplianceListClusterCustomerUserCredentialResultsInner listClusterCustomerUserCredential(String resourceGroupName, String resourceName) Returns the cluster customer user credentials for the dedicated appliance.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- Appliances name.- Returns:
- the List Cluster Customer User Credential Results appliance.
- 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.
-
listClusterCustomerUserCredentialWithResponse
com.azure.core.http.rest.Response<ApplianceListClusterCustomerUserCredentialResultsInner> listClusterCustomerUserCredentialWithResponse(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Returns the cluster customer user credentials for the dedicated appliance.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- Appliances name.context
- The context to associate with this operation.- Returns:
- the List Cluster Customer User Credential Results appliance 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.
-
listClusterUserCredential
ApplianceListCredentialResultsInner listClusterUserCredential(String resourceGroupName, String resourceName) Returns the cluster user credentials for the dedicated appliance.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- Appliances name.- Returns:
- the List Cluster User Credential appliance.
- 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.
-
listClusterUserCredentialWithResponse
com.azure.core.http.rest.Response<ApplianceListCredentialResultsInner> listClusterUserCredentialWithResponse(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Returns the cluster user credentials for the dedicated appliance.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- Appliances name.context
- The context to associate with this operation.- Returns:
- the List Cluster User Credential appliance 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.
-
getUpgradeGraph
UpgradeGraphInner getUpgradeGraph(String resourceGroupName, String resourceName, String upgradeGraph) Gets the upgrade graph of an Appliance with a specified resource group and name and specific release train.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- Appliances name.upgradeGraph
- Upgrade graph version, ex - stable.- Returns:
- the upgrade graph of an Appliance with a specified resource group and name and specific release train.
- 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.
-
getUpgradeGraphWithResponse
com.azure.core.http.rest.Response<UpgradeGraphInner> getUpgradeGraphWithResponse(String resourceGroupName, String resourceName, String upgradeGraph, com.azure.core.util.Context context) Gets the upgrade graph of an Appliance with a specified resource group and name and specific release train.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- Appliances name.upgradeGraph
- Upgrade graph version, ex - stable.context
- The context to associate with this operation.- Returns:
- the upgrade graph of an Appliance with a specified resource group and name and specific release train
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.
-