Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.Mysql.getMysqlBackups
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 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: testBackup.id,
creationType: mysqlBackupCreationType,
dbSystemId: testDbSystem.id,
displayName: mysqlBackupDisplayName,
state: mysqlBackupState,
});
import pulumi
import pulumi_oci as oci
test_mysql_backups = oci.Mysql.get_mysql_backups(compartment_id=compartment_id,
backup_id=test_backup["id"],
creation_type=mysql_backup_creation_type,
db_system_id=test_db_system["id"],
display_name=mysql_backup_display_name,
state=mysql_backup_state)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/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(testBackup.Id),
CreationType: pulumi.StringRef(mysqlBackupCreationType),
DbSystemId: pulumi.StringRef(testDbSystem.Id),
DisplayName: pulumi.StringRef(mysqlBackupDisplayName),
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 = testBackup.Id,
CreationType = mysqlBackupCreationType,
DbSystemId = testDbSystem.Id,
DisplayName = mysqlBackupDisplayName,
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(testBackup.id())
.creationType(mysqlBackupCreationType)
.dbSystemId(testDbSystem.id())
.displayName(mysqlBackupDisplayName)
.state(mysqlBackupState)
.build());
}
}
variables:
testMysqlBackups:
fn::invoke:
Function: oci:Mysql:getMysqlBackups
Arguments:
compartmentId: ${compartmentId}
backupId: ${testBackup.id}
creationType: ${mysqlBackupCreationType}
dbSystemId: ${testDbSystem.id}
displayName: ${mysqlBackupDisplayName}
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[_mysql.GetMysqlBackupsFilter]] = 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[_mysql.GetMysqlBackupsFilterArgs]]]] = 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)
// Output-based functions aren't available in Java yet
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> - 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 - 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> - 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[] - 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[mysql.
Get Mysql Backups Filter] - 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>
- 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> - 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 - 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> - 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[] - state string
- The state of the backup.
- backups
Sequence[mysql.
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[mysql.
Get Mysql Backups Filter] - 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>
- state String
- The state of the backup.
Supporting Types
GetMysqlBackupsBackup
- 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 - Initial size of the data volume in GiBs that will be created and attached.
- Db
System stringId - The DB System OCID.
- Db
System List<GetSnapshots Mysql Backups Backup Db System Snapshot> - Snapshot of the DbSystem details at the time of the backup
- Dictionary<string, object>
- 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.
- Dictionary<string, object>
- 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
- Lifecycle
Details string - Additional information about the current lifecycleState.
- Mysql
Version string - The MySQL server version of the DB System used for backup.
- Retention
In intDays - Number of days to retain this backup.
- Shape
Name string - The shape of the DB System instance used for backup.
- State string
- Backup Lifecycle State
- Time
Created string - The time the backup record was created.
- Time
Updated string - The time at which the backup was updated.
- 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 - Initial size of the data volume in GiBs that will be created and attached.
- Db
System stringId - The DB System OCID.
- Db
System []GetSnapshots Mysql Backups Backup Db System Snapshot - Snapshot of the DbSystem details at the time of the backup
- map[string]interface{}
- 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.
- map[string]interface{}
- 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
- Lifecycle
Details string - Additional information about the current lifecycleState.
- Mysql
Version string - The MySQL server version of the DB System used for backup.
- Retention
In intDays - Number of days to retain this backup.
- Shape
Name string - The shape of the DB System instance used for backup.
- State string
- Backup Lifecycle State
- Time
Created string - The time the backup record was created.
- Time
Updated string - The time at which the backup was updated.
- 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 - Initial size of the data volume in GiBs that will be created and attached.
- db
System StringId - The DB System OCID.
- db
System List<GetSnapshots Backups Backup Db System Snapshot> - Snapshot of the DbSystem details at the time of the backup
- Map<String,Object>
- 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.
- Map<String,Object>
- 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
- lifecycle
Details String - Additional information about the current lifecycleState.
- mysql
Version String - The MySQL server version of the DB System used for backup.
- retention
In IntegerDays - Number of days to retain this backup.
- shape
Name String - The shape of the DB System instance used for backup.
- state String
- Backup Lifecycle State
- time
Created String - The time the backup record was created.
- time
Updated String - The time at which the backup was updated.
- 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 - Initial size of the data volume in GiBs that will be created and attached.
- db
System stringId - The DB System OCID.
- db
System GetSnapshots Mysql Backups Backup Db System Snapshot[] - Snapshot of the DbSystem details at the time of the backup
- {[key: string]: any}
- 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.
- {[key: string]: any}
- 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
- lifecycle
Details string - Additional information about the current lifecycleState.
- mysql
Version string - The MySQL server version of the DB System used for backup.
- retention
In numberDays - Number of days to retain this backup.
- shape
Name string - The shape of the DB System instance used for backup.
- state string
- Backup Lifecycle State
- time
Created string - The time the backup record was created.
- time
Updated string - The time at which the backup was updated.
- 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 - Initial size of the data volume in GiBs that will be created and attached.
- db_
system_ strid - The DB System OCID.
- db_
system_ Sequence[mysql.snapshots Get Mysql Backups Backup Db System Snapshot] - Snapshot of the DbSystem details at the time of the backup
- Mapping[str, Any]
- 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.
- Mapping[str, Any]
- 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
- lifecycle_
details str - Additional information about the current lifecycleState.
- mysql_
version str - The MySQL server version of the DB System used for backup.
- retention_
in_ intdays - Number of days to retain this backup.
- shape_
name str - The shape of the DB System instance used for backup.
- state str
- Backup Lifecycle State
- time_
created str - The time the backup record was created.
- time_
updated str - The time at which the backup was updated.
- 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 - Initial size of the data volume in GiBs that will be created and attached.
- db
System StringId - The DB System OCID.
- db
System List<Property Map>Snapshots - Snapshot of the DbSystem details at the time of the backup
- Map<Any>
- 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.
- Map<Any>
- 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
- lifecycle
Details String - Additional information about the current lifecycleState.
- mysql
Version String - The MySQL server version of the DB System used for backup.
- retention
In NumberDays - Number of days to retain this backup.
- shape
Name String - The shape of the DB System instance used for backup.
- state String
- Backup Lifecycle State
- time
Created String - The time the backup record was created.
- time
Updated String - The time at which the backup was updated.
GetMysqlBackupsBackupDbSystemSnapshot
- Admin
Username string - The username for the administrative user.
- Availability
Domain string - The Availability Domain where the primary DB System should be located.
- Backup
Policies List<GetMysql Backups Backup Db System Snapshot Backup Policy> - The Backup policy for the DB System.
- Compartment
Id string - The compartment OCID.
- Configuration
Id string - The OCID of the Configuration to be used for Instances in this DB System.
- Crash
Recovery string - Whether to run the DB System with InnoDB Redo Logs and the Double Write Buffer enabled or disabled, and whether to enable or disable syncing of the Binary Logs.
- Data
Storage intSize In Gb - Initial size of the data volume in GiBs that will be created and attached.
- Database
Management string - Whether to enable monitoring via the Database Management service.
- Dictionary<string, object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Deletion
Policies List<GetMysql Backups Backup Db System Snapshot Deletion Policy> - The Deletion policy for the DB System.
- 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.
- Endpoints
List<Get
Mysql Backups Backup Db System Snapshot Endpoint> - The network endpoints available for this DB System.
- Fault
Domain string - The name of the Fault Domain the DB System is located in.
- Dictionary<string, object>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Hostname
Label string - The hostname for the primary endpoint of the DB System. Used for DNS. The value is the hostname portion of the primary private IP's fully qualified domain name (FQDN) (for example, "dbsystem-1" in FQDN "dbsystem-1.subnet123.vcn1.oraclevcn.com"). Must be unique across all VNICs in the subnet and comply with RFC 952 and RFC 1123.
- Id string
- OCID of the backup itself
- Ip
Address string - The IP address the DB System is configured to listen on. A private IP address of the primary endpoint of the DB System. Must be an available IP address within the subnet's CIDR. This will be a "dotted-quad" style IPv4 address.
- Is
Highly boolAvailable - Specifies if the DB System is highly available.
- Maintenances
List<Get
Mysql Backups Backup Db System Snapshot Maintenance> - The Maintenance Policy for the DB System or Read Replica that this model is included in.
- Mysql
Version string - The MySQL server version of the DB System used for backup.
- Port int
- The port for primary endpoint of the DB System to listen on.
- Port
X int - The network port on which X Plugin listens for TCP/IP connections. This is the X Plugin equivalent of port.
- Secure
Connections List<GetMysql Backups Backup Db System Snapshot Secure Connection> - Secure connection configuration details.
- Shape
Name string - The shape of the DB System instance used for backup.
- Subnet
Id string - The OCID of the subnet the DB System is associated with.
- Admin
Username string - The username for the administrative user.
- Availability
Domain string - The Availability Domain where the primary DB System should be located.
- Backup
Policies []GetMysql Backups Backup Db System Snapshot Backup Policy - The Backup policy for the DB System.
- Compartment
Id string - The compartment OCID.
- Configuration
Id string - The OCID of the Configuration to be used for Instances in this DB System.
- Crash
Recovery string - Whether to run the DB System with InnoDB Redo Logs and the Double Write Buffer enabled or disabled, and whether to enable or disable syncing of the Binary Logs.
- Data
Storage intSize In Gb - Initial size of the data volume in GiBs that will be created and attached.
- Database
Management string - Whether to enable monitoring via the Database Management service.
- map[string]interface{}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Deletion
Policies []GetMysql Backups Backup Db System Snapshot Deletion Policy - The Deletion policy for the DB System.
- 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.
- Endpoints
[]Get
Mysql Backups Backup Db System Snapshot Endpoint - The network endpoints available for this DB System.
- Fault
Domain string - The name of the Fault Domain the DB System is located in.
- map[string]interface{}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Hostname
Label string - The hostname for the primary endpoint of the DB System. Used for DNS. The value is the hostname portion of the primary private IP's fully qualified domain name (FQDN) (for example, "dbsystem-1" in FQDN "dbsystem-1.subnet123.vcn1.oraclevcn.com"). Must be unique across all VNICs in the subnet and comply with RFC 952 and RFC 1123.
- Id string
- OCID of the backup itself
- Ip
Address string - The IP address the DB System is configured to listen on. A private IP address of the primary endpoint of the DB System. Must be an available IP address within the subnet's CIDR. This will be a "dotted-quad" style IPv4 address.
- Is
Highly boolAvailable - Specifies if the DB System is highly available.
- Maintenances
[]Get
Mysql Backups Backup Db System Snapshot Maintenance - The Maintenance Policy for the DB System or Read Replica that this model is included in.
- Mysql
Version string - The MySQL server version of the DB System used for backup.
- Port int
- The port for primary endpoint of the DB System to listen on.
- Port
X int - The network port on which X Plugin listens for TCP/IP connections. This is the X Plugin equivalent of port.
- Secure
Connections []GetMysql Backups Backup Db System Snapshot Secure Connection - Secure connection configuration details.
- Shape
Name string - The shape of the DB System instance used for backup.
- Subnet
Id string - The OCID of the subnet the DB System is associated with.
- admin
Username String - The username for the administrative user.
- availability
Domain String - The Availability Domain where the primary DB System should be located.
- backup
Policies List<GetBackups Backup Db System Snapshot Backup Policy> - The Backup policy for the DB System.
- compartment
Id String - The compartment OCID.
- configuration
Id String - The OCID of the Configuration to be used for Instances in this DB System.
- crash
Recovery String - Whether to run the DB System with InnoDB Redo Logs and the Double Write Buffer enabled or disabled, and whether to enable or disable syncing of the Binary Logs.
- data
Storage IntegerSize In Gb - Initial size of the data volume in GiBs that will be created and attached.
- database
Management String - Whether to enable monitoring via the Database Management service.
- Map<String,Object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- deletion
Policies List<GetBackups Backup Db System Snapshot Deletion Policy> - The Deletion policy for the DB System.
- 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.
- endpoints
List<Get
Backups Backup Db System Snapshot Endpoint> - The network endpoints available for this DB System.
- fault
Domain String - The name of the Fault Domain the DB System is located in.
- Map<String,Object>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- hostname
Label String - The hostname for the primary endpoint of the DB System. Used for DNS. The value is the hostname portion of the primary private IP's fully qualified domain name (FQDN) (for example, "dbsystem-1" in FQDN "dbsystem-1.subnet123.vcn1.oraclevcn.com"). Must be unique across all VNICs in the subnet and comply with RFC 952 and RFC 1123.
- id String
- OCID of the backup itself
- ip
Address String - The IP address the DB System is configured to listen on. A private IP address of the primary endpoint of the DB System. Must be an available IP address within the subnet's CIDR. This will be a "dotted-quad" style IPv4 address.
- is
Highly BooleanAvailable - Specifies if the DB System is highly available.
- maintenances
List<Get
Backups Backup Db System Snapshot Maintenance> - The Maintenance Policy for the DB System or Read Replica that this model is included in.
- mysql
Version String - The MySQL server version of the DB System used for backup.
- port Integer
- The port for primary endpoint of the DB System to listen on.
- port
X Integer - The network port on which X Plugin listens for TCP/IP connections. This is the X Plugin equivalent of port.
- secure
Connections List<GetBackups Backup Db System Snapshot Secure Connection> - Secure connection configuration details.
- shape
Name String - The shape of the DB System instance used for backup.
- subnet
Id String - The OCID of the subnet the DB System is associated with.
- admin
Username string - The username for the administrative user.
- availability
Domain string - The Availability Domain where the primary DB System should be located.
- backup
Policies GetMysql Backups Backup Db System Snapshot Backup Policy[] - The Backup policy for the DB System.
- compartment
Id string - The compartment OCID.
- configuration
Id string - The OCID of the Configuration to be used for Instances in this DB System.
- crash
Recovery string - Whether to run the DB System with InnoDB Redo Logs and the Double Write Buffer enabled or disabled, and whether to enable or disable syncing of the Binary Logs.
- data
Storage numberSize In Gb - Initial size of the data volume in GiBs that will be created and attached.
- database
Management string - Whether to enable monitoring via the Database Management service.
- {[key: string]: any}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- deletion
Policies GetMysql Backups Backup Db System Snapshot Deletion Policy[] - The Deletion policy for the DB System.
- 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.
- endpoints
Get
Mysql Backups Backup Db System Snapshot Endpoint[] - The network endpoints available for this DB System.
- fault
Domain string - The name of the Fault Domain the DB System is located in.
- {[key: string]: any}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- hostname
Label string - The hostname for the primary endpoint of the DB System. Used for DNS. The value is the hostname portion of the primary private IP's fully qualified domain name (FQDN) (for example, "dbsystem-1" in FQDN "dbsystem-1.subnet123.vcn1.oraclevcn.com"). Must be unique across all VNICs in the subnet and comply with RFC 952 and RFC 1123.
- id string
- OCID of the backup itself
- ip
Address string - The IP address the DB System is configured to listen on. A private IP address of the primary endpoint of the DB System. Must be an available IP address within the subnet's CIDR. This will be a "dotted-quad" style IPv4 address.
- is
Highly booleanAvailable - Specifies if the DB System is highly available.
- maintenances
Get
Mysql Backups Backup Db System Snapshot Maintenance[] - The Maintenance Policy for the DB System or Read Replica that this model is included in.
- mysql
Version string - The MySQL server version of the DB System used for backup.
- port number
- The port for primary endpoint of the DB System to listen on.
- port
X number - The network port on which X Plugin listens for TCP/IP connections. This is the X Plugin equivalent of port.
- secure
Connections GetMysql Backups Backup Db System Snapshot Secure Connection[] - Secure connection configuration details.
- shape
Name string - The shape of the DB System instance used for backup.
- subnet
Id string - The OCID of the subnet the DB System is associated with.
- admin_
username str - The username for the administrative user.
- availability_
domain str - The Availability Domain where the primary DB System should be located.
- backup_
policies Sequence[mysql.Get Mysql Backups Backup Db System Snapshot Backup Policy] - The Backup policy for the DB System.
- compartment_
id str - The compartment OCID.
- configuration_
id str - The OCID of the Configuration to be used for Instances in this DB System.
- crash_
recovery str - Whether to run the DB System with InnoDB Redo Logs and the Double Write Buffer enabled or disabled, and whether to enable or disable syncing of the Binary Logs.
- data_
storage_ intsize_ in_ gb - Initial size of the data volume in GiBs that will be created and attached.
- database_
management str - Whether to enable monitoring via the Database Management service.
- Mapping[str, Any]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- deletion_
policies Sequence[mysql.Get Mysql Backups Backup Db System Snapshot Deletion Policy] - The Deletion policy for the DB System.
- 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.
- endpoints
Sequence[mysql.
Get Mysql Backups Backup Db System Snapshot Endpoint] - The network endpoints available for this DB System.
- fault_
domain str - The name of the Fault Domain the DB System is located in.
- Mapping[str, Any]
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- hostname_
label str - The hostname for the primary endpoint of the DB System. Used for DNS. The value is the hostname portion of the primary private IP's fully qualified domain name (FQDN) (for example, "dbsystem-1" in FQDN "dbsystem-1.subnet123.vcn1.oraclevcn.com"). Must be unique across all VNICs in the subnet and comply with RFC 952 and RFC 1123.
- id str
- OCID of the backup itself
- ip_
address str - The IP address the DB System is configured to listen on. A private IP address of the primary endpoint of the DB System. Must be an available IP address within the subnet's CIDR. This will be a "dotted-quad" style IPv4 address.
- is_
highly_ boolavailable - Specifies if the DB System is highly available.
- maintenances
Sequence[mysql.
Get Mysql Backups Backup Db System Snapshot Maintenance] - The Maintenance Policy for the DB System or Read Replica that this model is included in.
- mysql_
version str - The MySQL server version of the DB System used for backup.
- port int
- The port for primary endpoint of the DB System to listen on.
- port_
x int - The network port on which X Plugin listens for TCP/IP connections. This is the X Plugin equivalent of port.
- secure_
connections Sequence[mysql.Get Mysql Backups Backup Db System Snapshot Secure Connection] - Secure connection configuration details.
- shape_
name str - The shape of the DB System instance used for backup.
- subnet_
id str - The OCID of the subnet the DB System is associated with.
- admin
Username String - The username for the administrative user.
- availability
Domain String - The Availability Domain where the primary DB System should be located.
- backup
Policies List<Property Map> - The Backup policy for the DB System.
- compartment
Id String - The compartment OCID.
- configuration
Id String - The OCID of the Configuration to be used for Instances in this DB System.
- crash
Recovery String - Whether to run the DB System with InnoDB Redo Logs and the Double Write Buffer enabled or disabled, and whether to enable or disable syncing of the Binary Logs.
- data
Storage NumberSize In Gb - Initial size of the data volume in GiBs that will be created and attached.
- database
Management String - Whether to enable monitoring via the Database Management service.
- Map<Any>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- deletion
Policies List<Property Map> - The Deletion policy for the DB System.
- 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.
- endpoints List<Property Map>
- The network endpoints available for this DB System.
- fault
Domain String - The name of the Fault Domain the DB System is located in.
- Map<Any>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- hostname
Label String - The hostname for the primary endpoint of the DB System. Used for DNS. The value is the hostname portion of the primary private IP's fully qualified domain name (FQDN) (for example, "dbsystem-1" in FQDN "dbsystem-1.subnet123.vcn1.oraclevcn.com"). Must be unique across all VNICs in the subnet and comply with RFC 952 and RFC 1123.
- id String
- OCID of the backup itself
- ip
Address String - The IP address the DB System is configured to listen on. A private IP address of the primary endpoint of the DB System. Must be an available IP address within the subnet's CIDR. This will be a "dotted-quad" style IPv4 address.
- is
Highly BooleanAvailable - Specifies if the DB System is highly available.
- maintenances List<Property Map>
- The Maintenance Policy for the DB System or Read Replica that this model is included in.
- mysql
Version String - The MySQL server version of the DB System used for backup.
- port Number
- The port for primary endpoint of the DB System to listen on.
- port
X Number - The network port on which X Plugin listens for TCP/IP connections. This is the X Plugin equivalent of port.
- secure
Connections List<Property Map> - Secure connection configuration details.
- shape
Name String - The shape of the DB System instance used for backup.
- subnet
Id String - The OCID of the subnet the DB System is associated with.
GetMysqlBackupsBackupDbSystemSnapshotBackupPolicy
- Dictionary<string, object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Dictionary<string, object>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Is
Enabled bool - Specifies if PITR is enabled or disabled.
- Pitr
Policies List<GetMysql Backups Backup Db System Snapshot Backup Policy Pitr Policy> - The PITR policy for the DB System.
- Retention
In intDays - Number of days to retain this backup.
- Window
Start stringTime - The start time of the maintenance window.
- map[string]interface{}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- map[string]interface{}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Is
Enabled bool - Specifies if PITR is enabled or disabled.
- Pitr
Policies []GetMysql Backups Backup Db System Snapshot Backup Policy Pitr Policy - The PITR policy for the DB System.
- Retention
In intDays - Number of days to retain this backup.
- Window
Start stringTime - The start time of the maintenance window.
- Map<String,Object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Map<String,Object>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is
Enabled Boolean - Specifies if PITR is enabled or disabled.
- pitr
Policies List<GetBackups Backup Db System Snapshot Backup Policy Pitr Policy> - The PITR policy for the DB System.
- retention
In IntegerDays - Number of days to retain this backup.
- window
Start StringTime - The start time of the maintenance window.
- {[key: string]: any}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- {[key: string]: any}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is
Enabled boolean - Specifies if PITR is enabled or disabled.
- pitr
Policies GetMysql Backups Backup Db System Snapshot Backup Policy Pitr Policy[] - The PITR policy for the DB System.
- retention
In numberDays - Number of days to retain this backup.
- window
Start stringTime - The start time of the maintenance window.
- Mapping[str, Any]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Mapping[str, Any]
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is_
enabled bool - Specifies if PITR is enabled or disabled.
- pitr_
policies Sequence[mysql.Get Mysql Backups Backup Db System Snapshot Backup Policy Pitr Policy] - The PITR policy for the DB System.
- retention_
in_ intdays - Number of days to retain this backup.
- window_
start_ strtime - The start time of the maintenance window.
- Map<Any>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Map<Any>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is
Enabled Boolean - Specifies if PITR is enabled or disabled.
- pitr
Policies List<Property Map> - The PITR policy for the DB System.
- retention
In NumberDays - Number of days to retain this backup.
- window
Start StringTime - The start time of the maintenance window.
GetMysqlBackupsBackupDbSystemSnapshotBackupPolicyPitrPolicy
- Is
Enabled bool - Specifies if PITR is enabled or disabled.
- Is
Enabled bool - Specifies if PITR is enabled or disabled.
- is
Enabled Boolean - Specifies if PITR is enabled or disabled.
- is
Enabled boolean - Specifies if PITR is enabled or disabled.
- is_
enabled bool - Specifies if PITR is enabled or disabled.
- is
Enabled Boolean - Specifies if PITR is enabled or disabled.
GetMysqlBackupsBackupDbSystemSnapshotDeletionPolicy
- Automatic
Backup stringRetention - Specifies if any automatic backups created for a DB System should be retained or deleted when the DB System is deleted.
- Final
Backup string - Specifies whether or not a backup is taken when the DB System is deleted. REQUIRE_FINAL_BACKUP: a backup is taken if the DB System is deleted. SKIP_FINAL_BACKUP: a backup is not taken if the DB System is deleted.
- Is
Delete boolProtected - Specifies whether the DB System can be deleted. Set to true to prevent deletion, false (default) to allow.
- Automatic
Backup stringRetention - Specifies if any automatic backups created for a DB System should be retained or deleted when the DB System is deleted.
- Final
Backup string - Specifies whether or not a backup is taken when the DB System is deleted. REQUIRE_FINAL_BACKUP: a backup is taken if the DB System is deleted. SKIP_FINAL_BACKUP: a backup is not taken if the DB System is deleted.
- Is
Delete boolProtected - Specifies whether the DB System can be deleted. Set to true to prevent deletion, false (default) to allow.
- automatic
Backup StringRetention - Specifies if any automatic backups created for a DB System should be retained or deleted when the DB System is deleted.
- final
Backup String - Specifies whether or not a backup is taken when the DB System is deleted. REQUIRE_FINAL_BACKUP: a backup is taken if the DB System is deleted. SKIP_FINAL_BACKUP: a backup is not taken if the DB System is deleted.
- is
Delete BooleanProtected - Specifies whether the DB System can be deleted. Set to true to prevent deletion, false (default) to allow.
- automatic
Backup stringRetention - Specifies if any automatic backups created for a DB System should be retained or deleted when the DB System is deleted.
- final
Backup string - Specifies whether or not a backup is taken when the DB System is deleted. REQUIRE_FINAL_BACKUP: a backup is taken if the DB System is deleted. SKIP_FINAL_BACKUP: a backup is not taken if the DB System is deleted.
- is
Delete booleanProtected - Specifies whether the DB System can be deleted. Set to true to prevent deletion, false (default) to allow.
- automatic_
backup_ strretention - Specifies if any automatic backups created for a DB System should be retained or deleted when the DB System is deleted.
- final_
backup str - Specifies whether or not a backup is taken when the DB System is deleted. REQUIRE_FINAL_BACKUP: a backup is taken if the DB System is deleted. SKIP_FINAL_BACKUP: a backup is not taken if the DB System is deleted.
- is_
delete_ boolprotected - Specifies whether the DB System can be deleted. Set to true to prevent deletion, false (default) to allow.
- automatic
Backup StringRetention - Specifies if any automatic backups created for a DB System should be retained or deleted when the DB System is deleted.
- final
Backup String - Specifies whether or not a backup is taken when the DB System is deleted. REQUIRE_FINAL_BACKUP: a backup is taken if the DB System is deleted. SKIP_FINAL_BACKUP: a backup is not taken if the DB System is deleted.
- is
Delete BooleanProtected - Specifies whether the DB System can be deleted. Set to true to prevent deletion, false (default) to allow.
GetMysqlBackupsBackupDbSystemSnapshotEndpoint
- Hostname string
- The network address of the DB System.
- Ip
Address string - The IP address the DB System is configured to listen on. A private IP address of the primary endpoint of the DB System. Must be an available IP address within the subnet's CIDR. This will be a "dotted-quad" style IPv4 address.
- Modes List<string>
- The access modes from the client that this endpoint supports.
- Port int
- The port for primary endpoint of the DB System to listen on.
- Port
X int - The network port on which X Plugin listens for TCP/IP connections. This is the X Plugin equivalent of port.
- Resource
Id string - The OCID of the resource that this endpoint is attached to.
- Resource
Type string - The type of endpoint that clients and connectors can connect to.
- Status string
- The state of the endpoints, as far as it can seen from the DB System. There may be some inconsistency with the actual state of the MySQL service.
- Status
Details string - Additional information about the current endpoint status.
- Hostname string
- The network address of the DB System.
- Ip
Address string - The IP address the DB System is configured to listen on. A private IP address of the primary endpoint of the DB System. Must be an available IP address within the subnet's CIDR. This will be a "dotted-quad" style IPv4 address.
- Modes []string
- The access modes from the client that this endpoint supports.
- Port int
- The port for primary endpoint of the DB System to listen on.
- Port
X int - The network port on which X Plugin listens for TCP/IP connections. This is the X Plugin equivalent of port.
- Resource
Id string - The OCID of the resource that this endpoint is attached to.
- Resource
Type string - The type of endpoint that clients and connectors can connect to.
- Status string
- The state of the endpoints, as far as it can seen from the DB System. There may be some inconsistency with the actual state of the MySQL service.
- Status
Details string - Additional information about the current endpoint status.
- hostname String
- The network address of the DB System.
- ip
Address String - The IP address the DB System is configured to listen on. A private IP address of the primary endpoint of the DB System. Must be an available IP address within the subnet's CIDR. This will be a "dotted-quad" style IPv4 address.
- modes List<String>
- The access modes from the client that this endpoint supports.
- port Integer
- The port for primary endpoint of the DB System to listen on.
- port
X Integer - The network port on which X Plugin listens for TCP/IP connections. This is the X Plugin equivalent of port.
- resource
Id String - The OCID of the resource that this endpoint is attached to.
- resource
Type String - The type of endpoint that clients and connectors can connect to.
- status String
- The state of the endpoints, as far as it can seen from the DB System. There may be some inconsistency with the actual state of the MySQL service.
- status
Details String - Additional information about the current endpoint status.
- hostname string
- The network address of the DB System.
- ip
Address string - The IP address the DB System is configured to listen on. A private IP address of the primary endpoint of the DB System. Must be an available IP address within the subnet's CIDR. This will be a "dotted-quad" style IPv4 address.
- modes string[]
- The access modes from the client that this endpoint supports.
- port number
- The port for primary endpoint of the DB System to listen on.
- port
X number - The network port on which X Plugin listens for TCP/IP connections. This is the X Plugin equivalent of port.
- resource
Id string - The OCID of the resource that this endpoint is attached to.
- resource
Type string - The type of endpoint that clients and connectors can connect to.
- status string
- The state of the endpoints, as far as it can seen from the DB System. There may be some inconsistency with the actual state of the MySQL service.
- status
Details string - Additional information about the current endpoint status.
- hostname str
- The network address of the DB System.
- ip_
address str - The IP address the DB System is configured to listen on. A private IP address of the primary endpoint of the DB System. Must be an available IP address within the subnet's CIDR. This will be a "dotted-quad" style IPv4 address.
- modes Sequence[str]
- The access modes from the client that this endpoint supports.
- port int
- The port for primary endpoint of the DB System to listen on.
- port_
x int - The network port on which X Plugin listens for TCP/IP connections. This is the X Plugin equivalent of port.
- resource_
id str - The OCID of the resource that this endpoint is attached to.
- resource_
type str - The type of endpoint that clients and connectors can connect to.
- status str
- The state of the endpoints, as far as it can seen from the DB System. There may be some inconsistency with the actual state of the MySQL service.
- status_
details str - Additional information about the current endpoint status.
- hostname String
- The network address of the DB System.
- ip
Address String - The IP address the DB System is configured to listen on. A private IP address of the primary endpoint of the DB System. Must be an available IP address within the subnet's CIDR. This will be a "dotted-quad" style IPv4 address.
- modes List<String>
- The access modes from the client that this endpoint supports.
- port Number
- The port for primary endpoint of the DB System to listen on.
- port
X Number - The network port on which X Plugin listens for TCP/IP connections. This is the X Plugin equivalent of port.
- resource
Id String - The OCID of the resource that this endpoint is attached to.
- resource
Type String - The type of endpoint that clients and connectors can connect to.
- status String
- The state of the endpoints, as far as it can seen from the DB System. There may be some inconsistency with the actual state of the MySQL service.
- status
Details String - Additional information about the current endpoint status.
GetMysqlBackupsBackupDbSystemSnapshotMaintenance
- Window
Start stringTime - The start time of the maintenance window.
- Window
Start stringTime - The start time of the maintenance window.
- window
Start StringTime - The start time of the maintenance window.
- window
Start stringTime - The start time of the maintenance window.
- window_
start_ strtime - The start time of the maintenance window.
- window
Start StringTime - The start time of the maintenance window.
GetMysqlBackupsBackupDbSystemSnapshotSecureConnection
- Certificate
Generation stringType - Select whether to use MySQL Database Service-managed certificate (SYSTEM) or your own certificate (BYOC).
- Certificate
Id string - The OCID of the certificate to use.
- Certificate
Generation stringType - Select whether to use MySQL Database Service-managed certificate (SYSTEM) or your own certificate (BYOC).
- Certificate
Id string - The OCID of the certificate to use.
- certificate
Generation StringType - Select whether to use MySQL Database Service-managed certificate (SYSTEM) or your own certificate (BYOC).
- certificate
Id String - The OCID of the certificate to use.
- certificate
Generation stringType - Select whether to use MySQL Database Service-managed certificate (SYSTEM) or your own certificate (BYOC).
- certificate
Id string - The OCID of the certificate to use.
- certificate_
generation_ strtype - Select whether to use MySQL Database Service-managed certificate (SYSTEM) or your own certificate (BYOC).
- certificate_
id str - The OCID of the certificate to use.
- certificate
Generation StringType - Select whether to use MySQL Database Service-managed certificate (SYSTEM) or your own certificate (BYOC).
- certificate
Id String - The OCID of the certificate 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.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi