Interface ClustersClient
public interface ClustersClient
An instance of this class provides access to all the operations defined in ClustersClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ClusterInner>, ClusterInner> beginCreate(String resourceGroupName, String clusterPoolName, String clusterName, ClusterInner hDInsightCluster) Creates a cluster.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ClusterInner>, ClusterInner> beginCreate(String resourceGroupName, String clusterPoolName, String clusterName, ClusterInner hDInsightCluster, com.azure.core.util.Context context) Creates a cluster.beginDelete(String resourceGroupName, String clusterPoolName, String clusterName) Deletes a cluster.beginDelete(String resourceGroupName, String clusterPoolName, String clusterName, com.azure.core.util.Context context) Deletes a cluster.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ClusterInner>, ClusterInner> beginResize(String resourceGroupName, String clusterPoolName, String clusterName, ClusterResizeData clusterResizeRequest) Resize an existing Cluster.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ClusterInner>, ClusterInner> beginResize(String resourceGroupName, String clusterPoolName, String clusterName, ClusterResizeData clusterResizeRequest, com.azure.core.util.Context context) Resize an existing Cluster.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ClusterInner>, ClusterInner> beginUpdate(String resourceGroupName, String clusterPoolName, String clusterName, ClusterPatch clusterPatchRequest) Updates an existing Cluster.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ClusterInner>, ClusterInner> beginUpdate(String resourceGroupName, String clusterPoolName, String clusterName, ClusterPatch clusterPatchRequest, com.azure.core.util.Context context) Updates an existing Cluster.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ClusterInner>, ClusterInner> beginUpgrade(String resourceGroupName, String clusterPoolName, String clusterName, ClusterUpgrade clusterUpgradeRequest) Upgrade a cluster.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ClusterInner>, ClusterInner> beginUpgrade(String resourceGroupName, String clusterPoolName, String clusterName, ClusterUpgrade clusterUpgradeRequest, com.azure.core.util.Context context) Upgrade a cluster.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ClusterInner>, ClusterInner> beginUpgradeManualRollback(String resourceGroupName, String clusterPoolName, String clusterName, ClusterUpgradeRollback clusterRollbackUpgradeRequest) Manual rollback upgrade for a cluster.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ClusterInner>, ClusterInner> beginUpgradeManualRollback(String resourceGroupName, String clusterPoolName, String clusterName, ClusterUpgradeRollback clusterRollbackUpgradeRequest, com.azure.core.util.Context context) Manual rollback upgrade for a cluster.create(String resourceGroupName, String clusterPoolName, String clusterName, ClusterInner hDInsightCluster) Creates a cluster.create(String resourceGroupName, String clusterPoolName, String clusterName, ClusterInner hDInsightCluster, com.azure.core.util.Context context) Creates a cluster.voidDeletes a cluster.voiddelete(String resourceGroupName, String clusterPoolName, String clusterName, com.azure.core.util.Context context) Deletes a cluster.Gets a HDInsight cluster.getInstanceView(String resourceGroupName, String clusterPoolName, String clusterName) Gets the status of a cluster instance.com.azure.core.http.rest.Response<ClusterInstanceViewResultInner> getInstanceViewWithResponse(String resourceGroupName, String clusterPoolName, String clusterName, com.azure.core.util.Context context) Gets the status of a cluster instance.com.azure.core.http.rest.Response<ClusterInner> getWithResponse(String resourceGroupName, String clusterPoolName, String clusterName, com.azure.core.util.Context context) Gets a HDInsight cluster.com.azure.core.http.rest.PagedIterable<ClusterInner> listByClusterPoolName(String resourceGroupName, String clusterPoolName) Lists the HDInsight cluster pools under a resource group.com.azure.core.http.rest.PagedIterable<ClusterInner> listByClusterPoolName(String resourceGroupName, String clusterPoolName, com.azure.core.util.Context context) Lists the HDInsight cluster pools under a resource group.com.azure.core.http.rest.PagedIterable<ClusterInstanceViewResultInner> listInstanceViews(String resourceGroupName, String clusterPoolName, String clusterName) Lists the lists of instance views.com.azure.core.http.rest.PagedIterable<ClusterInstanceViewResultInner> listInstanceViews(String resourceGroupName, String clusterPoolName, String clusterName, com.azure.core.util.Context context) Lists the lists of instance views.com.azure.core.http.rest.PagedIterable<ServiceConfigResultInner> listServiceConfigs(String resourceGroupName, String clusterPoolName, String clusterName) Lists the config dump of all services running in cluster.com.azure.core.http.rest.PagedIterable<ServiceConfigResultInner> listServiceConfigs(String resourceGroupName, String clusterPoolName, String clusterName, com.azure.core.util.Context context) Lists the config dump of all services running in cluster.resize(String resourceGroupName, String clusterPoolName, String clusterName, ClusterResizeData clusterResizeRequest) Resize an existing Cluster.resize(String resourceGroupName, String clusterPoolName, String clusterName, ClusterResizeData clusterResizeRequest, com.azure.core.util.Context context) Resize an existing Cluster.update(String resourceGroupName, String clusterPoolName, String clusterName, ClusterPatch clusterPatchRequest) Updates an existing Cluster.update(String resourceGroupName, String clusterPoolName, String clusterName, ClusterPatch clusterPatchRequest, com.azure.core.util.Context context) Updates an existing Cluster.upgrade(String resourceGroupName, String clusterPoolName, String clusterName, ClusterUpgrade clusterUpgradeRequest) Upgrade a cluster.upgrade(String resourceGroupName, String clusterPoolName, String clusterName, ClusterUpgrade clusterUpgradeRequest, com.azure.core.util.Context context) Upgrade a cluster.upgradeManualRollback(String resourceGroupName, String clusterPoolName, String clusterName, ClusterUpgradeRollback clusterRollbackUpgradeRequest) Manual rollback upgrade for a cluster.upgradeManualRollback(String resourceGroupName, String clusterPoolName, String clusterName, ClusterUpgradeRollback clusterRollbackUpgradeRequest, com.azure.core.util.Context context) Manual rollback upgrade for a cluster.
-
Method Details
-
listByClusterPoolName
com.azure.core.http.rest.PagedIterable<ClusterInner> listByClusterPoolName(String resourceGroupName, String clusterPoolName) Lists the HDInsight cluster pools under a resource group.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.clusterPoolName- The name of the cluster pool.- Returns:
- the list cluster operation response 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.
-
listByClusterPoolName
com.azure.core.http.rest.PagedIterable<ClusterInner> listByClusterPoolName(String resourceGroupName, String clusterPoolName, com.azure.core.util.Context context) Lists the HDInsight cluster pools under a resource group.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.clusterPoolName- The name of the cluster pool.context- The context to associate with this operation.- Returns:
- the list cluster operation response 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.
-
beginUpgrade
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ClusterInner>, ClusterInner> beginUpgrade(String resourceGroupName, String clusterPoolName, String clusterName, ClusterUpgrade clusterUpgradeRequest) Upgrade a cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.clusterPoolName- The name of the cluster pool.clusterName- The name of the HDInsight cluster.clusterUpgradeRequest- Upgrade a cluster.- Returns:
- the
SyncPollerfor polling of the cluster. - 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.
-
beginUpgrade
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ClusterInner>, ClusterInner> beginUpgrade(String resourceGroupName, String clusterPoolName, String clusterName, ClusterUpgrade clusterUpgradeRequest, com.azure.core.util.Context context) Upgrade a cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.clusterPoolName- The name of the cluster pool.clusterName- The name of the HDInsight cluster.clusterUpgradeRequest- Upgrade a cluster.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of the cluster. - 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.
-
upgrade
ClusterInner upgrade(String resourceGroupName, String clusterPoolName, String clusterName, ClusterUpgrade clusterUpgradeRequest) Upgrade a cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.clusterPoolName- The name of the cluster pool.clusterName- The name of the HDInsight cluster.clusterUpgradeRequest- Upgrade a cluster.- Returns:
- the cluster.
- 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.
-
upgrade
ClusterInner upgrade(String resourceGroupName, String clusterPoolName, String clusterName, ClusterUpgrade clusterUpgradeRequest, com.azure.core.util.Context context) Upgrade a cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.clusterPoolName- The name of the cluster pool.clusterName- The name of the HDInsight cluster.clusterUpgradeRequest- Upgrade a cluster.context- The context to associate with this operation.- Returns:
- the cluster.
- 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.
-
beginUpgradeManualRollback
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ClusterInner>, ClusterInner> beginUpgradeManualRollback(String resourceGroupName, String clusterPoolName, String clusterName, ClusterUpgradeRollback clusterRollbackUpgradeRequest) Manual rollback upgrade for a cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.clusterPoolName- The name of the cluster pool.clusterName- The name of the HDInsight cluster.clusterRollbackUpgradeRequest- Manual rollback upgrade for a cluster.- Returns:
- the
SyncPollerfor polling of the cluster. - 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.
-
beginUpgradeManualRollback
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ClusterInner>, ClusterInner> beginUpgradeManualRollback(String resourceGroupName, String clusterPoolName, String clusterName, ClusterUpgradeRollback clusterRollbackUpgradeRequest, com.azure.core.util.Context context) Manual rollback upgrade for a cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.clusterPoolName- The name of the cluster pool.clusterName- The name of the HDInsight cluster.clusterRollbackUpgradeRequest- Manual rollback upgrade for a cluster.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of the cluster. - 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.
-
upgradeManualRollback
ClusterInner upgradeManualRollback(String resourceGroupName, String clusterPoolName, String clusterName, ClusterUpgradeRollback clusterRollbackUpgradeRequest) Manual rollback upgrade for a cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.clusterPoolName- The name of the cluster pool.clusterName- The name of the HDInsight cluster.clusterRollbackUpgradeRequest- Manual rollback upgrade for a cluster.- Returns:
- the cluster.
- 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.
-
upgradeManualRollback
ClusterInner upgradeManualRollback(String resourceGroupName, String clusterPoolName, String clusterName, ClusterUpgradeRollback clusterRollbackUpgradeRequest, com.azure.core.util.Context context) Manual rollback upgrade for a cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.clusterPoolName- The name of the cluster pool.clusterName- The name of the HDInsight cluster.clusterRollbackUpgradeRequest- Manual rollback upgrade for a cluster.context- The context to associate with this operation.- Returns:
- the cluster.
- 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.
-
beginResize
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ClusterInner>, ClusterInner> beginResize(String resourceGroupName, String clusterPoolName, String clusterName, ClusterResizeData clusterResizeRequest) Resize an existing Cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.clusterPoolName- The name of the cluster pool.clusterName- The name of the HDInsight cluster.clusterResizeRequest- Resize a cluster.- Returns:
- the
SyncPollerfor polling of the cluster. - 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.
-
beginResize
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ClusterInner>, ClusterInner> beginResize(String resourceGroupName, String clusterPoolName, String clusterName, ClusterResizeData clusterResizeRequest, com.azure.core.util.Context context) Resize an existing Cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.clusterPoolName- The name of the cluster pool.clusterName- The name of the HDInsight cluster.clusterResizeRequest- Resize a cluster.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of the cluster. - 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.
-
resize
ClusterInner resize(String resourceGroupName, String clusterPoolName, String clusterName, ClusterResizeData clusterResizeRequest) Resize an existing Cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.clusterPoolName- The name of the cluster pool.clusterName- The name of the HDInsight cluster.clusterResizeRequest- Resize a cluster.- Returns:
- the cluster.
- 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.
-
resize
ClusterInner resize(String resourceGroupName, String clusterPoolName, String clusterName, ClusterResizeData clusterResizeRequest, com.azure.core.util.Context context) Resize an existing Cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.clusterPoolName- The name of the cluster pool.clusterName- The name of the HDInsight cluster.clusterResizeRequest- Resize a cluster.context- The context to associate with this operation.- Returns:
- the cluster.
- 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.
-
getWithResponse
com.azure.core.http.rest.Response<ClusterInner> getWithResponse(String resourceGroupName, String clusterPoolName, String clusterName, com.azure.core.util.Context context) Gets a HDInsight cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.clusterPoolName- The name of the cluster pool.clusterName- The name of the HDInsight cluster.context- The context to associate with this operation.- Returns:
- a HDInsight cluster 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
Gets a HDInsight cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.clusterPoolName- The name of the cluster pool.clusterName- The name of the HDInsight cluster.- Returns:
- a HDInsight cluster.
- 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<ClusterInner>, ClusterInner> beginCreate(String resourceGroupName, String clusterPoolName, String clusterName, ClusterInner hDInsightCluster) Creates a cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.clusterPoolName- The name of the cluster pool.clusterName- The name of the HDInsight cluster.hDInsightCluster- The cluster to create.- Returns:
- the
SyncPollerfor polling of the cluster. - 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<ClusterInner>, ClusterInner> beginCreate(String resourceGroupName, String clusterPoolName, String clusterName, ClusterInner hDInsightCluster, com.azure.core.util.Context context) Creates a cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.clusterPoolName- The name of the cluster pool.clusterName- The name of the HDInsight cluster.hDInsightCluster- The cluster to create.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of the cluster. - 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
ClusterInner create(String resourceGroupName, String clusterPoolName, String clusterName, ClusterInner hDInsightCluster) Creates a cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.clusterPoolName- The name of the cluster pool.clusterName- The name of the HDInsight cluster.hDInsightCluster- The cluster to create.- Returns:
- the cluster.
- 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
ClusterInner create(String resourceGroupName, String clusterPoolName, String clusterName, ClusterInner hDInsightCluster, com.azure.core.util.Context context) Creates a cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.clusterPoolName- The name of the cluster pool.clusterName- The name of the HDInsight cluster.hDInsightCluster- The cluster to create.context- The context to associate with this operation.- Returns:
- the cluster.
- 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ClusterInner>, ClusterInner> beginUpdate(String resourceGroupName, String clusterPoolName, String clusterName, ClusterPatch clusterPatchRequest) Updates an existing Cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.clusterPoolName- The name of the cluster pool.clusterName- The name of the HDInsight cluster.clusterPatchRequest- Patch a cluster.- Returns:
- the
SyncPollerfor polling of the cluster. - 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ClusterInner>, ClusterInner> beginUpdate(String resourceGroupName, String clusterPoolName, String clusterName, ClusterPatch clusterPatchRequest, com.azure.core.util.Context context) Updates an existing Cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.clusterPoolName- The name of the cluster pool.clusterName- The name of the HDInsight cluster.clusterPatchRequest- Patch a cluster.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of the cluster. - 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
ClusterInner update(String resourceGroupName, String clusterPoolName, String clusterName, ClusterPatch clusterPatchRequest) Updates an existing Cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.clusterPoolName- The name of the cluster pool.clusterName- The name of the HDInsight cluster.clusterPatchRequest- Patch a cluster.- Returns:
- the cluster.
- 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
ClusterInner update(String resourceGroupName, String clusterPoolName, String clusterName, ClusterPatch clusterPatchRequest, com.azure.core.util.Context context) Updates an existing Cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.clusterPoolName- The name of the cluster pool.clusterName- The name of the HDInsight cluster.clusterPatchRequest- Patch a cluster.context- The context to associate with this operation.- Returns:
- the cluster.
- 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 clusterPoolName, String clusterName) Deletes a cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.clusterPoolName- The name of the cluster pool.clusterName- The name of the HDInsight cluster.- Returns:
- the
SyncPollerfor 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 clusterPoolName, String clusterName, com.azure.core.util.Context context) Deletes a cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.clusterPoolName- The name of the cluster pool.clusterName- The name of the HDInsight cluster.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor 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 a cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.clusterPoolName- The name of the cluster pool.clusterName- The name of the HDInsight cluster.- 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
void delete(String resourceGroupName, String clusterPoolName, String clusterName, com.azure.core.util.Context context) Deletes a cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.clusterPoolName- The name of the cluster pool.clusterName- The name of the HDInsight cluster.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.
-
listServiceConfigs
com.azure.core.http.rest.PagedIterable<ServiceConfigResultInner> listServiceConfigs(String resourceGroupName, String clusterPoolName, String clusterName) Lists the config dump of all services running in cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.clusterPoolName- The name of the cluster pool.clusterName- The name of the HDInsight cluster.- Returns:
- cluster instance service configs api response 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.
-
listServiceConfigs
com.azure.core.http.rest.PagedIterable<ServiceConfigResultInner> listServiceConfigs(String resourceGroupName, String clusterPoolName, String clusterName, com.azure.core.util.Context context) Lists the config dump of all services running in cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.clusterPoolName- The name of the cluster pool.clusterName- The name of the HDInsight cluster.context- The context to associate with this operation.- Returns:
- cluster instance service configs api response 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.
-
listInstanceViews
com.azure.core.http.rest.PagedIterable<ClusterInstanceViewResultInner> listInstanceViews(String resourceGroupName, String clusterPoolName, String clusterName) Lists the lists of instance views.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.clusterPoolName- The name of the cluster pool.clusterName- The name of the HDInsight cluster.- Returns:
- the instance view of a HDInsight Cluster 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.
-
listInstanceViews
com.azure.core.http.rest.PagedIterable<ClusterInstanceViewResultInner> listInstanceViews(String resourceGroupName, String clusterPoolName, String clusterName, com.azure.core.util.Context context) Lists the lists of instance views.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.clusterPoolName- The name of the cluster pool.clusterName- The name of the HDInsight cluster.context- The context to associate with this operation.- Returns:
- the instance view of a HDInsight Cluster 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.
-
getInstanceViewWithResponse
com.azure.core.http.rest.Response<ClusterInstanceViewResultInner> getInstanceViewWithResponse(String resourceGroupName, String clusterPoolName, String clusterName, com.azure.core.util.Context context) Gets the status of a cluster instance.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.clusterPoolName- The name of the cluster pool.clusterName- The name of the HDInsight cluster.context- The context to associate with this operation.- Returns:
- the status of a cluster instance 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.
-
getInstanceView
ClusterInstanceViewResultInner getInstanceView(String resourceGroupName, String clusterPoolName, String clusterName) Gets the status of a cluster instance.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.clusterPoolName- The name of the cluster pool.clusterName- The name of the HDInsight cluster.- Returns:
- the status of a cluster 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.
-