/// <summary>Snippet for UpdateAutoscalingPolicyAsync</summary> public async Task UpdateAutoscalingPolicyRequestObjectAsync() { // Snippet: UpdateAutoscalingPolicyAsync(UpdateAutoscalingPolicyRequest, CallSettings) // Additional: UpdateAutoscalingPolicyAsync(UpdateAutoscalingPolicyRequest, CancellationToken) // Create client AutoscalingPolicyServiceClient autoscalingPolicyServiceClient = await AutoscalingPolicyServiceClient.CreateAsync(); // Initialize request argument(s) UpdateAutoscalingPolicyRequest request = new UpdateAutoscalingPolicyRequest { Policy = new AutoscalingPolicy(), }; // Make the request AutoscalingPolicy response = await autoscalingPolicyServiceClient.UpdateAutoscalingPolicyAsync(request); // End snippet }