Class BackupPlanState


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

      Nested Classes 
      Modifier and Type Class Description
      static class  BackupPlanState.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
      java.util.Optional<com.pulumi.core.Output<BackupPlanBackupConfigArgs>> backupConfig()  
      java.util.Optional<com.pulumi.core.Output<BackupPlanBackupScheduleArgs>> backupSchedule()  
      static BackupPlanState.Builder builder()  
      static BackupPlanState.Builder builder​(BackupPlanState defaults)  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> cluster()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> deactivated()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()  
      java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> effectiveLabels()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> etag()  
      java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> labels()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> location()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> project()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> protectedPodCount()  
      java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> pulumiLabels()  
      java.util.Optional<com.pulumi.core.Output<BackupPlanRetentionPolicyArgs>> retentionPolicy()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> state()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> stateReason()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> uid()  
      • 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

      • backupConfig

        public java.util.Optional<com.pulumi.core.Output<BackupPlanBackupConfigArgs>> backupConfig()
        Returns:
        Defines the configuration of Backups created via this BackupPlan. Structure is documented below.
      • backupSchedule

        public java.util.Optional<com.pulumi.core.Output<BackupPlanBackupScheduleArgs>> backupSchedule()
        Returns:
        Defines a schedule for automatic Backup creation via this BackupPlan. Structure is documented below.
      • cluster

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> cluster()
        Returns:
        The source cluster from which Backups will be created via this BackupPlan.
      • deactivated

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> deactivated()
        Returns:
        This flag indicates whether this BackupPlan has been deactivated. Setting this field to True locks the BackupPlan such that no further updates will be allowed (except deletes), including the deactivated field itself. It also prevents any new Backups from being created via this BackupPlan (including scheduled Backups).
      • description

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
        Returns:
        User specified descriptive string for this BackupPlan.
      • effectiveLabels

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> effectiveLabels()
        Returns:
        All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
      • etag

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> etag()
        Returns:
        etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a backup plan from overwriting each other. It is strongly suggested that systems make use of the 'etag' in the read-modify-write cycle to perform BackupPlan updates in order to avoid race conditions: An etag is returned in the response to backupPlans.get, and systems are expected to put that etag in the request to backupPlans.patch or backupPlans.delete to ensure that their change will be applied to the same version of the resource.
      • labels

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> labels()
        Returns:
        Description: A set of custom labels supplied by the user. A list of key->value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effective_labels` for all of the labels present on the resource.
      • location

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> location()
        Returns:
        The region of the Backup Plan. ***
      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        The full name of the BackupPlan Resource.
      • project

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> project()
        Returns:
        The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
      • protectedPodCount

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> protectedPodCount()
        Returns:
        The number of Kubernetes Pods backed up in the last successful Backup created via this BackupPlan.
      • pulumiLabels

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> pulumiLabels()
        Returns:
        The combination of labels configured directly on the resource and default labels configured on the provider.
      • retentionPolicy

        public java.util.Optional<com.pulumi.core.Output<BackupPlanRetentionPolicyArgs>> retentionPolicy()
        Returns:
        RetentionPolicy governs lifecycle of Backups created under this plan. Structure is documented below.
      • state

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> state()
        Returns:
        The State of the BackupPlan.
      • stateReason

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> stateReason()
        Returns:
        Detailed description of why BackupPlan is in its current state.
      • uid

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> uid()
        Returns:
        Server generated, unique identifier of UUID format.