Partager via


WatcherOperations class

Classe représentant un WatcherOperations.

Constructeurs

WatcherOperations(AutomationClientContext)

Créez un WatcherOperations.

Méthodes

createOrUpdate(string, string, string, Watcher, RequestOptionsBase)

Créez l’observateur identifié par le nom de l’observateur.

createOrUpdate(string, string, string, Watcher, RequestOptionsBase, ServiceCallback<Watcher>)
createOrUpdate(string, string, string, Watcher, ServiceCallback<Watcher>)
deleteMethod(string, string, string, RequestOptionsBase)

Supprimez l’observateur par nom.

deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<void>)
deleteMethod(string, string, string, ServiceCallback<void>)
get(string, string, string, RequestOptionsBase)

Récupérez l’observateur identifié par le nom de l’observateur.

get(string, string, string, RequestOptionsBase, ServiceCallback<Watcher>)
get(string, string, string, ServiceCallback<Watcher>)
listByAutomationAccount(string, string, ServiceCallback<WatcherListResult>)
listByAutomationAccount(string, string, WatcherListByAutomationAccountOptionalParams)

Récupérez une liste de observateurs.

listByAutomationAccount(string, string, WatcherListByAutomationAccountOptionalParams, ServiceCallback<WatcherListResult>)
listByAutomationAccountNext(string, RequestOptionsBase)

Récupérez une liste de observateurs.

listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<WatcherListResult>)
listByAutomationAccountNext(string, ServiceCallback<WatcherListResult>)
start(string, string, string, RequestOptionsBase)

Reprendre l’observateur identifié par le nom de l’observateur.

start(string, string, string, RequestOptionsBase, ServiceCallback<void>)
start(string, string, string, ServiceCallback<void>)
stop(string, string, string, RequestOptionsBase)

Reprendre l’observateur identifié par le nom de l’observateur.

stop(string, string, string, RequestOptionsBase, ServiceCallback<void>)
stop(string, string, string, ServiceCallback<void>)
update(string, string, string, WatcherUpdateParameters, RequestOptionsBase)

Mettez à jour l’observateur identifié par le nom de l’observateur.

update(string, string, string, WatcherUpdateParameters, RequestOptionsBase, ServiceCallback<Watcher>)
update(string, string, string, WatcherUpdateParameters, ServiceCallback<Watcher>)

Détails du constructeur

WatcherOperations(AutomationClientContext)

Créez un WatcherOperations.

new WatcherOperations(client: AutomationClientContext)

Paramètres

client
AutomationClientContext

Référence au client de service.

Détails de la méthode

createOrUpdate(string, string, string, Watcher, RequestOptionsBase)

Créez l’observateur identifié par le nom de l’observateur.

function createOrUpdate(resourceGroupName: string, automationAccountName: string, watcherName: string, parameters: Watcher, options?: RequestOptionsBase): Promise<WatcherCreateOrUpdateResponse>

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

watcherName

string

Nom de l’observateur.

parameters
Watcher

Paramètres de création ou de mise à jour de l’observateur.

options
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<Models.WatcherCreateOrUpdateResponse>

createOrUpdate(string, string, string, Watcher, RequestOptionsBase, ServiceCallback<Watcher>)

