次の方法で共有


DevTestLabVirtualNetworkResource.UpdateAsync メソッド

定義

仮想ネットワークのタグの変更を許可します。 その他のプロパティはすべて無視されます。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualnetworks/{name}
  • 操作IdVirtualNetworks_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabVirtualNetworkResource>> UpdateAsync (Azure.ResourceManager.DevTestLabs.Models.DevTestLabVirtualNetworkPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.DevTestLabs.Models.DevTestLabVirtualNetworkPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabVirtualNetworkResource>>
override this.UpdateAsync : Azure.ResourceManager.DevTestLabs.Models.DevTestLabVirtualNetworkPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabVirtualNetworkResource>>
Public Overridable Function UpdateAsync (patch As DevTestLabVirtualNetworkPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DevTestLabVirtualNetworkResource))

パラメーター

patch
DevTestLabVirtualNetworkPatch

仮想ネットワーク。

cancellationToken
CancellationToken

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

戻り値

例外

patch が null です。

適用対象