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()
Gets the application management API entry point. |
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()
Gets the environment the graph client is associated with. |
Active |
groups()
Gets the Active Directory group management API entry point. |
Internal |
internalContext()
Gets the ResourceManagerUtils.InternalRuntimeContext associated with this manager. |
Role |
roleAssignments()
Gets the role assignment management API entry point. |
Role |
roleDefinitions()
Gets the role definition management API entry point. |
Authorization |
roleServiceClient()
Gets wrapped inner authorization client. |
Microsoft |
serviceClient() |
Service |
servicePrincipals()
Gets the service principal management API entry point. |
String |
tenantId()
Gets the tenant ID the graph client is associated with. |
Active |
users()
Gets the Active Directory user management API entry point. |
Methods inherited from java.lang.Object
Method Details
applications
public ActiveDirectoryApplications applications()
Gets the application management API entry point.
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()
Gets the environment the graph client is associated with.
Returns:
groups
public ActiveDirectoryGroups groups()
Gets the Active Directory group management API entry point.
Returns:
internalContext
public ResourceManagerUtils.InternalRuntimeContext internalContext()
Gets the ResourceManagerUtils.InternalRuntimeContext associated with this manager.
Returns:
roleAssignments
public RoleAssignments roleAssignments()
Gets the role assignment management API entry point.
Returns:
roleDefinitions
public RoleDefinitions roleDefinitions()
Gets the role definition management API entry point.
Returns:
roleServiceClient
public AuthorizationManagementClient roleServiceClient()
Gets wrapped inner authorization client.
Returns:
serviceClient
public MicrosoftGraphClient serviceClient()
servicePrincipals
public ServicePrincipals servicePrincipals()
Gets the service principal management API entry point.
Returns:
tenantId
public String tenantId()
Gets the tenant ID the graph client is associated with.
Returns:
users
public ActiveDirectoryUsers users()
Gets the Active Directory user management API entry point.
Returns:
Applies to
Azure SDK for Java