Compartir a través de


WatcherOperations class

Clase que representa un WatcherOperations.

Constructores

WatcherOperations(AutomationClientContext)

Cree una watcherOperations.

Métodos

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

Cree el monitor identificado por el nombre del monitor.

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

Elimine el monitor por nombre.

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

Recupere el monitor identificado por el nombre del monitor.

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

Recuperar una lista de monitores.

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

Recuperar una lista de monitores.

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

Reanude el monitor identificado por el nombre del monitor.

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

Reanude el monitor identificado por el nombre del monitor.

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

Actualice el monitor identificado por el nombre del monitor.

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

Detalles del constructor

WatcherOperations(AutomationClientContext)

Cree una watcherOperations.

new WatcherOperations(client: AutomationClientContext)

Parámetros

client
AutomationClientContext

Referencia al cliente de servicio.

Detalles del método

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

Cree el monitor identificado por el nombre del monitor.

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

Parámetros

resourceGroupName

string

Nombre de un grupo de recursos de Azure.

automationAccountName

string

Nombre de la cuenta de Automation.

watcherName

string

Nombre del monitor.

parameters
Watcher

Parámetros de creación o actualización del monitor.

options
RequestOptionsBase

Los parámetros opcionales

Devoluciones

Modelos de promesa.WatcherCreateOrUpdateResponse<>

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

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

Parámetros

resourceGroupName

string

Nombre de un grupo de recursos de Azure.

automationAccountName

string

Nombre de la cuenta de Automation.

watcherName

string

Nombre del monitor.

parameters
Watcher

Parámetros de creación o actualización del monitor.

options
RequestOptionsBase

Los parámetros opcionales

callback

ServiceCallback<Watcher>

Devolución de llamada

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

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

Parámetros

resourceGroupName

string

Nombre de un grupo de recursos de Azure.

automationAccountName

string

Nombre de la cuenta de Automation.

watcherName

string

Nombre del monitor.

parameters
Watcher

Parámetros de creación o actualización del monitor.

callback

ServiceCallback<Watcher>

Devolución de llamada

deleteMethod(string, string, string, RequestOptionsBase)

Elimine el monitor por nombre.

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

Parámetros

resourceGroupName

string

Nombre de un grupo de recursos de Azure.

automationAccountName

string

Nombre de la cuenta de Automation.

watcherName

string

Nombre del monitor.

options
RequestOptionsBase

Los parámetros opcionales

Devoluciones

Promise<RestResponse>

Promesa<msRest.RestResponse>

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

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

Parámetros

resourceGroupName

string

Nombre de un grupo de recursos de Azure.

automationAccountName

string

Nombre de la cuenta de Automation.

watcherName

string

Nombre del monitor.

options
RequestOptionsBase

Los parámetros opcionales

callback

ServiceCallback<void>

Devolución de llamada

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

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

Parámetros

resourceGroupName

string

Nombre de un grupo de recursos de Azure.

automationAccountName

string

Nombre de la cuenta de Automation.

watcherName

string

Nombre del monitor.

callback

ServiceCallback<void>

Devolución de llamada

get(string, string, string, RequestOptionsBase)

Recupere el monitor identificado por el nombre del monitor.

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

Parámetros

resourceGroupName

string

Nombre de un grupo de recursos de Azure.

automationAccountName

string

Nombre de la cuenta de Automation.

watcherName

string

Nombre del monitor.

options
RequestOptionsBase

Los parámetros opcionales

Devoluciones

< Promise>Models.WatcherGetResponse

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

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

Parámetros

resourceGroupName

string

Nombre de un grupo de recursos de Azure.

automationAccountName

string

Nombre de la cuenta de Automation.

watcherName

string

Nombre del monitor.

options
RequestOptionsBase

Los parámetros opcionales

callback

ServiceCallback<Watcher>

Devolución de llamada

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

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

Parámetros

resourceGroupName

string

Nombre de un grupo de recursos de Azure.

automationAccountName

string

Nombre de la cuenta de Automation.

watcherName

string

Nombre del monitor.

callback

ServiceCallback<Watcher>

Devolución de llamada

listByAutomationAccount(string, string, ServiceCallback<WatcherListResult>)

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

Parámetros

resourceGroupName

string

Nombre de un grupo de recursos de Azure.

automationAccountName

string

Nombre de la cuenta de Automation.

callback

ServiceCallback<WatcherListResult>

Devolución de llamada

listByAutomationAccount(string, string, WatcherListByAutomationAccountOptionalParams)

Recuperar una lista de monitores.

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

Parámetros

resourceGroupName

string

Nombre de un grupo de recursos de Azure.

automationAccountName

string

