public final class RoleDefinitionsAsyncClient extends Object
| Modifier and Type | Method and Description |
|---|---|
Mono<SynapseRoleDefinition> |
getRoleDefinitionById(String roleDefinitionId)
Get role definition by role definition Id.
|
Mono<com.azure.core.http.rest.Response<SynapseRoleDefinition>> |
getRoleDefinitionByIdWithResponse(String roleDefinitionId)
Get role definition by role definition Id.
|
Mono<List<SynapseRoleDefinition>> |
listRoleDefinitions()
List role definitions.
|
Mono<List<SynapseRoleDefinition>> |
listRoleDefinitions(Boolean isBuiltIn,
String scope)
List role definitions.
|
Mono<com.azure.core.http.rest.Response<List<SynapseRoleDefinition>>> |
listRoleDefinitionsWithResponse(Boolean isBuiltIn,
String scope)
List role definitions.
|
Mono<List<String>> |
listScopes()
List rbac scopes.
|
Mono<com.azure.core.http.rest.Response<List<String>>> |
listScopesWithResponse()
List rbac scopes.
|
public Mono<com.azure.core.http.rest.Response<List<SynapseRoleDefinition>>> listRoleDefinitionsWithResponse(Boolean isBuiltIn, String scope)
isBuiltIn - Is a Synapse Built-In Role or not.scope - Scope of the Synapse Built-in Role.IllegalArgumentException - thrown if parameters fail the validation.ErrorContractException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.public Mono<List<SynapseRoleDefinition>> listRoleDefinitions(Boolean isBuiltIn, String scope)
isBuiltIn - Is a Synapse Built-In Role or not.scope - Scope of the Synapse Built-in Role.IllegalArgumentException - thrown if parameters fail the validation.ErrorContractException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.public Mono<List<SynapseRoleDefinition>> listRoleDefinitions()
ErrorContractException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.Response<SynapseRoleDefinition>> getRoleDefinitionByIdWithResponse(String roleDefinitionId)
roleDefinitionId - Synapse Built-In Role Definition Id.IllegalArgumentException - thrown if parameters fail the validation.ErrorContractException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.public Mono<SynapseRoleDefinition> getRoleDefinitionById(String roleDefinitionId)
roleDefinitionId - Synapse Built-In Role Definition Id.IllegalArgumentException - thrown if parameters fail the validation.ErrorContractException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.Response<List<String>>> listScopesWithResponse()
ErrorContractException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.public Mono<List<String>> listScopes()
ErrorContractException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Copyright © 2021 Microsoft Corporation. All rights reserved.