DevTestLabSecretResource.UpdateAsync メソッド

定義

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

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

パラメーター

patch
DevTestLabSecretPatch

シークレット。

cancellationToken
CancellationToken

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

戻り値

例外

patch が null です。

適用対象