Freigeben über


AutomationRunbookResource.Update Methode

Definition

Aktualisieren Sie das Runbook, das durch den Runbooknamen identifiziert wird.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccounts/{automationAccountName}/runbooks/{runbookName}
  • Vorgangs-IdRunbook_Update
public virtual Azure.Response<Azure.ResourceManager.Automation.AutomationRunbookResource> Update (Azure.ResourceManager.Automation.Models.AutomationRunbookPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.Automation.Models.AutomationRunbookPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Automation.AutomationRunbookResource>
override this.Update : Azure.ResourceManager.Automation.Models.AutomationRunbookPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Automation.AutomationRunbookResource>
Public Overridable Function Update (patch As AutomationRunbookPatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of AutomationRunbookResource)

Parameter

patch
AutomationRunbookPatch

Die Updateparameter für Runbook.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

patch ist NULL.

Gilt für: