다음을 통해 공유


AuthorizationManager Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.AuthorizationManager

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
ActiveDirectoryApplications applications()
static AuthorizationManager authenticate(TokenCredential credential, AzureProfile profile)

Creates an instance of AuthorizationManager that exposes Authorization and Graph RBAC management API entry points.

static AuthorizationManager authenticate(HttpPipeline httpPipeline, AzureProfile profile)

Creates an instance of AuthorizationManager that exposes Authorization and Graph RBAC management API entry points.

static Configurable configure()

Get a Configurable instance that can be used to create AuthorizationManager with optional configuration.

AzureEnvironment environment()
ActiveDirectoryGroups groups()
InternalRuntimeContext internalContext()
RoleAssignments roleAssignments()
RoleDefinitions roleDefinitions()
AuthorizationManagementClient roleServiceClient()
MicrosoftGraphClient serviceClient()
ServicePrincipals servicePrincipals()
String tenantId()
ActiveDirectoryUsers users()

Methods inherited from java.lang.Object

Method Details

applications

public ActiveDirectoryApplications applications()

Returns:

the application management API entry point

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:

credential - the credential to use
profile - the profile to use

Returns:

the AuthorizationManager instance

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:

httpPipeline - the HttpPipeline configured with Azure authentication credential.
profile - the profile used in Active Directory

Returns:

the AuthorizationManager instance

configure

public static AuthorizationManager.Configurable configure()

Get a Configurable instance that can be used to create AuthorizationManager with optional configuration.

Returns:

the instance allowing configurations

environment

public AzureEnvironment environment()

Returns:

the environment the graph client is associated with

groups

public ActiveDirectoryGroups groups()

Returns:

the Active Directory group management API entry point

internalContext

public ResourceManagerUtils.InternalRuntimeContext internalContext()

Returns:

the ResourceManagerUtils.InternalRuntimeContext associated with this manager

roleAssignments

public RoleAssignments roleAssignments()

Returns:

the role assignment management API entry point

roleDefinitions

public RoleDefinitions roleDefinitions()

Returns:

the role definition management API entry point

roleServiceClient

public AuthorizationManagementClient roleServiceClient()

Returns:

wrapped inner authorization client providing direct access to auto-generated API implementation, based on Azure REST API

serviceClient

public MicrosoftGraphClient serviceClient()

servicePrincipals

public ServicePrincipals servicePrincipals()

Returns:

the service principal management API entry point

tenantId

public String tenantId()

Returns:

the tenant ID the graph client is associated with

users

public ActiveDirectoryUsers users()

Returns:

the Active Directory user management API entry point

Applies to