Dela via


RoleEligibilityScheduleRequestsClient Interface

public interface RoleEligibilityScheduleRequestsClient

An instance of this class provides access to all the operations defined in RoleEligibilityScheduleRequestsClient.

Method Summary

Modifier and Type Method and Description
abstract void cancel(String scope, String roleEligibilityScheduleRequestName)

Cancels a pending role eligibility schedule request.

abstract Mono<Void> cancelAsync(String scope, String roleEligibilityScheduleRequestName)

Cancels a pending role eligibility schedule request.

abstract Response<Void> cancelWithResponse(String scope, String roleEligibilityScheduleRequestName, Context context)

Cancels a pending role eligibility schedule request.

abstract Mono<Response<Void>> cancelWithResponseAsync(String scope, String roleEligibilityScheduleRequestName)

Cancels a pending role eligibility schedule request.

abstract RoleEligibilityScheduleRequestInner create(String scope, String roleEligibilityScheduleRequestName, RoleEligibilityScheduleRequestInner parameters)

Creates a role eligibility schedule request.

abstract Mono<RoleEligibilityScheduleRequestInner> createAsync(String scope, String roleEligibilityScheduleRequestName, RoleEligibilityScheduleRequestInner parameters)

Creates a role eligibility schedule request.

abstract Response<RoleEligibilityScheduleRequestInner> createWithResponse(String scope, String roleEligibilityScheduleRequestName, RoleEligibilityScheduleRequestInner parameters, Context context)

Creates a role eligibility schedule request.

abstract Mono<Response<RoleEligibilityScheduleRequestInner>> createWithResponseAsync(String scope, String roleEligibilityScheduleRequestName, RoleEligibilityScheduleRequestInner parameters)

Creates a role eligibility schedule request.

abstract RoleEligibilityScheduleRequestInner get(String scope, String roleEligibilityScheduleRequestName)

Get the specified role eligibility schedule request.

abstract Mono<RoleEligibilityScheduleRequestInner> getAsync(String scope, String roleEligibilityScheduleRequestName)

Get the specified role eligibility schedule request.

abstract Response<RoleEligibilityScheduleRequestInner> getWithResponse(String scope, String roleEligibilityScheduleRequestName, Context context)

Get the specified role eligibility schedule request.

abstract Mono<Response<RoleEligibilityScheduleRequestInner>> getWithResponseAsync(String scope, String roleEligibilityScheduleRequestName)

Get the specified role eligibility schedule request.

abstract PagedIterable<RoleEligibilityScheduleRequestInner> listForScope(String scope)

Gets role eligibility schedule requests for a scope.

abstract PagedIterable<RoleEligibilityScheduleRequestInner> listForScope(String scope, String filter, Context context)

Gets role eligibility schedule requests for a scope.

abstract PagedFlux<RoleEligibilityScheduleRequestInner> listForScopeAsync(String scope)

Gets role eligibility schedule requests for a scope.

abstract PagedFlux<RoleEligibilityScheduleRequestInner> listForScopeAsync(String scope, String filter)

Gets role eligibility schedule requests for a scope.

abstract RoleEligibilityScheduleRequestInner validate(String scope, String roleEligibilityScheduleRequestName, RoleEligibilityScheduleRequestInner parameters)

Validates a new role eligibility schedule request.

abstract Mono<RoleEligibilityScheduleRequestInner> validateAsync(String scope, String roleEligibilityScheduleRequestName, RoleEligibilityScheduleRequestInner parameters)

Validates a new role eligibility schedule request.

abstract Response<RoleEligibilityScheduleRequestInner> validateWithResponse(String scope, String roleEligibilityScheduleRequestName, RoleEligibilityScheduleRequestInner parameters, Context context)

Validates a new role eligibility schedule request.

abstract Mono<Response<RoleEligibilityScheduleRequestInner>> validateWithResponseAsync(String scope, String roleEligibilityScheduleRequestName, RoleEligibilityScheduleRequestInner parameters)

Validates a new role eligibility schedule request.

Method Details

cancel

public abstract void cancel(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.

cancelAsync

public abstract Mono cancelAsync(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:

A Mono that completes when a successful response is received.

cancelWithResponse

public abstract Response cancelWithResponse(String scope, String roleEligibilityScheduleRequestName, 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:

cancelWithResponseAsync

public abstract Mono> 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 Response<T> on successful completion of Mono.

create

public abstract 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.

createAsync

public abstract Mono 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.

createWithResponse

public abstract Response createWithResponse(String scope, String roleEligibilityScheduleRequestName, RoleEligibilityScheduleRequestInner parameters, 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<T>.

createWithResponseAsync

public abstract Mono> 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 Response<T> on successful completion of Mono.

get

public abstract RoleEligibilityScheduleRequestInner get(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.

getAsync

public abstract Mono 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.

getWithResponse

public abstract Response getWithResponse(String scope, String roleEligibilityScheduleRequestName, 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<T>.

getWithResponseAsync

public abstract Mono> 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 Response<T> on successful completion of Mono.

listForScope

public abstract PagedIterable 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<T>.

listForScope

public abstract PagedIterable listForScope(String scope, String filter, 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<T>.

listForScopeAsync

public abstract PagedFlux 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<T>.

listForScopeAsync

public abstract PagedFlux 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<T>.

validate

public abstract 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.

validateAsync

public abstract Mono 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.

validateWithResponse

public abstract Response validateWithResponse(String scope, String roleEligibilityScheduleRequestName, RoleEligibilityScheduleRequestInner parameters, 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<T>.

validateWithResponseAsync

public abstract Mono> 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 Response<T> on successful completion of Mono.

Applies to