Interface RolesClient


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

    • listByHub

      com.azure.core.http.rest.PagedIterable<RoleResourceFormatInner> listByHub(String resourceGroupName, String hubName)
      Gets all the roles for the hub.
      Parameters:
      resourceGroupName - The name of the resource group.
      hubName - The name of the hub.
      Returns:
      all the roles for the hub 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.
    • listByHub

      com.azure.core.http.rest.PagedIterable<RoleResourceFormatInner> listByHub(String resourceGroupName, String hubName, com.azure.core.util.Context context)
      Gets all the roles for the hub.
      Parameters:
      resourceGroupName - The name of the resource group.
      hubName - The name of the hub.
      context - The context to associate with this operation.
      Returns:
      all the roles for the hub 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.