PrivateEndpointConnectionOperationsExtensions.UpdateAsync(IPrivateEndpointConnectionOperations, String, String, String, PrivateEndpointConnection, String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- System.String
The name of the resource group that contains the Batch account.
- accountName
- System.String
The name of the Batch account.
- privateEndpointConnectionName
- System.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
- System.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
- System.Threading.CancellationToken
The cancellation token.
Returns
- System.Threading.Tasks.Task<PrivateEndpointConnection>