WatcherOperationsOperations interface

Interface representing a WatcherOperations operations.

Properties

createOrUpdate

Create the watcher identified by watcher name.

delete

Delete the watcher by name.

get

Retrieve the watcher identified by watcher name.

listByAutomationAccount

Retrieve a list of watchers.

start

Resume the watcher identified by watcher name.

stop

Resume the watcher identified by watcher name.

update

Update the watcher identified by watcher name.

Property Details

createOrUpdate

Create the watcher identified by watcher name.

createOrUpdate: (resourceGroupName: string, automationAccountName: string, watcherName: string, parameters: Watcher, options?: WatcherOperationsCreateOrUpdateOptionalParams) => Promise<Watcher>

Property Value

(resourceGroupName: string, automationAccountName: string, watcherName: string, parameters: Watcher, options?: WatcherOperationsCreateOrUpdateOptionalParams) => Promise<Watcher>

delete

Delete the watcher by name.

delete: (resourceGroupName: string, automationAccountName: string, watcherName: string, options?: WatcherOperationsDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, automationAccountName: string, watcherName: string, options?: WatcherOperationsDeleteOptionalParams) => Promise<void>

get

Retrieve the watcher identified by watcher name.

get: (resourceGroupName: string, automationAccountName: string, watcherName: string, options?: WatcherOperationsGetOptionalParams) => Promise<Watcher>

Property Value

(resourceGroupName: string, automationAccountName: string, watcherName: string, options?: WatcherOperationsGetOptionalParams) => Promise<Watcher>

listByAutomationAccount

Retrieve a list of watchers.

listByAutomationAccount: (resourceGroupName: string, automationAccountName: string, options?: WatcherOperationsListByAutomationAccountOptionalParams) => PagedAsyncIterableIterator<Watcher, Watcher[], PageSettings>

Property Value

(resourceGroupName: string, automationAccountName: string, options?: WatcherOperationsListByAutomationAccountOptionalParams) => PagedAsyncIterableIterator<Watcher, Watcher[], PageSettings>

start

Resume the watcher identified by watcher name.

start: (resourceGroupName: string, automationAccountName: string, watcherName: string, options?: WatcherOperationsStartOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, automationAccountName: string, watcherName: string, options?: WatcherOperationsStartOptionalParams) => Promise<void>

stop

Resume the watcher identified by watcher name.

stop: (resourceGroupName: string, automationAccountName: string, watcherName: string, options?: WatcherOperationsStopOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, automationAccountName: string, watcherName: string, options?: WatcherOperationsStopOptionalParams) => Promise<void>

update

Update the watcher identified by watcher name.

update: (resourceGroupName: string, automationAccountName: string, watcherName: string, parameters: WatcherUpdateParameters, options?: WatcherOperationsUpdateOptionalParams) => Promise<Watcher>

Property Value

(resourceGroupName: string, automationAccountName: string, watcherName: string, parameters: WatcherUpdateParameters, options?: WatcherOperationsUpdateOptionalParams) => Promise<Watcher>