RoleAssignmentsClient Interface

Implements

public interface RoleAssignmentsClient
extends InnerSupportsListing<RoleAssignmentInner>, InnerSupportsDelete<RoleAssignmentInner>

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

Method Summary

Modifier and Type Method and Description
abstract RoleAssignmentInner create(String scope, String roleAssignmentName, RoleAssignmentCreateParameters parameters)

Create or update a role assignment by scope and name.

abstract Mono<RoleAssignmentInner> createAsync(String scope, String roleAssignmentName, RoleAssignmentCreateParameters parameters)

Create or update a role assignment by scope and name.

abstract RoleAssignmentInner createById(String roleAssignmentId, RoleAssignmentCreateParameters parameters)

Create or update a role assignment by ID.

abstract Mono<RoleAssignmentInner> createByIdAsync(String roleAssignmentId, RoleAssignmentCreateParameters parameters)

Create or update a role assignment by ID.

abstract Response<RoleAssignmentInner> createByIdWithResponse(String roleAssignmentId, RoleAssignmentCreateParameters parameters, Context context)

Create or update a role assignment by ID.

abstract Mono<Response<RoleAssignmentInner>> createByIdWithResponseAsync(String roleAssignmentId, RoleAssignmentCreateParameters parameters)

Create or update a role assignment by ID.

abstract Response<RoleAssignmentInner> createWithResponse(String scope, String roleAssignmentName, RoleAssignmentCreateParameters parameters, Context context)

Create or update a role assignment by scope and name.

abstract Mono<Response<RoleAssignmentInner>> createWithResponseAsync(String scope, String roleAssignmentName, RoleAssignmentCreateParameters parameters)

Create or update a role assignment by scope and name.

abstract RoleAssignmentInner delete(String scope, String roleAssignmentName)

Delete a role assignment by scope and name.

abstract Mono<RoleAssignmentInner> deleteAsync(String scope, String roleAssignmentName)

Delete a role assignment by scope and name.

abstract RoleAssignmentInner deleteById(String roleAssignmentId)

Delete a role assignment by ID.

abstract Mono<RoleAssignmentInner> deleteByIdAsync(String roleAssignmentId)

Delete a role assignment by ID.

abstract Response<RoleAssignmentInner> deleteByIdWithResponse(String roleAssignmentId, String tenantId, Context context)

Delete a role assignment by ID.

abstract Mono<Response<RoleAssignmentInner>> deleteByIdWithResponseAsync(String roleAssignmentId, String tenantId)

Delete a role assignment by ID.

abstract Response<RoleAssignmentInner> deleteWithResponse(String scope, String roleAssignmentName, String tenantId, Context context)

Delete a role assignment by scope and name.

abstract Mono<Response<RoleAssignmentInner>> deleteWithResponseAsync(String scope, String roleAssignmentName, String tenantId)

Delete a role assignment by scope and name.

abstract RoleAssignmentInner get(String scope, String roleAssignmentName)

Get a role assignment by scope and name.

abstract Mono<RoleAssignmentInner> getAsync(String scope, String roleAssignmentName)

Get a role assignment by scope and name.

abstract RoleAssignmentInner getById(String roleAssignmentId)

Get a role assignment by ID.

abstract Mono<RoleAssignmentInner> getByIdAsync(String roleAssignmentId)

Get a role assignment by ID.

abstract Response<RoleAssignmentInner> getByIdWithResponse(String roleAssignmentId, String tenantId, Context context)

Get a role assignment by ID.

abstract Mono<Response<RoleAssignmentInner>> getByIdWithResponseAsync(String roleAssignmentId, String tenantId)

Get a role assignment by ID.

abstract Response<RoleAssignmentInner> getWithResponse(String scope, String roleAssignmentName, String tenantId, Context context)

Get a role assignment by scope and name.

abstract Mono<Response<RoleAssignmentInner>> getWithResponseAsync(String scope, String roleAssignmentName, String tenantId)

