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 get deny assignments. A deny assignment describes the set of actions on resources that are denied for Azure Active Directory users.
This ready contains multiple API versions, to help you deal with all of the Azure clouds (Azure Stack, Azure Government, Azure China, etc.). By default, it uses the latest API version available on public Azure. For production, you should stick to a particular api-version and/or profile. The profile sets a mapping between an operation group and its API version. The api-version parameter sets the default API version if the operation group is not described in the profile.
- Inheritance
-
AuthorizationManagementClientazure.mgmt.authorization._authorization_management_client._SDKClientAuthorizationManagementClient
Constructor
AuthorizationManagementClient(credential: TokenCredential, subscription_id: str, api_version: str | None = None, base_url: str = 'https://management.azure.com', profile: KnownProfiles = KnownProfiles.default, **kwargs: Any)
Parameters
Name | Description |
---|---|
credential
Required
|
Credential needed for the client to connect to Azure. Required. |
subscription_id
Required
|
The ID of the target subscription. Required. |
api_version
|
API version to use if no profile is provided, or if missing in profile. Default value: None
|
base_url
|
Service URL Default value: https://management.azure.com
|
profile
|
A profile definition, from KnownProfiles to dict. Default value: KnownProfiles.default
|
Keyword-Only Parameters
Name | Description |
---|---|
polling_interval
|
Default waiting time between two polls for LRO operations if no Retry-After header is present. |
Methods
close | |
models |
Module depends on the API version:
|
close
close()
models
Module depends on the API version:
2015-06-01: models
2015-07-01: models
2018-01-01-preview: models
2018-05-01-preview: models
2018-07-01-preview: models
2018-09-01-preview: models
2019-08-01-preview: models
2020-04-01-preview: models
2020-10-01: models
2020-10-01-preview: models
2021-01-01-preview: models
2021-03-01-preview: models
2021-07-01-preview: models
2021-12-01-preview: models
2022-04-01: models
2022-04-01-preview: models
2022-05-01-preview: models
2022-08-01-preview: models
models(api_version='2022-04-01')
Parameters
Name | Description |
---|---|
api_version
|
Default value: 2022-04-01
|
Attributes
access_review_default_settings
Instance depends on the API version:
2018-05-01-preview: AccessReviewDefaultSettingsOperations
2021-03-01-preview: AccessReviewDefaultSettingsOperations
2021-07-01-preview: AccessReviewDefaultSettingsOperations
2021-12-01-preview: AccessReviewDefaultSettingsOperations
access_review_history_definition
Instance depends on the API version:
- 2021-12-01-preview: AccessReviewHistoryDefinitionOperations
access_review_history_definition_instance
Instance depends on the API version:
- 2021-12-01-preview: AccessReviewHistoryDefinitionInstanceOperations
access_review_history_definition_instances
Instance depends on the API version:
- 2021-12-01-preview: AccessReviewHistoryDefinitionInstancesOperations
access_review_history_definitions
Instance depends on the API version:
- 2021-12-01-preview: AccessReviewHistoryDefinitionsOperations
access_review_instance
Instance depends on the API version:
2018-05-01-preview: AccessReviewInstanceOperations
2021-03-01-preview: AccessReviewInstanceOperations
2021-07-01-preview: AccessReviewInstanceOperations
2021-12-01-preview: AccessReviewInstanceOperations
access_review_instance_contacted_reviewers
Instance depends on the API version:
2021-07-01-preview: AccessReviewInstanceContactedReviewersOperations
2021-12-01-preview: AccessReviewInstanceContactedReviewersOperations
access_review_instance_decisions
Instance depends on the API version:
2018-05-01-preview: AccessReviewInstanceDecisionsOperations
2021-03-01-preview: AccessReviewInstanceDecisionsOperations
2021-07-01-preview: AccessReviewInstanceDecisionsOperations
2021-12-01-preview: AccessReviewInstanceDecisionsOperations
access_review_instance_my_decisions
Instance depends on the API version:
2018-05-01-preview: AccessReviewInstanceMyDecisionsOperations
2021-03-01-preview: AccessReviewInstanceMyDecisionsOperations
2021-07-01-preview: AccessReviewInstanceMyDecisionsOperations
2021-12-01-preview: AccessReviewInstanceMyDecisionsOperations
access_review_instances
Instance depends on the API version:
2018-05-01-preview: AccessReviewInstancesOperations
2021-03-01-preview: AccessReviewInstancesOperations
2021-07-01-preview: AccessReviewInstancesOperations
2021-12-01-preview: AccessReviewInstancesOperations
access_review_instances_assigned_for_my_approval
Instance depends on the API version:
2018-05-01-preview: AccessReviewInstancesAssignedForMyApprovalOperations
2021-03-01-preview: AccessReviewInstancesAssignedForMyApprovalOperations
2021-07-01-preview: AccessReviewInstancesAssignedForMyApprovalOperations
2021-12-01-preview: AccessReviewInstancesAssignedForMyApprovalOperations
access_review_schedule_definitions
Instance depends on the API version:
2018-05-01-preview: AccessReviewScheduleDefinitionsOperations
2021-03-01-preview: AccessReviewScheduleDefinitionsOperations
2021-07-01-preview: AccessReviewScheduleDefinitionsOperations
2021-12-01-preview: AccessReviewScheduleDefinitionsOperations
access_review_schedule_definitions_assigned_for_my_approval
Instance depends on the API version:
2018-05-01-preview: AccessReviewScheduleDefinitionsAssignedForMyApprovalOperations
2021-03-01-preview: AccessReviewScheduleDefinitionsAssignedForMyApprovalOperations
2021-07-01-preview: AccessReviewScheduleDefinitionsAssignedForMyApprovalOperations
2021-12-01-preview: AccessReviewScheduleDefinitionsAssignedForMyApprovalOperations
alert_configurations
Instance depends on the API version:
- 2022-08-01-preview: AlertConfigurationsOperations
alert_definitions
Instance depends on the API version:
- 2022-08-01-preview: AlertDefinitionsOperations
alert_incidents
Instance depends on the API version:
- 2022-08-01-preview: AlertIncidentsOperations
alert_operation
Instance depends on the API version:
- 2022-08-01-preview: AlertOperationOperations
alerts
Instance depends on the API version:
- 2022-08-01-preview: AlertsOperations
classic_administrators
Instance depends on the API version:
2015-06-01: ClassicAdministratorsOperations
2015-07-01: ClassicAdministratorsOperations
deny_assignments
Instance depends on the API version:
2018-07-01-preview: DenyAssignmentsOperations
2022-04-01: DenyAssignmentsOperations
eligible_child_resources
Instance depends on the API version:
2020-10-01: EligibleChildResourcesOperations
2020-10-01-preview: EligibleChildResourcesOperations
global_administrator
Instance depends on the API version:
- 2015-07-01: GlobalAdministratorOperations
operations
Instance depends on the API version:
2018-05-01-preview: Operations
2021-01-01-preview: Operations
2021-03-01-preview: Operations
2021-07-01-preview: Operations
2021-12-01-preview: Operations
permissions
Instance depends on the API version:
2015-07-01: PermissionsOperations
2018-01-01-preview: PermissionsOperations
2022-04-01: PermissionsOperations
2022-05-01-preview: PermissionsOperations
provider_operations_metadata
Instance depends on the API version:
2015-07-01: ProviderOperationsMetadataOperations
2018-01-01-preview: ProviderOperationsMetadataOperations
2022-04-01: ProviderOperationsMetadataOperations
role_assignment_approval
Instance depends on the API version:
- 2021-01-01-preview: RoleAssignmentApprovalOperations
role_assignment_approval_step
Instance depends on the API version:
- 2021-01-01-preview: RoleAssignmentApprovalStepOperations
role_assignment_approval_steps
Instance depends on the API version:
- 2021-01-01-preview: RoleAssignmentApprovalStepsOperations
role_assignment_metrics
Instance depends on the API version:
- 2019-08-01-preview: RoleAssignmentMetricsOperations
role_assignment_schedule_instances
Instance depends on the API version:
2020-10-01: RoleAssignmentScheduleInstancesOperations
2020-10-01-preview: RoleAssignmentScheduleInstancesOperations
role_assignment_schedule_requests
Instance depends on the API version:
2020-10-01: RoleAssignmentScheduleRequestsOperations
2020-10-01-preview: RoleAssignmentScheduleRequestsOperations
2022-04-01-preview: RoleAssignmentScheduleRequestsOperations
role_assignment_schedules
Instance depends on the API version:
2020-10-01: RoleAssignmentSchedulesOperations
2020-10-01-preview: RoleAssignmentSchedulesOperations
role_assignments
Instance depends on the API version:
2015-07-01: RoleAssignmentsOperations
2018-01-01-preview: RoleAssignmentsOperations
2018-09-01-preview: RoleAssignmentsOperations
2020-04-01-preview: RoleAssignmentsOperations
2020-10-01-preview: RoleAssignmentsOperations
2022-04-01: RoleAssignmentsOperations
role_definitions
Instance depends on the API version:
2015-07-01: RoleDefinitionsOperations
2018-01-01-preview: RoleDefinitionsOperations
2022-04-01: RoleDefinitionsOperations
2022-05-01-preview: RoleDefinitionsOperations
role_eligibility_schedule_instances
Instance depends on the API version:
2020-10-01: RoleEligibilityScheduleInstancesOperations
2020-10-01-preview: RoleEligibilityScheduleInstancesOperations
role_eligibility_schedule_requests
Instance depends on the API version:
2020-10-01: RoleEligibilityScheduleRequestsOperations
2020-10-01-preview: RoleEligibilityScheduleRequestsOperations
2022-04-01-preview: RoleEligibilityScheduleRequestsOperations
role_eligibility_schedules
Instance depends on the API version:
2020-10-01: RoleEligibilitySchedulesOperations
2020-10-01-preview: RoleEligibilitySchedulesOperations
role_management_policies
Instance depends on the API version:
2020-10-01: RoleManagementPoliciesOperations
2020-10-01-preview: RoleManagementPoliciesOperations
role_management_policy_assignments
Instance depends on the API version:
2020-10-01: RoleManagementPolicyAssignmentsOperations
2020-10-01-preview: RoleManagementPolicyAssignmentsOperations
scope_access_review_default_settings
Instance depends on the API version:
- 2021-12-01-preview: ScopeAccessReviewDefaultSettingsOperations
scope_access_review_history_definition
Instance depends on the API version:
- 2021-12-01-preview: ScopeAccessReviewHistoryDefinitionOperations
scope_access_review_history_definition_instance
Instance depends on the API version:
- 2021-12-01-preview: ScopeAccessReviewHistoryDefinitionInstanceOperations
scope_access_review_history_definition_instances
Instance depends on the API version:
- 2021-12-01-preview: ScopeAccessReviewHistoryDefinitionInstancesOperations
scope_access_review_history_definitions
Instance depends on the API version:
- 2021-12-01-preview: ScopeAccessReviewHistoryDefinitionsOperations
scope_access_review_instance
Instance depends on the API version:
- 2021-12-01-preview: ScopeAccessReviewInstanceOperations
scope_access_review_instance_contacted_reviewers
Instance depends on the API version:
- 2021-12-01-preview: ScopeAccessReviewInstanceContactedReviewersOperations
scope_access_review_instance_decisions
Instance depends on the API version:
- 2021-12-01-preview: ScopeAccessReviewInstanceDecisionsOperations
scope_access_review_instances
Instance depends on the API version:
- 2021-12-01-preview: ScopeAccessReviewInstancesOperations
scope_access_review_schedule_definitions
Instance depends on the API version:
- 2021-12-01-preview: ScopeAccessReviewScheduleDefinitionsOperations
scope_role_assignment_approval
Instance depends on the API version:
- 2021-01-01-preview: ScopeRoleAssignmentApprovalOperations
scope_role_assignment_approval_step
Instance depends on the API version:
- 2021-01-01-preview: ScopeRoleAssignmentApprovalStepOperations
scope_role_assignment_approval_steps
Instance depends on the API version:
- 2021-01-01-preview: ScopeRoleAssignmentApprovalStepsOperations
tenant_level_access_review_instance_contacted_reviewers
Instance depends on the API version:
2021-07-01-preview: TenantLevelAccessReviewInstanceContactedReviewersOperations
2021-12-01-preview: TenantLevelAccessReviewInstanceContactedReviewersOperations
DEFAULT_API_VERSION
DEFAULT_API_VERSION = '2022-04-01'
LATEST_PROFILE
LATEST_PROFILE = azure.mgmt.authorization.AuthorizationManagementClient latest
Azure SDK for Python