/// <summary> /// Gets all deployments operations for a deployment. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='scope'> /// The resource scope. /// </param> /// <param name='deploymentName'> /// The name of the deployment. /// </param> /// <param name='top'> /// The number of results to return. /// </param> public static IPage <DeploymentOperation> ListAtScope(this IDeploymentOperations operations, string scope, string deploymentName, int?top = default(int?)) { return(operations.ListAtScopeAsync(scope, deploymentName, top).GetAwaiter().GetResult()); }