Get a role assignment by scope and name.

abstract PagedIterable<RoleAssignmentInner> list()

List all role assignments that apply to a subscription.

abstract PagedIterable<RoleAssignmentInner> list(String filter, String tenantId, Context context)

List all role assignments that apply to a subscription.

abstract PagedFlux<RoleAssignmentInner> listAsync()

List all role assignments that apply to a subscription.

abstract PagedFlux<RoleAssignmentInner> listAsync(String filter, String tenantId)

List all role assignments that apply to a subscription.

abstract PagedIterable<RoleAssignmentInner> listByResourceGroup(String resourceGroupName)

List all role assignments that apply to a resource group.

abstract PagedIterable<RoleAssignmentInner> listByResourceGroup(String resourceGroupName, String filter, String tenantId, Context context)

List all role assignments that apply to a resource group.

abstract PagedFlux<RoleAssignmentInner> listByResourceGroupAsync(String resourceGroupName)

List all role assignments that apply to a resource group.

abstract PagedFlux<RoleAssignmentInner> listByResourceGroupAsync(String resourceGroupName, String filter, String tenantId)

List all role assignments that apply to a resource group.

abstract PagedIterable<RoleAssignmentInner> listForResource(String resourceGroupName, String resourceProviderNamespace, String resourceType, String resourceName)

List all role assignments that apply to a resource.

abstract PagedIterable<RoleAssignmentInner> listForResource(String resourceGroupName, String resourceProviderNamespace, String resourceType, String resourceName, String filter, String tenantId, Context context)

List all role assignments that apply to a resource.

abstract PagedFlux<RoleAssignmentInner> listForResourceAsync(String resourceGroupName, String resourceProviderNamespace, String resourceType, String resourceName)

List all role assignments that apply to a resource.

abstract PagedFlux<RoleAssignmentInner> listForResourceAsync(String resourceGroupName, String resourceProviderNamespace, String resourceType, String resourceName, String filter, String tenantId)

List all role assignments that apply to a resource.

abstract PagedIterable<RoleAssignmentInner> listForScope(String scope)

List all role assignments that apply to a scope.

abstract PagedIterable<RoleAssignmentInner> listForScope(String scope, String filter, String tenantId, String skipToken, Context context)

List all role assignments that apply to a scope.

abstract PagedFlux<RoleAssignmentInner> listForScopeAsync(String scope)

List all role assignments that apply to a scope.

abstract PagedFlux<RoleAssignmentInner> listForScopeAsync(String scope, String filter, String tenantId, String skipToken)

List all role assignments that apply to a scope.

Method Details

create

public abstract RoleAssignmentInner create(String scope, String roleAssignmentName, RoleAssignmentCreateParameters parameters)

Create or update a role assignment by scope and name.

Parameters:

scope - The scope of the operation or resource. Valid scopes are: subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'.
roleAssignmentName - The name of the role assignment. It can be any valid GUID.
parameters - Parameters for the role assignment.

Returns:

role Assignments.

createAsync

public abstract Mono createAsync(String scope, String roleAssignmentName, RoleAssignmentCreateParameters parameters)

Create or update a role assignment by scope and name.

Parameters:

scope - The scope of the operation or resource. Valid scopes are: subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'.
roleAssignmentName - The name of the role assignment. It can be any valid GUID.
parameters - Parameters for the role assignment.

Returns:

role Assignments on successful completion of Mono.

createById

public abstract RoleAssignmentInner createById(String roleAssignmentId, RoleAssignmentCreateParameters parameters)

Create or update a role assignment by ID.

Parameters:

roleAssignmentId - The fully qualified ID of the role assignment including scope, resource name, and resource type. Format: /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}. Example: /subscriptions/<SUB_ID>/resourcegroups/<RESOURCE_GROUP>/providers/Microsoft.Authorization/roleAssignments/<ROLE_ASSIGNMENT_NAME>.
parameters - Parameters for the role assignment.

