AuthorizationManager Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. AuthorizationManager
- com.
Implements
public final class AuthorizationManager
implements HasServiceClient<MicrosoftGraphClient>
Entry point to Azure Authorization and Graph RBAC management.
Method Summary
Modifier and Type | Method and Description |
---|---|
Active |
applications() |
static
Authorization |
authenticate(TokenCredential credential, AzureProfile profile)
Creates an instance of Authorization |
static
Authorization |
authenticate(HttpPipeline httpPipeline, AzureProfile profile)
Creates an instance of Authorization |
static Configurable |
configure()
Get a Configurable instance that can be used to create Authorization |
Azure |
environment() |
Active |
groups() |
Internal |
internalContext() |
Role |
roleAssignments() |
Role |
roleDefinitions() |
Authorization |
roleServiceClient() |
Microsoft |
serviceClient() |
Service |
servicePrincipals() |
String | tenantId() |
Active |
users() |
Methods inherited from java.lang.Object
Method Details
applications
public ActiveDirectoryApplications applications()
Returns:
authenticate
public static AuthorizationManager authenticate(TokenCredential credential, AzureProfile profile)
Creates an instance of AuthorizationManager that exposes Authorization and Graph RBAC management API entry points.
Parameters:
Returns:
authenticate
public static AuthorizationManager authenticate(HttpPipeline httpPipeline, AzureProfile profile)
Creates an instance of AuthorizationManager that exposes Authorization and Graph RBAC management API entry points.
Parameters:
Returns:
configure
public static AuthorizationManager.Configurable configure()
Get a Configurable instance that can be used to create AuthorizationManager with optional configuration.
Returns:
environment
public AzureEnvironment environment()
Returns:
groups
public ActiveDirectoryGroups groups()
Returns:
internalContext
public ResourceManagerUtils.InternalRuntimeContext internalContext()
Returns:
roleAssignments
public RoleAssignments roleAssignments()
Returns:
roleDefinitions
public RoleDefinitions roleDefinitions()
Returns:
roleServiceClient
public AuthorizationManagementClient roleServiceClient()
Returns:
serviceClient
public MicrosoftGraphClient serviceClient()
servicePrincipals
public ServicePrincipals servicePrincipals()
Returns:
tenantId
public String tenantId()
Returns:
users
public ActiveDirectoryUsers users()
Returns:
Applies to
Azure SDK for Java