Interface RoleEligibilityScheduleInstancesClient


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

    • listForScopeAsync

      com.azure.core.http.rest.PagedFlux<RoleEligibilityScheduleInstanceInner> listForScopeAsync(String scope, String filter)
      Gets role eligibility schedule instances of a role eligibility schedule.
      Parameters:
      scope - The scope of the role eligibility schedule.
      filter - The filter to apply on the operation. Use $filter=atScope() to return all role assignment schedules at or above the scope. Use $filter=principalId eq {id} to return all role assignment schedules at, above or below the scope for the specified principal. Use $filter=assignedTo('{userId}') to return all role eligibility schedules for the user. Use $filter=asTarget() to return all role eligibility schedules created for the current user.
      Returns:
      role eligibility schedule instances of a role eligibility schedule as paginated response with PagedFlux.
      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.
    • listForScopeAsync

      com.azure.core.http.rest.PagedFlux<RoleEligibilityScheduleInstanceInner> listForScopeAsync(String scope)
      Gets role eligibility schedule instances of a role eligibility schedule.
      Parameters:
      scope - The scope of the role eligibility schedule.
      Returns:
      role eligibility schedule instances of a role eligibility schedule as paginated response with PagedFlux.
      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.
    • listForScope

      com.azure.core.http.rest.PagedIterable<RoleEligibilityScheduleInstanceInner> listForScope(String scope)
      Gets role eligibility schedule instances of a role eligibility schedule.
      Parameters:
      scope - The scope of the role eligibility schedule.
      Returns:
      role eligibility schedule instances of a role eligibility schedule 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.
    • listForScope

      com.azure.core.http.rest.PagedIterable<RoleEligibilityScheduleInstanceInner> listForScope(String scope, String filter, com.azure.core.util.Context context)
      Gets role eligibility schedule instances of a role eligibility schedule.
      Parameters:
      scope - The scope of the role eligibility schedule.
      filter - The filter to apply on the operation. Use $filter=atScope() to return all role assignment schedules at or above the scope. Use $filter=principalId eq {id} to return all role assignment schedules at, above or below the scope for the specified principal. Use $filter=assignedTo('{userId}') to return all role eligibility schedules for the user. Use $filter=asTarget() to return all role eligibility schedules created for the current user.
      context - The context to associate with this operation.
      Returns:
      role eligibility schedule instances of a role eligibility schedule 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.
    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<RoleEligibilityScheduleInstanceInner>> getWithResponseAsync(String scope, String roleEligibilityScheduleInstanceName)
      Gets the specified role eligibility schedule instance.
      Parameters:
      scope - The scope of the role eligibility schedules.
      roleEligibilityScheduleInstanceName - The name (hash of schedule name + time) of the role eligibility schedule to get.
      Returns:
      the specified role eligibility schedule instance along with Response on successful completion of Mono.
      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.
    • getAsync

      Mono<RoleEligibilityScheduleInstanceInner> getAsync(String scope, String roleEligibilityScheduleInstanceName)
      Gets the specified role eligibility schedule instance.
      Parameters:
      scope - The scope of the role eligibility schedules.
      roleEligibilityScheduleInstanceName - The name (hash of schedule name + time) of the role eligibility schedule to get.
      Returns:
      the specified role eligibility schedule instance on successful completion of Mono.
      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.
    • getWithResponse

      com.azure.core.http.rest.Response<RoleEligibilityScheduleInstanceInner> getWithResponse(String scope, String roleEligibilityScheduleInstanceName, com.azure.core.util.Context context)
      Gets the specified role eligibility schedule instance.
      Parameters:
      scope - The scope of the role eligibility schedules.
      roleEligibilityScheduleInstanceName - The name (hash of schedule name + time) of the role eligibility schedule to get.
      context - The context to associate with this operation.
      Returns:
      the specified role eligibility schedule instance along with Response.
      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.
    • get

      RoleEligibilityScheduleInstanceInner get(String scope, String roleEligibilityScheduleInstanceName)
      Gets the specified role eligibility schedule instance.
      Parameters:
      scope - The scope of the role eligibility schedules.
      roleEligibilityScheduleInstanceName - The name (hash of schedule name + time) of the role eligibility schedule to get.
      Returns:
      the specified role eligibility schedule instance.
      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.