public interface Accounts
Resource collection API of Accounts.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.azure.core.http.rest.PagedIterable<AccountResource>
    Returns list of accounts belonging to a subscription.
    com.azure.core.http.rest.PagedIterable<AccountResource>
    list(com.azure.core.util.Context context)
    Returns list of accounts belonging to a subscription.
    com.azure.core.http.rest.PagedIterable<AccountResource>
    listByResourceGroup(String resourceGroupName)
    Returns list of accounts apps.
    com.azure.core.http.rest.PagedIterable<AccountResource>
    listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
    Returns list of accounts apps.
  • Method Details

    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<AccountResource> listByResourceGroup(String resourceGroupName)
      Returns list of accounts apps.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      Returns:
      the list of accounts 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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<AccountResource> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      Returns list of accounts apps.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      context - The context to associate with this operation.
      Returns:
      the list of accounts 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.
    • list

      com.azure.core.http.rest.PagedIterable<AccountResource> list()
      Returns list of accounts belonging to a subscription.
      Returns:
      the list of accounts as paginated response with PagedIterable.
      Throws:
      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.
    • list

      com.azure.core.http.rest.PagedIterable<AccountResource> list(com.azure.core.util.Context context)
      Returns list of accounts belonging to a subscription.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      the list of accounts 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.