Interface RoleEligibilitySchedulesClient
public interface RoleEligibilitySchedulesClient
An instance of this class provides access to all the operations defined in RoleEligibilitySchedulesClient.
-
Method Summary
Modifier and TypeMethodDescriptionGet the specified role eligibility schedule for a resource scope.Get the specified role eligibility schedule for a resource scope.com.azure.core.http.rest.Response<RoleEligibilityScheduleInner>getWithResponse(String scope, String roleEligibilityScheduleName, com.azure.core.util.Context context) Get the specified role eligibility schedule for a resource scope.Mono<com.azure.core.http.rest.Response<RoleEligibilityScheduleInner>>getWithResponseAsync(String scope, String roleEligibilityScheduleName) Get the specified role eligibility schedule for a resource scope.com.azure.core.http.rest.PagedIterable<RoleEligibilityScheduleInner>listForScope(String scope) Gets role eligibility schedules for a resource scope.com.azure.core.http.rest.PagedIterable<RoleEligibilityScheduleInner>listForScope(String scope, String filter, com.azure.core.util.Context context) Gets role eligibility schedules for a resource scope.com.azure.core.http.rest.PagedFlux<RoleEligibilityScheduleInner>listForScopeAsync(String scope) Gets role eligibility schedules for a resource scope.com.azure.core.http.rest.PagedFlux<RoleEligibilityScheduleInner>listForScopeAsync(String scope, String filter) Gets role eligibility schedules for a resource scope.
-
Method Details
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<RoleEligibilityScheduleInner>> getWithResponseAsync(String scope, String roleEligibilityScheduleName) Get the specified role eligibility schedule for a resource scope.- Parameters:
scope- The scope of the role eligibility schedule.roleEligibilityScheduleName- The name (guid) of the role eligibility schedule to get.- Returns:
- the specified role eligibility schedule for a resource scope along with
Responseon successful completion ofMono. - 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
Get the specified role eligibility schedule for a resource scope.- Parameters:
scope- The scope of the role eligibility schedule.roleEligibilityScheduleName- The name (guid) of the role eligibility schedule to get.- Returns:
- the specified role eligibility schedule for a resource scope 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<RoleEligibilityScheduleInner> getWithResponse(String scope, String roleEligibilityScheduleName, com.azure.core.util.Context context) Get the specified role eligibility schedule for a resource scope.- Parameters:
scope- The scope of the role eligibility schedule.roleEligibilityScheduleName- The name (guid) of the role eligibility schedule to get.context- The context to associate with this operation.- Returns:
- the specified role eligibility schedule for a resource scope 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
Get the specified role eligibility schedule for a resource scope.- Parameters:
scope- The scope of the role eligibility schedule.roleEligibilityScheduleName- The name (guid) of the role eligibility schedule to get.- Returns:
- the specified role eligibility schedule for a resource scope.
- 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<RoleEligibilityScheduleInner> listForScopeAsync(String scope, String filter) Gets role eligibility schedules for a resource scope.- Parameters:
scope- The scope of the role eligibility schedules.filter- The filter to apply on the operation. Use $filter=atScope() to return all role eligibility schedules at or above the scope. Use $filter=principalId eq {id} to return all role eligibility 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 schedules for a resource scope 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
Gets role eligibility schedules for a resource scope.- Parameters:
scope- The scope of the role eligibility schedules.- Returns:
- role eligibility schedules for a resource scope 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
Gets role eligibility schedules for a resource scope.- Parameters:
scope- The scope of the role eligibility schedules.- Returns:
- role eligibility schedules for a resource scope 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<RoleEligibilityScheduleInner> listForScope(String scope, String filter, com.azure.core.util.Context context) Gets role eligibility schedules for a resource scope.- Parameters:
scope- The scope of the role eligibility schedules.filter- The filter to apply on the operation. Use $filter=atScope() to return all role eligibility schedules at or above the scope. Use $filter=principalId eq {id} to return all role eligibility 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 schedules for a resource scope 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.
-