Interface Appliances
public interface Appliances
Resource collection API of Appliances.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new Appliance resource.void
Deletes an Appliance with the specified Resource Name, Resource Group, and Subscription Id.void
deleteById
(String id) Deletes an Appliance with the specified Resource Name, Resource Group, and Subscription Id.void
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Deletes an Appliance with the specified Resource Name, Resource Group, and Subscription Id.void
deleteByResourceGroup
(String resourceGroupName, String resourceName) Deletes an Appliance with the specified Resource Name, Resource Group, and Subscription Id.Gets the details of an Appliance with a specified resource group and name.com.azure.core.http.rest.Response<Appliance>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Gets the details of an Appliance with a specified resource group and name.getByResourceGroup
(String resourceGroupName, String resourceName) Gets the details of an Appliance with a specified resource group and name.com.azure.core.http.rest.Response<Appliance>
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<UpgradeGraph>
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<Appliance>
list()
Gets a list of Appliances in the specified subscription.com.azure.core.http.rest.PagedIterable<Appliance>
list
(com.azure.core.util.Context context) Gets a list of Appliances in the specified subscription.com.azure.core.http.rest.PagedIterable<Appliance>
listByResourceGroup
(String resourceGroupName) Gets a list of Appliances in the specified subscription and resource group.com.azure.core.http.rest.PagedIterable<Appliance>
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<ApplianceListClusterCustomerUserCredentialResults>
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<ApplianceListCredentialResults>
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<ApplianceOperation>
Lists all available Appliances operations.com.azure.core.http.rest.PagedIterable<ApplianceOperation>
listOperations
(com.azure.core.util.Context context) Lists all available Appliances operations.
-
Method Details
-
listOperations
com.azure.core.http.rest.PagedIterable<ApplianceOperation> 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<ApplianceOperation> 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<Appliance> 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
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<Appliance> 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<Appliance> 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.
-
deleteByResourceGroup
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.
-
listClusterCustomerUserCredential
ApplianceListClusterCustomerUserCredentialResults 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<ApplianceListClusterCustomerUserCredentialResults> 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
ApplianceListCredentialResults 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<ApplianceListCredentialResults> 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
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<UpgradeGraph> 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.
-
getById
Gets the details of an Appliance with a specified resource group and name.- Parameters:
id
- the resource ID.- 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<Appliance> getByIdWithResponse(String id, com.azure.core.util.Context context) Gets the details of an Appliance with a specified resource group and name.- Parameters:
id
- the resource ID.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.
-
deleteById
Deletes an Appliance with the specified Resource Name, Resource Group, and Subscription Id.- 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 an Appliance with the specified Resource Name, Resource Group, and Subscription Id.- 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 Appliance resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new Appliance definition.
-