AutomationAccountOperations interface
Interface representing a AutomationAccountOperations.
Methods
create |
Create or update automation account. |
delete(string, string, Automation |
Delete an automation account. |
get(string, string, Automation |
Get information about an Automation Account. |
list(Automation |
Retrieve a list of accounts within a given subscription. |
list |
Retrieve a list of accounts within a given resource group. |
update(string, string, Automation |
Update an automation account. |
Method Details
createOrUpdate(string, string, AutomationAccountCreateOrUpdateParameters, AutomationAccountCreateOrUpdateOptionalParams)
Create or update automation account.
function createOrUpdate(resourceGroupName: string, automationAccountName: string, parameters: AutomationAccountCreateOrUpdateParameters, options?: AutomationAccountCreateOrUpdateOptionalParams): Promise<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.
The options parameters.
Returns
Promise<AutomationAccount>
delete(string, string, AutomationAccountDeleteOptionalParams)
Delete an automation account.
function delete(resourceGroupName: string, automationAccountName: string, options?: AutomationAccountDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
The options parameters.
Returns
Promise<void>
get(string, string, AutomationAccountGetOptionalParams)
Get information about an Automation Account.
function get(resourceGroupName: string, automationAccountName: string, options?: AutomationAccountGetOptionalParams): Promise<AutomationAccount>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
The options parameters.
Returns
Promise<AutomationAccount>
list(AutomationAccountListOptionalParams)
Retrieve a list of accounts within a given subscription.
function list(options?: AutomationAccountListOptionalParams): PagedAsyncIterableIterator<AutomationAccount, AutomationAccount[], PageSettings>
Parameters
The options parameters.
Returns
listByResourceGroup(string, AutomationAccountListByResourceGroupOptionalParams)
Retrieve a list of accounts within a given resource group.
function listByResourceGroup(resourceGroupName: string, options?: AutomationAccountListByResourceGroupOptionalParams): PagedAsyncIterableIterator<AutomationAccount, AutomationAccount[], PageSettings>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
The options parameters.
Returns
update(string, string, AutomationAccountUpdateParameters, AutomationAccountUpdateOptionalParams)
Update an automation account.
function update(resourceGroupName: string, automationAccountName: string, parameters: AutomationAccountUpdateParameters, options?: AutomationAccountUpdateOptionalParams): Promise<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.
The options parameters.
Returns
Promise<AutomationAccount>
Azure SDK for JavaScript