RoleManagementPoliciesClient Interface

Implements

public interface RoleManagementPoliciesClient
extends InnerSupportsDelete<Void>

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

Method Summary

Modifier and Type Method and Description
abstract void delete(String scope, String roleManagementPolicyName)

Delete a role management policy.

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

Delete a role management policy.

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

Delete a role management policy.

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

Delete a role management policy.

abstract RoleManagementPolicyInner get(String scope, String roleManagementPolicyName)

Get the specified role management policy for a resource scope.

abstract Mono<RoleManagementPolicyInner> getAsync(String scope, String roleManagementPolicyName)

Get the specified role management policy for a resource scope.

abstract Response<RoleManagementPolicyInner> getWithResponse(String scope, String roleManagementPolicyName, Context context)

Get the specified role management policy for a resource scope.

abstract Mono<Response<RoleManagementPolicyInner>> getWithResponseAsync(String scope, String roleManagementPolicyName)

Get the specified role management policy for a resource scope.

abstract PagedIterable<RoleManagementPolicyInner> listForScope(String scope)

Gets role management policies for a resource scope.

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

Gets role management policies for a resource scope.

abstract PagedFlux<RoleManagementPolicyInner> listForScopeAsync(String scope)

Gets role management policies for a resource scope.

abstract RoleManagementPolicyInner update(String scope, String roleManagementPolicyName, RoleManagementPolicyInner parameters)

Update a role management policy.

abstract Mono<RoleManagementPolicyInner> updateAsync(String scope, String roleManagementPolicyName, RoleManagementPolicyInner parameters)

Update a role management policy.

abstract Response<RoleManagementPolicyInner> updateWithResponse(String scope, String roleManagementPolicyName, RoleManagementPolicyInner parameters, Context context)

Update a role management policy.

abstract Mono<Response<RoleManagementPolicyInner>> updateWithResponseAsync(String scope, String roleManagementPolicyName, RoleManagementPolicyInner parameters)

Update a role management policy.

Method Details

delete

public abstract void delete(String scope, String roleManagementPolicyName)

Delete a role management policy.

Parameters:

scope - The scope of the role management policy to upsert.
roleManagementPolicyName - The name (guid) of the role management policy to upsert.

deleteAsync

public abstract Mono deleteAsync(String scope, String roleManagementPolicyName)

Delete a role management policy.

Parameters:

scope - The scope of the role management policy to upsert.
roleManagementPolicyName - The name (guid) of the role management policy to upsert.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponse

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

Delete a role management policy.

Parameters:

scope - The scope of the role management policy to upsert.
roleManagementPolicyName - The name (guid) of the role management policy to upsert.
context - The context to associate with this operation.

Returns:

deleteWithResponseAsync

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

Delete a role management policy.

Parameters:

scope - The scope of the role management policy to upsert.
roleManagementPolicyName - The name (guid) of the role management policy to upsert.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract RoleManagementPolicyInner get(String scope, String roleManagementPolicyName)

Get the specified role management policy for a resource scope.

Parameters:

scope - The scope of the role management policy.
roleManagementPolicyName - The name (guid) of the role management policy to get.

Returns:

the specified role management policy for a resource scope.

getAsync

public abstract Mono getAsync(String scope, String roleManagementPolicyName)

Get the specified role management policy for a resource scope.

Parameters:

scope - The scope of the role management policy.
roleManagementPolicyName - The name (guid) of the role management policy to get.

Returns:

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

getWithResponse

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

Get the specified role management policy for a resource scope.

Parameters:

scope - The scope of the role management policy.
roleManagementPolicyName - The name (guid) of the role management policy to get.
context - The context to associate with this operation.

Returns:

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

getWithResponseAsync

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

Get the specified role management policy for a resource scope.

Parameters:

scope - The scope of the role management policy.
roleManagementPolicyName - The name (guid) of the role management policy to get.

Returns:

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

listForScope

public abstract PagedIterable listForScope(String scope)

Gets role management policies for a resource scope.

Parameters:

scope - The scope of the role management policy.

Returns:

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

listForScope

public abstract PagedIterable listForScope(String scope, Context context)

Gets role management 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 policies for a resource scope as paginated response with PagedIterable<T>.

listForScopeAsync

public abstract PagedFlux listForScopeAsync(String scope)

Gets role management policies for a resource scope.

Parameters:

scope - The scope of the role management policy.

Returns:

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

update

public abstract RoleManagementPolicyInner update(String scope, String roleManagementPolicyName, RoleManagementPolicyInner parameters)

Update a role management policy.

Parameters:

scope - The scope of the role management policy to upsert.
roleManagementPolicyName - The name (guid) of the role management policy to upsert.
parameters - Parameters for the role management policy.

Returns:

role management policy.

updateAsync

public abstract Mono updateAsync(String scope, String roleManagementPolicyName, RoleManagementPolicyInner parameters)

Update a role management policy.

Parameters:

scope - The scope of the role management policy to upsert.
roleManagementPolicyName - The name (guid) of the role management policy to upsert.
parameters - Parameters for the role management policy.

Returns:

role management policy on successful completion of Mono.

updateWithResponse

public abstract Response updateWithResponse(String scope, String roleManagementPolicyName, RoleManagementPolicyInner parameters, Context context)

Update a role management policy.

Parameters:

scope - The scope of the role management policy to upsert.
roleManagementPolicyName - The name (guid) of the role management policy to upsert.
parameters - Parameters for the role management policy.
context - The context to associate with this operation.

Returns:

role management policy along with Response<T>.

updateWithResponseAsync

public abstract Mono> updateWithResponseAsync(String scope, String roleManagementPolicyName, RoleManagementPolicyInner parameters)

Update a role management policy.

Parameters:

scope - The scope of the role management policy to upsert.
roleManagementPolicyName - The name (guid) of the role management policy to upsert.
parameters - Parameters for the role management policy.

Returns:

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

Applies to