Dela via


AutomationWatcherResource.Get(CancellationToken) Method

Definition

Retrieve the watcher identified by watcher name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/watchers/{watcherName}
  • Operation Id: Watcher_Get
public virtual Azure.Response<Azure.ResourceManager.Automation.AutomationWatcherResource> Get (System.Threading.CancellationToken cancellationToken = default);
abstract member Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Automation.AutomationWatcherResource>
override this.Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Automation.AutomationWatcherResource>
Public Overridable Function Get (Optional cancellationToken As CancellationToken = Nothing) As Response(Of AutomationWatcherResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to