Oracle Cloud Infrastructure
getMysqlBackups
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
using Pulumi;
using Oci = Pulumi.Oci;
class MyStack : Stack
{
public MyStack()
{
var testMysqlBackups = Output.Create(Oci.Mysql.GetMysqlBackups.InvokeAsync(new Oci.Mysql.GetMysqlBackupsArgs
{
CompartmentId = @var.Compartment_id,
BackupId = oci_mysql_mysql_backup.Test_backup.Id,
CreationType = @var.Mysql_backup_creation_type,
DbSystemId = oci_mysql_mysql_db_system.Test_db_system.Id,
DisplayName = @var.Mysql_backup_display_name,
State = @var.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: _var.Compartment_id,
BackupId: pulumi.StringRef(oci_mysql_mysql_backup.Test_backup.Id),
CreationType: pulumi.StringRef(_var.Mysql_backup_creation_type),
DbSystemId: pulumi.StringRef(oci_mysql_mysql_db_system.Test_db_system.Id),
DisplayName: pulumi.StringRef(_var.Mysql_backup_display_name),
State: pulumi.StringRef(_var.Mysql_backup_state),
}, nil)
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_oci as oci
test_mysql_backups = oci.Mysql.get_mysql_backups(compartment_id=var["compartment_id"],
backup_id=oci_mysql_mysql_backup["test_backup"]["id"],
creation_type=var["mysql_backup_creation_type"],
db_system_id=oci_mysql_mysql_db_system["test_db_system"]["id"],
display_name=var["mysql_backup_display_name"],
state=var["mysql_backup_state"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testMysqlBackups = oci.Mysql.getMysqlBackups({
compartmentId: _var.compartment_id,
backupId: oci_mysql_mysql_backup.test_backup.id,
creationType: _var.mysql_backup_creation_type,
dbSystemId: oci_mysql_mysql_db_system.test_db_system.id,
displayName: _var.mysql_backup_display_name,
state: _var.mysql_backup_state,
});
Coming soon!
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
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
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
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_ Getsnapshots 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.
- 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 If the policy is to enable high availability of the instance, by maintaining secondary/failover capacity as necessary.
- Maintenances
List<Get
Mysql Backups Backup Db System Snapshot Maintenance> The Maintenance Policy for the DB System.
- 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.
- 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.
- 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 If the policy is to enable high availability of the instance, by maintaining secondary/failover capacity as necessary.
- Maintenances
[]Get
Mysql Backups Backup Db System Snapshot Maintenance The Maintenance Policy for the DB System.
- 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.
- 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.
- 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 If the policy is to enable high availability of the instance, by maintaining secondary/failover capacity as necessary.
- maintenances
List<Get
Backups Backup Db System Snapshot Maintenance> The Maintenance Policy for the DB System.
- 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.
- 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.
- {[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 If the policy is to enable high availability of the instance, by maintaining secondary/failover capacity as necessary.
- maintenances
Get
Mysql Backups Backup Db System Snapshot Maintenance[] The Maintenance Policy for the DB System.
- 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.
- 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 GetMysql 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.
- 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 GetMysql 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
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 If the policy is to enable high availability of the instance, by maintaining secondary/failover capacity as necessary.
- maintenances
Get
Mysql Backups Backup Db System Snapshot Maintenance] The Maintenance Policy for the DB System.
- 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.
- 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.
- 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 If the policy is to enable high availability of the instance, by maintaining secondary/failover capacity as necessary.
- maintenances List<Property Map>
The Maintenance Policy for the DB System.
- 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.
- 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 If automated backups are enabled or disabled.
- 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 If automated backups are enabled or disabled.
- 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 If automated backups are enabled or disabled.
- 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 If automated backups are enabled or disabled.
- 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 If automated backups are enabled or disabled.
- 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 If automated backups are enabled or disabled.
- retention
In NumberDays Number of days to retain this backup.
- window
Start StringTime The start time of the maintenance window.
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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
GetMysqlBackupsFilter
Package Details
- Repository
- https://github.com/pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.