PolicyDefinitionReference Class

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

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.

PolicyDefinitionReference withParameters(Object parameters)

Set required if a parameter is used in policy rule.

PolicyDefinitionReference withPolicyDefinitionId(String policyDefinitionId)

Set the ID of the policy definition or policy set definition.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

PolicyDefinitionReference

public PolicyDefinitionReference()

Method Details

parameters

public Object parameters()

Get required if a parameter is used in policy rule.

Returns:

the parameters value

policyDefinitionId

public String policyDefinitionId()

Get the ID of the policy definition or policy set definition.

Returns:

the policyDefinitionId 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.

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.

Applies to