共用方式為


AutomationAccountOperations class

Class representing a AutomationAccountOperations.

Constructors

AutomationAccountOperations(AutomationClientContext)

Create a AutomationAccountOperations.

Methods

createOrUpdate(string, string, AutomationAccountCreateOrUpdateParameters, RequestOptionsBase)

Create or update automation account.

createOrUpdate(string, string, AutomationAccountCreateOrUpdateParameters, RequestOptionsBase, ServiceCallback<AutomationAccount>)
createOrUpdate(string, string, AutomationAccountCreateOrUpdateParameters, ServiceCallback<AutomationAccount>)
deleteMethod(string, string, RequestOptionsBase)

Delete an automation account.

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

Get information about an Automation Account.

get(string, string, RequestOptionsBase, ServiceCallback<AutomationAccount>)
get(string, string, ServiceCallback<AutomationAccount>)
list(RequestOptionsBase)

Retrieve a list of accounts within a given subscription.

list(RequestOptionsBase, ServiceCallback<AutomationAccountListResult>)
list(ServiceCallback<AutomationAccountListResult>)
listByResourceGroup(string, RequestOptionsBase)

Retrieve a list of accounts within a given resource group.

listByResourceGroup(string, RequestOptionsBase, ServiceCallback<AutomationAccountListResult>)
listByResourceGroup(string, ServiceCallback<AutomationAccountListResult>)
listByResourceGroupNext(string, RequestOptionsBase)

Retrieve a list of accounts within a given resource group.

listByResourceGroupNext(string, RequestOptionsBase, ServiceCallback<AutomationAccountListResult>)
listByResourceGroupNext(string, ServiceCallback<AutomationAccountListResult>)
listNext(string, RequestOptionsBase)

Retrieve a list of accounts within a given subscription.

listNext(string, RequestOptionsBase, ServiceCallback<AutomationAccountListResult>)
listNext(string, ServiceCallback<AutomationAccountListResult>)
update(string, string, AutomationAccountUpdateParameters, RequestOptionsBase)

Update an automation account.

update(string, string, AutomationAccountUpdateParameters, RequestOptionsBase, ServiceCallback<AutomationAccount>)
update(string, string, AutomationAccountUpdateParameters, ServiceCallback<AutomationAccount>)

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

ServiceCallback<AutomationAccount>

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

ServiceCallback<AutomationAccount>

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<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

ServiceCallback<AutomationAccount>

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

ServiceCallback<AutomationAccount>

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<Models.AutomationAccountListResponse>

list(RequestOptionsBase, ServiceCallback<AutomationAccountListResult>)

function list(options: RequestOptionsBase, callback: ServiceCallback<AutomationAccountListResult>)

Parameters

options
RequestOptionsBase

The optional parameters

list(ServiceCallback<AutomationAccountListResult>)

function list(callback: ServiceCallback<AutomationAccountListResult>)

Parameters

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

listByResourceGroup(string, ServiceCallback<AutomationAccountListResult>)

function listByResourceGroup(resourceGroupName: string, callback: ServiceCallback<AutomationAccountListResult>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

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

listByResourceGroupNext(string, ServiceCallback<AutomationAccountListResult>)

function listByResourceGroupNext(nextPageLink: string, callback: ServiceCallback<AutomationAccountListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

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<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

listNext(string, ServiceCallback<AutomationAccountListResult>)

function listNext(nextPageLink: string, callback: ServiceCallback<AutomationAccountListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

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<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

ServiceCallback<AutomationAccount>

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

ServiceCallback<AutomationAccount>

The callback