예제 #1
0
 /// <summary>
 /// Returns all the resources of a particular type belonging to a subscription.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 public static IPage <Account> List(this IAccountsOperations operations)
 {
     return(operations.ListAsync().GetAwaiter().GetResult());
 }
 /// <summary>
 /// Describe all NetApp Accounts in a resource group
 /// </summary>
 /// <remarks>
 /// List and describe all NetApp accounts in the resource group.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 public static IEnumerable <NetAppAccount> List(this IAccountsOperations operations, string resourceGroupName)
 {
     return(operations.ListAsync(resourceGroupName).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Lists the Data Lake Store accounts within the subscription. The response
 /// includes a link to the next page of results, if any.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='odataQuery'>
 /// OData parameters to apply to the operation.
 /// </param>
 /// <param name='select'>
 /// OData Select statement. Limits the properties on each entry to just those
 /// requested, e.g. Categories?$select=CategoryName,Description. Optional.
 /// </param>
 /// <param name='count'>
 /// The Boolean value of true or false to request a count of the matching
 /// resources included with the resources in the response, e.g.
 /// Categories?$count=true. Optional.
 /// </param>
 public static IPage <DataLakeStoreAccountBasic> List(this IAccountsOperations operations, ODataQuery <DataLakeStoreAccountBasic> odataQuery = default(ODataQuery <DataLakeStoreAccountBasic>), string select = default(string), bool?count = default(bool?))
 {
     return(operations.ListAsync(odataQuery, select, count).GetAwaiter().GetResult());
 }