Returns:

role Assignments.

createByIdAsync

public abstract Mono createByIdAsync(String roleAssignmentId, RoleAssignmentCreateParameters parameters)

Create or update a role assignment by ID.

Parameters:

roleAssignmentId - The fully qualified ID of the role assignment including scope, resource name, and resource type. Format: /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}. Example: /subscriptions/<SUB_ID>/resourcegroups/<RESOURCE_GROUP>/providers/Microsoft.Authorization/roleAssignments/<ROLE_ASSIGNMENT_NAME>.
parameters - Parameters for the role assignment.

Returns:

role Assignments on successful completion of Mono.

createByIdWithResponse

public abstract Response createByIdWithResponse(String roleAssignmentId, RoleAssignmentCreateParameters parameters, Context context)

Create or update a role assignment by ID.

Parameters:

roleAssignmentId - The fully qualified ID of the role assignment including scope, resource name, and resource type. Format: /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}. Example: /subscriptions/<SUB_ID>/resourcegroups/<RESOURCE_GROUP>/providers/Microsoft.Authorization/roleAssignments/<ROLE_ASSIGNMENT_NAME>.
parameters - Parameters for the role assignment.
context - The context to associate with this operation.

Returns:

role Assignments along with Response<T>.

createByIdWithResponseAsync

public abstract Mono> createByIdWithResponseAsync(String roleAssignmentId, RoleAssignmentCreateParameters parameters)

Create or update a role assignment by ID.

Parameters:

roleAssignmentId - The fully qualified ID of the role assignment including scope, resource name, and resource type. Format: /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}. Example: /subscriptions/<SUB_ID>/resourcegroups/<RESOURCE_GROUP>/providers/Microsoft.Authorization/roleAssignments/<ROLE_ASSIGNMENT_NAME>.
parameters - Parameters for the role assignment.

Returns:

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

createWithResponse

public abstract Response createWithResponse(String scope, String roleAssignmentName, RoleAssignmentCreateParameters parameters, Context context)

Create or update a role assignment by scope and name.

Parameters:

scope - The scope of the operation or resource. Valid scopes are: subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'.
roleAssignmentName - The name of the role assignment. It can be any valid GUID.
parameters - Parameters for the role assignment.
context - The context to associate with this operation.

Returns:

role Assignments along with Response<T>.

createWithResponseAsync

public abstract Mono> createWithResponseAsync(String scope, String roleAssignmentName, RoleAssignmentCreateParameters parameters)

Create or update a role assignment by scope and name.

Parameters:

scope - The scope of the operation or resource. Valid scopes are: subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'.
roleAssignmentName - The name of the role assignment. It can be any valid GUID.
parameters - Parameters for the role assignment.

Returns:

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

delete

public abstract RoleAssignmentInner delete(String scope, String roleAssignmentName)

Delete a role assignment by scope and name.

Parameters:

scope - The scope of the operation or resource. Valid scopes are: subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'.
roleAssignmentName - The name of the role assignment. It can be any valid GUID.

Returns:

role Assignments.

deleteAsync

public abstract Mono deleteAsync(String scope, String roleAssignmentName)

Delete a role assignment by scope and name.

Parameters:

scope - The scope of the operation or resource. Valid scopes are: subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'.
roleAssignmentName - The name of the role assignment. It can be any valid GUID.

Returns:

role Assignments on successful completion of Mono.

deleteById

public abstract RoleAssignmentInner deleteById(String roleAssignmentId)

Delete a role assignment by ID.

Parameters:

roleAssignmentId - The fully qualified ID of the role assignment including scope, resource name, and resource type. Format: /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}. Example: /subscriptions/<SUB_ID>/resourcegroups/<RESOURCE_GROUP>/providers/Microsoft.Authorization/roleAssignments/<ROLE_ASSIGNMENT_NAME>.

Returns:

role Assignments.

deleteByIdAsync

