AutomationAccountOperations class
Class representing a AutomationAccountOperations.
Constructors
Automation |
Create a AutomationAccountOperations. |
Methods
Constructor Details
AutomationAccountOperations(AutomationClientContext)
Create a AutomationAccountOperations.
new AutomationAccountOperations(client: AutomationClientContext)
Parameters
- client
- AutomationClientContext
Reference to the service client.
Method Details
createOrUpdate(string, string, AutomationAccountCreateOrUpdateParameters, RequestOptionsBase)
Create or update automation account.
function createOrUpdate(resourceGroupName: string, automationAccountName: string, parameters: AutomationAccountCreateOrUpdateParameters, options?: RequestOptionsBase): Promise<AutomationAccountCreateOrUpdateResponse>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- parameters
- AutomationAccountCreateOrUpdateParameters
Parameters supplied to the create or update automation account.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<Models.AutomationAccountCreateOrUpdateResponse>
createOrUpdate(string, string, AutomationAccountCreateOrUpdateParameters, RequestOptionsBase, ServiceCallback<AutomationAccount>)
function createOrUpdate(resourceGroupName: string, automationAccountName: string, parameters: AutomationAccountCreateOrUpdateParameters, options: RequestOptionsBase, callback: ServiceCallback<AutomationAccount>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- parameters
- AutomationAccountCreateOrUpdateParameters
Parameters supplied to the create or update automation account.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
createOrUpdate(string, string, AutomationAccountCreateOrUpdateParameters, ServiceCallback<AutomationAccount>)
function createOrUpdate(resourceGroupName: string, automationAccountName: string, parameters: AutomationAccountCreateOrUpdateParameters, callback: ServiceCallback<AutomationAccount>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- parameters
- AutomationAccountCreateOrUpdateParameters
Parameters supplied to the create or update automation account.
- callback
The callback
deleteMethod(string, string, RequestOptionsBase)
Delete an automation account.
function deleteMethod(resourceGroupName: string, automationAccountName: string, options?: RequestOptionsBase): Promise<RestResponse>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<RestResponse>
Promise<msRest.RestResponse>
deleteMethod(string, string, RequestOptionsBase, ServiceCallback<void>)
function deleteMethod(resourceGroupName: string, automationAccountName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- options
- RequestOptionsBase
The optional parameters
- callback
-
ServiceCallback<void>
The callback
deleteMethod(string, string, ServiceCallback<void>)
function deleteMethod(resourceGroupName: string, automationAccountName: string, callback: ServiceCallback<void>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- callback
-
ServiceCallback<void>
The callback
get(string, string, RequestOptionsBase)
Get information about an Automation Account.
function get(resourceGroupName: string, automationAccountName: string, options?: RequestOptionsBase): Promise<AutomationAccountGetResponse>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<AutomationAccountGetResponse>
Promise<Models.AutomationAccountGetResponse>
get(string, string, RequestOptionsBase, ServiceCallback<AutomationAccount>)
function get(resourceGroupName: string, automationAccountName: string, options: RequestOptionsBase, callback: ServiceCallback<AutomationAccount>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
get(string, string, ServiceCallback<AutomationAccount>)
function get(resourceGroupName: string, automationAccountName: string, callback: ServiceCallback<AutomationAccount>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- callback
The callback
list(RequestOptionsBase)
Retrieve a list of accounts within a given subscription.
function list(options?: RequestOptionsBase): Promise<AutomationAccountListResponse>
Parameters
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<AutomationAccountListResponse>
Promise<Models.AutomationAccountListResponse>
list(RequestOptionsBase, ServiceCallback<AutomationAccountListResult>)
function list(options: RequestOptionsBase, callback: ServiceCallback<AutomationAccountListResult>)
Parameters
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
list(ServiceCallback<AutomationAccountListResult>)
function list(callback: ServiceCallback<AutomationAccountListResult>)
Parameters
- callback
The callback
listByResourceGroup(string, RequestOptionsBase)
Retrieve a list of accounts within a given resource group.
function listByResourceGroup(resourceGroupName: string, options?: RequestOptionsBase): Promise<AutomationAccountListByResourceGroupResponse>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<Models.AutomationAccountListByResourceGroupResponse>
listByResourceGroup(string, RequestOptionsBase, ServiceCallback<AutomationAccountListResult>)
function listByResourceGroup(resourceGroupName: string, options: RequestOptionsBase, callback: ServiceCallback<AutomationAccountListResult>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
listByResourceGroup(string, ServiceCallback<AutomationAccountListResult>)
function listByResourceGroup(resourceGroupName: string, callback: ServiceCallback<AutomationAccountListResult>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- callback
The callback
listByResourceGroupNext(string, RequestOptionsBase)
Retrieve a list of accounts within a given resource group.
function listByResourceGroupNext(nextPageLink: string, options?: RequestOptionsBase): Promise<AutomationAccountListByResourceGroupNextResponse>
Parameters
- nextPageLink
-
string
The NextLink from the previous successful call to List operation.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<Models.AutomationAccountListByResourceGroupNextResponse>
listByResourceGroupNext(string, RequestOptionsBase, ServiceCallback<AutomationAccountListResult>)
function listByResourceGroupNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<AutomationAccountListResult>)
Parameters
- nextPageLink
-
string
The NextLink from the previous successful call to List operation.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
listByResourceGroupNext(string, ServiceCallback<AutomationAccountListResult>)
function listByResourceGroupNext(nextPageLink: string, callback: ServiceCallback<AutomationAccountListResult>)
Parameters
- nextPageLink
-
string
The NextLink from the previous successful call to List operation.
- callback
The callback
listNext(string, RequestOptionsBase)
Retrieve a list of accounts within a given subscription.
function listNext(nextPageLink: string, options?: RequestOptionsBase): Promise<AutomationAccountListNextResponse>
Parameters
- nextPageLink
-
string
The NextLink from the previous successful call to List operation.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<AutomationAccountListNextResponse>
Promise<Models.AutomationAccountListNextResponse>
listNext(string, RequestOptionsBase, ServiceCallback<AutomationAccountListResult>)
function listNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<AutomationAccountListResult>)
Parameters
- nextPageLink
-
string
The NextLink from the previous successful call to List operation.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
listNext(string, ServiceCallback<AutomationAccountListResult>)
function listNext(nextPageLink: string, callback: ServiceCallback<AutomationAccountListResult>)
Parameters
- nextPageLink
-
string
The NextLink from the previous successful call to List operation.
- callback
The callback
update(string, string, AutomationAccountUpdateParameters, RequestOptionsBase)
Update an automation account.
function update(resourceGroupName: string, automationAccountName: string, parameters: AutomationAccountUpdateParameters, options?: RequestOptionsBase): Promise<AutomationAccountUpdateResponse>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- parameters
- AutomationAccountUpdateParameters
Parameters supplied to the update automation account.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<AutomationAccountUpdateResponse>
Promise<Models.AutomationAccountUpdateResponse>
update(string, string, AutomationAccountUpdateParameters, RequestOptionsBase, ServiceCallback<AutomationAccount>)
function update(resourceGroupName: string, automationAccountName: string, parameters: AutomationAccountUpdateParameters, options: RequestOptionsBase, callback: ServiceCallback<AutomationAccount>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- parameters
- AutomationAccountUpdateParameters
Parameters supplied to the update automation account.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
update(string, string, AutomationAccountUpdateParameters, ServiceCallback<AutomationAccount>)
function update(resourceGroupName: string, automationAccountName: string, parameters: AutomationAccountUpdateParameters, callback: ServiceCallback<AutomationAccount>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- parameters
- AutomationAccountUpdateParameters
Parameters supplied to the update automation account.
- callback
The callback