Usages class

Class representing a Usages.

Constructors

Usages(AutomationClientContext)

Create a Usages.

Methods

listByAutomationAccount(string, string, RequestOptionsBase)

Retrieve the usage for the account id.

listByAutomationAccount(string, string, RequestOptionsBase, ServiceCallback<UsageListResult>)
listByAutomationAccount(string, string, ServiceCallback<UsageListResult>)

Constructor Details

Usages(AutomationClientContext)

Create a Usages.

new Usages(client: AutomationClientContext)

Parameters

client
AutomationClientContext

Reference to the service client.

Method Details

listByAutomationAccount(string, string, RequestOptionsBase)

Retrieve the usage for the account id.

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: RequestOptionsBase): Promise<UsagesListByAutomationAccountResponse>

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

listByAutomationAccount(string, string, RequestOptionsBase, ServiceCallback<UsageListResult>)

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: RequestOptionsBase, callback: ServiceCallback<UsageListResult>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<UsageListResult>

The callback

listByAutomationAccount(string, string, ServiceCallback<UsageListResult>)

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

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

callback

ServiceCallback<UsageListResult>

The callback