azure.mgmt.resource.policy.v2022_08_01_preview package
Submodules
- azure.mgmt.resource.policy.v2022_08_01_preview.models module
- azure.mgmt.resource.policy.v2022_08_01_preview.operations module
VariableValuesOperationsVariableValuesOperations.create_or_update()VariableValuesOperations.create_or_update_at_management_group()VariableValuesOperations.delete()VariableValuesOperations.delete_at_management_group()VariableValuesOperations.get()VariableValuesOperations.get_at_management_group()VariableValuesOperations.list()VariableValuesOperations.list_for_management_group()VariableValuesOperations.models
VariablesOperationsVariablesOperations.create_or_update()VariablesOperations.create_or_update_at_management_group()VariablesOperations.delete()VariablesOperations.delete_at_management_group()VariablesOperations.get()VariablesOperations.get_at_management_group()VariablesOperations.list()VariablesOperations.list_for_management_group()VariablesOperations.models
Module contents
- class azure.mgmt.resource.policy.v2022_08_01_preview.PolicyClient(credential: TokenCredential, subscription_id: str, base_url: str = 'https://management.azure.com', **kwargs: Any)[source]
Bases:
objectTo use in policy authoring you can create a variable at a scope. Variables created at a scope can be shared between multiple policy definitions.
- Variables:
variables (azure.mgmt.resource.policy.v2022_08_01_preview.operations.VariablesOperations) – VariablesOperations operations
variable_values (azure.mgmt.resource.policy.v2022_08_01_preview.operations.VariableValuesOperations) – VariableValuesOperations 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-08-01-preview”. Note that overriding this default value may result in unsupported behavior.