Share via


PrivateEndpointConnectionsOperationsExtensions.PutAsync Method

Definition

Updates the specified private endpoint connection associated with the key vault.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.KeyVault.Models.PrivateEndpointConnection> PutAsync (this Microsoft.Azure.Management.KeyVault.IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string vaultName, string privateEndpointConnectionName, Microsoft.Azure.Management.KeyVault.Models.PrivateEndpointConnection properties, System.Threading.CancellationToken cancellationToken = default);
static member PutAsync : Microsoft.Azure.Management.KeyVault.IPrivateEndpointConnectionsOperations * string * string * string * Microsoft.Azure.Management.KeyVault.Models.PrivateEndpointConnection * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.KeyVault.Models.PrivateEndpointConnection>
<Extension()>
Public Function PutAsync (operations As IPrivateEndpointConnectionsOperations, resourceGroupName As String, vaultName As String, privateEndpointConnectionName As String, properties As PrivateEndpointConnection, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PrivateEndpointConnection)

Parameters

operations
IPrivateEndpointConnectionsOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group that contains the key vault.

vaultName
String

The name of the key vault.

privateEndpointConnectionName
String

Name of the private endpoint connection associated with the key vault.

properties
PrivateEndpointConnection

The intended state of private endpoint connection.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to