/// <summary> /// Returns a specified private link resource 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> /// <param name='privateLinkResourceName'> /// </param> public static PrivateLinkResource Get(this IPrivateLinkResourcesOperations operations, string resourceGroupName, string vaultName, string privateLinkResourceName) { return(operations.GetAsync(resourceGroupName, vaultName, privateLinkResourceName).GetAwaiter().GetResult()); }
/// <summary> /// Gets lists of resources that supports Privatelinks. /// <see href="https://msdn.microsoft.com/en-us/library/azure/mt639379.aspx" /> /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// Name of the resource group within the azure subscription. /// </param> /// <param name='namespaceName'> /// The Namespace name /// </param> public static PrivateLinkResourcesListResult Get(this IPrivateLinkResourcesOperations operations, string resourceGroupName, string namespaceName) { return(operations.GetAsync(resourceGroupName, namespaceName).GetAwaiter().GetResult()); }
/// <summary> /// Gets the private link resources /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The resource group name. /// </param> /// <param name='factoryName'> /// The factory name. /// </param> public static PrivateLinkResourcesWrapper Get(this IPrivateLinkResourcesOperations operations, string resourceGroupName, string factoryName) { return(operations.GetAsync(resourceGroupName, factoryName).GetAwaiter().GetResult()); }
/// <summary> /// Gets a private link resource that need to be created for a service. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group that contains the service instance. /// </param> /// <param name='resourceName'> /// The name of the service instance. /// </param> /// <param name='groupName'> /// The name of the private link resource group. /// </param> public static PrivateLinkResourceDescription Get(this IPrivateLinkResourcesOperations operations, string resourceGroupName, string resourceName, string groupName) { return(operations.GetAsync(resourceGroupName, resourceName, groupName).GetAwaiter().GetResult()); }
/// <summary> /// Get the specified private link resource for the given Digital Twin. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group that contains the DigitalTwinsInstance. /// </param> /// <param name='resourceName'> /// The name of the DigitalTwinsInstance. /// </param> /// <param name='resourceId'> /// The name of the private link resource. /// </param> public static GroupIdInformation Get(this IPrivateLinkResourcesOperations operations, string resourceGroupName, string resourceName, string resourceId) { return(operations.GetAsync(resourceGroupName, resourceName, resourceId).GetAwaiter().GetResult()); }