BatchPrivateEndpointConnectionResource.UpdateAsync メソッド

定義

既存のプライベート エンドポイント接続のプロパティを更新します。

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}
  • 操作IdPrivateEndpointConnection_Update
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Batch.BatchPrivateEndpointConnectionResource>> UpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Batch.BatchPrivateEndpointConnectionData data, Azure.ETag? ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.Batch.BatchPrivateEndpointConnectionData * Nullable<Azure.ETag> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Batch.BatchPrivateEndpointConnectionResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.Batch.BatchPrivateEndpointConnectionData * Nullable<Azure.ETag> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Batch.BatchPrivateEndpointConnectionResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, data As BatchPrivateEndpointConnectionData, Optional ifMatch As Nullable(Of ETag) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of BatchPrivateEndpointConnectionResource))

パラメーター

waitUntil
WaitUntil

Completed メソッドが、サービスで実行時間の長い操作が完了するまで戻るまで待機する必要がある場合。 Started 操作を開始した後に が返される場合は 。 実行時間の長い操作の詳細については、「 Azure.Core Long-Running 操作のサンプル」を参照してください。

data
BatchPrivateEndpointConnectionData

更新する必要がある PrivateEndpointConnection プロパティ。 指定されたプロパティは更新され、指定されていないプロパティは変更されません。

ifMatch
Nullable<ETag>

更新するプライベート エンドポイント接続の状態 (ETag) バージョン。 操作を無条件に適用するには、この値を省略するか、"*" に設定できます。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

data が null です。

適用対象