Udostępnij za pośrednictwem


PrivateEndpointConnectionsOperationsExtensions.PutAsync Method

Definition

Update the state of specified private endpoint connection associated with the redis cache.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Redis.Models.PrivateEndpointConnection> PutAsync (this Microsoft.Azure.Management.Redis.IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string cacheName, string privateEndpointConnectionName, Microsoft.Azure.Management.Redis.Models.PrivateEndpointConnection properties, System.Threading.CancellationToken cancellationToken = default);
static member PutAsync : Microsoft.Azure.Management.Redis.IPrivateEndpointConnectionsOperations * string * string * string * Microsoft.Azure.Management.Redis.Models.PrivateEndpointConnection * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Redis.Models.PrivateEndpointConnection>
<Extension()>
Public Function PutAsync (operations As IPrivateEndpointConnectionsOperations, resourceGroupName As String, cacheName 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

The name of the resource group.

cacheName
String

The name of the Redis cache.

privateEndpointConnectionName
String

The name of the private endpoint connection associated with the Azure resource

properties
PrivateEndpointConnection

The private endpoint connection properties.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to