Interface PolicyDefinition

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

public interface PolicyDefinition extends HasName, HasId, Indexable, Refreshable<PolicyDefinition>, Updatable<PolicyDefinition.Update>, HasInner<com.microsoft.azure.management.resources.implementation.PolicyDefinitionInner>
An immutable client-side representation of an Azure policy.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Container interface for all the definitions that need to be implemented.
    static interface 
    Grouping of all the policy definition stages.
    static interface 
    The template for a policy update operation, containing all the settings that can be modified.
    static interface 
    Grouping of all the policy update stages.
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
     

    Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasId

    id

    Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInner

    inner

    Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasName

    name

    Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Indexable

    key

    Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Refreshable

    refresh, refreshAsync

    Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Updatable

    update
  • Method Details

    • 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