diff --git a/src/saltext/azurerm/modules/azurerm_resource.py b/src/saltext/azurerm/modules/azurerm_resource.py index 8ef10a2..e8f8e2a 100644 --- a/src/saltext/azurerm/modules/azurerm_resource.py +++ b/src/saltext/azurerm/modules/azurerm_resource.py @@ -1081,7 +1081,7 @@ def policy_definition_create_or_update(name, policy_rule, **kwargs): # pylint: :param name: The name of the policy definition to create or update. :param policy_rule: A dictionary defining the - `policy rule `_. + `policy rule `_. CLI Example: diff --git a/src/saltext/azurerm/states/azurerm_resource.py b/src/saltext/azurerm/states/azurerm_resource.py index 91ab28e..9872003 100644 --- a/src/saltext/azurerm/states/azurerm_resource.py +++ b/src/saltext/azurerm/states/azurerm_resource.py @@ -276,20 +276,20 @@ def policy_definition_present( :param policy_rule: A YAML dictionary defining the policy rule. See `Azure Policy Definition documentation - `_ for details on the + `_ for details on the structure. One of ``policy_rule``, ``policy_rule_json``, or ``policy_rule_file`` is required, in that order of precedence for use if multiple parameters are used. :param policy_rule_json: A text field defining the entirety of a policy definition in JSON. See `Azure Policy Definition documentation - `_ for details on the + `_ for details on the structure. One of ``policy_rule``, ``policy_rule_json``, or ``policy_rule_file`` is required, in that order of precedence for use if multiple parameters are used. Note that the `name` field in the JSON will override the ``name`` parameter in the state. :param policy_rule_file: The source of a JSON file defining the entirety of a policy definition. See `Azure Policy Definition - documentation `_ for + documentation `_ for details on the structure. One of ``policy_rule``, ``policy_rule_json``, or ``policy_rule_file`` is required, in that order of precedence for use if multiple parameters are used. Note that the `name` field in the JSON will override the ``name`` parameter in the state.