Interface ManagementPolicy

All Superinterfaces:
com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel<ManagementPolicyInner>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager<StorageManager>, com.azure.resourcemanager.resources.fluentcore.model.Indexable, com.azure.resourcemanager.resources.fluentcore.model.Refreshable<ManagementPolicy>, com.azure.resourcemanager.resources.fluentcore.model.Updatable<ManagementPolicy.Update>

public interface ManagementPolicy extends com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel<ManagementPolicyInner>, com.azure.resourcemanager.resources.fluentcore.model.Indexable, com.azure.resourcemanager.resources.fluentcore.model.Refreshable<ManagementPolicy>, com.azure.resourcemanager.resources.fluentcore.model.Updatable<ManagementPolicy.Update>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager<StorageManager>
Type representing ManagementPolicy.
  • Nested Class Summary

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

    Modifier and Type
    Method
    Description
    id()
    Gets resource ID.
    Gets the last modified time.
    Gets resource name.
    Gets the management policy schema.
    Gets the list of rules for this policy.
    Gets the type.

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel

    innerModel

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager

    manager

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Indexable

    key

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Refreshable

    refresh, refreshAsync

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Updatable

    update
  • Method Details

    • id

      String id()
      Gets resource ID.
      Returns:
      the id value.
    • lastModifiedTime

      OffsetDateTime lastModifiedTime()
      Gets the last modified time.
      Returns:
      the lastModifiedTime value.
    • name

      String name()
      Gets resource name.
      Returns:
      the name value.
    • policy

      Gets the management policy schema.
      Returns:
      the policy value.
    • type

      String type()
      Gets the type.
      Returns:
      the type value.
    • rules

      List<PolicyRule> rules()
      Gets the list of rules for this policy.
      Returns:
      the list of rules for this policy