Interface PolicyDefinition
-
- All Superinterfaces:
HasId,HasInnerModel<PolicyDefinitionInner>,HasName,Indexable,Refreshable<PolicyDefinition>,Updatable<PolicyDefinition.Update>
public interface PolicyDefinition extends HasName, HasId, Indexable, Refreshable<PolicyDefinition>, Updatable<PolicyDefinition.Update>, HasInnerModel<PolicyDefinitionInner>
An immutable client-side representation of an Azure policy.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfacePolicyDefinition.DefinitionContainer interface for all the definitions that need to be implemented.static interfacePolicyDefinition.DefinitionStagesGrouping of all the policy definition stages.static interfacePolicyDefinition.UpdateThe template for a policy update operation, containing all the settings that can be modified.static interfacePolicyDefinition.UpdateStagesGrouping of all the policy update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringdescription()StringdisplayName()Map<String,ParameterDefinitionsValue>parameters()ObjectpolicyRule()PolicyTypepolicyType()-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModel
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName
name
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Refreshable
refresh, refreshAsync
-
-
-
-
Method Detail
-
policyType
PolicyType policyType()
- Returns:
- the type of the policy definition
-
displayName
String displayName()
- Returns:
- the policy definition display name
-
description
String description()
- Returns:
- the policy definition description
-
policyRule
Object policyRule()
- Returns:
- the policy rule
-
parameters
Map<String,ParameterDefinitionsValue> parameters()
- Returns:
- the parameters of the policy definition
-
-