Ejemplo n.º 1
0
 /// <summary>
 /// Approve or reject private end point connection for a private link service
 /// in a subscription.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='serviceName'>
 /// The name of the private link service.
 /// </param>
 /// <param name='peConnectionName'>
 /// The name of the private end point connection.
 /// </param>
 /// <param name='parameters'>
 /// Parameters supplied to approve or reject the private end point connection.
 /// </param>
 public static PrivateEndpointConnection UpdatePrivateEndpointConnection(this IPrivateLinkServicesOperations operations, string resourceGroupName, string serviceName, string peConnectionName, PrivateEndpointConnection parameters)
 {
     return(operations.UpdatePrivateEndpointConnectionAsync(resourceGroupName, serviceName, peConnectionName, parameters).GetAwaiter().GetResult());
 }