次の方法で共有


DevTestLabVmResource.Update(DevTestLabVmPatch, CancellationToken) メソッド

定義

仮想マシンのタグの変更を許可します。 その他のプロパティはすべて無視されます。

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

パラメーター

patch
DevTestLabVmPatch

仮想マシン。

cancellationToken
CancellationToken

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

戻り値

例外

patch が null です。

適用対象