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