Interface ComputePerInstanceConfigPreservedStateDisk

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    ComputePerInstanceConfigPreservedStateDisk.Jsii$Proxy

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

      • getDeviceName

        @Stability(Stable)
        @NotNull
        String getDeviceName()
        A unique device name that is reflected into the /dev/ tree of a Linux operating system running within the instance.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_per_instance_config#device_name ComputePerInstanceConfig#device_name}

      • getSource

        @Stability(Stable)
        @NotNull
        String getSource()
        The URI of an existing persistent disk to attach under the specified device-name in the format 'projects/project-id/zones/zone/disks/disk-name'.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_per_instance_config#source ComputePerInstanceConfig#source}

      • getDeleteRule

        @Stability(Stable)
        @Nullable
        default String getDeleteRule()
        A value that prescribes what should happen to the stateful disk when the VM instance is deleted.

        The available options are 'NEVER' and 'ON_PERMANENT_INSTANCE_DELETION'. 'NEVER' - detach the disk when the VM is deleted, but do not delete the disk. 'ON_PERMANENT_INSTANCE_DELETION' will delete the stateful disk when the VM is permanently deleted from the instance group. Default value: "NEVER" Possible values: ["NEVER", "ON_PERMANENT_INSTANCE_DELETION"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_per_instance_config#delete_rule ComputePerInstanceConfig#delete_rule}

      • getMode

        @Stability(Stable)
        @Nullable
        default String getMode()
        The mode of the disk. Default value: "READ_WRITE" Possible values: ["READ_ONLY", "READ_WRITE"].

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_per_instance_config#mode ComputePerInstanceConfig#mode}