public DisableAutoScale ( Microsoft.Azure.Commands.Batch.Models.PoolOperationParameters parameters ) : void | ||
parameters | Microsoft.Azure.Commands.Batch.Models.PoolOperationParameters | The parameters specifying the target pool. |
return | void |
public static void DisableAutoScale(BatchController controller, BatchAccountContext context, string poolId) { BatchClient client = new BatchClient(controller.BatchManagementClient, controller.ResourceManagementClient); PoolOperationParameters parameters = new PoolOperationParameters(context, poolId, null); client.DisableAutoScale(parameters); }
public static void DisableAutoScale(BatchController controller, BatchAccountContext context, string poolId) { RequestInterceptor interceptor = CreateHttpRecordingInterceptor(); BatchClientBehavior[] behaviors = new BatchClientBehavior[] { interceptor }; BatchClient client = new BatchClient(controller.BatchManagementClient, controller.ResourceManagementClient); PoolOperationParameters parameters = new PoolOperationParameters(context, poolId, null, behaviors); client.DisableAutoScale(parameters); }
public static void DisableAutoScale(BatchController controller, BatchAccountContext context, string poolId) { RequestInterceptor interceptor = CreateHttpRecordingInterceptor(); BatchClientBehavior[] behaviors = new BatchClientBehavior[] { interceptor }; BatchClient client = new BatchClient(controller.BatchManagementClient, controller.ResourceManagementClient); PoolOperationParameters parameters = new PoolOperationParameters(context, poolId, null, behaviors); client.DisableAutoScale(parameters); }
public static void DisableAutoScale(BatchController controller, BatchAccountContext context, string poolId) { BatchClient client = new BatchClient(controller.BatchManagementClient, controller.ResourceManagementClient); PoolOperationParameters parameters = new PoolOperationParameters(context, poolId, null); client.DisableAutoScale(parameters); }