azure.mgmt.resource.policy.v2022_06_01 package
Submodules
- azure.mgmt.resource.policy.v2022_06_01.models module
CreatedByType
EnforcementMode
ErrorAdditionalInfo
ErrorResponse
Identity
NonComplianceMessage
Override
OverrideKind
ParameterValuesValue
PolicyAssignment
PolicyAssignmentListResult
PolicyAssignmentUpdate
ResourceIdentityType
ResourceSelector
Selector
SelectorKind
SystemData
UserAssignedIdentitiesValue
- azure.mgmt.resource.policy.v2022_06_01.operations module
PolicyAssignmentsOperations
PolicyAssignmentsOperations.create()
PolicyAssignmentsOperations.create_by_id()
PolicyAssignmentsOperations.delete()
PolicyAssignmentsOperations.delete_by_id()
PolicyAssignmentsOperations.get()
PolicyAssignmentsOperations.get_by_id()
PolicyAssignmentsOperations.list()
PolicyAssignmentsOperations.list_for_management_group()
PolicyAssignmentsOperations.list_for_resource()
PolicyAssignmentsOperations.list_for_resource_group()
PolicyAssignmentsOperations.update()
PolicyAssignmentsOperations.update_by_id()
PolicyAssignmentsOperations.models
Module contents
- class azure.mgmt.resource.policy.v2022_06_01.PolicyClient(credential: TokenCredential, subscription_id: str, base_url: str = 'https://management.azure.com', **kwargs: Any)[source]
Bases:
object
To manage and control access to your resources, you can define customized policies and assign them at a scope.
- Variables:
policy_assignments (azure.mgmt.resource.policy.v2022_06_01.operations.PolicyAssignmentsOperations) – PolicyAssignmentsOperations operations
- Parameters:
credential (TokenCredential) – Credential needed for the client to connect to Azure. Required.
subscription_id (str) – The ID of the target subscription. Required.
base_url (str) – Service URL. Default value is “https://management.azure.com”.
- Keyword Arguments:
api_version (str) – Api Version. Default value is “2022-06-01”. Note that overriding this default value may result in unsupported behavior.