azure.mgmt.resource.policy.v2016_04_01 package¶
Submodules¶
Module contents¶
-
class
azure.mgmt.resource.policy.v2016_04_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.v2016_04_01.operations.PolicyAssignmentsOperations) – PolicyAssignmentsOperations operations
policy_definitions (azure.mgmt.resource.policy.v2016_04_01.operations.PolicyDefinitionsOperations) – PolicyDefinitionsOperations 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 “2016-04-01”. Note that overriding this default value may result in unsupported behavior.