CloudPoolOperationsExtensions.EnableAutoScale 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 CloudPoolEnableAutoScaleResponse EnableAutoScale(
this ICloudPoolOperations operations,
string poolId,
CloudPoolEnableAutoScaleParameters parameters
)
public:
[ExtensionAttribute]
static CloudPoolEnableAutoScaleResponse^ EnableAutoScale(
ICloudPoolOperations^ operations,
String^ poolId,
CloudPoolEnableAutoScaleParameters^ parameters
)
static member EnableAutoScale :
operations:ICloudPoolOperations *
poolId:string *
parameters:CloudPoolEnableAutoScaleParameters -> CloudPoolEnableAutoScaleResponse
<ExtensionAttribute>
Public Shared Function EnableAutoScale (
operations As ICloudPoolOperations,
poolId As String,
parameters As CloudPoolEnableAutoScaleParameters
) As 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: Microsoft.Azure.Batch.Protocol.Models.CloudPoolEnableAutoScaleResponse
Response to a CloudPoolOperations.EnableAutoScale request.
See Also
CloudPoolOperationsExtensions Class
Microsoft.Azure.Batch.Protocol Namespace
Return to top