Share via


PolicyDefinition Interface

Implements

HasId HasName HasInner<com.microsoft.azure.management.resources.implementation.PolicyDefinitionInner> Indexable Refreshable<PolicyDefinition> Updatable<Update>

public interface PolicyDefinition
extends HasName, HasId, Indexable, Refreshable<PolicyDefinition>, Updatable<Update>, HasInner<com.microsoft.azure.management.resources.implementation.PolicyDefinitionInner>

An immutable client-side representation of an Azure policy.

Method Summary

Modifier and Type Method and Description
abstract java.lang.String description()
abstract java.lang.String displayName()
abstract java.lang.Object policyRule()
abstract PolicyType policyType()

Method Details

description

public abstract String description()

Returns:

the policy definition description

displayName

public abstract String displayName()

Returns:

the policy definition display name

policyRule

public abstract Object policyRule()

Returns:

the policy rule

policyType

public abstract PolicyType policyType()

Returns:

the type of the policy definition

Applies to