Freigeben über


DscNodeResource.UpdateAsync(DscNodePatch, CancellationToken) Methode

Definition

Aktualisieren Sie den Knoten dsc.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/nodes/{nodeId}
  • Vorgang IdDscNode_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.DscNodeResource>> UpdateAsync (Azure.ResourceManager.Automation.Models.DscNodePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.Automation.Models.DscNodePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.DscNodeResource>>
override this.UpdateAsync : Azure.ResourceManager.Automation.Models.DscNodePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.DscNodeResource>>
Public Overridable Function UpdateAsync (patch As DscNodePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DscNodeResource))

Parameter

patch
DscNodePatch

Parameter, die für den dsc-Updateknoten bereitgestellt werden.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

patch ist NULL.

Gilt für: