次の方法で共有


AutomationCredentialResource.UpdateAsync メソッド

定義

資格情報を更新します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/credentials/{credentialName}
  • 操作IdCredential_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationCredentialResource>> UpdateAsync (Azure.ResourceManager.Automation.Models.AutomationCredentialPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.Automation.Models.AutomationCredentialPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationCredentialResource>>
override this.UpdateAsync : Azure.ResourceManager.Automation.Models.AutomationCredentialPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationCredentialResource>>
Public Overridable Function UpdateAsync (patch As AutomationCredentialPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AutomationCredentialResource))

パラメーター

patch
AutomationCredentialPatch

資格情報の更新操作に指定されたパラメーター。

cancellationToken
CancellationToken

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

戻り値

例外

patch が null です。

適用対象