Partilhar via


RoleAssignmentSchedulesClient Interface

public interface RoleAssignmentSchedulesClient

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

Method Summary

Modifier and Type Method and Description
abstract RoleAssignmentScheduleInner get(String scope, String roleAssignmentScheduleName)

Get the specified role assignment schedule for a resource scope.

abstract Mono<RoleAssignmentScheduleInner> getAsync(String scope, String roleAssignmentScheduleName)

Get the specified role assignment schedule for a resource scope.

abstract Response<RoleAssignmentScheduleInner> getWithResponse(String scope, String roleAssignmentScheduleName, Context context)

Get the specified role assignment schedule for a resource scope.

abstract Mono<Response<RoleAssignmentScheduleInner>> getWithResponseAsync(String scope, String roleAssignmentScheduleName)

Get the specified role assignment schedule for a resource scope.

abstract PagedIterable<RoleAssignmentScheduleInner> listForScope(String scope)

Gets role assignment schedules for a resource scope.

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

Gets role assignment schedules for a resource scope.

abstract PagedFlux<RoleAssignmentScheduleInner> listForScopeAsync(String scope)

Gets role assignment schedules for a resource scope.

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

Gets role assignment schedules for a resource scope.

Method Details

get

public abstract RoleAssignmentScheduleInner get(String scope, String roleAssignmentScheduleName)

Get the specified role assignment schedule for a resource scope.

Parameters:

scope - The scope of the role assignment schedule.
roleAssignmentScheduleName - The name (guid) of the role assignment schedule to get.

Returns:

the specified role assignment schedule for a resource scope.

getAsync

public abstract Mono getAsync(String scope, String roleAssignmentScheduleName)

Get the specified role assignment schedule for a resource scope.

Parameters:

scope - The scope of the role assignment schedule.
roleAssignmentScheduleName - The name (guid) of the role assignment schedule to get.

Returns:

the specified role assignment schedule for a resource scope on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String scope, String roleAssignmentScheduleName, Context context)

Get the specified role assignment schedule for a resource scope.

Parameters:

scope - The scope of the role assignment schedule.
roleAssignmentScheduleName - The name (guid) of the role assignment schedule to get.
context - The context to associate with this operation.

Returns:

the specified role assignment schedule for a resource scope along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String scope, String roleAssignmentScheduleName)

Get the specified role assignment schedule for a resource scope.

Parameters:

scope - The scope of the role assignment schedule.
roleAssignmentScheduleName - The name (guid) of the role assignment schedule to get.

Returns:

the specified role assignment schedule for a resource scope along with Response<T> on successful completion of Mono.

listForScope

public abstract PagedIterable listForScope(String scope)

Gets role assignment schedules for a resource scope.

Parameters:

scope - The scope of the role assignments schedules.

Returns:

role assignment schedules for a resource scope as paginated response with PagedIterable<T>.

listForScope

public abstract PagedIterable listForScope(String scope, String filter, Context context)

Gets role assignment schedules for a resource scope.

Parameters:

scope - The scope of the role assignments schedules.
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 schedules for the current user. Use $filter=asTarget() to return all role assignment schedules created for the current user.
context - The context to associate with this operation.

Returns:

role assignment schedules for a resource scope as paginated response with PagedIterable<T>.

listForScopeAsync

public abstract PagedFlux listForScopeAsync(String scope)

Gets role assignment schedules for a resource scope.

Parameters:

scope - The scope of the role assignments schedules.

Returns:

role assignment schedules for a resource scope as paginated response with PagedFlux<T>.

listForScopeAsync

public abstract PagedFlux listForScopeAsync(String scope, String filter)

Gets role assignment schedules for a resource scope.

Parameters:

scope - The scope of the role assignments schedules.
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 schedules for the current user. Use $filter=asTarget() to return all role assignment schedules created for the current user.

Returns:

role assignment schedules for a resource scope as paginated response with PagedFlux<T>.

Applies to