Class AuthorizationManager
java.lang.Object
com.azure.resourcemanager.authorization.AuthorizationManager
- All Implemented Interfaces:
HasServiceClient<com.azure.resourcemanager.authorization.fluent.MicrosoftGraphClient>
public final class AuthorizationManager
extends Object
implements HasServiceClient<com.azure.resourcemanager.authorization.fluent.MicrosoftGraphClient>
Entry point to Azure Authorization and Graph RBAC management.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceThe interface allowing configurations to be set. -
Method Summary
Modifier and TypeMethodDescriptionGets the application management API entry point.static AuthorizationManagerauthenticate(com.azure.core.credential.TokenCredential credential, com.azure.core.management.profile.AzureProfile profile) Creates an instance of AuthorizationManager that exposes Authorization and Graph RBAC management API entry points.static AuthorizationManagerauthenticate(com.azure.core.http.HttpPipeline httpPipeline, com.azure.core.management.profile.AzureProfile profile) Creates an instance of AuthorizationManager that exposes Authorization and Graph RBAC management API entry points.Get a Configurable instance that can be used to create AuthorizationManager with optional configuration.com.azure.core.management.AzureEnvironmentGets the environment the graph client is associated with.groups()Gets the Active Directory group management API entry point.Gets theResourceManagerUtils.InternalRuntimeContextassociated with this manager.Gets the role assignment management API entry point.Gets the role definition management API entry point.com.azure.resourcemanager.authorization.fluent.AuthorizationManagementClientGets wrapped inner authorization client.com.azure.resourcemanager.authorization.fluent.MicrosoftGraphClientGets the service principal management API entry point.tenantId()Gets the tenant ID the graph client is associated with.users()Gets the Active Directory user management API entry point.
-
Method Details
-
authenticate
public static AuthorizationManager authenticate(com.azure.core.credential.TokenCredential credential, com.azure.core.management.profile.AzureProfile profile) Creates an instance of AuthorizationManager that exposes Authorization and Graph RBAC management API entry points.- Parameters:
credential- the credential to useprofile- the profile to use- Returns:
- the AuthorizationManager instance
-
authenticate
public static AuthorizationManager authenticate(com.azure.core.http.HttpPipeline httpPipeline, com.azure.core.management.profile.AzureProfile profile) Creates an instance of AuthorizationManager that exposes Authorization and Graph RBAC management API entry points.- Parameters:
httpPipeline- theHttpPipelineconfigured with Azure authentication credential.profile- the profile used in Active Directory- Returns:
- the AuthorizationManager instance
-
configure
Get a Configurable instance that can be used to create AuthorizationManager with optional configuration.- Returns:
- the instance allowing configurations
-
serviceClient
public com.azure.resourcemanager.authorization.fluent.MicrosoftGraphClient serviceClient()- Specified by:
serviceClientin interfaceHasServiceClient<com.azure.resourcemanager.authorization.fluent.MicrosoftGraphClient>
-
roleServiceClient
public com.azure.resourcemanager.authorization.fluent.AuthorizationManagementClient roleServiceClient()Gets wrapped inner authorization client.- Returns:
- wrapped inner authorization client providing direct access to auto-generated API implementation, based on Azure REST API
-
tenantId
Gets the tenant ID the graph client is associated with.- Returns:
- the tenant ID the graph client is associated with
-
environment
public com.azure.core.management.AzureEnvironment environment()Gets the environment the graph client is associated with.- Returns:
- the environment the graph client is associated with
-
internalContext
Gets theResourceManagerUtils.InternalRuntimeContextassociated with this manager.- Returns:
- the
ResourceManagerUtils.InternalRuntimeContextassociated with this manager
-
users
Gets the Active Directory user management API entry point.- Returns:
- the Active Directory user management API entry point
-
groups
Gets the Active Directory group management API entry point.- Returns:
- the Active Directory group management API entry point
-
servicePrincipals
Gets the service principal management API entry point.- Returns:
- the service principal management API entry point
-
applications
Gets the application management API entry point.- Returns:
- the application management API entry point
-
roleAssignments
Gets the role assignment management API entry point.- Returns:
- the role assignment management API entry point
-
roleDefinitions
Gets the role definition management API entry point.- Returns:
- the role definition management API entry point
-