Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.Mysql.getMysqlBackup
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
This data source provides details about a specific Mysql Backup resource in Oracle Cloud Infrastructure MySQL Database service.
Get information about the specified Backup
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testMysqlBackup = oci.Mysql.getMysqlBackup({
backupId: testBackup.id,
});
import pulumi
import pulumi_oci as oci
test_mysql_backup = oci.Mysql.get_mysql_backup(backup_id=test_backup["id"])
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.GetMysqlBackup(ctx, &mysql.GetMysqlBackupArgs{
BackupId: testBackup.Id,
}, 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 testMysqlBackup = Oci.Mysql.GetMysqlBackup.Invoke(new()
{
BackupId = testBackup.Id,
});
});
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.GetMysqlBackupArgs;
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 testMysqlBackup = MysqlFunctions.getMysqlBackup(GetMysqlBackupArgs.builder()
.backupId(testBackup.id())
.build());
}
}
variables:
testMysqlBackup:
fn::invoke:
Function: oci:Mysql:getMysqlBackup
Arguments:
backupId: ${testBackup.id}
Using getMysqlBackup
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 getMysqlBackup(args: GetMysqlBackupArgs, opts?: InvokeOptions): Promise<GetMysqlBackupResult>
function getMysqlBackupOutput(args: GetMysqlBackupOutputArgs, opts?: InvokeOptions): Output<GetMysqlBackupResult>
def get_mysql_backup(backup_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMysqlBackupResult
def get_mysql_backup_output(backup_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMysqlBackupResult]
func GetMysqlBackup(ctx *Context, args *GetMysqlBackupArgs, opts ...InvokeOption) (*GetMysqlBackupResult, error)
func GetMysqlBackupOutput(ctx *Context, args *GetMysqlBackupOutputArgs, opts ...InvokeOption) GetMysqlBackupResultOutput
> Note: This function is named GetMysqlBackup
in the Go SDK.
public static class GetMysqlBackup
{
public static Task<GetMysqlBackupResult> InvokeAsync(GetMysqlBackupArgs args, InvokeOptions? opts = null)
public static Output<GetMysqlBackupResult> Invoke(GetMysqlBackupInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetMysqlBackupResult> getMysqlBackup(GetMysqlBackupArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Mysql/getMysqlBackup:getMysqlBackup
arguments:
# arguments dictionary
The following arguments are supported:
- Backup
Id string - The OCID of the Backup
- Backup
Id string - The OCID of the Backup
- backup
Id String - The OCID of the Backup
- backup
Id string - The OCID of the Backup
- backup_
id str - The OCID of the Backup
- backup
Id String - The OCID of the Backup
getMysqlBackup Result
The following output properties are available:
- Backup
Id string - 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 OCID of the compartment the DB System belongs in.
- Creation
Type string - Indicates how the backup was created: manually, automatic, or by an Operator.
- Data
Storage intSize In Gb - Initial size of the data volume in GiBs that will be created and attached.
- Db
System stringId - The OCID of the DB System the backup is associated with.
- Db
System List<GetSnapshots Mysql 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 user-supplied display name for the backup.
- 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
- The state of the backup.
- Time
Created string - The time the backup record was created.
- Time
Updated string - The time at which the backup was updated.
- Backup
Id string - 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 OCID of the compartment the DB System belongs in.
- Creation
Type string - Indicates how the backup was created: manually, automatic, or by an Operator.
- Data
Storage intSize In Gb - Initial size of the data volume in GiBs that will be created and attached.
- Db
System stringId - The OCID of the DB System the backup is associated with.
- Db
System []GetSnapshots Mysql 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 user-supplied display name for the backup.
- 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
- The state of the backup.
- Time
Created string - The time the backup record was created.
- Time
Updated string - The time at which the backup was updated.
- backup
Id String - 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 OCID of the compartment the DB System belongs in.
- creation
Type String - Indicates how the backup was created: manually, automatic, or by an Operator.
- data
Storage IntegerSize In Gb - Initial size of the data volume in GiBs that will be created and attached.
- db
System StringId - The OCID of the DB System the backup is associated with.
- db
System List<GetSnapshots 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 user-supplied display name for the backup.
- 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
- The state of the backup.
- time
Created String - The time the backup record was created.
- time
Updated String - The time at which the backup was updated.
- backup
Id string - 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 OCID of the compartment the DB System belongs in.
- creation
Type string - Indicates how the backup was created: manually, automatic, or by an Operator.
- data
Storage numberSize In Gb - Initial size of the data volume in GiBs that will be created and attached.
- db
System stringId - The OCID of the DB System the backup is associated with.
- db
System GetSnapshots Mysql 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 user-supplied display name for the backup.
- {[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
- The state of the backup.
- time
Created string - The time the backup record was created.
- time
Updated string - The time at which the backup was updated.
- backup_
id str - 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 OCID of the compartment the DB System belongs in.
- creation_
type str - Indicates how the backup was created: manually, automatic, or by an Operator.
- data_
storage_ intsize_ in_ gb - Initial size of the data volume in GiBs that will be created and attached.
- db_
system_ strid - The OCID of the DB System the backup is associated with.
- db_
system_ Sequence[mysql.snapshots Get Mysql 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 user-supplied display name for the backup.
- 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
- The state of the backup.
- time_
created str - The time the backup record was created.
- time_
updated str - The time at which the backup was updated.
- backup
Id String - 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 OCID of the compartment the DB System belongs in.
- creation
Type String - Indicates how the backup was created: manually, automatic, or by an Operator.
- data
Storage NumberSize In Gb - Initial size of the data volume in GiBs that will be created and attached.
- db
System StringId - The OCID of the DB System the backup is associated with.
- 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 user-supplied display name for the backup.
- 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
- The state of the backup.
- time
Created String - The time the backup record was created.
- time
Updated String - The time at which the backup was updated.
Supporting Types
GetMysqlBackupDbSystemSnapshot
- 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 Backup Db System Snapshot Backup Policy> - The Backup policy for the DB System.
- Compartment
Id string - The OCID of the compartment the DB System belongs in.
- 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 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 user-supplied display name for the backup.
- Endpoints
List<Get
Mysql 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 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 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 Backup Db System Snapshot Backup Policy - The Backup policy for the DB System.
- Compartment
Id string - The OCID of the compartment the DB System belongs in.
- 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 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 user-supplied display name for the backup.
- Endpoints
[]Get
Mysql 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 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 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<GetBackup Db System Snapshot Backup Policy> - The Backup policy for the DB System.
- compartment
Id String - The OCID of the compartment the DB System belongs in.
- 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<GetBackup 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 user-supplied display name for the backup.
- endpoints
List<Get
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
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<GetBackup 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 Backup Db System Snapshot Backup Policy[] - The Backup policy for the DB System.
- compartment
Id string - The OCID of the compartment the DB System belongs in.
- 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 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 user-supplied display name for the backup.
- endpoints
Get
Mysql 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 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 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 Backup Db System Snapshot Backup Policy] - The Backup policy for the DB System.
- compartment_
id str - The OCID of the compartment the DB System belongs in.
- 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 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 user-supplied display name for the backup.
- endpoints
Sequence[mysql.
Get Mysql 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 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 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 OCID of the compartment the DB System belongs in.
- 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 user-supplied display name for the backup.
- 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.
GetMysqlBackupDbSystemSnapshotBackupPolicy
- 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 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 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<GetBackup 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 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 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.
GetMysqlBackupDbSystemSnapshotBackupPolicyPitrPolicy
- 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.
GetMysqlBackupDbSystemSnapshotDeletionPolicy
- 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.
GetMysqlBackupDbSystemSnapshotEndpoint
- 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.
GetMysqlBackupDbSystemSnapshotMaintenance
- 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.
GetMysqlBackupDbSystemSnapshotSecureConnection
- 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.
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