Partager via


RoleManagementPolicyAssignmentsClient Interface

Implements

public interface RoleManagementPolicyAssignmentsClient
extends InnerSupportsDelete<Void>

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

Method Summary

Modifier and Type Method and Description
abstract RoleManagementPolicyAssignmentInner create(String scope, String roleManagementPolicyAssignmentName, RoleManagementPolicyAssignmentInner parameters)

Create a role management policy assignment.

abstract Mono<RoleManagementPolicyAssignmentInner> createAsync(String scope, String roleManagementPolicyAssignmentName, RoleManagementPolicyAssignmentInner parameters)

Create a role management policy assignment.

abstract Response<RoleManagementPolicyAssignmentInner> createWithResponse(String scope, String roleManagementPolicyAssignmentName, RoleManagementPolicyAssignmentInner parameters, Context context)

Create a role management policy assignment.

abstract Mono<Response<RoleManagementPolicyAssignmentInner>> createWithResponseAsync(String scope, String roleManagementPolicyAssignmentName, RoleManagementPolicyAssignmentInner parameters)

Create a role management policy assignment.

abstract void delete(String scope, String roleManagementPolicyAssignmentName)

Delete a role management policy assignment.

abstract Mono<Void> deleteAsync(String scope, String roleManagementPolicyAssignmentName)

Delete a role management policy assignment.

abstract Response<Void> deleteWithResponse(String scope, String roleManagementPolicyAssignmentName, Context context)

Delete a role management policy assignment.

abstract Mono<Response<Void>> deleteWithResponseAsync(String scope, String roleManagementPolicyAssignmentName)

Delete a role management policy assignment.

abstract RoleManagementPolicyAssignmentInner get(String scope, String roleManagementPolicyAssignmentName)

Get the specified role management policy assignment for a resource scope.

abstract Mono<RoleManagementPolicyAssignmentInner> getAsync(String scope, String roleManagementPolicyAssignmentName)

Get the specified role management policy assignment for a resource scope.

abstract Response<RoleManagementPolicyAssignmentInner> getWithResponse(String scope, String roleManagementPolicyAssignmentName, Context context)

Get the specified role management policy assignment for a resource scope.

abstract Mono<Response<RoleManagementPolicyAssignmentInner>> getWithResponseAsync(String scope, String roleManagementPolicyAssignmentName)

Get the specified role management policy assignment for a resource scope.

abstract PagedIterable<RoleManagementPolicyAssignmentInner> listForScope(String scope)

Gets role management assignment policies for a resource scope.

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

Gets role management assignment policies for a resource scope.

abstract PagedFlux<RoleManagementPolicyAssignmentInner> listForScopeAsync(String scope)

Gets role management assignment policies for a resource scope.

Method Details

create

public abstract RoleManagementPolicyAssignmentInner create(String scope, String roleManagementPolicyAssignmentName, RoleManagementPolicyAssignmentInner parameters)

Create a role management policy assignment.

Parameters:

scope - The scope of the role management policy assignment to upsert.
roleManagementPolicyAssignmentName - The name of format {guid_guid} the role management policy assignment to upsert.
parameters - Parameters for the role management policy assignment.

Returns:

role management policy.

createAsync

public abstract Mono createAsync(String scope, String roleManagementPolicyAssignmentName, RoleManagementPolicyAssignmentInner parameters)

Create a role management policy assignment.

Parameters:

scope - The scope of the role management policy assignment to upsert.
roleManagementPolicyAssignmentName - The name of format {guid_guid} the role management policy assignment to upsert.
parameters - Parameters for the role management policy assignment.

Returns:

role management policy on successful completion of Mono.

createWithResponse

public abstract Response createWithResponse(String scope, String roleManagementPolicyAssignmentName, RoleManagementPolicyAssignmentInner parameters, Context context)

Create a role management policy assignment.

Parameters:

scope - The scope of the role management policy assignment to upsert.
roleManagementPolicyAssignmentName - The name of format {guid_guid} the role management policy assignment to upsert.
parameters - Parameters for the role management policy assignment.
context - The context to associate with this operation.

Returns:

role management policy along with Response<T>.

createWithResponseAsync

public abstract Mono> createWithResponseAsync(String scope, String roleManagementPolicyAssignmentName, RoleManagementPolicyAssignmentInner parameters)

Create a role management policy assignment.

Parameters:

scope - The scope of the role management policy assignment to upsert.
roleManagementPolicyAssignmentName - The name of format {guid_guid} the role management policy assignment to upsert.
parameters - Parameters for the role management policy assignment.

Returns:

role management policy along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String scope, String roleManagementPolicyAssignmentName)

Delete a role management policy assignment.

Parameters:

scope - The scope of the role management policy assignment to delete.
roleManagementPolicyAssignmentName - The name of format {guid_guid} the role management policy assignment to delete.

deleteAsync

public abstract Mono deleteAsync(String scope, String roleManagementPolicyAssignmentName)

Delete a role management policy assignment.

Parameters:

scope - The scope of the role management policy assignment to delete.
roleManagementPolicyAssignmentName - The name of format {guid_guid} the role management policy assignment to delete.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponse

public abstract Response deleteWithResponse(String scope, String roleManagementPolicyAssignmentName, Context context)

Delete a role management policy assignment.

Parameters:

scope - The scope of the role management policy assignment to delete.
roleManagementPolicyAssignmentName - The name of format {guid_guid} the role management policy assignment to delete.
context - The context to associate with this operation.

Returns:

deleteWithResponseAsync

public abstract Mono> deleteWithResponseAsync(String scope, String roleManagementPolicyAssignmentName)

Delete a role management policy assignment.

Parameters:

scope - The scope of the role management policy assignment to delete.
roleManagementPolicyAssignmentName - The name of format {guid_guid} the role management policy assignment to delete.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract RoleManagementPolicyAssignmentInner get(String scope, String roleManagementPolicyAssignmentName)

Get the specified role management policy assignment for a resource scope.

Parameters:

scope - The scope of the role management policy.
roleManagementPolicyAssignmentName - The name of format {guid_guid} the role management policy assignment to get.

Returns:

the specified role management policy assignment for a resource scope.

getAsync

public abstract Mono getAsync(String scope, String roleManagementPolicyAssignmentName)

Get the specified role management policy assignment for a resource scope.

Parameters:

scope - The scope of the role management policy.
roleManagementPolicyAssignmentName - The name of format {guid_guid} the role management policy assignment to get.

Returns:

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

getWithResponse

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

Get the specified role management policy assignment for a resource scope.

Parameters:

scope - The scope of the role management policy.
roleManagementPolicyAssignmentName - The name of format {guid_guid} the role management policy assignment to get.
context - The context to associate with this operation.

Returns:

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

getWithResponseAsync

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

Get the specified role management policy assignment for a resource scope.

Parameters:

scope - The scope of the role management policy.
roleManagementPolicyAssignmentName - The name of format {guid_guid} the role management policy assignment to get.

Returns:

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

listForScope

public abstract PagedIterable listForScope(String scope)

Gets role management assignment policies for a resource scope.

Parameters:

scope - The scope of the role management policy.

Returns:

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

listForScope

public abstract PagedIterable listForScope(String scope, Context context)

Gets role management assignment policies for a resource scope.

Parameters:

scope - The scope of the role management policy.
context - The context to associate with this operation.

Returns:

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

listForScopeAsync

public abstract PagedFlux listForScopeAsync(String scope)

Gets role management assignment policies for a resource scope.

Parameters:

scope - The scope of the role management policy.

Returns:

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

Applies to