Oracle Cloud Infrastructure v3.7.0 published on Saturday, Sep 13, 2025 by Pulumi
oci.Mysql.getMysqlBackups
Explore with Pulumi AI
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:
- Compartment
Id string - The compartment OCID.
- Backup
Id string - Backup OCID
- Creation
Type string - Backup creationType
- Db
System stringId - The DB System OCID.
- Display
Name string - A filter to return only the resource matching the given display name exactly.
- Filters
List<Get
Mysql Backups Filter> - Soft
Delete string - Backup Soft Delete
- State string
- Backup Lifecycle State
- Compartment
Id string - The compartment OCID.
- Backup
Id string - Backup OCID
- Creation
Type string - Backup creationType
- Db
System stringId - The DB System OCID.
- Display
Name string - A filter to return only the resource matching the given display name exactly.
- Filters
[]Get
Mysql Backups Filter - Soft
Delete string - Backup Soft Delete
- State string
- Backup Lifecycle State
- compartment
Id String - The compartment OCID.
- backup
Id String - Backup OCID
- creation
Type String - Backup creationType
- db
System StringId - The DB System OCID.
- display
Name String - A filter to return only the resource matching the given display name exactly.
- filters
List<Get
Backups Filter> - soft
Delete String - Backup Soft Delete
- state String
- Backup Lifecycle State
- compartment
Id string - The compartment OCID.
- backup
Id string - Backup OCID
- creation
Type string - Backup creationType
- db
System stringId - The DB System OCID.
- display
Name string - A filter to return only the resource matching the given display name exactly.
- filters
Get
Mysql Backups Filter[] - soft
Delete 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_ strid - The DB System OCID.
- display_
name str - A filter to return only the resource matching the given display name exactly.
- filters
Sequence[Get
Mysql Backups Filter] - soft_
delete str - Backup Soft Delete
- state str
- Backup Lifecycle State
- compartment
Id String - The compartment OCID.
- backup
Id String - Backup OCID
- creation
Type String - Backup creationType
- db
System StringId - The DB System OCID.
- display
Name String - A filter to return only the resource matching the given display name exactly.
- filters List<Property Map>
- soft
Delete String - Backup Soft Delete
- state String
- Backup Lifecycle State
getMysqlBackups Result
The following output properties are available:
- Backups
List<Get
Mysql Backups Backup> - The list of backups.
- Compartment
Id string - The OCID of the compartment the DB System belongs in.
- Id string
- The provider-assigned unique ID for this managed resource.
- Backup
Id string - Creation
Type string - Indicates how the backup was created: manually, automatic, or by an Operator.
- Db
System stringId - The OCID of the DB System the backup is associated with.
- Display
Name string - A user-supplied display name for the backup.
- Filters
List<Get
Mysql Backups Filter> - Soft
Delete 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
[]Get
Mysql Backups Backup - The list of backups.
- Compartment
Id string - The OCID of the compartment the DB System belongs in.
- Id string
- The provider-assigned unique ID for this managed resource.
- Backup
Id string - Creation
Type string - Indicates how the backup was created: manually, automatic, or by an Operator.
- Db
System stringId - The OCID of the DB System the backup is associated with.
- Display
Name string - A user-supplied display name for the backup.
- Filters
[]Get
Mysql Backups Filter - Soft
Delete 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<Get
Backups Backup> - The list of backups.
- compartment
Id String - The OCID of the compartment the DB System belongs in.
- id String
- The provider-assigned unique ID for this managed resource.
- backup
Id String - creation
Type String - Indicates how the backup was created: manually, automatic, or by an Operator.
- db
System StringId - The OCID of the DB System the backup is associated with.
- display
Name String - A user-supplied display name for the backup.
- filters
List<Get
Backups Filter> - soft
Delete 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
Get
Mysql Backups Backup[] - The list of backups.
- compartment
Id string - The OCID of the compartment the DB System belongs in.
- id string
- The provider-assigned unique ID for this managed resource.
- backup
Id string - creation
Type string - Indicates how the backup was created: manually, automatic, or by an Operator.
- db
System stringId - The OCID of the DB System the backup is associated with.
- display
Name string - A user-supplied display name for the backup.
- filters
Get
Mysql Backups Filter[] - soft
Delete 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[Get
Mysql Backups Backup] - 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_ strid - The OCID of the DB System the backup is associated with.
- display_
name str - A user-supplied display name for the backup.
- filters
Sequence[Get
Mysql Backups Filter] - 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.
- compartment
Id String - The OCID of the compartment the DB System belongs in.
- id String
- The provider-assigned unique ID for this managed resource.
- backup
Id String - creation
Type String - Indicates how the backup was created: manually, automatic, or by an Operator.
- db
System StringId - The OCID of the DB System the backup is associated with.
- display
Name String - A user-supplied display name for the backup.
- filters List<Property Map>
- soft
Delete 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
- Backup
Preparation stringStatus - Indicates whether the backup has been prepared successfully. PREPARED: The backup is prepared one. NOT_PREPARED: The backup is not prepared.
- Backup
Size intIn Gbs - The size of the backup in base-2 (IEC) gibibytes. (GiB).
- Backup
Type string - The type of backup.
- Compartment
Id string - The compartment OCID.
- Creation
Type string - Backup creationType
- Data
Storage intSize In Gb - DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs.
- Db
System stringId - The DB System OCID.
- Db
System List<GetSnapshot Summaries Mysql Backups Backup Db System Snapshot Summary> - 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.
- Display
Name string - A filter to return only the resource matching the given display name exactly.
- Encrypt
Datas List<GetMysql Backups Backup Encrypt Data> - Encrypt data details.
- 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
- Immediate
Source stringBackup Id - The OCID of the immediate source DB system backup from which this DB system backup was copied.
- Lifecycle
Details string - Additional information about the current lifecycleState.
- Mysql
Version string - The MySQL server version of the DB System used for backup.
- Original
Source stringBackup Id - The OCID of the original source DB system backup from which this DB system backup was copied.
- Retention
In intDays - Number of days to retain this backup.
- Shape
Name string - The shape of the DB System instance used for backup.
- Soft
Delete string - Backup Soft Delete
- State string
- Backup Lifecycle State
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Copy stringCreated - The date and time the DB system backup copy was created, as described by RFC 3339.
- Time
Created string - The time the backup record was created.
- Validation
Status 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 stringStatus - Indicates whether the backup has been prepared successfully. PREPARED: The backup is prepared one. NOT_PREPARED: The backup is not prepared.
- Backup
Size intIn Gbs - The size of the backup in base-2 (IEC) gibibytes. (GiB).
- Backup
Type string - The type of backup.
- Compartment
Id string - The compartment OCID.
- Creation
Type string - Backup creationType
- Data
Storage intSize In Gb - DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs.
- Db
System stringId - The DB System OCID.
- Db
System []GetSnapshot Summaries Mysql Backups Backup Db System Snapshot Summary - 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.
- Display
Name string - A filter to return only the resource matching the given display name exactly.
- Encrypt
Datas []GetMysql Backups Backup Encrypt Data - Encrypt data details.
- 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
- Immediate
Source stringBackup Id - The OCID of the immediate source DB system backup from which this DB system backup was copied.
- Lifecycle
Details string - Additional information about the current lifecycleState.
- Mysql
Version string - The MySQL server version of the DB System used for backup.
- Original
Source stringBackup Id - The OCID of the original source DB system backup from which this DB system backup was copied.
- Retention
In intDays - Number of days to retain this backup.
- Shape
Name string - The shape of the DB System instance used for backup.
- Soft
Delete string - Backup Soft Delete
- State string
- Backup Lifecycle State
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Copy stringCreated - The date and time the DB system backup copy was created, as described by RFC 3339.
- Time
Created string - The time the backup record was created.
- Validation
Status 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 StringStatus - Indicates whether the backup has been prepared successfully. PREPARED: The backup is prepared one. NOT_PREPARED: The backup is not prepared.
- backup
Size IntegerIn Gbs - The size of the backup in base-2 (IEC) gibibytes. (GiB).
- backup
Type String - The type of backup.
- compartment
Id String - The compartment OCID.
- creation
Type String - Backup creationType
- data
Storage IntegerSize In Gb - DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs.
- db
System StringId - The DB System OCID.
- db
System List<GetSnapshot Summaries Backups Backup Db System Snapshot Summary> - 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.
- display
Name String - A filter to return only the resource matching the given display name exactly.
- encrypt
Datas List<GetBackups Backup Encrypt Data> - Encrypt data details.
- 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
- immediate
Source StringBackup Id - The OCID of the immediate source DB system backup from which this DB system backup was copied.
- lifecycle
Details String - Additional information about the current lifecycleState.
- mysql
Version String - The MySQL server version of the DB System used for backup.
- original
Source StringBackup Id - The OCID of the original source DB system backup from which this DB system backup was copied.
- retention
In IntegerDays - Number of days to retain this backup.
- shape
Name String - The shape of the DB System instance used for backup.
- soft
Delete String - Backup Soft Delete
- state String
- Backup Lifecycle State
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Copy StringCreated - The date and time the DB system backup copy was created, as described by RFC 3339.
- time
Created String - The time the backup record was created.
- validation
Status 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 stringStatus - Indicates whether the backup has been prepared successfully. PREPARED: The backup is prepared one. NOT_PREPARED: The backup is not prepared.
- backup
Size numberIn Gbs - The size of the backup in base-2 (IEC) gibibytes. (GiB).
- backup
Type string - The type of backup.
- compartment
Id string - The compartment OCID.
- creation
Type string - Backup creationType
- data
Storage numberSize In Gb - DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs.
- db
System stringId - The DB System OCID.
- db
System GetSnapshot Summaries Mysql Backups Backup Db System Snapshot Summary[] - {[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.
- display
Name string - A filter to return only the resource matching the given display name exactly.
- encrypt
Datas GetMysql Backups Backup Encrypt Data[] - Encrypt data details.
- {[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
- immediate
Source stringBackup Id - The OCID of the immediate source DB system backup from which this DB system backup was copied.
- lifecycle
Details string - Additional information about the current lifecycleState.
- mysql
Version string - The MySQL server version of the DB System used for backup.
- original
Source stringBackup Id - The OCID of the original source DB system backup from which this DB system backup was copied.
- retention
In numberDays - Number of days to retain this backup.
- shape
Name string - The shape of the DB System instance used for backup.
- soft
Delete string - Backup Soft Delete
- state string
- Backup Lifecycle State
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Copy stringCreated - The date and time the DB system backup copy was created, as described by RFC 3339.
- time
Created string - The time the backup record was created.
- validation
Status 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_ strstatus - Indicates whether the backup has been prepared successfully. PREPARED: The backup is prepared one. NOT_PREPARED: The backup is not prepared.
- backup_
size_ intin_ gbs - 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_ intsize_ in_ gb - DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs.
- db_
system_ strid - The DB System OCID.
- db_
system_ Sequence[Getsnapshot_ summaries Mysql Backups Backup Db System Snapshot Summary] - 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[GetMysql Backups Backup Encrypt Data] - Encrypt data details.
- 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_ strbackup_ id - 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_ strbackup_ id - The OCID of the original source DB system backup from which this DB system backup was copied.
- retention_
in_ intdays - 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
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
copy_ strcreated - 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.
- backup
Preparation StringStatus - Indicates whether the backup has been prepared successfully. PREPARED: The backup is prepared one. NOT_PREPARED: The backup is not prepared.
- backup
Size NumberIn Gbs - The size of the backup in base-2 (IEC) gibibytes. (GiB).
- backup
Type String - The type of backup.
- compartment
Id String - The compartment OCID.
- creation
Type String - Backup creationType
- data
Storage NumberSize In Gb - DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs.
- db
System StringId - The DB System OCID.
- db
System List<Property Map>Snapshot Summaries - 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.
- display
Name String - A filter to return only the resource matching the given display name exactly.
- encrypt
Datas List<Property Map> - Encrypt data details.
- 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
- immediate
Source StringBackup Id - The OCID of the immediate source DB system backup from which this DB system backup was copied.
- lifecycle
Details String - Additional information about the current lifecycleState.
- mysql
Version String - The MySQL server version of the DB System used for backup.
- original
Source StringBackup Id - The OCID of the original source DB system backup from which this DB system backup was copied.
- retention
In NumberDays - Number of days to retain this backup.
- shape
Name String - The shape of the DB System instance used for backup.
- soft
Delete String - Backup Soft Delete
- state String
- Backup Lifecycle State
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Copy StringCreated - The date and time the DB system backup copy was created, as described by RFC 3339.
- time
Created String - The time the backup record was created.
- validation
Status 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
- Display
Name 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 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 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 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.
- display
Name 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
- Key
Generation stringType - Select whether to use Oracle-managed key (SYSTEM) or your own key (BYOK).
- Key
Id string - The OCID of the key to use.
- Key
Generation stringType - Select whether to use Oracle-managed key (SYSTEM) or your own key (BYOK).
- Key
Id string - The OCID of the key to use.
- key
Generation StringType - Select whether to use Oracle-managed key (SYSTEM) or your own key (BYOK).
- key
Id String - The OCID of the key to use.
- key
Generation stringType - Select whether to use Oracle-managed key (SYSTEM) or your own key (BYOK).
- key
Id string - The OCID of the key to use.
- key_
generation_ strtype - Select whether to use Oracle-managed key (SYSTEM) or your own key (BYOK).
- key_
id str - The OCID of the key to use.
- key
Generation StringType - Select whether to use Oracle-managed key (SYSTEM) or your own key (BYOK).
- key
Id String - The OCID of the key to use.
GetMysqlBackupsFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.