Interface RoleAssignmentScheduleRequestsClient
public interface RoleAssignmentScheduleRequestsClient
An instance of this class provides access to all the operations defined in RoleAssignmentScheduleRequestsClient.
-
Method Summary
Modifier and TypeMethodDescriptionvoidCancels a pending role assignment schedule request.cancelAsync(String scope, String roleAssignmentScheduleRequestName) Cancels a pending role assignment schedule request.com.azure.core.http.rest.Response<Void>cancelWithResponse(String scope, String roleAssignmentScheduleRequestName, com.azure.core.util.Context context) Cancels a pending role assignment schedule request.cancelWithResponseAsync(String scope, String roleAssignmentScheduleRequestName) Cancels a pending role assignment schedule request.create(String scope, String roleAssignmentScheduleRequestName, RoleAssignmentScheduleRequestInner parameters) Creates a role assignment schedule request.createAsync(String scope, String roleAssignmentScheduleRequestName, RoleAssignmentScheduleRequestInner parameters) Creates a role assignment schedule request.com.azure.core.http.rest.Response<RoleAssignmentScheduleRequestInner>createWithResponse(String scope, String roleAssignmentScheduleRequestName, RoleAssignmentScheduleRequestInner parameters, com.azure.core.util.Context context) Creates a role assignment schedule request.Mono<com.azure.core.http.rest.Response<RoleAssignmentScheduleRequestInner>>createWithResponseAsync(String scope, String roleAssignmentScheduleRequestName, RoleAssignmentScheduleRequestInner parameters) Creates a role assignment schedule request.Get the specified role assignment schedule request.Get the specified role assignment schedule request.com.azure.core.http.rest.Response<RoleAssignmentScheduleRequestInner>getWithResponse(String scope, String roleAssignmentScheduleRequestName, com.azure.core.util.Context context) Get the specified role assignment schedule request.Mono<com.azure.core.http.rest.Response<RoleAssignmentScheduleRequestInner>>getWithResponseAsync(String scope, String roleAssignmentScheduleRequestName) Get the specified role assignment schedule request.com.azure.core.http.rest.PagedIterable<RoleAssignmentScheduleRequestInner>listForScope(String scope) Gets role assignment schedule requests for a scope.com.azure.core.http.rest.PagedIterable<RoleAssignmentScheduleRequestInner>listForScope(String scope, String filter, com.azure.core.util.Context context) Gets role assignment schedule requests for a scope.com.azure.core.http.rest.PagedFlux<RoleAssignmentScheduleRequestInner>listForScopeAsync(String scope) Gets role assignment schedule requests for a scope.com.azure.core.http.rest.PagedFlux<RoleAssignmentScheduleRequestInner>listForScopeAsync(String scope, String filter) Gets role assignment schedule requests for a scope.validate(String scope, String roleAssignmentScheduleRequestName, RoleAssignmentScheduleRequestInner parameters) Validates a new role assignment schedule request.validateAsync(String scope, String roleAssignmentScheduleRequestName, RoleAssignmentScheduleRequestInner parameters) Validates a new role assignment schedule request.com.azure.core.http.rest.Response<RoleAssignmentScheduleRequestInner>validateWithResponse(String scope, String roleAssignmentScheduleRequestName, RoleAssignmentScheduleRequestInner parameters, com.azure.core.util.Context context) Validates a new role assignment schedule request.Mono<com.azure.core.http.rest.Response<RoleAssignmentScheduleRequestInner>>validateWithResponseAsync(String scope, String roleAssignmentScheduleRequestName, RoleAssignmentScheduleRequestInner parameters) Validates a new role assignment schedule request.
-
Method Details
-
createWithResponseAsync
Mono<com.azure.core.http.rest.Response<RoleAssignmentScheduleRequestInner>> createWithResponseAsync(String scope, String roleAssignmentScheduleRequestName, RoleAssignmentScheduleRequestInner parameters) Creates a role assignment schedule request.- Parameters:
scope- The scope of the role assignment schedule request to create. The scope can be any REST resource instance. For example, use '/subscriptions/{subscription-id}/' for a subscription, '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' for a resource.roleAssignmentScheduleRequestName- A GUID for the role assignment to create. The name must be unique and different for each role assignment.parameters- Parameters for the role assignment schedule request.- Returns:
- role Assignment schedule request 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.
-
createAsync
Mono<RoleAssignmentScheduleRequestInner> createAsync(String scope, String roleAssignmentScheduleRequestName, RoleAssignmentScheduleRequestInner parameters) Creates a role assignment schedule request.- Parameters:
scope- The scope of the role assignment schedule request to create. The scope can be any REST resource instance. For example, use '/subscriptions/{subscription-id}/' for a subscription, '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' for a resource.roleAssignmentScheduleRequestName- A GUID for the role assignment to create. The name must be unique and different for each role assignment.parameters- Parameters for the role assignment schedule request.- Returns:
- role Assignment schedule request 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.
-
createWithResponse
com.azure.core.http.rest.Response<RoleAssignmentScheduleRequestInner> createWithResponse(String scope, String roleAssignmentScheduleRequestName, RoleAssignmentScheduleRequestInner parameters, com.azure.core.util.Context context) Creates a role assignment schedule request.- Parameters:
scope- The scope of the role assignment schedule request to create. The scope can be any REST resource instance. For example, use '/subscriptions/{subscription-id}/' for a subscription, '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' for a resource.roleAssignmentScheduleRequestName- A GUID for the role assignment to create. The name must be unique and different for each role assignment.parameters- Parameters for the role assignment schedule request.context- The context to associate with this operation.- Returns:
- role Assignment schedule request 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.
-
create
RoleAssignmentScheduleRequestInner create(String scope, String roleAssignmentScheduleRequestName, RoleAssignmentScheduleRequestInner parameters) Creates a role assignment schedule request.- Parameters:
scope- The scope of the role assignment schedule request to create. The scope can be any REST resource instance. For example, use '/subscriptions/{subscription-id}/' for a subscription, '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' for a resource.roleAssignmentScheduleRequestName- A GUID for the role assignment to create. The name must be unique and different for each role assignment.parameters- Parameters for the role assignment schedule request.- Returns:
- role Assignment schedule request.
- 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<RoleAssignmentScheduleRequestInner>> getWithResponseAsync(String scope, String roleAssignmentScheduleRequestName) Get the specified role assignment schedule request.- Parameters:
scope- The scope of the role assignment schedule request.roleAssignmentScheduleRequestName- The name (guid) of the role assignment schedule request to get.- Returns:
- the specified role assignment schedule request 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<RoleAssignmentScheduleRequestInner> getAsync(String scope, String roleAssignmentScheduleRequestName) Get the specified role assignment schedule request.- Parameters:
scope- The scope of the role assignment schedule request.roleAssignmentScheduleRequestName- The name (guid) of the role assignment schedule request to get.- Returns:
- the specified role assignment schedule request 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<RoleAssignmentScheduleRequestInner> getWithResponse(String scope, String roleAssignmentScheduleRequestName, com.azure.core.util.Context context) Get the specified role assignment schedule request.- Parameters:
scope- The scope of the role assignment schedule request.roleAssignmentScheduleRequestName- The name (guid) of the role assignment schedule request to get.context- The context to associate with this operation.- Returns:
- the specified role assignment schedule request 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 request.- Parameters:
scope- The scope of the role assignment schedule request.roleAssignmentScheduleRequestName- The name (guid) of the role assignment schedule request to get.- Returns:
- the specified role assignment schedule request.
- 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<RoleAssignmentScheduleRequestInner> listForScopeAsync(String scope, String filter) Gets role assignment schedule requests for a scope.- Parameters:
scope- The scope of the role assignments schedule requests.filter- The filter to apply on the operation. Use $filter=atScope() to return all role assignment schedule requests at or above the scope. Use $filter=principalId eq {id} to return all role assignment schedule requests at, above or below the scope for the specified principal. Use $filter=asRequestor() to return all role assignment schedule requests requested by the current user. Use $filter=asTarget() to return all role assignment schedule requests created for the current user. Use $filter=asApprover() to return all role assignment schedule requests where the current user is an approver.- Returns:
- role assignment schedule requests for a 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
com.azure.core.http.rest.PagedFlux<RoleAssignmentScheduleRequestInner> listForScopeAsync(String scope) Gets role assignment schedule requests for a scope.- Parameters:
scope- The scope of the role assignments schedule requests.- Returns:
- role assignment schedule requests for a 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
com.azure.core.http.rest.PagedIterable<RoleAssignmentScheduleRequestInner> listForScope(String scope) Gets role assignment schedule requests for a scope.- Parameters:
scope- The scope of the role assignments schedule requests.- Returns:
- role assignment schedule requests for a 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<RoleAssignmentScheduleRequestInner> listForScope(String scope, String filter, com.azure.core.util.Context context) Gets role assignment schedule requests for a scope.- Parameters:
scope- The scope of the role assignments schedule requests.filter- The filter to apply on the operation. Use $filter=atScope() to return all role assignment schedule requests at or above the scope. Use $filter=principalId eq {id} to return all role assignment schedule requests at, above or below the scope for the specified principal. Use $filter=asRequestor() to return all role assignment schedule requests requested by the current user. Use $filter=asTarget() to return all role assignment schedule requests created for the current user. Use $filter=asApprover() to return all role assignment schedule requests where the current user is an approver.context- The context to associate with this operation.- Returns:
- role assignment schedule requests for a 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.
-
cancelWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> cancelWithResponseAsync(String scope, String roleAssignmentScheduleRequestName) Cancels a pending role assignment schedule request.- Parameters:
scope- The scope of the role assignment request to cancel.roleAssignmentScheduleRequestName- The name of the role assignment request to cancel.- Returns:
- the
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.
-
cancelAsync
Cancels a pending role assignment schedule request.- Parameters:
scope- The scope of the role assignment request to cancel.roleAssignmentScheduleRequestName- The name of the role assignment request to cancel.- Returns:
- A
Monothat completes when a successful response is received. - 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.
-
cancelWithResponse
com.azure.core.http.rest.Response<Void> cancelWithResponse(String scope, String roleAssignmentScheduleRequestName, com.azure.core.util.Context context) Cancels a pending role assignment schedule request.- Parameters:
scope- The scope of the role assignment request to cancel.roleAssignmentScheduleRequestName- The name of the role assignment request to cancel.context- The context to associate with this operation.- Returns:
- the
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.
-
cancel
Cancels a pending role assignment schedule request.- Parameters:
scope- The scope of the role assignment request to cancel.roleAssignmentScheduleRequestName- The name of the role assignment request to cancel.- 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.
-
validateWithResponseAsync
Mono<com.azure.core.http.rest.Response<RoleAssignmentScheduleRequestInner>> validateWithResponseAsync(String scope, String roleAssignmentScheduleRequestName, RoleAssignmentScheduleRequestInner parameters) Validates a new role assignment schedule request.- Parameters:
scope- The scope of the role assignment request to validate.roleAssignmentScheduleRequestName- The name of the role assignment request to validate.parameters- Parameters for the role assignment schedule request.- Returns:
- role Assignment schedule request 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.
-
validateAsync
Mono<RoleAssignmentScheduleRequestInner> validateAsync(String scope, String roleAssignmentScheduleRequestName, RoleAssignmentScheduleRequestInner parameters) Validates a new role assignment schedule request.- Parameters:
scope- The scope of the role assignment request to validate.roleAssignmentScheduleRequestName- The name of the role assignment request to validate.parameters- Parameters for the role assignment schedule request.- Returns:
- role Assignment schedule request 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.
-
validateWithResponse
com.azure.core.http.rest.Response<RoleAssignmentScheduleRequestInner> validateWithResponse(String scope, String roleAssignmentScheduleRequestName, RoleAssignmentScheduleRequestInner parameters, com.azure.core.util.Context context) Validates a new role assignment schedule request.- Parameters:
scope- The scope of the role assignment request to validate.roleAssignmentScheduleRequestName- The name of the role assignment request to validate.parameters- Parameters for the role assignment schedule request.context- The context to associate with this operation.- Returns:
- role Assignment schedule request 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.
-
validate
RoleAssignmentScheduleRequestInner validate(String scope, String roleAssignmentScheduleRequestName, RoleAssignmentScheduleRequestInner parameters) Validates a new role assignment schedule request.- Parameters:
scope- The scope of the role assignment request to validate.roleAssignmentScheduleRequestName- The name of the role assignment request to validate.parameters- Parameters for the role assignment schedule request.- Returns:
- role Assignment schedule request.
- 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.
-