1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Mysql
  5. getMysqlBackups
Oracle Cloud Infrastructure v3.7.0 published on Saturday, Sep 13, 2025 by Pulumi

oci.Mysql.getMysqlBackups

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v3.7.0 published on Saturday, Sep 13, 2025 by Pulumi

    This data source provides the list of Mysql Backups in Oracle Cloud Infrastructure MySQL Database service.

    Get a list of DB System backups.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testMysqlBackups = oci.Mysql.getMysqlBackups({
        compartmentId: compartmentId,
        backupId: testMysqlBackup.id,
        creationType: mysqlBackupCreationType,
        dbSystemId: testDbSystem.id,
        displayName: mysqlBackupDisplayName,
        softDelete: mysqlBackupSoftDelete,
        state: mysqlBackupState,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_mysql_backups = oci.Mysql.get_mysql_backups(compartment_id=compartment_id,
        backup_id=test_mysql_backup["id"],
        creation_type=mysql_backup_creation_type,
        db_system_id=test_db_system["id"],
        display_name=mysql_backup_display_name,
        soft_delete=mysql_backup_soft_delete,
        state=mysql_backup_state)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/mysql"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := mysql.GetMysqlBackups(ctx, &mysql.GetMysqlBackupsArgs{
    			CompartmentId: compartmentId,
    			BackupId:      pulumi.StringRef(testMysqlBackup.Id),
    			CreationType:  pulumi.StringRef(mysqlBackupCreationType),
    			DbSystemId:    pulumi.StringRef(testDbSystem.Id),
    			DisplayName:   pulumi.StringRef(mysqlBackupDisplayName),
    			SoftDelete:    pulumi.StringRef(mysqlBackupSoftDelete),
    			State:         pulumi.StringRef(mysqlBackupState),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testMysqlBackups = Oci.Mysql.GetMysqlBackups.Invoke(new()
        {
            CompartmentId = compartmentId,
            BackupId = testMysqlBackup.Id,
            CreationType = mysqlBackupCreationType,
            DbSystemId = testDbSystem.Id,
            DisplayName = mysqlBackupDisplayName,
            SoftDelete = mysqlBackupSoftDelete,
            State = mysqlBackupState,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Mysql.MysqlFunctions;
    import com.pulumi.oci.Mysql.inputs.GetMysqlBackupsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var testMysqlBackups = MysqlFunctions.getMysqlBackups(GetMysqlBackupsArgs.builder()
                .compartmentId(compartmentId)
                .backupId(testMysqlBackup.id())
                .creationType(mysqlBackupCreationType)
                .dbSystemId(testDbSystem.id())
                .displayName(mysqlBackupDisplayName)
                .softDelete(mysqlBackupSoftDelete)
                .state(mysqlBackupState)
                .build());
    
        }
    }
    
    variables:
      testMysqlBackups:
        fn::invoke:
          function: oci:Mysql:getMysqlBackups
          arguments:
            compartmentId: ${compartmentId}
            backupId: ${testMysqlBackup.id}
            creationType: ${mysqlBackupCreationType}
            dbSystemId: ${testDbSystem.id}
            displayName: ${mysqlBackupDisplayName}
            softDelete: ${mysqlBackupSoftDelete}
            state: ${mysqlBackupState}
    

    Using getMysqlBackups

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getMysqlBackups(args: GetMysqlBackupsArgs, opts?: InvokeOptions): Promise<GetMysqlBackupsResult>
    function getMysqlBackupsOutput(args: GetMysqlBackupsOutputArgs, opts?: InvokeOptions): Output<GetMysqlBackupsResult>
    def get_mysql_backups(backup_id: Optional[str] = None,
                          compartment_id: Optional[str] = None,
                          creation_type: Optional[str] = None,
                          db_system_id: Optional[str] = None,
                          display_name: Optional[str] = None,
                          filters: Optional[Sequence[GetMysqlBackupsFilter]] = None,
                          soft_delete: Optional[str] = None,
                          state: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetMysqlBackupsResult
    def get_mysql_backups_output(backup_id: Optional[pulumi.Input[str]] = None,
                          compartment_id: Optional[pulumi.Input[str]] = None,
                          creation_type: Optional[pulumi.Input[str]] = None,
                          db_system_id: Optional[pulumi.Input[str]] = None,
                          display_name: Optional[pulumi.Input[str]] = None,
                          filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetMysqlBackupsFilterArgs]]]] = None,
                          soft_delete: Optional[pulumi.Input[str]] = None,
                          state: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetMysqlBackupsResult]
    func GetMysqlBackups(ctx *Context, args *GetMysqlBackupsArgs, opts ...InvokeOption) (*GetMysqlBackupsResult, error)
    func GetMysqlBackupsOutput(ctx *Context, args *GetMysqlBackupsOutputArgs, opts ...InvokeOption) GetMysqlBackupsResultOutput

    > Note: This function is named GetMysqlBackups in the Go SDK.

    public static class GetMysqlBackups 
    {
        public static Task<GetMysqlBackupsResult> InvokeAsync(GetMysqlBackupsArgs args, InvokeOptions? opts = null)
        public static Output<GetMysqlBackupsResult> Invoke(GetMysqlBackupsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMysqlBackupsResult> getMysqlBackups(GetMysqlBackupsArgs args, InvokeOptions options)
    public static Output<GetMysqlBackupsResult> getMysqlBackups(GetMysqlBackupsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:Mysql/getMysqlBackups:getMysqlBackups
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The compartment OCID.
    BackupId string
    Backup OCID
    CreationType string
    Backup creationType
    DbSystemId string
    The DB System OCID.
    DisplayName string
    A filter to return only the resource matching the given display name exactly.
    Filters List<GetMysqlBackupsFilter>
    SoftDelete string
    Backup Soft Delete
    State string
    Backup Lifecycle State
    CompartmentId string
    The compartment OCID.
    BackupId string
    Backup OCID
    CreationType string
    Backup creationType
    DbSystemId string
    The DB System OCID.
    DisplayName string
    A filter to return only the resource matching the given display name exactly.
    Filters []GetMysqlBackupsFilter
    SoftDelete string
    Backup Soft Delete
    State string
    Backup Lifecycle State
    compartmentId String
    The compartment OCID.
    backupId String
    Backup OCID
    creationType String
    Backup creationType
    dbSystemId String
    The DB System OCID.
    displayName String
    A filter to return only the resource matching the given display name exactly.
    filters List<GetBackupsFilter>
    softDelete String
    Backup Soft Delete
    state String
    Backup Lifecycle State
    compartmentId string
    The compartment OCID.
    backupId string
    Backup OCID
    creationType string
    Backup creationType
    dbSystemId string
    The DB System OCID.
    displayName string
    A filter to return only the resource matching the given display name exactly.
    filters GetMysqlBackupsFilter[]
    softDelete string
    Backup Soft Delete
    state string
    Backup Lifecycle State
    compartment_id str
    The compartment OCID.
    backup_id str
    Backup OCID
    creation_type str
    Backup creationType
    db_system_id str
    The DB System OCID.
    display_name str
    A filter to return only the resource matching the given display name exactly.
    filters Sequence[GetMysqlBackupsFilter]
    soft_delete str
    Backup Soft Delete
    state str
    Backup Lifecycle State
    compartmentId String
    The compartment OCID.
    backupId String
    Backup OCID
    creationType String
    Backup creationType
    dbSystemId String
    The DB System OCID.
    displayName String
    A filter to return only the resource matching the given display name exactly.
    filters List<Property Map>
    softDelete String
    Backup Soft Delete
    state String
    Backup Lifecycle State

    getMysqlBackups Result

    The following output properties are available:

    Backups List<GetMysqlBackupsBackup>
    The list of backups.
    CompartmentId string
    The OCID of the compartment the DB System belongs in.
    Id string
    The provider-assigned unique ID for this managed resource.
    BackupId string
    CreationType string
    Indicates how the backup was created: manually, automatic, or by an Operator.
    DbSystemId string
    The OCID of the DB System the backup is associated with.
    DisplayName string
    A user-supplied display name for the backup.
    Filters List<GetMysqlBackupsFilter>
    SoftDelete string
    Retains the backup to be deleted due to the retention policy in DELETE SCHEDULED state for 7 days before permanently deleting it.
    State string
    The state of the backup.
    Backups []GetMysqlBackupsBackup
    The list of backups.
    CompartmentId string
    The OCID of the compartment the DB System belongs in.
    Id string
    The provider-assigned unique ID for this managed resource.
    BackupId string
    CreationType string
    Indicates how the backup was created: manually, automatic, or by an Operator.
    DbSystemId string
    The OCID of the DB System the backup is associated with.
    DisplayName string
    A user-supplied display name for the backup.
    Filters []GetMysqlBackupsFilter
    SoftDelete string
    Retains the backup to be deleted due to the retention policy in DELETE SCHEDULED state for 7 days before permanently deleting it.
    State string
    The state of the backup.
    backups List<GetBackupsBackup>
    The list of backups.
    compartmentId String
    The OCID of the compartment the DB System belongs in.
    id String
    The provider-assigned unique ID for this managed resource.
    backupId String
    creationType String
    Indicates how the backup was created: manually, automatic, or by an Operator.
    dbSystemId String
    The OCID of the DB System the backup is associated with.
    displayName String
    A user-supplied display name for the backup.
    filters List<GetBackupsFilter>
    softDelete String
    Retains the backup to be deleted due to the retention policy in DELETE SCHEDULED state for 7 days before permanently deleting it.
    state String
    The state of the backup.
    backups GetMysqlBackupsBackup[]
    The list of backups.
    compartmentId string
    The OCID of the compartment the DB System belongs in.
    id string
    The provider-assigned unique ID for this managed resource.
    backupId string
    creationType string
    Indicates how the backup was created: manually, automatic, or by an Operator.
    dbSystemId string
    The OCID of the DB System the backup is associated with.
    displayName string
    A user-supplied display name for the backup.
    filters GetMysqlBackupsFilter[]
    softDelete string
    Retains the backup to be deleted due to the retention policy in DELETE SCHEDULED state for 7 days before permanently deleting it.
    state string
    The state of the backup.
    backups Sequence[GetMysqlBackupsBackup]
    The list of backups.
    compartment_id str
    The OCID of the compartment the DB System belongs in.
    id str
    The provider-assigned unique ID for this managed resource.
    backup_id str
    creation_type str
    Indicates how the backup was created: manually, automatic, or by an Operator.
    db_system_id str
    The OCID of the DB System the backup is associated with.
    display_name str
    A user-supplied display name for the backup.
    filters Sequence[GetMysqlBackupsFilter]
    soft_delete str
    Retains the backup to be deleted due to the retention policy in DELETE SCHEDULED state for 7 days before permanently deleting it.
    state str
    The state of the backup.
    backups List<Property Map>
    The list of backups.
    compartmentId String
    The OCID of the compartment the DB System belongs in.
    id String
    The provider-assigned unique ID for this managed resource.
    backupId String
    creationType String
    Indicates how the backup was created: manually, automatic, or by an Operator.
    dbSystemId String
    The OCID of the DB System the backup is associated with.
    displayName String
    A user-supplied display name for the backup.
    filters List<Property Map>
    softDelete String
    Retains the backup to be deleted due to the retention policy in DELETE SCHEDULED state for 7 days before permanently deleting it.
    state String
    The state of the backup.

    Supporting Types

    GetMysqlBackupsBackup

    BackupPreparationStatus string
    Indicates whether the backup has been prepared successfully. PREPARED: The backup is prepared one. NOT_PREPARED: The backup is not prepared.
    BackupSizeInGbs int
    The size of the backup in base-2 (IEC) gibibytes. (GiB).
    BackupType string
    The type of backup.
    CompartmentId string
    The compartment OCID.
    CreationType string
    Backup creationType
    DataStorageSizeInGb int
    DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs.
    DbSystemId string
    The DB System OCID.
    DbSystemSnapshotSummaries List<GetMysqlBackupsBackupDbSystemSnapshotSummary>
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    A user-supplied description for the backup.
    DisplayName string
    A filter to return only the resource matching the given display name exactly.
    EncryptDatas List<GetMysqlBackupsBackupEncryptData>
    Encrypt data details.
    FreeformTags Dictionary<string, string>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Id string
    OCID of the backup itself
    ImmediateSourceBackupId string
    The OCID of the immediate source DB system backup from which this DB system backup was copied.
    LifecycleDetails string
    Additional information about the current lifecycleState.
    MysqlVersion string
    The MySQL server version of the DB System used for backup.
    OriginalSourceBackupId string
    The OCID of the original source DB system backup from which this DB system backup was copied.
    RetentionInDays int
    Number of days to retain this backup.
    ShapeName string
    The shape of the DB System instance used for backup.
    SoftDelete string
    Backup Soft Delete
    State string
    Backup Lifecycle State
    SystemTags Dictionary<string, string>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCopyCreated string
    The date and time the DB system backup copy was created, as described by RFC 3339.
    TimeCreated string
    The time the backup record was created.
    ValidationStatus string
    The status of backup validation: NOT_VALIDATED (Default): The backup has not been validated. VALIDATED: The backup has been validated successfully. NEEDS_ATTENTION: The backup validation failed due to a transient issue. Validation should be retried. FAILED: The backup cannot be restored.
    BackupPreparationStatus string
    Indicates whether the backup has been prepared successfully. PREPARED: The backup is prepared one. NOT_PREPARED: The backup is not prepared.
    BackupSizeInGbs int
    The size of the backup in base-2 (IEC) gibibytes. (GiB).
    BackupType string
    The type of backup.
    CompartmentId string
    The compartment OCID.
    CreationType string
    Backup creationType
    DataStorageSizeInGb int
    DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs.
    DbSystemId string
    The DB System OCID.
    DbSystemSnapshotSummaries []GetMysqlBackupsBackupDbSystemSnapshotSummary
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    A user-supplied description for the backup.
    DisplayName string
    A filter to return only the resource matching the given display name exactly.
    EncryptDatas []GetMysqlBackupsBackupEncryptData
    Encrypt data details.
    FreeformTags map[string]string
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Id string
    OCID of the backup itself
    ImmediateSourceBackupId string
    The OCID of the immediate source DB system backup from which this DB system backup was copied.
    LifecycleDetails string
    Additional information about the current lifecycleState.
    MysqlVersion string
    The MySQL server version of the DB System used for backup.
    OriginalSourceBackupId string
    The OCID of the original source DB system backup from which this DB system backup was copied.
    RetentionInDays int
    Number of days to retain this backup.
    ShapeName string
    The shape of the DB System instance used for backup.
    SoftDelete string
    Backup Soft Delete
    State string
    Backup Lifecycle State
    SystemTags map[string]string
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCopyCreated string
    The date and time the DB system backup copy was created, as described by RFC 3339.
    TimeCreated string
    The time the backup record was created.
    ValidationStatus string
    The status of backup validation: NOT_VALIDATED (Default): The backup has not been validated. VALIDATED: The backup has been validated successfully. NEEDS_ATTENTION: The backup validation failed due to a transient issue. Validation should be retried. FAILED: The backup cannot be restored.
    backupPreparationStatus String
    Indicates whether the backup has been prepared successfully. PREPARED: The backup is prepared one. NOT_PREPARED: The backup is not prepared.
    backupSizeInGbs Integer
    The size of the backup in base-2 (IEC) gibibytes. (GiB).
    backupType String
    The type of backup.
    compartmentId String
    The compartment OCID.
    creationType String
    Backup creationType
    dataStorageSizeInGb Integer
    DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs.
    dbSystemId String
    The DB System OCID.
    dbSystemSnapshotSummaries List<GetBackupsBackupDbSystemSnapshotSummary>
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    A user-supplied description for the backup.
    displayName String
    A filter to return only the resource matching the given display name exactly.
    encryptDatas List<GetBackupsBackupEncryptData>
    Encrypt data details.
    freeformTags Map<String,String>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id String
    OCID of the backup itself
    immediateSourceBackupId String
    The OCID of the immediate source DB system backup from which this DB system backup was copied.
    lifecycleDetails String
    Additional information about the current lifecycleState.
    mysqlVersion String
    The MySQL server version of the DB System used for backup.
    originalSourceBackupId String
    The OCID of the original source DB system backup from which this DB system backup was copied.
    retentionInDays Integer
    Number of days to retain this backup.
    shapeName String
    The shape of the DB System instance used for backup.
    softDelete String
    Backup Soft Delete
    state String
    Backup Lifecycle State
    systemTags Map<String,String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCopyCreated String
    The date and time the DB system backup copy was created, as described by RFC 3339.
    timeCreated String
    The time the backup record was created.
    validationStatus String
    The status of backup validation: NOT_VALIDATED (Default): The backup has not been validated. VALIDATED: The backup has been validated successfully. NEEDS_ATTENTION: The backup validation failed due to a transient issue. Validation should be retried. FAILED: The backup cannot be restored.
    backupPreparationStatus string
    Indicates whether the backup has been prepared successfully. PREPARED: The backup is prepared one. NOT_PREPARED: The backup is not prepared.
    backupSizeInGbs number
    The size of the backup in base-2 (IEC) gibibytes. (GiB).
    backupType string
    The type of backup.
    compartmentId string
    The compartment OCID.
    creationType string
    Backup creationType
    dataStorageSizeInGb number
    DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs.
    dbSystemId string
    The DB System OCID.
    dbSystemSnapshotSummaries GetMysqlBackupsBackupDbSystemSnapshotSummary[]
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    A user-supplied description for the backup.
    displayName string
    A filter to return only the resource matching the given display name exactly.
    encryptDatas GetMysqlBackupsBackupEncryptData[]
    Encrypt data details.
    freeformTags {[key: string]: string}
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id string
    OCID of the backup itself
    immediateSourceBackupId string
    The OCID of the immediate source DB system backup from which this DB system backup was copied.
    lifecycleDetails string
    Additional information about the current lifecycleState.
    mysqlVersion string
    The MySQL server version of the DB System used for backup.
    originalSourceBackupId string
    The OCID of the original source DB system backup from which this DB system backup was copied.
    retentionInDays number
    Number of days to retain this backup.
    shapeName string
    The shape of the DB System instance used for backup.
    softDelete string
    Backup Soft Delete
    state string
    Backup Lifecycle State
    systemTags {[key: string]: string}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCopyCreated string
    The date and time the DB system backup copy was created, as described by RFC 3339.
    timeCreated string
    The time the backup record was created.
    validationStatus string
    The status of backup validation: NOT_VALIDATED (Default): The backup has not been validated. VALIDATED: The backup has been validated successfully. NEEDS_ATTENTION: The backup validation failed due to a transient issue. Validation should be retried. FAILED: The backup cannot be restored.
    backup_preparation_status str
    Indicates whether the backup has been prepared successfully. PREPARED: The backup is prepared one. NOT_PREPARED: The backup is not prepared.
    backup_size_in_gbs int
    The size of the backup in base-2 (IEC) gibibytes. (GiB).
    backup_type str
    The type of backup.
    compartment_id str
    The compartment OCID.
    creation_type str
    Backup creationType
    data_storage_size_in_gb int
    DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs.
    db_system_id str
    The DB System OCID.
    db_system_snapshot_summaries Sequence[GetMysqlBackupsBackupDbSystemSnapshotSummary]
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description str
    A user-supplied description for the backup.
    display_name str
    A filter to return only the resource matching the given display name exactly.
    encrypt_datas Sequence[GetMysqlBackupsBackupEncryptData]
    Encrypt data details.
    freeform_tags Mapping[str, str]
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id str
    OCID of the backup itself
    immediate_source_backup_id str
    The OCID of the immediate source DB system backup from which this DB system backup was copied.
    lifecycle_details str
    Additional information about the current lifecycleState.
    mysql_version str
    The MySQL server version of the DB System used for backup.
    original_source_backup_id str
    The OCID of the original source DB system backup from which this DB system backup was copied.
    retention_in_days int
    Number of days to retain this backup.
    shape_name str
    The shape of the DB System instance used for backup.
    soft_delete str
    Backup Soft Delete
    state str
    Backup Lifecycle State
    system_tags Mapping[str, str]
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_copy_created str
    The date and time the DB system backup copy was created, as described by RFC 3339.
    time_created str
    The time the backup record was created.
    validation_status str
    The status of backup validation: NOT_VALIDATED (Default): The backup has not been validated. VALIDATED: The backup has been validated successfully. NEEDS_ATTENTION: The backup validation failed due to a transient issue. Validation should be retried. FAILED: The backup cannot be restored.
    backupPreparationStatus String
    Indicates whether the backup has been prepared successfully. PREPARED: The backup is prepared one. NOT_PREPARED: The backup is not prepared.
    backupSizeInGbs Number
    The size of the backup in base-2 (IEC) gibibytes. (GiB).
    backupType String
    The type of backup.
    compartmentId String
    The compartment OCID.
    creationType String
    Backup creationType
    dataStorageSizeInGb Number
    DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs.
    dbSystemId String
    The DB System OCID.
    dbSystemSnapshotSummaries List<Property Map>
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    A user-supplied description for the backup.
    displayName String
    A filter to return only the resource matching the given display name exactly.
    encryptDatas List<Property Map>
    Encrypt data details.
    freeformTags Map<String>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id String
    OCID of the backup itself
    immediateSourceBackupId String
    The OCID of the immediate source DB system backup from which this DB system backup was copied.
    lifecycleDetails String
    Additional information about the current lifecycleState.
    mysqlVersion String
    The MySQL server version of the DB System used for backup.
    originalSourceBackupId String
    The OCID of the original source DB system backup from which this DB system backup was copied.
    retentionInDays Number
    Number of days to retain this backup.
    shapeName String
    The shape of the DB System instance used for backup.
    softDelete String
    Backup Soft Delete
    state String
    Backup Lifecycle State
    systemTags Map<String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCopyCreated String
    The date and time the DB system backup copy was created, as described by RFC 3339.
    timeCreated String
    The time the backup record was created.
    validationStatus String
    The status of backup validation: NOT_VALIDATED (Default): The backup has not been validated. VALIDATED: The backup has been validated successfully. NEEDS_ATTENTION: The backup validation failed due to a transient issue. Validation should be retried. FAILED: The backup cannot be restored.

    GetMysqlBackupsBackupDbSystemSnapshotSummary

    DisplayName string
    A filter to return only the resource matching the given display name exactly.
    Id string
    OCID of the backup itself
    Region string
    The region identifier of the region where the DB system exists. For more information, please see Regions and Availability Domains.
    DisplayName string
    A filter to return only the resource matching the given display name exactly.
    Id string
    OCID of the backup itself
    Region string
    The region identifier of the region where the DB system exists. For more information, please see Regions and Availability Domains.
    displayName String
    A filter to return only the resource matching the given display name exactly.
    id String
    OCID of the backup itself
    region String
    The region identifier of the region where the DB system exists. For more information, please see Regions and Availability Domains.
    displayName string
    A filter to return only the resource matching the given display name exactly.
    id string
    OCID of the backup itself
    region string
    The region identifier of the region where the DB system exists. For more information, please see Regions and Availability Domains.
    display_name str
    A filter to return only the resource matching the given display name exactly.
    id str
    OCID of the backup itself
    region str
    The region identifier of the region where the DB system exists. For more information, please see Regions and Availability Domains.
    displayName String
    A filter to return only the resource matching the given display name exactly.
    id String
    OCID of the backup itself
    region String
    The region identifier of the region where the DB system exists. For more information, please see Regions and Availability Domains.

    GetMysqlBackupsBackupEncryptData

    KeyGenerationType string
    Select whether to use Oracle-managed key (SYSTEM) or your own key (BYOK).
    KeyId string
    The OCID of the key to use.
    KeyGenerationType string
    Select whether to use Oracle-managed key (SYSTEM) or your own key (BYOK).
    KeyId string
    The OCID of the key to use.
    keyGenerationType String
    Select whether to use Oracle-managed key (SYSTEM) or your own key (BYOK).
    keyId String
    The OCID of the key to use.
    keyGenerationType string
    Select whether to use Oracle-managed key (SYSTEM) or your own key (BYOK).
    keyId string
    The OCID of the key to use.
    key_generation_type str
    Select whether to use Oracle-managed key (SYSTEM) or your own key (BYOK).
    key_id str
    The OCID of the key to use.
    keyGenerationType String
    Select whether to use Oracle-managed key (SYSTEM) or your own key (BYOK).
    keyId String
    The OCID of the key to use.

    GetMysqlBackupsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v3.7.0 published on Saturday, Sep 13, 2025 by Pulumi