示例#1
0
 /// <summary>
 /// Gets the list of Service Fabric cluster resources created in the specified
 /// subscription.
 /// </summary>
 /// <remarks>
 /// Gets all Service Fabric cluster resources created or in the process of
 /// being created in the subscription.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 public static ClusterListResult List(this IClustersOperations operations)
 {
     return(operations.ListAsync().GetAwaiter().GetResult());
 }
 /// <summary>
 /// Lists all Kusto clusters within a subscription.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 public static IEnumerable <Cluster> List(this IClustersOperations operations)
 {
     return(operations.ListAsync().GetAwaiter().GetResult());
 }
示例#3
0
 /// <summary>
 /// List clusters in a private cloud
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group. The name is case insensitive.
 /// </param>
 /// <param name='privateCloudName'>
 /// Name of the private cloud
 /// </param>
 public static IPage <Cluster> List(this IClustersOperations operations, string resourceGroupName, string privateCloudName)
 {
     return(operations.ListAsync(resourceGroupName, privateCloudName).GetAwaiter().GetResult());
 }