次の方法で共有


DscConfigurationResource.UpdateAsync メソッド

定義

構成名で識別される構成を作成します。

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

パラメーター

patch
DscConfigurationPatch

構成の作成または更新パラメーター。

cancellationToken
CancellationToken

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

戻り値

例外

patch が null です。

適用対象