コード例 #1
0
 /// <summary>
 /// Get Private Endpoint Connection. This call is made by Backup Admin.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='vaultName'>
 /// The name of the recovery services vault.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group where the recovery services vault is
 /// present.
 /// </param>
 /// <param name='privateEndpointConnectionName'>
 /// The name of the private endpoint connection.
 /// </param>
 public static PrivateEndpointConnectionResource Get(this IPrivateEndpointConnectionOperations operations, string vaultName, string resourceGroupName, string privateEndpointConnectionName)
 {
     return(operations.GetAsync(vaultName, resourceGroupName, privateEndpointConnectionName).GetAwaiter().GetResult());
 }
コード例 #2
0
 /// <summary>
 /// Gets a private endpoint connection
 /// </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>
 /// <param name='privateEndpointConnectionName'>
 /// The private endpoint connection name.
 /// </param>
 /// <param name='ifNoneMatch'>
 /// ETag of the private endpoint connection entity. Should only be specified
 /// for get. If the ETag matches the existing entity tag, or if * was provided,
 /// then no content will be returned.
 /// </param>
 public static PrivateEndpointConnectionResource Get(this IPrivateEndpointConnectionOperations operations, string resourceGroupName, string factoryName, string privateEndpointConnectionName, string ifNoneMatch = default(string))
 {
     return(operations.GetAsync(resourceGroupName, factoryName, privateEndpointConnectionName, ifNoneMatch).GetAwaiter().GetResult());
 }