Client library for AutomationManagement
npm install --save @datafire/azure_automation_watcher
let azure_automation_watcher = require('@datafire/azure_automation_watcher').create({
access_token: "",
refresh_token: "",
client_id: "",
client_secret: "",
redirect_uri: ""
});
.then(data => {
console.log(data);
});
Retrieve a list of watchers.
azure_automation_watcher.Watcher_ListByAutomationAccount({
"resourceGroupName": "",
"automationAccountName": "",
"subscriptionId": "",
"api-version": ""
}, context)
- input
object
- resourceGroupName required
string
: Name of an Azure Resource group. - automationAccountName required
string
: The name of the automation account. - $filter
string
: The filter to apply on the operation. - subscriptionId required
string
: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. - api-version required
string
: Client Api Version.
- resourceGroupName required
- output WatcherListResult
Delete the watcher by name.
azure_automation_watcher.Watcher_Delete({
"resourceGroupName": "",
"automationAccountName": "",
"watcherName": "",
"subscriptionId": "",
"api-version": ""
}, context)
- input
object
- resourceGroupName required
string
: Name of an Azure Resource group. - automationAccountName required
string
: The name of the automation account. - watcherName required
string
: The watcher name. - subscriptionId required
string
: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. - api-version required
string
: Client Api Version.
- resourceGroupName required
Output schema unknown
Retrieve the watcher identified by watcher name.
azure_automation_watcher.Watcher_Get({
"resourceGroupName": "",
"automationAccountName": "",
"watcherName": "",
"subscriptionId": "",
"api-version": ""
}, context)
- input
object
- resourceGroupName required
string
: Name of an Azure Resource group. - automationAccountName required
string
: The name of the automation account. - watcherName required
string
: The watcher name. - subscriptionId required
string
: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. - api-version required
string
: Client Api Version.
- resourceGroupName required
- output Watcher
Update the watcher identified by watcher name.
azure_automation_watcher.Watcher_Update({
"resourceGroupName": "",
"automationAccountName": "",
"watcherName": "",
"parameters": null,
"subscriptionId": "",
"api-version": ""
}, context)
- input
object
- resourceGroupName required
string
: Name of an Azure Resource group. - automationAccountName required
string
: The name of the automation account. - watcherName required
string
: The watcher name. - parameters required WatcherUpdateParameters
- subscriptionId required
string
: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. - api-version required
string
: Client Api Version.
- resourceGroupName required
- output Watcher
Create the watcher identified by watcher name.
azure_automation_watcher.Watcher_CreateOrUpdate({
"resourceGroupName": "",
"automationAccountName": "",
"watcherName": "",
"parameters": null,
"subscriptionId": "",
"api-version": ""
}, context)
- input
object
- resourceGroupName required
string
: Name of an Azure Resource group. - automationAccountName required
string
: The name of the automation account. - watcherName required
string
: The watcher name. - parameters required Watcher
- subscriptionId required
string
: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. - api-version required
string
: Client Api Version.
- resourceGroupName required
- output Watcher
Resume the watcher identified by watcher name.
azure_automation_watcher.Watcher_Start({
"resourceGroupName": "",
"automationAccountName": "",
"watcherName": "",
"subscriptionId": "",
"api-version": ""
}, context)
- input
object
- resourceGroupName required
string
: Name of an Azure Resource group. - automationAccountName required
string
: The name of the automation account. - watcherName required
string
: The watcher name. - subscriptionId required
string
: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. - api-version required
string
: Client Api Version.
- resourceGroupName required
Output schema unknown
Resume the watcher identified by watcher name.
azure_automation_watcher.Watcher_Stop({
"resourceGroupName": "",
"automationAccountName": "",
"watcherName": "",
"subscriptionId": "",
"api-version": ""
}, context)
- input
object
- resourceGroupName required
string
: Name of an Azure Resource group. - automationAccountName required
string
: The name of the automation account. - watcherName required
string
: The watcher name. - subscriptionId required
string
: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. - api-version required
string
: Client Api Version.
- resourceGroupName required
Output schema unknown
- Watcher
object
: Definition of the watcher type.- etag
string
: Gets or sets the etag of the resource. - properties WatcherProperties
- location
string
: The Azure Region where the resource lives - tags
object
: Resource tags. - id
string
: Fully qualified resource Id for the resource - name
string
: The name of the resource - type
string
: The type of the resource.
- etag
- WatcherListResult
object
: The response model for the list watcher operation.- nextLink
string
: Gets or sets the next link. - value
array
: Gets or sets a list of watchers.- items Watcher
- nextLink
- WatcherProperties
object
: Definition of the watcher properties- creationTime
string
: Gets or sets the creation time. - description
string
: Gets or sets the description. - executionFrequencyInSeconds
integer
: Gets or sets the frequency at which the watcher is invoked. - lastModifiedBy
string
: Details of the user who last modified the watcher. - lastModifiedTime
string
: Gets or sets the last modified time. - scriptName
string
: Gets or sets the name of the script the watcher is attached to, i.e. the name of an existing runbook. - scriptParameters
object
: Gets or sets the parameters of the script. - scriptRunOn
string
: Gets or sets the name of the hybrid worker group the watcher will run on. - status
string
: Gets the current status of the watcher.
- creationTime
- WatcherUpdateParameters
object
- name
string
: Gets or sets the name of the resource. - properties WatcherUpdateProperties
- name
- WatcherUpdateProperties
object
: The properties of the update watcher operation.- executionFrequencyInSeconds
integer
: Gets or sets the frequency at which the watcher is invoked.
- executionFrequencyInSeconds