Interface ClassicAdministratorsClient


public interface ClassicAdministratorsClient
An instance of this class provides access to all the operations defined in ClassicAdministratorsClient.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.azure.core.http.rest.PagedIterable<ClassicAdministratorInner>
    Gets service administrator, account administrator, and co-administrators for the subscription.
    com.azure.core.http.rest.PagedIterable<ClassicAdministratorInner>
    list(com.azure.core.util.Context context)
    Gets service administrator, account administrator, and co-administrators for the subscription.
    com.azure.core.http.rest.PagedFlux<ClassicAdministratorInner>
    Gets service administrator, account administrator, and co-administrators for the subscription.
  • Method Details

    • listAsync

      com.azure.core.http.rest.PagedFlux<ClassicAdministratorInner> listAsync()
      Gets service administrator, account administrator, and co-administrators for the subscription.
      Returns:
      service administrator, account administrator, and co-administrators for the subscription as paginated response with PagedFlux.
      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<ClassicAdministratorInner> list()
      Gets service administrator, account administrator, and co-administrators for the subscription.
      Returns:
      service administrator, account administrator, and co-administrators for the subscription 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<ClassicAdministratorInner> list(com.azure.core.util.Context context)
      Gets service administrator, account administrator, and co-administrators for the subscription.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      service administrator, account administrator, and co-administrators for the subscription 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.