PolicyDefinition Interface
public interface PolicyDefinition extends HasName,HasId,Indexable,Refreshable,Updatable<PolicyDefinition.Update>,HasInner
An immutable client-side representation of an Azure policy.
Method Summary
Modifier and Type | Method and Description |
---|---|
String | description() |
String | displayName() |
Object | policyRule() |
Policy |
policyType() |
Inherited Members
HasId.id()
HasInner<T>.inner()
Indexable.key()
HasName.name()
Refreshable<T>.refresh()
Refreshable<T>.refreshAsync()
Updatable<T>.update()
Method Details
description
public String description()
Returns:
the policy definition description
displayName
public String displayName()
Returns:
the policy definition display name
policyRule
public Object policyRule()
Returns:
the policy rule
policyType
public PolicyType policyType()
Returns:
the type of the policy definition
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java