Partager via


RoleAssignmentScheduleRequestsClient Interface

public interface RoleAssignmentScheduleRequestsClient

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

Method Summary

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

Cancels a pending role assignment schedule request.

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

Cancels a pending role assignment schedule request.

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

Cancels a pending role assignment schedule request.

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

Cancels a pending role assignment schedule request.

abstract RoleAssignmentScheduleRequestInner create(String scope, String roleAssignmentScheduleRequestName, RoleAssignmentScheduleRequestInner parameters)

Creates a role assignment schedule request.

abstract Mono<RoleAssignmentScheduleRequestInner> createAsync(String scope, String roleAssignmentScheduleRequestName, RoleAssignmentScheduleRequestInner parameters)

Creates a role assignment schedule request.

abstract Response<RoleAssignmentScheduleRequestInner> createWithResponse(String scope, String roleAssignmentScheduleRequestName, RoleAssignmentScheduleRequestInner parameters, Context context)

Creates a role assignment schedule request.

abstract Mono<Response<RoleAssignmentScheduleRequestInner>> createWithResponseAsync(String scope, String roleAssignmentScheduleRequestName, RoleAssignmentScheduleRequestInner parameters)

Creates a role assignment schedule request.

abstract RoleAssignmentScheduleRequestInner get(String scope, String roleAssignmentScheduleRequestName)

Get the specified role assignment schedule request.

abstract Mono<RoleAssignmentScheduleRequestInner> getAsync(String scope, String roleAssignmentScheduleRequestName)

Get the specified role assignment schedule request.

abstract Response<RoleAssignmentScheduleRequestInner> getWithResponse(String scope, String roleAssignmentScheduleRequestName, Context context)

Get the specified role assignment schedule request.

abstract Mono<Response<RoleAssignmentScheduleRequestInner>> getWithResponseAsync(String scope, String roleAssignmentScheduleRequestName)

Get the specified role assignment schedule request.

abstract PagedIterable<RoleAssignmentScheduleRequestInner> listForScope(String scope)

Gets role assignment schedule requests for a scope.

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

Gets role assignment schedule requests for a scope.

abstract PagedFlux<RoleAssignmentScheduleRequestInner> listForScopeAsync(String scope)

Gets role assignment schedule requests for a scope.

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

Gets role assignment schedule requests for a scope.

abstract RoleAssignmentScheduleRequestInner validate(String scope, String roleAssignmentScheduleRequestName, RoleAssignmentScheduleRequestInner parameters)

Validates a new role assignment schedule request.

abstract Mono<RoleAssignmentScheduleRequestInner> validateAsync(String scope, String roleAssignmentScheduleRequestName, RoleAssignmentScheduleRequestInner parameters)

Validates a new role assignment schedule request.

abstract Response<RoleAssignmentScheduleRequestInner> validateWithResponse(String scope, String roleAssignmentScheduleRequestName, RoleAssignmentScheduleRequestInner parameters, Context context)

Validates a new role assignment schedule request.

abstract Mono<Response<RoleAssignmentScheduleRequestInner>> validateWithResponseAsync(String scope, String roleAssignmentScheduleRequestName, RoleAssignmentScheduleRequestInner parameters)

Validates a new role assignment schedule request.

Method Details

cancel

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

cancelAsync

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

A Mono that completes when a successful response is received.

cancelWithResponse

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

cancelWithResponseAsync

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

create

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

createAsync

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

createWithResponse

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

createWithResponseAsync

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

get

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

getAsync

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

getWithResponse

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

getWithResponseAsync

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

listForScope

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

listForScope

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

listForScopeAsync

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

listForScopeAsync

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

validate

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

validateAsync

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

validateWithResponse

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

validateWithResponseAsync

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

Applies to