共用方式為


AuthorizationManagementClient Class

Role based access control provides you a way to apply granular level policy administration down to individual resources or resource groups. These operations enable you to manage role assignments. A role assignment grants access to Azure Active Directory users.

Inheritance
builtins.object
AuthorizationManagementClient

Constructor

AuthorizationManagementClient(credential: TokenCredential, subscription_id: str, base_url: str = 'https://management.azure.com', **kwargs: Any)

Parameters

Name Description
credential
Required

Credential needed for the client to connect to Azure. Required.

subscription_id
Required
str

The ID of the target subscription. Required.

base_url
str

Service URL. Default value is "https://management.azure.com".

Default value: https://management.azure.com

Keyword-Only Parameters

Name Description
api_version
str

Api Version. Default value is "2020-04-01-preview". Note that overriding this default value may result in unsupported behavior.

Variables

Name Description
role_assignments

RoleAssignmentsOperations operations

Methods

close

close

close() -> None