Class SnapshotPolicyState


  • public final class SnapshotPolicyState
    extends com.pulumi.resources.ResourceArgs
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  SnapshotPolicyState.Builder  
      • Nested classes/interfaces inherited from class com.pulumi.resources.InputArgs

        com.pulumi.resources.InputArgs.InputArgsInternal
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static SnapshotPolicyState.Builder builder()  
      static SnapshotPolicyState.Builder builder​(SnapshotPolicyState defaults)  
      java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> copiedSnapshotsRetentionDays()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> enableCrossRegionCopy()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()  
      java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> repeatWeekdays()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> retentionDays()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> status()  
      java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.Object>>> tags()  
      java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> targetCopyRegions()  
      java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> timePoints()  
      • Methods inherited from class com.pulumi.resources.ResourceArgs

        validateMember
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • copiedSnapshotsRetentionDays

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> copiedSnapshotsRetentionDays()
      • enableCrossRegionCopy

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> enableCrossRegionCopy()
      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        The snapshot policy name.
      • repeatWeekdays

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> repeatWeekdays()
        Returns:
        The automatic snapshot repetition dates. The unit of measurement is day and the repeating cycle is a week. Value range: [1, 7], which represents days starting from Monday to Sunday, for example 1 indicates Monday. When you want to schedule multiple automatic snapshot tasks for a disk in a week, you can set the RepeatWeekdays to an array. - A maximum of seven time points can be selected. - The format is an JSON array of ["1", "2", … "7"] and the time points are separated by commas (,).
      • retentionDays

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> retentionDays()
        Returns:
        The snapshot retention time, and the unit of measurement is day. Optional values: - -1: The automatic snapshots are retained permanently. - [1, 65536]: The number of days retained. Default value: -1.
      • status

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> status()
      • tags

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.Object>>> tags()
      • targetCopyRegions

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> targetCopyRegions()
      • timePoints

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> timePoints()
        Returns:
        The automatic snapshot creation schedule, and the unit of measurement is hour. Value range: [0, 23], which represents from 00:00 to 24:00, for example 1 indicates 01:00. When you want to schedule multiple automatic snapshot tasks for a disk in a day, you can set the TimePoints to an array. - A maximum of 24 time points can be selected. - The format is an JSON array of ["0", "1", … "23"] and the time points are separated by commas (,).