Share via


PrivateEndpointConnectionsOperationsExtensions.PutAsync Method

Definition

Update the state of specified private endpoint connection associated with the storage account.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Storage.Models.PrivateEndpointConnection> PutAsync (this Microsoft.Azure.Management.Storage.IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string accountName, string privateEndpointConnectionName, Microsoft.Azure.Management.Storage.Models.PrivateEndpointConnection properties, System.Threading.CancellationToken cancellationToken = default);
static member PutAsync : Microsoft.Azure.Management.Storage.IPrivateEndpointConnectionsOperations * string * string * string * Microsoft.Azure.Management.Storage.Models.PrivateEndpointConnection * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Storage.Models.PrivateEndpointConnection>
<Extension()>
Public Function PutAsync (operations As IPrivateEndpointConnectionsOperations, resourceGroupName As String, accountName 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 within the user's subscription. The name is case insensitive.

accountName
String

The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.

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