Interface DataGoogleSqlBackupRunConfig

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

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

      • getInstance

        @Stability(Stable)
        @NotNull
        String getInstance()
        Name of the database instance.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/sql_backup_run#instance DataGoogleSqlBackupRun#instance}

      • getBackupId

        @Stability(Stable)
        @Nullable
        default Number getBackupId()
        The identifier for this backup run.

        Unique only for a specific Cloud SQL instance. If left empty and multiple backups exist for the instance, most_recent must be set to true. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/sql_backup_run#backup_id DataGoogleSqlBackupRun#backup_id}

      • getId

        @Stability(Stable)
        @Nullable
        default String getId()
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/sql_backup_run#id DataGoogleSqlBackupRun#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.

      • getMostRecent

        @Stability(Stable)
        @Nullable
        default Object getMostRecent()
        Toggles use of the most recent backup run if multiple backups exist for a Cloud SQL instance.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/sql_backup_run#most_recent DataGoogleSqlBackupRun#most_recent}

      • getProject

        @Stability(Stable)
        @Nullable
        default String getProject()
        Project ID of the project that contains the instance.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/sql_backup_run#project DataGoogleSqlBackupRun#project}