Class PolicyDefinitionReference

java.lang.Object
com.microsoft.azure.management.resources.PolicyDefinitionReference

public class PolicyDefinitionReference extends Object
The policy definition reference.
  • Constructor Details

    • PolicyDefinitionReference

      public PolicyDefinitionReference()
  • Method Details

    • policyDefinitionId

      public String policyDefinitionId()
      Get the ID of the policy definition or policy set definition.
      Returns:
      the policyDefinitionId value
    • withPolicyDefinitionId

      public PolicyDefinitionReference withPolicyDefinitionId(String policyDefinitionId)
      Set the ID of the policy definition or policy set definition.
      Parameters:
      policyDefinitionId - the policyDefinitionId value to set
      Returns:
      the PolicyDefinitionReference object itself.
    • parameters

      public Object parameters()
      Get required if a parameter is used in policy rule.
      Returns:
      the parameters value
    • withParameters

      public PolicyDefinitionReference withParameters(Object parameters)
      Set required if a parameter is used in policy rule.
      Parameters:
      parameters - the parameters value to set
      Returns:
      the PolicyDefinitionReference object itself.