public abstract Mono> deleteWithResponseAsync(String scope, String roleDefinitionId)
Deletes a role definition.
Parameters:
scope
- The scope of the role definition.
roleDefinitionId
- The ID of the role definition to delete.
Returns:
role definition along with Response<T> on successful completion of Mono.
get
public abstract RoleDefinitionInner get(String scope, String roleDefinitionId)
Get role definition by name (GUID).
Parameters:
scope
- The scope of the role definition.
roleDefinitionId
- The ID of the role definition.
Returns:
role definition by name (GUID).
getAsync
public abstract Mono getAsync(String scope, String roleDefinitionId)
Get role definition by name (GUID).
Parameters:
scope
- The scope of the role definition.
roleDefinitionId
- The ID of the role definition.
Returns:
role definition by name (GUID) on successful completion of Mono.
getById
public abstract RoleDefinitionInner getById(String roleId)
Gets a role definition by ID.
Parameters:
roleId
- The fully qualified role definition ID. Use the format,
/subscriptions/{guid}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId} for subscription level
role definitions, or /providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId} for tenant level role
definitions.
Returns:
a role definition by ID.
getByIdAsync
public abstract Mono getByIdAsync(String roleId)
Gets a role definition by ID.
Parameters:
roleId
- The fully qualified role definition ID. Use the format,
/subscriptions/{guid}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId} for subscription level
role definitions, or /providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId} for tenant level role
definitions.
Returns:
a role definition by ID on successful completion of Mono.
getByIdWithResponse
public abstract Response getByIdWithResponse(String roleId, Context context)
Gets a role definition by ID.
Parameters:
roleId
- The fully qualified role definition ID. Use the format,
/subscriptions/{guid}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId} for subscription level
role definitions, or /providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId} for tenant level role
definitions.
context
- The context to associate with this operation.
public abstract Mono> getByIdWithResponseAsync(String roleId)
Gets a role definition by ID.
Parameters:
roleId
- The fully qualified role definition ID. Use the format,
/subscriptions/{guid}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId} for subscription level
role definitions, or /providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId} for tenant level role
definitions.
Returns:
a role definition by ID along with Response<T> on successful completion of Mono.
getWithResponse
public abstract Response getWithResponse(String scope, String roleDefinitionId, Context context)
Get role definition by name (GUID).
Parameters:
scope
- The scope of the role definition.
roleDefinitionId
- The ID of the role definition.
context
- The context to associate with this operation.
Returns:
role definition by name (GUID) along with Response<T>.
getWithResponseAsync
public abstract Mono> getWithResponseAsync(String scope, String roleDefinitionId)
Get role definition by name (GUID).
Parameters:
scope
- The scope of the role definition.
roleDefinitionId
- The ID of the role definition.
Returns:
role definition by name (GUID) along with Response<T> on successful completion of Mono.
list
public abstract PagedIterable list(String scope)
Get all role definitions that are applicable at scope and above.
Parameters:
scope
- The scope of the role definition.
Returns:
all role definitions that are applicable at scope and above as paginated response with
PagedIterable<T>.
list
public abstract PagedIterable list(String scope, String filter, Context context)
Get all role definitions that are applicable at scope and above.
Parameters:
scope
- The scope of the role definition.
filter
- The filter to apply on the operation. Use atScopeAndBelow filter to search below the given scope as
well.
context
- The context to associate with this operation.
Returns:
all role definitions that are applicable at scope and above as paginated response with
PagedIterable<T>.
listAsync
public abstract PagedFlux listAsync(String scope)
Get all role definitions that are applicable at scope and above.
Parameters:
scope
- The scope of the role definition.
Returns:
all role definitions that are applicable at scope and above as paginated response with PagedFlux<T>.
listAsync
public abstract PagedFlux listAsync(String scope, String filter)
Get all role definitions that are applicable at scope and above.
Parameters:
scope
- The scope of the role definition.
filter
- The filter to apply on the operation. Use atScopeAndBelow filter to search below the given scope as
well.
Returns:
all role definitions that are applicable at scope and above as paginated response with PagedFlux<T>.
Applies to
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.