PrivateEndpointConnectionOperationsExtensions.UpdateAsync(IPrivateEndpointConnectionOperations, String, String, String, PrivateEndpointConnection, String, CancellationToken) Method

Definition

Updates the properties of an existing private endpoint connection.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Batch.Models.PrivateEndpointConnection> UpdateAsync (this Microsoft.Azure.Management.Batch.IPrivateEndpointConnectionOperations operations, string resourceGroupName, string accountName, string privateEndpointConnectionName, Microsoft.Azure.Management.Batch.Models.PrivateEndpointConnection parameters, string ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.Batch.IPrivateEndpointConnectionOperations * string * string * string * Microsoft.Azure.Management.Batch.Models.PrivateEndpointConnection * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Batch.Models.PrivateEndpointConnection>
<Extension()>
Public Function UpdateAsync (operations As IPrivateEndpointConnectionOperations, resourceGroupName As String, accountName As String, privateEndpointConnectionName As String, parameters As PrivateEndpointConnection, Optional ifMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PrivateEndpointConnection)

Parameters

operations
IPrivateEndpointConnectionOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group that contains the Batch account.

accountName
String

The name of the Batch account.

privateEndpointConnectionName
String

The private endpoint connection name. This must be unique within the account.

parameters
PrivateEndpointConnection

PrivateEndpointConnection properties that should be updated. Properties that are supplied will be updated, any property not supplied will be unchanged.

ifMatch
String

The state (ETag) version of the private endpoint connection to update. This value can be omitted or set to "*" to apply the operation unconditionally.

cancellationToken
CancellationToken

The cancellation token.

Returns

Task<PrivateEndpointConnection>

Applies to