Skip to main content

watcher

Overview

Namewatcher
TypeResource
Idazure.automation.watcher

Fields

NameDatatypeDescription
idstringFully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
namestringThe name of the resource
etagstringGets or sets the etag of the resource.
locationstringThe geo-location where the resource lives
propertiesobjectDefinition of the watcher properties
systemDataobjectMetadata pertaining to creation and last modification of the resource.
tagsobjectResource tags.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

NameAccessible byRequired ParamsDescription
getSELECTautomationAccountName, resourceGroupName, subscriptionId, watcherNameRetrieve the watcher identified by watcher name.
list_by_automation_accountSELECTautomationAccountName, resourceGroupName, subscriptionIdRetrieve a list of watchers.
create_or_updateINSERTautomationAccountName, resourceGroupName, subscriptionId, watcherNameCreate the watcher identified by watcher name.
deleteDELETEautomationAccountName, resourceGroupName, subscriptionId, watcherNameDelete the watcher by name.
_list_by_automation_accountEXECautomationAccountName, resourceGroupName, subscriptionIdRetrieve a list of watchers.
startEXECautomationAccountName, resourceGroupName, subscriptionId, watcherNameResume the watcher identified by watcher name.
stopEXECautomationAccountName, resourceGroupName, subscriptionId, watcherNameResume the watcher identified by watcher name.
updateEXECautomationAccountName, resourceGroupName, subscriptionId, watcherNameUpdate the watcher identified by watcher name.