/// <summary> /// Gets a deployments operation. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='deploymentName'> /// The name of the deployment. /// </param> /// <param name='operationId'> /// The ID of the operation to get. /// </param> public static DeploymentOperation GetAtSubscriptionScope(this IDeploymentOperations operations, string deploymentName, string operationId) { return(operations.GetAtSubscriptionScopeAsync(deploymentName, operationId).GetAwaiter().GetResult()); }