Nombre de la cuenta de Automation.

options
WatcherListByAutomationAccountOptionalParams

Los parámetros opcionales

Devoluciones

Modelos de promesas.WatcherListByAutomationAccountResponse<>

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

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

Parámetros

resourceGroupName

string

Nombre de un grupo de recursos de Azure.

automationAccountName

string

Nombre de la cuenta de Automation.

options
WatcherListByAutomationAccountOptionalParams

Los parámetros opcionales

callback

ServiceCallback<WatcherListResult>

Devolución de llamada

listByAutomationAccountNext(string, RequestOptionsBase)

Recuperar una lista de monitores.

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

Parámetros

nextPageLink

string

NextLink de la llamada correcta anterior a la operación List.

options
RequestOptionsBase

Los parámetros opcionales

Devoluciones

Modelos de promesas.WatcherListByAutomationAccountNextResponse<>

listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<WatcherListResult>)

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

Parámetros

nextPageLink

string

NextLink de la llamada correcta anterior a la operación List.

options
RequestOptionsBase

Los parámetros opcionales

callback

ServiceCallback<WatcherListResult>

Devolución de llamada

listByAutomationAccountNext(string, ServiceCallback<WatcherListResult>)

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

Parámetros

nextPageLink

string

NextLink de la llamada correcta anterior a la operación List.

callback

ServiceCallback<WatcherListResult>

Devolución de llamada

start(string, string, string, RequestOptionsBase)

Reanude el monitor identificado por el nombre del monitor.

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

Parámetros

resourceGroupName

string

Nombre de un grupo de recursos de Azure.

automationAccountName

string

Nombre de la cuenta de Automation.

watcherName

string

Nombre del monitor.

options
RequestOptionsBase

Los parámetros opcionales

Devoluciones

Promise<RestResponse>

Promesa<msRest.RestResponse>

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

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

Parámetros

resourceGroupName

string

Nombre de un grupo de recursos de Azure.

automationAccountName

string

Nombre de la cuenta de Automation.

watcherName

string

Nombre del monitor.

options
RequestOptionsBase

Los parámetros opcionales

callback

ServiceCallback<void>

Devolución de llamada

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

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

Parámetros

resourceGroupName

string

Nombre de un grupo de recursos de Azure.

automationAccountName

string

Nombre de la cuenta de Automation.

watcherName

string

Nombre del monitor.

callback

ServiceCallback<void>

Devolución de llamada

stop(string, string, string, RequestOptionsBase)

Reanude el monitor identificado por el nombre del monitor.

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

Parámetros

resourceGroupName

string

Nombre de un grupo de recursos de Azure.

automationAccountName

string

Nombre de la cuenta de Automation.

watcherName

string

Nombre del monitor.

options
RequestOptionsBase

Los parámetros opcionales

Devoluciones

Promise<RestResponse>

Promesa<msRest.RestResponse>

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

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

Parámetros

resourceGroupName

string

Nombre de un grupo de recursos de Azure.

automationAccountName

string

Nombre de la cuenta de Automation.

watcherName

string

Nombre del monitor.

options
RequestOptionsBase

Los parámetros opcionales

callback

ServiceCallback<void>

Devolución de llamada

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

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

Parámetros

resourceGroupName

string

Nombre de un grupo de recursos de Azure.

automationAccountName

string

Nombre de la cuenta de Automation.

watcherName

string

Nombre del monitor.

callback

ServiceCallback<void>

Devolución de llamada

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

Actualice el monitor identificado por el nombre del monitor.

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

Parámetros

resourceGroupName

string

Nombre de un grupo de recursos de Azure.

automationAccountName

string

Nombre de la cuenta de Automation.

watcherName

string

Nombre del monitor.

parameters
WatcherUpdateParameters

Parámetros de actualización para monitor.

options
RequestOptionsBase

Los parámetros opcionales

Devoluciones

Modelos de promesa.WatcherUpdateResponse<>

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

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

Parámetros

resourceGroupName

string

Nombre de un grupo de recursos de Azure.

automationAccountName

string

Nombre de la cuenta de Automation.

watcherName

string

Nombre del monitor.

parameters
WatcherUpdateParameters

Parámetros de actualización para monitor.

options
RequestOptionsBase

Los parámetros opcionales

callback

ServiceCallback<Watcher>

Devolución de llamada

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

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

Parámetros

resourceGroupName

string

Nombre de un grupo de recursos de Azure.

automationAccountName

string

Nombre de la cuenta de Automation.

watcherName

string

Nombre del monitor.

parameters
WatcherUpdateParameters

Parámetros de actualización para monitor.

callback

ServiceCallback<Watcher>

Devolución de llamada