Class PolicyDefinitionReference
java.lang.Object
com.microsoft.azure.management.resources.PolicyDefinitionReference
The policy definition reference.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet required if a parameter is used in policy rule.Get the ID of the policy definition or policy set definition.withParameters
(Object parameters) Set required if a parameter is used in policy rule.withPolicyDefinitionId
(String policyDefinitionId) Set the ID of the policy definition or policy set definition.
-
Constructor Details
-
PolicyDefinitionReference
public PolicyDefinitionReference()
-
-
Method Details
-
policyDefinitionId
Get the ID of the policy definition or policy set definition.- Returns:
- the policyDefinitionId value
-
withPolicyDefinitionId
Set the ID of the policy definition or policy set definition.- Parameters:
policyDefinitionId
- the policyDefinitionId value to set- Returns:
- the PolicyDefinitionReference object itself.
-
parameters
Get required if a parameter is used in policy rule.- Returns:
- the parameters value
-
withParameters
Set required if a parameter is used in policy rule.- Parameters:
parameters
- the parameters value to set- Returns:
- the PolicyDefinitionReference object itself.
-