PolicyDefinition Interface
Implements
public interface PolicyDefinition
extends HasName, HasId, Indexable, Refreshable<PolicyDefinition>, Updatable<Update>, HasInnerModel<PolicyDefinitionInner>
An immutable client-side representation of an Azure policy.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract String | description() |
abstract String | displayName() |
abstract Object |
metadata()
Gets the policy definition metadata. |
abstract String |
mode()
Gets the policy definition mode. |
abstract
Map<String,Parameter |
parameters() |
abstract Object | policyRule() |
abstract
Policy |
policyType() |
Method Details
description
public abstract String description()
Returns:
displayName
public abstract String displayName()
Returns:
metadata
public abstract Object metadata()
Gets the policy definition metadata. Metadata is an open-ended object and is typically a collection of key value pairs.
Returns:
mode
public abstract String mode()
Gets the policy definition mode. Some examples are All, Indexed, Microsoft.KeyVault.Data.
Returns:
parameters
public abstract Map
Returns:
policyRule
public abstract Object policyRule()
Returns:
policyType
public abstract PolicyType policyType()
Returns:
Applies to
Azure SDK for Java