Interface RoleEligibilityScheduleRequestsClient
public interface RoleEligibilityScheduleRequestsClient
An instance of this class provides access to all the operations defined in RoleEligibilityScheduleRequestsClient.
-
Method Summary
Modifier and TypeMethodDescriptionvoidCancels a pending role eligibility schedule request.cancelAsync(String scope, String roleEligibilityScheduleRequestName) Cancels a pending role eligibility schedule request.com.azure.core.http.rest.Response<Void>cancelWithResponse(String scope, String roleEligibilityScheduleRequestName, com.azure.core.util.Context context) Cancels a pending role eligibility schedule request.cancelWithResponseAsync(String scope, String roleEligibilityScheduleRequestName) Cancels a pending role eligibility schedule request.create(String scope, String roleEligibilityScheduleRequestName, RoleEligibilityScheduleRequestInner parameters) Creates a role eligibility schedule request.createAsync(String scope, String roleEligibilityScheduleRequestName, RoleEligibilityScheduleRequestInner parameters) Creates a role eligibility schedule request.com.azure.core.http.rest.Response<RoleEligibilityScheduleRequestInner>createWithResponse(String scope, String roleEligibilityScheduleRequestName, RoleEligibilityScheduleRequestInner parameters, com.azure.core.util.Context context) Creates a role eligibility schedule request.Mono<com.azure.core.http.rest.Response<RoleEligibilityScheduleRequestInner>>createWithResponseAsync(String scope, String roleEligibilityScheduleRequestName, RoleEligibilityScheduleRequestInner parameters) Creates a role eligibility schedule request.Get the specified role eligibility schedule request.Get the specified role eligibility schedule request.com.azure.core.http.rest.Response<RoleEligibilityScheduleRequestInner>getWithResponse(String scope, String roleEligibilityScheduleRequestName, com.azure.core.util.Context context) Get the specified role eligibility schedule request.Mono<com.azure.core.http.rest.Response<RoleEligibilityScheduleRequestInner>>getWithResponseAsync(String scope, String roleEligibilityScheduleRequestName) Get the specified role eligibility schedule request.com.azure.core.http.rest.PagedIterable<RoleEligibilityScheduleRequestInner>listForScope(String scope) Gets role eligibility schedule requests for a scope.com.azure.core.http.rest.PagedIterable<RoleEligibilityScheduleRequestInner>listForScope(String scope, String filter, com.azure.core.util.Context context) Gets role eligibility schedule requests for a scope.com.azure.core.http.rest.PagedFlux<RoleEligibilityScheduleRequestInner>listForScopeAsync(String scope) Gets role eligibility schedule requests for a scope.com.azure.core.http.rest.PagedFlux<RoleEligibilityScheduleRequestInner>listForScopeAsync(String scope, String filter) Gets role eligibility schedule requests for a scope.validate(String scope, String roleEligibilityScheduleRequestName, RoleEligibilityScheduleRequestInner parameters) Validates a new role eligibility schedule request.validateAsync(String scope, String roleEligibilityScheduleRequestName, RoleEligibilityScheduleRequestInner parameters) Validates a new role eligibility schedule request.com.azure.core.http.rest.Response<RoleEligibilityScheduleRequestInner>validateWithResponse(String scope, String roleEligibilityScheduleRequestName, RoleEligibilityScheduleRequestInner parameters, com.azure.core.util.Context context) Validates a new role eligibility schedule request.Mono<com.azure.core.http.rest.Response<RoleEligibilityScheduleRequestInner>>validateWithResponseAsync(String scope, String roleEligibilityScheduleRequestName, RoleEligibilityScheduleRequestInner parameters) Validates a new role eligibility schedule request.
-
Method Details
-
createWithResponseAsync
Mono<com.azure.core.http.rest.Response<RoleEligibilityScheduleRequestInner>> createWithResponseAsync(String scope, String roleEligibilityScheduleRequestName, RoleEligibilityScheduleRequestInner parameters) Creates a role eligibility schedule request.- Parameters:
scope- The scope of the role eligibility 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.roleEligibilityScheduleRequestName- The name of the role eligibility to create. It can be any valid GUID.parameters- Parameters for the role eligibility schedule request.- Returns:
- role Eligibility 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<RoleEligibilityScheduleRequestInner> createAsync(String scope, String roleEligibilityScheduleRequestName, RoleEligibilityScheduleRequestInner parameters) Creates a role eligibility schedule request.- Parameters:
scope- The scope of the role eligibility 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.roleEligibilityScheduleRequestName- The name of the role eligibility to create. It can be any valid GUID.parameters- Parameters for the role eligibility schedule request.- Returns:
- role Eligibility 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<RoleEligibilityScheduleRequestInner> createWithResponse(String scope, String roleEligibilityScheduleRequestName, RoleEligibilityScheduleRequestInner parameters, com.azure.core.util.Context context) Creates a role eligibility schedule request.- Parameters:
scope- The scope of the role eligibility 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.roleEligibilityScheduleRequestName- The name of the role eligibility to create. It can be any valid GUID.parameters- Parameters for the role eligibility schedule request.context- The context to associate with this operation.- Returns:
- role Eligibility 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
RoleEligibilityScheduleRequestInner create(String scope, String roleEligibilityScheduleRequestName, RoleEligibilityScheduleRequestInner parameters) Creates a role eligibility schedule request.- Parameters:
scope- The scope of the role eligibility 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.roleEligibilityScheduleRequestName- The name of the role eligibility to create. It can be any valid GUID.parameters- Parameters for the role eligibility schedule request.- Returns:
- role Eligibility 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<RoleEligibilityScheduleRequestInner>> getWithResponseAsync(String scope, String roleEligibilityScheduleRequestName) Get the specified role eligibility schedule request.- Parameters:
scope- The scope of the role eligibility schedule request.roleEligibilityScheduleRequestName- The name (guid) of the role eligibility schedule request to get.- Returns:
- the specified role eligibility 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<RoleEligibilityScheduleRequestInner> getAsync(String scope, String roleEligibilityScheduleRequestName) Get the specified role eligibility schedule request.- Parameters:
scope- The scope of the role eligibility schedule request.roleEligibilityScheduleRequestName- The name (guid) of the role eligibility schedule request to get.- Returns:
- the specified role eligibility 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<RoleEligibilityScheduleRequestInner> getWithResponse(String scope, String roleEligibilityScheduleRequestName, com.azure.core.util.Context context) Get the specified role eligibility schedule request.- Parameters:
scope- The scope of the role eligibility schedule request.roleEligibilityScheduleRequestName- The name (guid) of the role eligibility schedule request to get.context- The context to associate with this operation.- Returns:
- the specified role eligibility 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 eligibility schedule request.- Parameters:
scope- The scope of the role eligibility schedule request.roleEligibilityScheduleRequestName- The name (guid) of the role eligibility schedule request to get.- Returns:
- the specified role eligibility 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<RoleEligibilityScheduleRequestInner> listForScopeAsync(String scope, String filter) Gets role eligibility schedule requests for a scope.- Parameters:
scope- The scope of the role eligibility schedule requests.filter- The filter to apply on the operation. Use $filter=atScope() to return all role eligibility schedule requests at or above the scope. Use $filter=principalId eq {id} to return all role eligibility schedule requests at, above or below the scope for the specified principal. Use $filter=asRequestor() to return all role eligibility schedule requests requested by the current user. Use $filter=asTarget() to return all role eligibility schedule requests created for the current user. Use $filter=asApprover() to return all role eligibility schedule requests where the current user is an approver.- Returns:
- role eligibility 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<RoleEligibilityScheduleRequestInner> listForScopeAsync(String scope) Gets role eligibility schedule requests for a scope.- Parameters:
scope- The scope of the role eligibility schedule requests.- Returns:
- role eligibility 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<RoleEligibilityScheduleRequestInner> listForScope(String scope) Gets role eligibility schedule requests for a scope.- Parameters:
scope- The scope of the role eligibility schedule requests.- Returns:
- role eligibility 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<RoleEligibilityScheduleRequestInner> listForScope(String scope, String filter, com.azure.core.util.Context context) Gets role eligibility schedule requests for a scope.- Parameters:
scope- The scope of the role eligibility schedule requests.filter- The filter to apply on the operation. Use $filter=atScope() to return all role eligibility schedule requests at or above the scope. Use $filter=principalId eq {id} to return all role eligibility schedule requests at, above or below the scope for the specified principal. Use $filter=asRequestor() to return all role eligibility schedule requests requested by the current user. Use $filter=asTarget() to return all role eligibility schedule requests created for the current user. Use $filter=asApprover() to return all role eligibility schedule requests where the current user is an approver.context- The context to associate with this operation.- Returns:
- role eligibility 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 roleEligibilityScheduleRequestName) Cancels a pending role eligibility schedule request.- Parameters:
scope- The scope of the role eligibility request to cancel.roleEligibilityScheduleRequestName- The name of the role eligibility 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 eligibility schedule request.- Parameters:
scope- The scope of the role eligibility request to cancel.roleEligibilityScheduleRequestName- The name of the role eligibility 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 roleEligibilityScheduleRequestName, com.azure.core.util.Context context) Cancels a pending role eligibility schedule request.- Parameters:
scope- The scope of the role eligibility request to cancel.roleEligibilityScheduleRequestName- The name of the role eligibility 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 eligibility schedule request.- Parameters:
scope- The scope of the role eligibility request to cancel.roleEligibilityScheduleRequestName- The name of the role eligibility 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<RoleEligibilityScheduleRequestInner>> validateWithResponseAsync(String scope, String roleEligibilityScheduleRequestName, RoleEligibilityScheduleRequestInner parameters) Validates a new role eligibility schedule request.- Parameters:
scope- The scope of the role eligibility request to validate.roleEligibilityScheduleRequestName- The name of the role eligibility request to validate.parameters- Parameters for the role eligibility schedule request.- Returns:
- role Eligibility 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<RoleEligibilityScheduleRequestInner> validateAsync(String scope, String roleEligibilityScheduleRequestName, RoleEligibilityScheduleRequestInner parameters) Validates a new role eligibility schedule request.- Parameters:
scope- The scope of the role eligibility request to validate.roleEligibilityScheduleRequestName- The name of the role eligibility request to validate.parameters- Parameters for the role eligibility schedule request.- Returns:
- role Eligibility 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<RoleEligibilityScheduleRequestInner> validateWithResponse(String scope, String roleEligibilityScheduleRequestName, RoleEligibilityScheduleRequestInner parameters, com.azure.core.util.Context context) Validates a new role eligibility schedule request.- Parameters:
scope- The scope of the role eligibility request to validate.roleEligibilityScheduleRequestName- The name of the role eligibility request to validate.parameters- Parameters for the role eligibility schedule request.context- The context to associate with this operation.- Returns:
- role Eligibility 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
RoleEligibilityScheduleRequestInner validate(String scope, String roleEligibilityScheduleRequestName, RoleEligibilityScheduleRequestInner parameters) Validates a new role eligibility schedule request.- Parameters:
scope- The scope of the role eligibility request to validate.roleEligibilityScheduleRequestName- The name of the role eligibility request to validate.parameters- Parameters for the role eligibility schedule request.- Returns:
- role Eligibility 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.
-