示例#1
0
 /// <summary>
 /// Lists all availability sets in a subscription.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='expand'>
 /// The expand expression to apply to the operation. Allowed values are
 /// 'instanceView'.
 /// </param>
 public static IPage <AvailabilitySet> ListBySubscription(this IAvailabilitySetsOperations operations, string expand = default(string))
 {
     return(operations.ListBySubscriptionAsync(expand).GetAwaiter().GetResult());
 }
示例#2
0
 /// <summary>
 /// Lists all availability sets in a subscription.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 public static IPage <AvailabilitySet> ListBySubscription(this IAvailabilitySetsOperations operations)
 {
     return(operations.ListBySubscriptionAsync().GetAwaiter().GetResult());
 }