public abstract Mono deleteByIdAsync(String roleAssignmentId)

Delete a role assignment by ID.

Parameters:

roleAssignmentId - The fully qualified ID of the role assignment including scope, resource name, and resource type. Format: /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}. Example: /subscriptions/<SUB_ID>/resourcegroups/<RESOURCE_GROUP>/providers/Microsoft.Authorization/roleAssignments/<ROLE_ASSIGNMENT_NAME>.

Returns:

role Assignments on successful completion of Mono.

deleteByIdWithResponse

public abstract Response deleteByIdWithResponse(String roleAssignmentId, String tenantId, Context context)

Delete a role assignment by ID.

Parameters:

roleAssignmentId - The fully qualified ID of the role assignment including scope, resource name, and resource type. Format: /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}. Example: /subscriptions/<SUB_ID>/resourcegroups/<RESOURCE_GROUP>/providers/Microsoft.Authorization/roleAssignments/<ROLE_ASSIGNMENT_NAME>.
tenantId - Tenant ID for cross-tenant request.
context - The context to associate with this operation.

Returns:

role Assignments along with Response<T>.

deleteByIdWithResponseAsync

public abstract Mono> deleteByIdWithResponseAsync(String roleAssignmentId, String tenantId)

Delete a role assignment by ID.

Parameters:

roleAssignmentId - The fully qualified ID of the role assignment including scope, resource name, and resource type. Format: /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}. Example: /subscriptions/<SUB_ID>/resourcegroups/<RESOURCE_GROUP>/providers/Microsoft.Authorization/roleAssignments/<ROLE_ASSIGNMENT_NAME>.
tenantId - Tenant ID for cross-tenant request.

Returns:

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

deleteWithResponse

public abstract Response deleteWithResponse(String scope, String roleAssignmentName, String tenantId, Context context)

Delete a role assignment by scope and name.

Parameters:

scope - The scope of the operation or resource. Valid scopes are: subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'.
roleAssignmentName - The name of the role assignment. It can be any valid GUID.
tenantId - Tenant ID for cross-tenant request.
context - The context to associate with this operation.

Returns:

role Assignments along with Response<T>.

deleteWithResponseAsync

public abstract Mono> deleteWithResponseAsync(String scope, String roleAssignmentName, String tenantId)

Delete a role assignment by scope and name.

Parameters:

scope - The scope of the operation or resource. Valid scopes are: subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'.
roleAssignmentName - The name of the role assignment. It can be any valid GUID.
tenantId - Tenant ID for cross-tenant request.

Returns:

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

get

public abstract RoleAssignmentInner get(String scope, String roleAssignmentName)

Get a role assignment by scope and name.

Parameters:

scope - The scope of the operation or resource. Valid scopes are: subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'.
roleAssignmentName - The name of the role assignment. It can be any valid GUID.

Returns:

a role assignment by scope and name.

getAsync

public abstract Mono getAsync(String scope, String roleAssignmentName)

Get a role assignment by scope and name.

Parameters:

scope - The scope of the operation or resource. Valid scopes are: subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'.
roleAssignmentName - The name of the role assignment. It can be any valid GUID.

Returns:

a role assignment by scope and name on successful completion of Mono.

getById

public abstract RoleAssignmentInner getById(String roleAssignmentId)

Get a role assignment by ID.

Parameters:

roleAssignmentId - The fully qualified ID of the role assignment including scope, resource name, and resource type. Format: /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}. Example: /subscriptions/<SUB_ID>/resourcegroups/<RESOURCE_GROUP>/providers/Microsoft.Authorization/roleAssignments/<ROLE_ASSIGNMENT_NAME>.

Returns:

a role assignment by ID.

getByIdAsync

public abstract Mono getByIdAsync(String roleAssignmentId)

Get a role assignment by ID.

Parameters:

