Usages class
Class representing a Usages.
Constructors
Usages(Automation |
Create a Usages. |
Methods
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
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
The callback