function createOrUpdate(resourceGroupName: string, automationAccountName: string, watcherName: string, parameters: Watcher, options: RequestOptionsBase, callback: ServiceCallback<Watcher>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

watcherName

string

Nom de l’observateur.

parameters
Watcher

Paramètres de création ou de mise à jour de l’observateur.

options
RequestOptionsBase

Paramètres facultatifs

callback

ServiceCallback<Watcher>

Rappel

createOrUpdate(string, string, string, Watcher, ServiceCallback<Watcher>)

function createOrUpdate(resourceGroupName: string, automationAccountName: string, watcherName: string, parameters: Watcher, callback: ServiceCallback<Watcher>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

watcherName

string

Nom de l’observateur.

parameters
Watcher

Paramètres de création ou de mise à jour de l’observateur.

callback

ServiceCallback<Watcher>

Rappel

deleteMethod(string, string, string, RequestOptionsBase)

Supprimez l’observateur par nom.

function deleteMethod(resourceGroupName: string, automationAccountName: string, watcherName: string, options?: RequestOptionsBase): Promise<RestResponse>

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

watcherName

string

Nom de l’observateur.

options
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<RestResponse>

Promesse<msRest.RestResponse>

deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, automationAccountName: string, watcherName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

watcherName

string

Nom de l’observateur.

options
RequestOptionsBase

Paramètres facultatifs

callback

ServiceCallback<void>

Rappel

deleteMethod(string, string, string, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, automationAccountName: string, watcherName: string, callback: ServiceCallback<void>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

watcherName

string

Nom de l’observateur.

callback

ServiceCallback<void>

Rappel

get(string, string, string, RequestOptionsBase)

Récupérez l’observateur identifié par le nom de l’observateur.

function get(resourceGroupName: string, automationAccountName: string, watcherName: string, options?: RequestOptionsBase): Promise<WatcherGetResponse>

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

watcherName

string

Nom de l’observateur.

options
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<Models.WatcherGetResponse>

get(string, string, string, RequestOptionsBase, ServiceCallback<Watcher>)

function get(resourceGroupName: string, automationAccountName: string, watcherName: string, options: RequestOptionsBase, callback: ServiceCallback<Watcher>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

watcherName

string

Nom de l’observateur.

options
RequestOptionsBase

Paramètres facultatifs

callback

ServiceCallback<Watcher>

Rappel

get(string, string, string, ServiceCallback<Watcher>)

function get(resourceGroupName: string, automationAccountName: string, watcherName: string, callback: ServiceCallback<Watcher>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

watcherName

string

Nom de l’observateur.

callback

ServiceCallback<Watcher>

Rappel

listByAutomationAccount(string, string, ServiceCallback<WatcherListResult>)

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, callback: ServiceCallback<WatcherListResult>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

listByAutomationAccount(string, string, WatcherListByAutomationAccountOptionalParams)

Récupérez une liste de observateurs.

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: WatcherListByAutomationAccountOptionalParams): Promise<WatcherListByAutomationAccountResponse>

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

options
WatcherListByAutomationAccountOptionalParams

Paramètres facultatifs

Retours

Promise<Models.WatcherListByAutomationAccountResponse>

listByAutomationAccount(string, string, WatcherListByAutomationAccountOptionalParams, ServiceCallback<WatcherListResult>)

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: WatcherListByAutomationAccountOptionalParams, callback: ServiceCallback<WatcherListResult>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

options
WatcherListByAutomationAccountOptionalParams

Paramètres facultatifs

listByAutomationAccountNext(string, RequestOptionsBase)

Récupérez une liste de observateurs.

function listByAutomationAccountNext(nextPageLink: string, options?: RequestOptionsBase): Promise<WatcherListByAutomationAccountNextResponse>

Paramètres

nextPageLink

string

NextLink de l’appel réussi précédent à l’opération De liste.

options
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<Models.WatcherListByAutomationAccountNextResponse>

listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<WatcherListResult>)

function listByAutomationAccountNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<WatcherListResult>)

Paramètres

nextPageLink

string

NextLink de l’appel réussi précédent à l’opération De liste.

options
RequestOptionsBase

Paramètres facultatifs

listByAutomationAccountNext(string, ServiceCallback<WatcherListResult>)

function listByAutomationAccountNext(nextPageLink: string, callback: ServiceCallback<WatcherListResult>)

Paramètres

nextPageLink

string

NextLink de l’appel réussi précédent à l’opération De liste.

start(string, string, string, RequestOptionsBase)

Reprendre l’observateur identifié par le nom de l’observateur.

function start(resourceGroupName: string, automationAccountName: string, watcherName: string, options?: RequestOptionsBase): Promise<RestResponse>

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

watcherName

string

Nom de l’observateur.

options
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<RestResponse>

Promesse<msRest.RestResponse>

start(string, string, string, RequestOptionsBase, ServiceCallback<void>)

function start(resourceGroupName: string, automationAccountName: string, watcherName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

watcherName

string

Nom de l’observateur.

options
RequestOptionsBase

Paramètres facultatifs

callback

ServiceCallback<void>

Rappel

start(string, string, string, ServiceCallback<void>)

function start(resourceGroupName: string, automationAccountName: string, watcherName: string, callback: ServiceCallback<void>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

watcherName

string

Nom de l’observateur.

callback

ServiceCallback<void>

Rappel

stop(string, string, string, RequestOptionsBase)

Reprendre l’observateur identifié par le nom de l’observateur.

function stop(resourceGroupName: string, automationAccountName: string, watcherName: string, options?: RequestOptionsBase): Promise<RestResponse>

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

watcherName

string

Nom de l’observateur.

options
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<RestResponse>

Promesse<msRest.RestResponse>

stop(string, string, string, RequestOptionsBase, ServiceCallback<void>)

function stop(resourceGroupName: string, automationAccountName: string, watcherName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

watcherName

string

Nom de l’observateur.

options
RequestOptionsBase

Paramètres facultatifs

callback

ServiceCallback<void>

Rappel

stop(string, string, string, ServiceCallback<void>)

function stop(resourceGroupName: string, automationAccountName: string, watcherName: string, callback: ServiceCallback<void>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

watcherName

string

Nom de l’observateur.

callback

ServiceCallback<void>

Rappel

update(string, string, string, WatcherUpdateParameters, RequestOptionsBase)

Mettez à jour l’observateur identifié par le nom de l’observateur.

function update(resourceGroupName: string, automationAccountName: string, watcherName: string, parameters: WatcherUpdateParameters, options?: RequestOptionsBase): Promise<WatcherUpdateResponse>

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

watcherName

string

Nom de l’observateur.

parameters
WatcherUpdateParameters

Paramètres de mise à jour de l’observateur.

options
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<Models.WatcherUpdateResponse>

update(string, string, string, WatcherUpdateParameters, RequestOptionsBase, ServiceCallback<Watcher>)

function update(resourceGroupName: string, automationAccountName: string, watcherName: string, parameters: WatcherUpdateParameters, options: RequestOptionsBase, callback: ServiceCallback<Watcher>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

watcherName

string

Nom de l’observateur.

parameters
WatcherUpdateParameters

Paramètres de mise à jour de l’observateur.

options
RequestOptionsBase

Paramètres facultatifs

callback

ServiceCallback<Watcher>

Rappel

update(string, string, string, WatcherUpdateParameters, ServiceCallback<Watcher>)

function update(resourceGroupName: string, automationAccountName: string, watcherName: string, parameters: WatcherUpdateParameters, callback: ServiceCallback<Watcher>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

watcherName

string

Nom de l’observateur.

parameters
WatcherUpdateParameters

Paramètres de mise à jour de l’observateur.

callback

ServiceCallback<Watcher>

Rappel