roleAssignmentId - The fully qualified ID of the role assignment including scope, resource name, and resource type. Format: /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}. Example: /subscriptions/<SUB_ID>/resourcegroups/<RESOURCE_GROUP>/providers/Microsoft.Authorization/roleAssignments/<ROLE_ASSIGNMENT_NAME>.

Returns:

a role assignment by ID on successful completion of Mono.

getByIdWithResponse

public abstract Response getByIdWithResponse(String roleAssignmentId, String tenantId, Context context)

Get a role assignment by ID.

Parameters:

roleAssignmentId - The fully qualified ID of the role assignment including scope, resource name, and resource type. Format: /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}. Example: /subscriptions/<SUB_ID>/resourcegroups/<RESOURCE_GROUP>/providers/Microsoft.Authorization/roleAssignments/<ROLE_ASSIGNMENT_NAME>.
tenantId - Tenant ID for cross-tenant request.
context - The context to associate with this operation.

Returns:

a role assignment by ID along with Response<T>.

getByIdWithResponseAsync

public abstract Mono> getByIdWithResponseAsync(String roleAssignmentId, String tenantId)

Get a role assignment by ID.

Parameters:

roleAssignmentId - The fully qualified ID of the role assignment including scope, resource name, and resource type. Format: /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}. Example: /subscriptions/<SUB_ID>/resourcegroups/<RESOURCE_GROUP>/providers/Microsoft.Authorization/roleAssignments/<ROLE_ASSIGNMENT_NAME>.
tenantId - Tenant ID for cross-tenant request.

Returns:

a role assignment by ID along with Response<T> on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String scope, String roleAssignmentName, String tenantId, Context context)

Get a role assignment by scope and name.

Parameters:

scope - The scope of the operation or resource. Valid scopes are: subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'.
roleAssignmentName - The name of the role assignment. It can be any valid GUID.
tenantId - Tenant ID for cross-tenant request.
context - The context to associate with this operation.

Returns:

a role assignment by scope and name along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String scope, String roleAssignmentName, String tenantId)

Get a role assignment by scope and name.

Parameters:

scope - The scope of the operation or resource. Valid scopes are: subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'.
roleAssignmentName - The name of the role assignment. It can be any valid GUID.
tenantId - Tenant ID for cross-tenant request.

Returns:

a role assignment by scope and name along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list()

List all role assignments that apply to a subscription.

Returns:

role assignment list operation result as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String filter, String tenantId, Context context)

List all role assignments that apply to a subscription.

Parameters:

filter - The filter to apply on the operation. Use $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope for the specified principal.
tenantId - Tenant ID for cross-tenant request.
context - The context to associate with this operation.

Returns:

role assignment list operation result as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync()

List all role assignments that apply to a subscription.

Returns:

role assignment list operation result as paginated response with PagedFlux<T>.

listAsync

public abstract PagedFlux listAsync(String filter, String tenantId)

List all role assignments that apply to a subscription.

Parameters:

filter - The filter to apply on the operation. Use $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope for the specified principal.
tenantId - Tenant ID for cross-tenant request.

Returns:

role assignment list operation result as paginated response with PagedFlux<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName)

List all role assignments that apply to a resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.

Returns:

role assignment list operation result as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName, String filter, String tenantId, Context context)

List all role assignments that apply to a resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
filter - The filter to apply on the operation. Use $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope for the specified principal.
tenantId - Tenant ID for cross-tenant request.
context - The context to associate with this operation.

Returns:

role assignment list operation result as paginated response with PagedIterable<T>.

listByResourceGroupAsync

public abstract PagedFlux listByResourceGroupAsync(String resourceGroupName)

List all role assignments that apply to a resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.

Returns:

role assignment list operation result as paginated response with PagedFlux<T>.

listByResourceGroupAsync

public abstract PagedFlux listByResourceGroupAsync(String resourceGroupName, String filter, String tenantId)

List all role assignments that apply to a resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
filter - The filter to apply on the operation. Use $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope for the specified principal.
tenantId - Tenant ID for cross-tenant request.

