Interface Usages
public interface Usages
Resource collection API of Usages.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.http.rest.PagedIterable<Usage>
listByAutomationAccount
(String resourceGroupName, String automationAccountName) Retrieve the usage for the account id.com.azure.core.http.rest.PagedIterable<Usage>
listByAutomationAccount
(String resourceGroupName, String automationAccountName, com.azure.core.util.Context context) Retrieve the usage for the account id.
-
Method Details
-
listByAutomationAccount
com.azure.core.http.rest.PagedIterable<Usage> listByAutomationAccount(String resourceGroupName, String automationAccountName) Retrieve the usage for the account id.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.- Returns:
- the response model for the get usage operation as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByAutomationAccount
com.azure.core.http.rest.PagedIterable<Usage> listByAutomationAccount(String resourceGroupName, String automationAccountName, com.azure.core.util.Context context) Retrieve the usage for the account id.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.context
- The context to associate with this operation.- Returns:
- the response model for the get usage operation as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-