Interface NetappBackupPolicyConfig

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable, com.hashicorp.cdktf.TerraformMetaArguments
    All Known Implementing Classes:
    NetappBackupPolicyConfig.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.102.0 (build e354887)",
               date="2024-08-31T03:59:22.002Z")
    @Stability(Stable)
    public interface NetappBackupPolicyConfig
    extends software.amazon.jsii.JsiiSerializable, com.hashicorp.cdktf.TerraformMetaArguments
    • Method Detail

      • getDailyBackupLimit

        @Stability(Stable)
        @NotNull
        Number getDailyBackupLimit()
        Number of daily backups to keep. Note that the minimum daily backup limit is 2.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_backup_policy#daily_backup_limit NetappBackupPolicy#daily_backup_limit}

      • getLocation

        @Stability(Stable)
        @NotNull
        String getLocation()
        Name of the region for the policy to apply to.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_backup_policy#location NetappBackupPolicy#location}

      • getMonthlyBackupLimit

        @Stability(Stable)
        @NotNull
        Number getMonthlyBackupLimit()
        Number of monthly backups to keep.

        Note that the sum of daily, weekly and monthly backups should be greater than 1. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_backup_policy#monthly_backup_limit NetappBackupPolicy#monthly_backup_limit}

      • getName

        @Stability(Stable)
        @NotNull
        String getName()
        The name of the backup policy. Needs to be unique per location.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_backup_policy#name NetappBackupPolicy#name}

      • getWeeklyBackupLimit

        @Stability(Stable)
        @NotNull
        Number getWeeklyBackupLimit()
        Number of weekly backups to keep.

        Note that the sum of daily, weekly and monthly backups should be greater than 1. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_backup_policy#weekly_backup_limit NetappBackupPolicy#weekly_backup_limit}

      • getDescription

        @Stability(Stable)
        @Nullable
        default String getDescription()
        An optional description of this resource.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_backup_policy#description NetappBackupPolicy#description}

      • getEnabled

        @Stability(Stable)
        @Nullable
        default Object getEnabled()
        If enabled, make backups automatically according to the schedules.

        This will be applied to all volumes that have this policy attached and enforced on volume level. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_backup_policy#enabled NetappBackupPolicy#enabled}

      • getId

        @Stability(Stable)
        @Nullable
        default String getId()
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_backup_policy#id NetappBackupPolicy#id}.

        Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.

      • getLabels

        @Stability(Stable)
        @Nullable
        default Map<String,​String> getLabels()
        Labels as key value pairs. Example: '{ "owner": "Bob", "department": "finance", "purpose": "testing" }'.

        **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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_backup_policy#labels NetappBackupPolicy#labels}

      • getProject

        @Stability(Stable)
        @Nullable
        default String getProject()
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_backup_policy#project NetappBackupPolicy#project}.
      • getTimeouts

        @Stability(Stable)
        @Nullable
        default NetappBackupPolicyTimeouts getTimeouts()
        timeouts block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_backup_policy#timeouts NetappBackupPolicy#timeouts}