Returns:

role assignment list operation result as paginated response with PagedFlux<T>.

listForResource

public abstract PagedIterable listForResource(String resourceGroupName, String resourceProviderNamespace, String resourceType, String resourceName)

List all role assignments that apply to a resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceProviderNamespace - The namespace of the resource provider.
resourceType - The resource type name. For example the type name of a web app is 'sites' (from Microsoft.Web/sites).
resourceName - The resource name.

Returns:

role assignment list operation result as paginated response with PagedIterable<T>.

listForResource

public abstract PagedIterable listForResource(String resourceGroupName, String resourceProviderNamespace, String resourceType, String resourceName, String filter, String tenantId, Context context)

List all role assignments that apply to a resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceProviderNamespace - The namespace of the resource provider.
resourceType - The resource type name. For example the type name of a web app is 'sites' (from Microsoft.Web/sites).
resourceName - The resource name.
filter - The filter to apply on the operation. Use $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope for the specified principal.
tenantId - Tenant ID for cross-tenant request.
context - The context to associate with this operation.

Returns:

role assignment list operation result as paginated response with PagedIterable<T>.

listForResourceAsync

public abstract PagedFlux listForResourceAsync(String resourceGroupName, String resourceProviderNamespace, String resourceType, String resourceName)

List all role assignments that apply to a resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceProviderNamespace - The namespace of the resource provider.
resourceType - The resource type name. For example the type name of a web app is 'sites' (from Microsoft.Web/sites).
resourceName - The resource name.

Returns:

role assignment list operation result as paginated response with PagedFlux<T>.

listForResourceAsync

public abstract PagedFlux listForResourceAsync(String resourceGroupName, String resourceProviderNamespace, String resourceType, String resourceName, String filter, String tenantId)

List all role assignments that apply to a resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceProviderNamespace - The namespace of the resource provider.
resourceType - The resource type name. For example the type name of a web app is 'sites' (from Microsoft.Web/sites).
resourceName - The resource name.
filter - The filter to apply on the operation. Use $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope for the specified principal.
tenantId - Tenant ID for cross-tenant request.

Returns:

role assignment list operation result as paginated response with PagedFlux<T>.

listForScope

public abstract PagedIterable listForScope(String scope)

List all role assignments that apply to a scope.

Parameters:

scope - The scope of the operation or resource. Valid scopes are: subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'.

Returns:

role assignment list operation result as paginated response with PagedIterable<T>.

listForScope

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

List all role assignments that apply to a scope.

Parameters:

scope - The scope of the operation or resource. Valid scopes are: subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'.
filter - The filter to apply on the operation. Use $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope for the specified principal.
tenantId - Tenant ID for cross-tenant request.
skipToken - The skipToken to apply on the operation. Use $skipToken={skiptoken} to return paged role assignments following the skipToken passed. Only supported on provider level calls.
context - The context to associate with this operation.

Returns:

role assignment list operation result as paginated response with PagedIterable<T>.

listForScopeAsync

public abstract PagedFlux listForScopeAsync(String scope)

List all role assignments that apply to a scope.

Parameters:

scope - The scope of the operation or resource. Valid scopes are: subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'.

Returns:

role assignment list operation result as paginated response with PagedFlux<T>.

listForScopeAsync

public abstract PagedFlux listForScopeAsync(String scope, String filter, String tenantId, String skipToken)

List all role assignments that apply to a scope.

Parameters:

scope - The scope of the operation or resource. Valid scopes are: subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'.
filter - The filter to apply on the operation. Use $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope for the specified principal.
tenantId - Tenant ID for cross-tenant request.
skipToken - The skipToken to apply on the operation. Use $skipToken={skiptoken} to return paged role assignments following the skipToken passed. Only supported on provider level calls.

Returns:

role assignment list operation result as paginated response with PagedFlux<T>.

Applies to