/// <summary>
 /// Your documentation here.  (see
 /// http://msdn.microsoft.com/en-us/library/windowsazure/XXXXX.aspx
 /// for more information)
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.AzureStack.Management.IResourceGroupOperations.
 /// </param>
 /// <returns>
 /// Your documentation here.
 /// </returns>
 public static Task <ResourceGroupListResult> ListAsync(this IResourceGroupOperations operations)
 {
     return(operations.ListAsync(CancellationToken.None));
 }
示例#2
0
 /// <summary>
 /// Gets a collection of resource groups.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.Resources.IResourceGroupOperations.
 /// </param>
 /// <param name='parameters'>
 /// Optional. Query parameters. If null is passed returns all resource
 /// groups.
 /// </param>
 /// <returns>
 /// List of resource groups.
 /// </returns>
 public static Task <ResourceGroupListResult> ListAsync(this IResourceGroupOperations operations, ResourceGroupListParameters parameters)
 {
     return(operations.ListAsync(parameters, CancellationToken.None));
 }