CloudPoolOperationsExtensions.EnableAutoScaleAsync Method (ICloudPoolOperations, String, CloudPoolEnableAutoScaleParameters)
Enables automatic scaling for a pool.
Namespace: Microsoft.Azure.Batch.Protocol
Assembly: Microsoft.Azure.Batch (in Microsoft.Azure.Batch.dll)
Syntax
public static Task<CloudPoolEnableAutoScaleResponse> EnableAutoScaleAsync(
this ICloudPoolOperations operations,
string poolId,
CloudPoolEnableAutoScaleParameters parameters
)
public:
[ExtensionAttribute]
static Task<CloudPoolEnableAutoScaleResponse^>^ EnableAutoScaleAsync(
ICloudPoolOperations^ operations,
String^ poolId,
CloudPoolEnableAutoScaleParameters^ parameters
)
static member EnableAutoScaleAsync :
operations:ICloudPoolOperations *
poolId:string *
parameters:CloudPoolEnableAutoScaleParameters -> Task<CloudPoolEnableAutoScaleResponse>
<ExtensionAttribute>
Public Shared Function EnableAutoScaleAsync (
operations As ICloudPoolOperations,
poolId As String,
parameters As CloudPoolEnableAutoScaleParameters
) As Task(Of CloudPoolEnableAutoScaleResponse)
Parameters
operations
Type: Microsoft.Azure.Batch.Protocol.ICloudPoolOperationsReference to the Microsoft.Azure.Batch.Protocol.ICloudPoolOperations.
poolId
Type: System.StringRequired. The id of the pool on which to enable automatic scaling.
parameters
Type: Microsoft.Azure.Batch.Protocol.Models.CloudPoolEnableAutoScaleParametersRequired. The parameters for the request.
Return Value
Type: System.Threading.Tasks.Task<CloudPoolEnableAutoScaleResponse>
Response to a CloudPoolOperations.EnableAutoScale request.
See Also
CloudPoolOperationsExtensions Class
Microsoft.Azure.Batch.Protocol Namespace
Return to top