Compartir a través de


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()

Gets the application management API entry point.

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()

Gets the environment the graph client is associated with.

ActiveDirectoryGroups groups()

Gets the Active Directory group management API entry point.

InternalRuntimeContext internalContext()

Gets the ResourceManagerUtils.InternalRuntimeContext associated with this manager.

RoleAssignments roleAssignments()

Gets the role assignment management API entry point.

RoleDefinitions roleDefinitions()

Gets the role definition management API entry point.

AuthorizationManagementClient roleServiceClient()

Gets wrapped inner authorization client.

MicrosoftGraphClient serviceClient()
ServicePrincipals servicePrincipals()

Gets the service principal management API entry point.

String tenantId()

Gets the tenant ID the graph client is associated with.

ActiveDirectoryUsers 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:

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()

Gets the environment the graph client is associated with.

Returns:

the environment the graph client is associated with

groups

public ActiveDirectoryGroups groups()

Gets the Active Directory group management API entry point.

Returns:

the Active Directory group management API entry point

internalContext

public ResourceManagerUtils.InternalRuntimeContext internalContext()

Gets the ResourceManagerUtils.InternalRuntimeContext associated with this manager.

Returns:

the ResourceManagerUtils.InternalRuntimeContext associated with this manager

roleAssignments

public RoleAssignments roleAssignments()

Gets the role assignment management API entry point.

Returns:

the role assignment management API entry point

roleDefinitions

public RoleDefinitions roleDefinitions()

Gets the role definition management API entry point.

Returns:

the role definition management API entry point

roleServiceClient

public 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

serviceClient

public MicrosoftGraphClient serviceClient()

servicePrincipals

public ServicePrincipals servicePrincipals()

Gets the service principal management API entry point.

Returns:

the service principal management API entry point

tenantId

public String tenantId()

Gets the tenant ID the graph client is associated with.

Returns:

the tenant ID the graph client is associated with

users

public ActiveDirectoryUsers users()

Gets the Active Directory user management API entry point.

Returns:

the Active Directory user management API entry point

Applies to