Interface RoleAssignmentSchedulesClient
public interface RoleAssignmentSchedulesClient
An instance of this class provides access to all the operations defined in RoleAssignmentSchedulesClient.
-
Method Summary
Modifier and TypeMethodDescriptionGet the specified role assignment schedule for a resource scope.Get the specified role assignment schedule for a resource scope.com.azure.core.http.rest.Response<RoleAssignmentScheduleInner>getWithResponse(String scope, String roleAssignmentScheduleName, com.azure.core.util.Context context) Get the specified role assignment schedule for a resource scope.Mono<com.azure.core.http.rest.Response<RoleAssignmentScheduleInner>>getWithResponseAsync(String scope, String roleAssignmentScheduleName) Get the specified role assignment schedule for a resource scope.com.azure.core.http.rest.PagedIterable<RoleAssignmentScheduleInner>listForScope(String scope) Gets role assignment schedules for a resource scope.com.azure.core.http.rest.PagedIterable<RoleAssignmentScheduleInner>listForScope(String scope, String filter, com.azure.core.util.Context context) Gets role assignment schedules for a resource scope.com.azure.core.http.rest.PagedFlux<RoleAssignmentScheduleInner>listForScopeAsync(String scope) Gets role assignment schedules for a resource scope.com.azure.core.http.rest.PagedFlux<RoleAssignmentScheduleInner>listForScopeAsync(String scope, String filter) Gets role assignment schedules for a resource scope.
-
Method Details
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<RoleAssignmentScheduleInner>> getWithResponseAsync(String scope, String roleAssignmentScheduleName) Get the specified role assignment schedule for a resource scope.- Parameters:
scope- The scope of the role assignment schedule.roleAssignmentScheduleName- The name (guid) of the role assignment schedule to get.- Returns:
- the specified role assignment 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 assignment schedule for a resource scope.- Parameters:
scope- The scope of the role assignment schedule.roleAssignmentScheduleName- The name (guid) of the role assignment schedule to get.- Returns:
- the specified role assignment 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<RoleAssignmentScheduleInner> getWithResponse(String scope, String roleAssignmentScheduleName, com.azure.core.util.Context context) Get the specified role assignment schedule for a resource scope.- Parameters:
scope- The scope of the role assignment schedule.roleAssignmentScheduleName- The name (guid) of the role assignment schedule to get.context- The context to associate with this operation.- Returns:
- the specified role assignment 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 assignment schedule for a resource scope.- Parameters:
scope- The scope of the role assignment schedule.roleAssignmentScheduleName- The name (guid) of the role assignment schedule to get.- Returns:
- the specified role assignment 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<RoleAssignmentScheduleInner> listForScopeAsync(String scope, String filter) Gets role assignment schedules for a resource scope.- Parameters:
scope- The scope of the role assignments schedules.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 assignment schedules for the current user. Use $filter=asTarget() to return all role assignment schedules created for the current user.- Returns:
- role assignment 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 assignment schedules for a resource scope.- Parameters:
scope- The scope of the role assignments schedules.- Returns:
- role assignment 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 assignment schedules for a resource scope.- Parameters:
scope- The scope of the role assignments schedules.- Returns:
- role assignment 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<RoleAssignmentScheduleInner> listForScope(String scope, String filter, com.azure.core.util.Context context) Gets role assignment schedules for a resource scope.- Parameters:
scope- The scope of the role assignments schedules.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 assignment schedules for the current user. Use $filter=asTarget() to return all role assignment schedules created for the current user.context- The context to associate with this operation.- Returns:
- role assignment 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.
-