Exemple #1
0
 /// <summary>
 /// Deletes the specified private endpoint connection associated with the
 /// managed hsm pool.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Name of the resource group that contains the managed HSM pool.
 /// </param>
 /// <param name='name'>
 /// Name of the managed HSM Pool
 /// </param>
 /// <param name='privateEndpointConnectionName'>
 /// Name of the private endpoint connection associated with the managed hsm
 /// pool.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <MHSMPrivateEndpointConnection> BeginDeleteAsync(this IMHSMPrivateEndpointConnectionsOperations operations, string resourceGroupName, string name, string privateEndpointConnectionName, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.BeginDeleteWithHttpMessagesAsync(resourceGroupName, name, privateEndpointConnectionName, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Exemple #2
0
 /// <summary>
 /// Gets the specified private endpoint connection associated with the managed
 /// HSM Pool.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Name of the resource group that contains the managed HSM pool.
 /// </param>
 /// <param name='name'>
 /// Name of the managed HSM Pool
 /// </param>
 /// <param name='privateEndpointConnectionName'>
 /// Name of the private endpoint connection associated with the managed hsm
 /// pool.
 /// </param>
 public static MHSMPrivateEndpointConnection Get(this IMHSMPrivateEndpointConnectionsOperations operations, string resourceGroupName, string name, string privateEndpointConnectionName)
 {
     return(operations.GetAsync(resourceGroupName, name, privateEndpointConnectionName).GetAwaiter().GetResult());
 }
Exemple #3
0
 /// <summary>
 /// The List operation gets information about the private endpoint connections
 /// associated with the managed HSM Pool.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Name of the resource group that contains the managed HSM pool.
 /// </param>
 /// <param name='name'>
 /// Name of the managed HSM Pool
 /// </param>
 public static IPage <MHSMPrivateEndpointConnection> ListByResource(this IMHSMPrivateEndpointConnectionsOperations operations, string resourceGroupName, string name)
 {
     return(operations.ListByResourceAsync(resourceGroupName, name).GetAwaiter().GetResult());
 }
Exemple #4
0
 /// <summary>
 /// The List operation gets information about the private endpoint connections
 /// associated with the managed HSM Pool.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='nextPageLink'>
 /// The NextLink from the previous successful call to List operation.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IPage <MHSMPrivateEndpointConnection> > ListByResourceNextAsync(this IMHSMPrivateEndpointConnectionsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListByResourceNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Exemple #5
0
 /// <summary>
 /// The List operation gets information about the private endpoint connections
 /// associated with the managed HSM Pool.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='nextPageLink'>
 /// The NextLink from the previous successful call to List operation.
 /// </param>
 public static IPage <MHSMPrivateEndpointConnection> ListByResourceNext(this IMHSMPrivateEndpointConnectionsOperations operations, string nextPageLink)
 {
     return(operations.ListByResourceNextAsync(nextPageLink).GetAwaiter().GetResult());
 }