PolicyDefinitionReference Class
- java.
lang. Object - com.
microsoft. azure. management. resources. PolicyDefinitionReference
- com.
public class PolicyDefinitionReference
The policy definition reference.
Constructor Summary
Constructor | Description | |
---|---|---|
PolicyDefinitionReference() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
parameters()
Get required if a parameter is used in policy rule. |
java.lang.String |
policyDefinitionId()
Get the ID of the policy definition or policy set definition. |
Policy |
withParameters(Object parameters)
Set required if a parameter is used in policy rule. |
Policy |
withPolicyDefinitionId(String policyDefinitionId)
Set the ID of the policy definition or policy set definition. |
Methods inherited from java.lang.Object
Constructor Details
PolicyDefinitionReference
public PolicyDefinitionReference()
Method Details
parameters
public Object parameters()
Get required if a parameter is used in policy rule.
Returns:
policyDefinitionId
public String policyDefinitionId()
Get the ID of the policy definition or policy set definition.
Returns:
withParameters
public PolicyDefinitionReference withParameters(Object parameters)
Set required if a parameter is used in policy rule.
Parameters:
Returns:
withPolicyDefinitionId
public PolicyDefinitionReference withPolicyDefinitionId(String policyDefinitionId)
Set the ID of the policy definition or policy set definition.
Parameters:
Returns:
Applies to
Azure SDK for Java