Skip to main content

watchers

Overview

Namewatchers
TypeResource
Idazure.databasewatcher.watchers

Fields

NameDatatypeDescription
identityobjectManaged service identity (system assigned and/or user assigned identities)
locationstringThe geo-location where the resource lives
propertiesobjectThe RP specific properties of the resource.
tagsobjectResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, subscriptionId, watcherNameGet a Watcher
list_by_resource_groupSELECTresourceGroupName, subscriptionIdList Watcher resources by resource group
list_by_subscriptionSELECTsubscriptionIdList Watcher resources by subscription ID
create_or_updateINSERTresourceGroupName, subscriptionId, watcherNameCreate a Watcher
deleteDELETEresourceGroupName, subscriptionId, watcherNameDelete a Watcher
startEXECresourceGroupName, subscriptionId, watcherNameThe action to start monitoring all targets configured for a database watcher.
stopEXECresourceGroupName, subscriptionId, watcherNameThe action to stop monitoring all targets configured for a database watcher.
updateEXECresourceGroupName, subscriptionId, watcherNameUpdate a Watcher