Skip to content

Commit

Permalink
fix policy resource external links
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasmhughes committed Apr 23, 2024
1 parent 222333a commit 854081b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/saltext/azurerm/modules/azurerm_resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://docs.microsoft.com/en-us/azure/azure-policy/policy-definition#policy-rule>`_.
`policy rule <https://learn.microsoft.com/en-us/azure/governance/policy/concepts/definition-structure-policy-rule>`_.
CLI Example:
Expand Down
6 changes: 3 additions & 3 deletions src/saltext/azurerm/states/azurerm_resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,20 +276,20 @@ def policy_definition_present(
:param policy_rule:
A YAML dictionary defining the policy rule. See `Azure Policy Definition documentation
<https://docs.microsoft.com/en-us/azure/azure-policy/policy-definition#policy-rule>`_ for details on the
<https://learn.microsoft.com/en-us/azure/governance/policy/concepts/definition-structure-policy-rule>`_ 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
<https://docs.microsoft.com/en-us/azure/azure-policy/policy-definition#policy-rule>`_ for details on the
<https://learn.microsoft.com/en-us/azure/governance/policy/concepts/definition-structure-policy-rule>`_ 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 <https://docs.microsoft.com/en-us/azure/azure-policy/policy-definition#policy-rule>`_ for
documentation <https://learn.microsoft.com/en-us/azure/governance/policy/concepts/definition-structure-policy-rule>`_ 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.
Expand Down

0 comments on commit 854081b

Please sign in to comment.