Beispiel #1
0
 /// <summary>
 /// Returns the list of private link resources.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group containing the Kusto cluster.
 /// </param>
 /// <param name='clusterName'>
 /// The name of the Kusto cluster.
 /// </param>
 public static IEnumerable <PrivateLinkResource> List(this IPrivateLinkResourcesOperations operations, string resourceGroupName, string clusterName)
 {
     return(operations.ListAsync(resourceGroupName, clusterName).GetAwaiter().GetResult());
 }
Beispiel #2
0
 /// <summary>
 /// Returns the list of private link resources that need to be created for
 /// Backup and SiteRecovery
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group where the recovery services vault is
 /// present.
 /// </param>
 /// <param name='vaultName'>
 /// The name of the recovery services vault.
 /// </param>
 public static IPage <PrivateLinkResource> List(this IPrivateLinkResourcesOperations operations, string resourceGroupName, string vaultName)
 {
     return(operations.ListAsync(resourceGroupName, vaultName).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Gets a list of private link resources in the specified managed cluster.
 /// </summary>
 /// <remarks>
 /// To learn more about private clusters, see:
 /// https://docs.microsoft.com/azure/aks/private-clusters
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='resourceName'>
 /// The name of the managed cluster resource.
 /// </param>
 public static PrivateLinkResourcesListResult List(this IPrivateLinkResourcesOperations operations, string resourceGroupName, string resourceName)
 {
     return(operations.ListAsync(resourceGroupName, resourceName).GetAwaiter().GetResult());
 }