IClustersOperations.BeginResizingAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Begins resizing the specified HDInsight cluster to the specified size.
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> BeginResizingAsync (string resourceGroupName, string clusterName, int targetInstanceCount, System.Threading.CancellationToken cancellationToken = default);
abstract member BeginResizingAsync : string * string * int * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse>
Public Function BeginResizingAsync (resourceGroupName As String, clusterName As String, targetInstanceCount As Integer, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse)
Parameters
- resourceGroupName
- String
The name of the resource group.
- clusterName
- String
The name of the cluster.
- targetInstanceCount
- Int32
The size to which to resize the cluster.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Exceptions
Thrown when the operation returned an invalid status code
Thrown when a required parameter is null