Share via


HybridRunbookWorkerGroupResource.UpdateAsync Method

Definition

Update a hybrid runbook worker group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/hybridRunbookWorkerGroups/{hybridRunbookWorkerGroupName}
  • Operation Id: HybridRunbookWorkerGroup_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.HybridRunbookWorkerGroupResource>> UpdateAsync (Azure.ResourceManager.Automation.Models.HybridRunbookWorkerGroupCreateOrUpdateContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.Automation.Models.HybridRunbookWorkerGroupCreateOrUpdateContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.HybridRunbookWorkerGroupResource>>
override this.UpdateAsync : Azure.ResourceManager.Automation.Models.HybridRunbookWorkerGroupCreateOrUpdateContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.HybridRunbookWorkerGroupResource>>
Public Overridable Function UpdateAsync (content As HybridRunbookWorkerGroupCreateOrUpdateContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of HybridRunbookWorkerGroupResource))

Parameters

content
HybridRunbookWorkerGroupCreateOrUpdateContent

The hybrid runbook worker group.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to