oci.Mysql.MysqlBackup
Explore with Pulumi AI
This resource provides the Mysql Backup resource in Oracle Cloud Infrastructure MySQL Database service.
Create a backup of a DB System.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testMysqlBackup = new oci.mysql.MysqlBackup("test_mysql_backup", {
dbSystemId: testDbSystem.id,
backupType: mysqlBackupBackupType,
definedTags: {
"foo-namespace.bar-key": "value",
},
description: mysqlBackupDescription,
displayName: mysqlBackupDisplayName,
freeformTags: {
"bar-key": "value",
},
retentionInDays: mysqlBackupRetentionInDays,
});
import pulumi
import pulumi_oci as oci
test_mysql_backup = oci.mysql.MysqlBackup("test_mysql_backup",
db_system_id=test_db_system["id"],
backup_type=mysql_backup_backup_type,
defined_tags={
"foo-namespace.bar-key": "value",
},
description=mysql_backup_description,
display_name=mysql_backup_display_name,
freeform_tags={
"bar-key": "value",
},
retention_in_days=mysql_backup_retention_in_days)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Mysql"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Mysql.NewMysqlBackup(ctx, "test_mysql_backup", &Mysql.MysqlBackupArgs{
DbSystemId: pulumi.Any(testDbSystem.Id),
BackupType: pulumi.Any(mysqlBackupBackupType),
DefinedTags: pulumi.StringMap{
"foo-namespace.bar-key": pulumi.String("value"),
},
Description: pulumi.Any(mysqlBackupDescription),
DisplayName: pulumi.Any(mysqlBackupDisplayName),
FreeformTags: pulumi.StringMap{
"bar-key": pulumi.String("value"),
},
RetentionInDays: pulumi.Any(mysqlBackupRetentionInDays),
})
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 = new Oci.Mysql.MysqlBackup("test_mysql_backup", new()
{
DbSystemId = testDbSystem.Id,
BackupType = mysqlBackupBackupType,
DefinedTags =
{
{ "foo-namespace.bar-key", "value" },
},
Description = mysqlBackupDescription,
DisplayName = mysqlBackupDisplayName,
FreeformTags =
{
{ "bar-key", "value" },
},
RetentionInDays = mysqlBackupRetentionInDays,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Mysql.MysqlBackup;
import com.pulumi.oci.Mysql.MysqlBackupArgs;
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) {
var testMysqlBackup = new MysqlBackup("testMysqlBackup", MysqlBackupArgs.builder()
.dbSystemId(testDbSystem.id())
.backupType(mysqlBackupBackupType)
.definedTags(Map.of("foo-namespace.bar-key", "value"))
.description(mysqlBackupDescription)
.displayName(mysqlBackupDisplayName)
.freeformTags(Map.of("bar-key", "value"))
.retentionInDays(mysqlBackupRetentionInDays)
.build());
}
}
resources:
testMysqlBackup:
type: oci:Mysql:MysqlBackup
name: test_mysql_backup
properties:
dbSystemId: ${testDbSystem.id}
backupType: ${mysqlBackupBackupType}
definedTags:
foo-namespace.bar-key: value
description: ${mysqlBackupDescription}
displayName: ${mysqlBackupDisplayName}
freeformTags:
bar-key: value
retentionInDays: ${mysqlBackupRetentionInDays}
Create MysqlBackup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MysqlBackup(name: string, args?: MysqlBackupArgs, opts?: CustomResourceOptions);
@overload
def MysqlBackup(resource_name: str,
args: Optional[MysqlBackupArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def MysqlBackup(resource_name: str,
opts: Optional[ResourceOptions] = None,
backup_type: Optional[str] = None,
compartment_id: Optional[str] = None,
db_system_id: Optional[str] = None,
db_system_snapshot_summaries: Optional[Sequence[_mysql.MysqlBackupDbSystemSnapshotSummaryArgs]] = None,
defined_tags: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
retention_in_days: Optional[int] = None,
source_details: Optional[_mysql.MysqlBackupSourceDetailsArgs] = None)
func NewMysqlBackup(ctx *Context, name string, args *MysqlBackupArgs, opts ...ResourceOption) (*MysqlBackup, error)
public MysqlBackup(string name, MysqlBackupArgs? args = null, CustomResourceOptions? opts = null)
public MysqlBackup(String name, MysqlBackupArgs args)
public MysqlBackup(String name, MysqlBackupArgs args, CustomResourceOptions options)
type: oci:Mysql:MysqlBackup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args MysqlBackupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args MysqlBackupArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args MysqlBackupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MysqlBackupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MysqlBackupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var mysqlBackupResource = new Oci.Mysql.MysqlBackup("mysqlBackupResource", new()
{
BackupType = "string",
CompartmentId = "string",
DbSystemId = "string",
DbSystemSnapshotSummaries = new[]
{
new Oci.Mysql.Inputs.MysqlBackupDbSystemSnapshotSummaryArgs
{
DisplayName = "string",
Id = "string",
Region = "string",
},
},
DefinedTags =
{
{ "string", "string" },
},
Description = "string",
DisplayName = "string",
FreeformTags =
{
{ "string", "string" },
},
RetentionInDays = 0,
SourceDetails = new Oci.Mysql.Inputs.MysqlBackupSourceDetailsArgs
{
BackupId = "string",
CompartmentId = "string",
Region = "string",
},
});
example, err := Mysql.NewMysqlBackup(ctx, "mysqlBackupResource", &Mysql.MysqlBackupArgs{
BackupType: pulumi.String("string"),
CompartmentId: pulumi.String("string"),
DbSystemId: pulumi.String("string"),
DbSystemSnapshotSummaries: mysql.MysqlBackupDbSystemSnapshotSummaryArray{
&mysql.MysqlBackupDbSystemSnapshotSummaryArgs{
DisplayName: pulumi.String("string"),
Id: pulumi.String("string"),
Region: pulumi.String("string"),
},
},
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
RetentionInDays: pulumi.Int(0),
SourceDetails: &mysql.MysqlBackupSourceDetailsArgs{
BackupId: pulumi.String("string"),
CompartmentId: pulumi.String("string"),
Region: pulumi.String("string"),
},
})
var mysqlBackupResource = new MysqlBackup("mysqlBackupResource", MysqlBackupArgs.builder()
.backupType("string")
.compartmentId("string")
.dbSystemId("string")
.dbSystemSnapshotSummaries(MysqlBackupDbSystemSnapshotSummaryArgs.builder()
.displayName("string")
.id("string")
.region("string")
.build())
.definedTags(Map.of("string", "string"))
.description("string")
.displayName("string")
.freeformTags(Map.of("string", "string"))
.retentionInDays(0)
.sourceDetails(MysqlBackupSourceDetailsArgs.builder()
.backupId("string")
.compartmentId("string")
.region("string")
.build())
.build());
mysql_backup_resource = oci.mysql.MysqlBackup("mysqlBackupResource",
backup_type="string",
compartment_id="string",
db_system_id="string",
db_system_snapshot_summaries=[oci.mysql.MysqlBackupDbSystemSnapshotSummaryArgs(
display_name="string",
id="string",
region="string",
)],
defined_tags={
"string": "string",
},
description="string",
display_name="string",
freeform_tags={
"string": "string",
},
retention_in_days=0,
source_details=oci.mysql.MysqlBackupSourceDetailsArgs(
backup_id="string",
compartment_id="string",
region="string",
))
const mysqlBackupResource = new oci.mysql.MysqlBackup("mysqlBackupResource", {
backupType: "string",
compartmentId: "string",
dbSystemId: "string",
dbSystemSnapshotSummaries: [{
displayName: "string",
id: "string",
region: "string",
}],
definedTags: {
string: "string",
},
description: "string",
displayName: "string",
freeformTags: {
string: "string",
},
retentionInDays: 0,
sourceDetails: {
backupId: "string",
compartmentId: "string",
region: "string",
},
});
type: oci:Mysql:MysqlBackup
properties:
backupType: string
compartmentId: string
dbSystemId: string
dbSystemSnapshotSummaries:
- displayName: string
id: string
region: string
definedTags:
string: string
description: string
displayName: string
freeformTags:
string: string
retentionInDays: 0
sourceDetails:
backupId: string
compartmentId: string
region: string
MysqlBackup Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The MysqlBackup resource accepts the following input properties:
- Backup
Type string - The type of backup.
- Compartment
Id string - (Updatable) The OCID of the compartment the backup exists in.
- Db
System stringId - The OCID of the DB System the Backup is associated with.
- Db
System List<MysqlSnapshot Summaries Backup Db System Snapshot Summary> - Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) A user-supplied description for the backup.
- Display
Name string - (Updatable) A user-supplied display name for the backup.
- Dictionary<string, string>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Retention
In intDays - (Updatable) Number of days to retain this backup.
- Source
Details MysqlBackup Source Details - Details of backup source in the cloud.
- Backup
Type string - The type of backup.
- Compartment
Id string - (Updatable) The OCID of the compartment the backup exists in.
- Db
System stringId - The OCID of the DB System the Backup is associated with.
- Db
System []MysqlSnapshot Summaries Backup Db System Snapshot Summary Args - map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) A user-supplied description for the backup.
- Display
Name string - (Updatable) A user-supplied display name for the backup.
- map[string]string
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Retention
In intDays - (Updatable) Number of days to retain this backup.
- Source
Details MysqlBackup Source Details Args - Details of backup source in the cloud.
- backup
Type String - The type of backup.
- compartment
Id String - (Updatable) The OCID of the compartment the backup exists in.
- db
System StringId - The OCID of the DB System the Backup is associated with.
- db
System List<BackupSnapshot Summaries Db System Snapshot Summary> - Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- (Updatable) A user-supplied description for the backup.
- display
Name String - (Updatable) A user-supplied display name for the backup.
- Map<String,String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- retention
In IntegerDays - (Updatable) Number of days to retain this backup.
- source
Details BackupSource Details - Details of backup source in the cloud.
- backup
Type string - The type of backup.
- compartment
Id string - (Updatable) The OCID of the compartment the backup exists in.
- db
System stringId - The OCID of the DB System the Backup is associated with.
- db
System MysqlSnapshot Summaries Backup Db System Snapshot Summary[] - {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description string
- (Updatable) A user-supplied description for the backup.
- display
Name string - (Updatable) A user-supplied display name for the backup.
- {[key: string]: string}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- retention
In numberDays - (Updatable) Number of days to retain this backup.
- source
Details MysqlBackup Source Details - Details of backup source in the cloud.
- backup_
type str - The type of backup.
- compartment_
id str - (Updatable) The OCID of the compartment the backup exists in.
- db_
system_ strid - The OCID of the DB System the Backup is associated with.
- db_
system_ Sequence[mysql.snapshot_ summaries Mysql Backup Db System Snapshot Summary Args] - Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description str
- (Updatable) A user-supplied description for the backup.
- display_
name str - (Updatable) A user-supplied display name for the backup.
- Mapping[str, str]
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- retention_
in_ intdays - (Updatable) Number of days to retain this backup.
- source_
details mysql.Mysql Backup Source Details Args - Details of backup source in the cloud.
- backup
Type String - The type of backup.
- compartment
Id String - (Updatable) The OCID of the compartment the backup exists in.
- db
System StringId - The OCID of the DB System the Backup is associated with.
- db
System List<Property Map>Snapshot Summaries - Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- (Updatable) A user-supplied description for the backup.
- display
Name String - (Updatable) A user-supplied display name for the backup.
- Map<String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- retention
In NumberDays - (Updatable) Number of days to retain this backup.
- source
Details Property Map - Details of backup source in the cloud.
Outputs
All input properties are implicitly available as output properties. Additionally, the MysqlBackup resource produces the following output properties:
- Backup
Size intIn Gbs - The size of the backup in base-2 (IEC) gibibytes. (GiB).
- Creation
Type string - Indicates how the backup was created: manually, automatic, or by an Operator.
- Data
Storage intSize In Gb - DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs.
- Db
System List<MysqlSnapshots Backup Db System Snapshot> - Snapshot of the DbSystem details at the time of the backup
- Id string
- The provider-assigned unique ID for this managed resource.
- Immediate
Source stringBackup Id - The OCID of the immediate source DB system backup from which this DB system backup was copied.
- Lifecycle
Details string - Additional information about the current lifecycleState.
- Mysql
Version string - The MySQL server version of the DB System used for backup.
- Original
Source stringBackup Id - The OCID of the original source DB system backup from which this DB system backup was copied.
- Shape
Name string - The shape of the DB System instance used for backup.
- State string
- The state of the backup.
- Time
Copy stringCreated - The date and time the DB system backup copy was created, as described by RFC 3339.
- Time
Created string - The time the backup record was created.
- 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).
- Creation
Type string - Indicates how the backup was created: manually, automatic, or by an Operator.
- Data
Storage intSize In Gb - DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs.
- Db
System []MysqlSnapshots Backup Db System Snapshot - Snapshot of the DbSystem details at the time of the backup
- Id string
- The provider-assigned unique ID for this managed resource.
- Immediate
Source stringBackup Id - The OCID of the immediate source DB system backup from which this DB system backup was copied.
- Lifecycle
Details string - Additional information about the current lifecycleState.
- Mysql
Version string - The MySQL server version of the DB System used for backup.
- Original
Source stringBackup Id - The OCID of the original source DB system backup from which this DB system backup was copied.
- Shape
Name string - The shape of the DB System instance used for backup.
- State string
- The state of the backup.
- Time
Copy stringCreated - The date and time the DB system backup copy was created, as described by RFC 3339.
- Time
Created string - The time the backup record was created.
- 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).
- creation
Type String - Indicates how the backup was created: manually, automatic, or by an Operator.
- data
Storage IntegerSize In Gb - DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs.
- db
System List<BackupSnapshots Db System Snapshot> - Snapshot of the DbSystem details at the time of the backup
- id String
- The provider-assigned unique ID for this managed resource.
- immediate
Source StringBackup Id - The OCID of the immediate source DB system backup from which this DB system backup was copied.
- lifecycle
Details String - Additional information about the current lifecycleState.
- mysql
Version String - The MySQL server version of the DB System used for backup.
- original
Source StringBackup Id - The OCID of the original source DB system backup from which this DB system backup was copied.
- shape
Name String - The shape of the DB System instance used for backup.
- state String
- The state of the backup.
- time
Copy StringCreated - The date and time the DB system backup copy was created, as described by RFC 3339.
- time
Created String - The time the backup record was created.
- 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).
- creation
Type string - Indicates how the backup was created: manually, automatic, or by an Operator.
- data
Storage numberSize In Gb - DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs.
- db
System MysqlSnapshots Backup Db System Snapshot[] - Snapshot of the DbSystem details at the time of the backup
- id string
- The provider-assigned unique ID for this managed resource.
- immediate
Source stringBackup Id - The OCID of the immediate source DB system backup from which this DB system backup was copied.
- lifecycle
Details string - Additional information about the current lifecycleState.
- mysql
Version string - The MySQL server version of the DB System used for backup.
- original
Source stringBackup Id - The OCID of the original source DB system backup from which this DB system backup was copied.
- shape
Name string - The shape of the DB System instance used for backup.
- state string
- The state of the backup.
- time
Copy stringCreated - The date and time the DB system backup copy was created, as described by RFC 3339.
- time
Created string - The time the backup record was created.
- 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).
- creation_
type str - Indicates how the backup was created: manually, automatic, or by an Operator.
- data_
storage_ intsize_ in_ gb - DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs.
- db_
system_ Sequence[mysql.snapshots Mysql Backup Db System Snapshot] - Snapshot of the DbSystem details at the time of the backup
- id str
- The provider-assigned unique ID for this managed resource.
- immediate_
source_ strbackup_ id - The OCID of the immediate source DB system backup from which this DB system backup was copied.
- lifecycle_
details str - Additional information about the current lifecycleState.
- mysql_
version str - The MySQL server version of the DB System used for backup.
- original_
source_ strbackup_ id - The OCID of the original source DB system backup from which this DB system backup was copied.
- shape_
name str - The shape of the DB System instance used for backup.
- state str
- The state of the backup.
- time_
copy_ strcreated - The date and time the DB system backup copy was created, as described by RFC 3339.
- time_
created str - The time the backup record was created.
- 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).
- creation
Type String - Indicates how the backup was created: manually, automatic, or by an Operator.
- data
Storage NumberSize In Gb - DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs.
- db
System List<Property Map>Snapshots - Snapshot of the DbSystem details at the time of the backup
- id String
- The provider-assigned unique ID for this managed resource.
- immediate
Source StringBackup Id - The OCID of the immediate source DB system backup from which this DB system backup was copied.
- lifecycle
Details String - Additional information about the current lifecycleState.
- mysql
Version String - The MySQL server version of the DB System used for backup.
- original
Source StringBackup Id - The OCID of the original source DB system backup from which this DB system backup was copied.
- shape
Name String - The shape of the DB System instance used for backup.
- state String
- The state of the backup.
- time
Copy StringCreated - The date and time the DB system backup copy was created, as described by RFC 3339.
- time
Created String - The time the backup record was created.
- time
Updated String - The time at which the backup was updated.
Look up Existing MysqlBackup Resource
Get an existing MysqlBackup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: MysqlBackupState, opts?: CustomResourceOptions): MysqlBackup
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
backup_size_in_gbs: Optional[int] = None,
backup_type: Optional[str] = None,
compartment_id: Optional[str] = None,
creation_type: Optional[str] = None,
data_storage_size_in_gb: Optional[int] = None,
db_system_id: Optional[str] = None,
db_system_snapshot_summaries: Optional[Sequence[_mysql.MysqlBackupDbSystemSnapshotSummaryArgs]] = None,
db_system_snapshots: Optional[Sequence[_mysql.MysqlBackupDbSystemSnapshotArgs]] = None,
defined_tags: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
immediate_source_backup_id: Optional[str] = None,
lifecycle_details: Optional[str] = None,
mysql_version: Optional[str] = None,
original_source_backup_id: Optional[str] = None,
retention_in_days: Optional[int] = None,
shape_name: Optional[str] = None,
source_details: Optional[_mysql.MysqlBackupSourceDetailsArgs] = None,
state: Optional[str] = None,
time_copy_created: Optional[str] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None) -> MysqlBackup
func GetMysqlBackup(ctx *Context, name string, id IDInput, state *MysqlBackupState, opts ...ResourceOption) (*MysqlBackup, error)
public static MysqlBackup Get(string name, Input<string> id, MysqlBackupState? state, CustomResourceOptions? opts = null)
public static MysqlBackup get(String name, Output<String> id, MysqlBackupState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- 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 - (Updatable) The OCID of the compartment the backup exists in.
- Creation
Type string - Indicates how the backup was created: manually, automatic, or by an Operator.
- Data
Storage intSize In Gb - DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs.
- Db
System stringId - The OCID of the DB System the Backup is associated with.
- Db
System List<MysqlSnapshot Summaries Backup Db System Snapshot Summary> - Db
System List<MysqlSnapshots Backup Db System Snapshot> - Snapshot of the DbSystem details at the time of the backup
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) A user-supplied description for the backup.
- Display
Name string - (Updatable) A user-supplied display name for the backup.
- Dictionary<string, string>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Immediate
Source stringBackup Id - The OCID of the immediate source DB system backup from which this DB system backup was copied.
- Lifecycle
Details string - Additional information about the current lifecycleState.
- Mysql
Version string - The MySQL server version of the DB System used for backup.
- Original
Source stringBackup Id - The OCID of the original source DB system backup from which this DB system backup was copied.
- Retention
In intDays - (Updatable) Number of days to retain this backup.
- Shape
Name string - The shape of the DB System instance used for backup.
- Source
Details MysqlBackup Source Details - Details of backup source in the cloud.
- State string
- The state of the backup.
- Time
Copy stringCreated - The date and time the DB system backup copy was created, as described by RFC 3339.
- Time
Created string - The time the backup record was created.
- 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 - (Updatable) The OCID of the compartment the backup exists in.
- Creation
Type string - Indicates how the backup was created: manually, automatic, or by an Operator.
- Data
Storage intSize In Gb - DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs.
- Db
System stringId - The OCID of the DB System the Backup is associated with.
- Db
System []MysqlSnapshot Summaries Backup Db System Snapshot Summary Args - Db
System []MysqlSnapshots Backup Db System Snapshot Args - Snapshot of the DbSystem details at the time of the backup
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) A user-supplied description for the backup.
- Display
Name string - (Updatable) A user-supplied display name for the backup.
- map[string]string
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Immediate
Source stringBackup Id - The OCID of the immediate source DB system backup from which this DB system backup was copied.
- Lifecycle
Details string - Additional information about the current lifecycleState.
- Mysql
Version string - The MySQL server version of the DB System used for backup.
- Original
Source stringBackup Id - The OCID of the original source DB system backup from which this DB system backup was copied.
- Retention
In intDays - (Updatable) Number of days to retain this backup.
- Shape
Name string - The shape of the DB System instance used for backup.
- Source
Details MysqlBackup Source Details Args - Details of backup source in the cloud.
- State string
- The state of the backup.
- Time
Copy stringCreated - The date and time the DB system backup copy was created, as described by RFC 3339.
- Time
Created string - The time the backup record was created.
- 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 - (Updatable) The OCID of the compartment the backup exists in.
- creation
Type String - Indicates how the backup was created: manually, automatic, or by an Operator.
- data
Storage IntegerSize In Gb - DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs.
- db
System StringId - The OCID of the DB System the Backup is associated with.
- db
System List<BackupSnapshot Summaries Db System Snapshot Summary> - db
System List<BackupSnapshots Db System Snapshot> - Snapshot of the DbSystem details at the time of the backup
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- (Updatable) A user-supplied description for the backup.
- display
Name String - (Updatable) A user-supplied display name for the backup.
- Map<String,String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- immediate
Source StringBackup Id - The OCID of the immediate source DB system backup from which this DB system backup was copied.
- lifecycle
Details String - Additional information about the current lifecycleState.
- mysql
Version String - The MySQL server version of the DB System used for backup.
- original
Source StringBackup Id - The OCID of the original source DB system backup from which this DB system backup was copied.
- retention
In IntegerDays - (Updatable) Number of days to retain this backup.
- shape
Name String - The shape of the DB System instance used for backup.
- source
Details BackupSource Details - Details of backup source in the cloud.
- state String
- The state of the backup.
- time
Copy StringCreated - The date and time the DB system backup copy was created, as described by RFC 3339.
- time
Created String - The time the backup record was created.
- 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 - (Updatable) The OCID of the compartment the backup exists in.
- creation
Type string - Indicates how the backup was created: manually, automatic, or by an Operator.
- data
Storage numberSize In Gb - DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs.
- db
System stringId - The OCID of the DB System the Backup is associated with.
- db
System MysqlSnapshot Summaries Backup Db System Snapshot Summary[] - db
System MysqlSnapshots Backup Db System Snapshot[] - Snapshot of the DbSystem details at the time of the backup
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description string
- (Updatable) A user-supplied description for the backup.
- display
Name string - (Updatable) A user-supplied display name for the backup.
- {[key: string]: string}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- immediate
Source stringBackup Id - The OCID of the immediate source DB system backup from which this DB system backup was copied.
- lifecycle
Details string - Additional information about the current lifecycleState.
- mysql
Version string - The MySQL server version of the DB System used for backup.
- original
Source stringBackup Id - The OCID of the original source DB system backup from which this DB system backup was copied.
- retention
In numberDays - (Updatable) Number of days to retain this backup.
- shape
Name string - The shape of the DB System instance used for backup.
- source
Details MysqlBackup Source Details - Details of backup source in the cloud.
- state string
- The state of the backup.
- time
Copy stringCreated - The date and time the DB system backup copy was created, as described by RFC 3339.
- time
Created string - The time the backup record was created.
- 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 - (Updatable) The OCID of the compartment the backup exists in.
- creation_
type str - Indicates how the backup was created: manually, automatic, or by an Operator.
- data_
storage_ intsize_ in_ gb - DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs.
- db_
system_ strid - The OCID of the DB System the Backup is associated with.
- db_
system_ Sequence[mysql.snapshot_ summaries Mysql Backup Db System Snapshot Summary Args] - db_
system_ Sequence[mysql.snapshots Mysql Backup Db System Snapshot Args] - Snapshot of the DbSystem details at the time of the backup
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description str
- (Updatable) A user-supplied description for the backup.
- display_
name str - (Updatable) A user-supplied display name for the backup.
- Mapping[str, str]
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- immediate_
source_ strbackup_ id - The OCID of the immediate source DB system backup from which this DB system backup was copied.
- lifecycle_
details str - Additional information about the current lifecycleState.
- mysql_
version str - The MySQL server version of the DB System used for backup.
- original_
source_ strbackup_ id - The OCID of the original source DB system backup from which this DB system backup was copied.
- retention_
in_ intdays - (Updatable) Number of days to retain this backup.
- shape_
name str - The shape of the DB System instance used for backup.
- source_
details mysql.Mysql Backup Source Details Args - Details of backup source in the cloud.
- state str
- The state of the backup.
- time_
copy_ strcreated - The date and time the DB system backup copy was created, as described by RFC 3339.
- time_
created str - The time the backup record was created.
- 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 - (Updatable) The OCID of the compartment the backup exists in.
- creation
Type String - Indicates how the backup was created: manually, automatic, or by an Operator.
- data
Storage NumberSize In Gb - DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs.
- db
System StringId - The OCID of the DB System the Backup is associated with.
- db
System List<Property Map>Snapshot Summaries - db
System List<Property Map>Snapshots - Snapshot of the DbSystem details at the time of the backup
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- (Updatable) A user-supplied description for the backup.
- display
Name String - (Updatable) A user-supplied display name for the backup.
- Map<String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- immediate
Source StringBackup Id - The OCID of the immediate source DB system backup from which this DB system backup was copied.
- lifecycle
Details String - Additional information about the current lifecycleState.
- mysql
Version String - The MySQL server version of the DB System used for backup.
- original
Source StringBackup Id - The OCID of the original source DB system backup from which this DB system backup was copied.
- retention
In NumberDays - (Updatable) Number of days to retain this backup.
- shape
Name String - The shape of the DB System instance used for backup.
- source
Details Property Map - Details of backup source in the cloud.
- state String
- The state of the backup.
- time
Copy StringCreated - The date and time the DB system backup copy was created, as described by RFC 3339.
- time
Created String - The time the backup record was created.
- time
Updated String - The time at which the backup was updated.
Supporting Types
MysqlBackupDbSystemSnapshot, MysqlBackupDbSystemSnapshotArgs
- 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<MysqlBackup Db System Snapshot Backup Policy> - The Backup policy for the DB System.
- Compartment
Id string - (Updatable) The OCID of the compartment the backup exists 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 - DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs.
- Data
Storages List<MysqlBackup Db System Snapshot Data Storage> - Data Storage information.
- Database
Management string - Whether to enable monitoring via the Database Management service.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Deletion
Policies List<MysqlBackup Db System Snapshot Deletion Policy> - The Deletion policy for the DB System.
- Description string
- (Updatable) A user-supplied description for the backup.
- Display
Name string - (Updatable) A user-supplied display name for the backup.
- Endpoints
List<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, string>
- (Updatable) 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<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.
- Region string
- The region identifier of the region where the DB system exists. For more information, please see Regions and Availability Domains.
- Secure
Connections List<MysqlBackup 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 []MysqlBackup Db System Snapshot Backup Policy - The Backup policy for the DB System.
- Compartment
Id string - (Updatable) The OCID of the compartment the backup exists 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 - DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs.
- Data
Storages []MysqlBackup Db System Snapshot Data Storage - Data Storage information.
- Database
Management string - Whether to enable monitoring via the Database Management service.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Deletion
Policies []MysqlBackup Db System Snapshot Deletion Policy - The Deletion policy for the DB System.
- Description string
- (Updatable) A user-supplied description for the backup.
- Display
Name string - (Updatable) A user-supplied display name for the backup.
- Endpoints
[]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]string
- (Updatable) 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
[]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.
- Region string
- The region identifier of the region where the DB system exists. For more information, please see Regions and Availability Domains.
- Secure
Connections []MysqlBackup 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<BackupDb System Snapshot Backup Policy> - The Backup policy for the DB System.
- compartment
Id String - (Updatable) The OCID of the compartment the backup exists 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 - DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs.
- data
Storages List<BackupDb System Snapshot Data Storage> - Data Storage information.
- database
Management String - Whether to enable monitoring via the Database Management service.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- deletion
Policies List<BackupDb System Snapshot Deletion Policy> - The Deletion policy for the DB System.
- description String
- (Updatable) A user-supplied description for the backup.
- display
Name String - (Updatable) A user-supplied display name for the backup.
- endpoints
List<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,String>
- (Updatable) 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<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.
- region String
- The region identifier of the region where the DB system exists. For more information, please see Regions and Availability Domains.
- secure
Connections List<BackupDb 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 MysqlBackup Db System Snapshot Backup Policy[] - The Backup policy for the DB System.
- compartment
Id string - (Updatable) The OCID of the compartment the backup exists 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 - DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs.
- data
Storages MysqlBackup Db System Snapshot Data Storage[] - Data Storage information.
- database
Management string - Whether to enable monitoring via the Database Management service.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- deletion
Policies MysqlBackup Db System Snapshot Deletion Policy[] - The Deletion policy for the DB System.
- description string
- (Updatable) A user-supplied description for the backup.
- display
Name string - (Updatable) A user-supplied display name for the backup.
- endpoints
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]: string}
- (Updatable) 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
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.
- region string
- The region identifier of the region where the DB system exists. For more information, please see Regions and Availability Domains.
- secure
Connections MysqlBackup 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.Mysql Backup Db System Snapshot Backup Policy] - The Backup policy for the DB System.
- compartment_
id str - (Updatable) The OCID of the compartment the backup exists 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 - DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs.
- data_
storages Sequence[mysql.Mysql Backup Db System Snapshot Data Storage] - Data Storage information.
- database_
management str - Whether to enable monitoring via the Database Management service.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- deletion_
policies Sequence[mysql.Mysql Backup Db System Snapshot Deletion Policy] - The Deletion policy for the DB System.
- description str
- (Updatable) A user-supplied description for the backup.
- display_
name str - (Updatable) A user-supplied display name for the backup.
- endpoints
Sequence[mysql.
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, str]
- (Updatable) 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.
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.
- region str
- The region identifier of the region where the DB system exists. For more information, please see Regions and Availability Domains.
- secure_
connections Sequence[mysql.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 - (Updatable) The OCID of the compartment the backup exists 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 - DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs.
- data
Storages List<Property Map> - Data Storage information.
- database
Management String - Whether to enable monitoring via the Database Management service.
- Map<String>
- (Updatable) 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
- (Updatable) A user-supplied description for the backup.
- display
Name String - (Updatable) 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<String>
- (Updatable) 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.
- region String
- The region identifier of the region where the DB system exists. For more information, please see Regions and Availability Domains.
- 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.
MysqlBackupDbSystemSnapshotBackupPolicy, MysqlBackupDbSystemSnapshotBackupPolicyArgs
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Dictionary<string, string>
- (Updatable) 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<MysqlBackup Db System Snapshot Backup Policy Pitr Policy> - The PITR policy for the DB System.
- Retention
In intDays - (Updatable) Number of days to retain this backup.
- Window
Start stringTime - The start time of the maintenance window.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- map[string]string
- (Updatable) 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 []MysqlBackup Db System Snapshot Backup Policy Pitr Policy - The PITR policy for the DB System.
- Retention
In intDays - (Updatable) Number of days to retain this backup.
- Window
Start stringTime - The start time of the maintenance window.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Map<String,String>
- (Updatable) 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<BackupDb System Snapshot Backup Policy Pitr Policy> - The PITR policy for the DB System.
- retention
In IntegerDays - (Updatable) Number of days to retain this backup.
- window
Start StringTime - The start time of the maintenance window.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- {[key: string]: string}
- (Updatable) 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 MysqlBackup Db System Snapshot Backup Policy Pitr Policy[] - The PITR policy for the DB System.
- retention
In numberDays - (Updatable) Number of days to retain this backup.
- window
Start stringTime - The start time of the maintenance window.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Mapping[str, str]
- (Updatable) 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.Mysql Backup Db System Snapshot Backup Policy Pitr Policy] - The PITR policy for the DB System.
- retention_
in_ intdays - (Updatable) Number of days to retain this backup.
- window_
start_ strtime - The start time of the maintenance window.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Map<String>
- (Updatable) 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 - (Updatable) Number of days to retain this backup.
- window
Start StringTime - The start time of the maintenance window.
MysqlBackupDbSystemSnapshotBackupPolicyPitrPolicy, MysqlBackupDbSystemSnapshotBackupPolicyPitrPolicyArgs
- 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.
MysqlBackupDbSystemSnapshotDataStorage, MysqlBackupDbSystemSnapshotDataStorageArgs
- Allocated
Storage intSize In Gbs - The actual allocated storage size for the DB System. This may be higher than dataStorageSizeInGBs if an automatic storage expansion has occurred.
- Data
Storage intSize In Gb - DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs.
- Data
Storage intSize Limit In Gbs - The absolute limit the DB System's storage size may ever expand to, either manually or automatically. This limit is based based on the initial dataStorageSizeInGBs when the DB System was first created. Both dataStorageSizeInGBs and maxDataStorageSizeInGBs can not exceed this value.
- Is
Auto boolExpand Storage Enabled - Enable/disable automatic storage expansion. When set to true, the DB System will automatically add storage incrementally up to the value specified in maxStorageSizeInGBs.
- Max
Storage intSize In Gbs - Maximum storage size this DB System can expand to. When isAutoExpandStorageEnabled is set to true, the DB System will add storage incrementally up to this value.
- Allocated
Storage intSize In Gbs - The actual allocated storage size for the DB System. This may be higher than dataStorageSizeInGBs if an automatic storage expansion has occurred.
- Data
Storage intSize In Gb - DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs.
- Data
Storage intSize Limit In Gbs - The absolute limit the DB System's storage size may ever expand to, either manually or automatically. This limit is based based on the initial dataStorageSizeInGBs when the DB System was first created. Both dataStorageSizeInGBs and maxDataStorageSizeInGBs can not exceed this value.
- Is
Auto boolExpand Storage Enabled - Enable/disable automatic storage expansion. When set to true, the DB System will automatically add storage incrementally up to the value specified in maxStorageSizeInGBs.
- Max
Storage intSize In Gbs - Maximum storage size this DB System can expand to. When isAutoExpandStorageEnabled is set to true, the DB System will add storage incrementally up to this value.
- allocated
Storage IntegerSize In Gbs - The actual allocated storage size for the DB System. This may be higher than dataStorageSizeInGBs if an automatic storage expansion has occurred.
- data
Storage IntegerSize In Gb - DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs.
- data
Storage IntegerSize Limit In Gbs - The absolute limit the DB System's storage size may ever expand to, either manually or automatically. This limit is based based on the initial dataStorageSizeInGBs when the DB System was first created. Both dataStorageSizeInGBs and maxDataStorageSizeInGBs can not exceed this value.
- is
Auto BooleanExpand Storage Enabled - Enable/disable automatic storage expansion. When set to true, the DB System will automatically add storage incrementally up to the value specified in maxStorageSizeInGBs.
- max
Storage IntegerSize In Gbs - Maximum storage size this DB System can expand to. When isAutoExpandStorageEnabled is set to true, the DB System will add storage incrementally up to this value.
- allocated
Storage numberSize In Gbs - The actual allocated storage size for the DB System. This may be higher than dataStorageSizeInGBs if an automatic storage expansion has occurred.
- data
Storage numberSize In Gb - DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs.
- data
Storage numberSize Limit In Gbs - The absolute limit the DB System's storage size may ever expand to, either manually or automatically. This limit is based based on the initial dataStorageSizeInGBs when the DB System was first created. Both dataStorageSizeInGBs and maxDataStorageSizeInGBs can not exceed this value.
- is
Auto booleanExpand Storage Enabled - Enable/disable automatic storage expansion. When set to true, the DB System will automatically add storage incrementally up to the value specified in maxStorageSizeInGBs.
- max
Storage numberSize In Gbs - Maximum storage size this DB System can expand to. When isAutoExpandStorageEnabled is set to true, the DB System will add storage incrementally up to this value.
- allocated_
storage_ intsize_ in_ gbs - The actual allocated storage size for the DB System. This may be higher than dataStorageSizeInGBs if an automatic storage expansion has occurred.
- data_
storage_ intsize_ in_ gb - DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs.
- data_
storage_ intsize_ limit_ in_ gbs - The absolute limit the DB System's storage size may ever expand to, either manually or automatically. This limit is based based on the initial dataStorageSizeInGBs when the DB System was first created. Both dataStorageSizeInGBs and maxDataStorageSizeInGBs can not exceed this value.
- is_
auto_ boolexpand_ storage_ enabled - Enable/disable automatic storage expansion. When set to true, the DB System will automatically add storage incrementally up to the value specified in maxStorageSizeInGBs.
- max_
storage_ intsize_ in_ gbs - Maximum storage size this DB System can expand to. When isAutoExpandStorageEnabled is set to true, the DB System will add storage incrementally up to this value.
- allocated
Storage NumberSize In Gbs - The actual allocated storage size for the DB System. This may be higher than dataStorageSizeInGBs if an automatic storage expansion has occurred.
- data
Storage NumberSize In Gb - DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs.
- data
Storage NumberSize Limit In Gbs - The absolute limit the DB System's storage size may ever expand to, either manually or automatically. This limit is based based on the initial dataStorageSizeInGBs when the DB System was first created. Both dataStorageSizeInGBs and maxDataStorageSizeInGBs can not exceed this value.
- is
Auto BooleanExpand Storage Enabled - Enable/disable automatic storage expansion. When set to true, the DB System will automatically add storage incrementally up to the value specified in maxStorageSizeInGBs.
- max
Storage NumberSize In Gbs - Maximum storage size this DB System can expand to. When isAutoExpandStorageEnabled is set to true, the DB System will add storage incrementally up to this value.
MysqlBackupDbSystemSnapshotDeletionPolicy, MysqlBackupDbSystemSnapshotDeletionPolicyArgs
- 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.
MysqlBackupDbSystemSnapshotEndpoint, MysqlBackupDbSystemSnapshotEndpointArgs
- 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.
MysqlBackupDbSystemSnapshotMaintenance, MysqlBackupDbSystemSnapshotMaintenanceArgs
- 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.
MysqlBackupDbSystemSnapshotSecureConnection, MysqlBackupDbSystemSnapshotSecureConnectionArgs
- 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.
MysqlBackupDbSystemSnapshotSummary, MysqlBackupDbSystemSnapshotSummaryArgs
- Display
Name string - (Updatable) A user-supplied display name for the backup.
- Id string
- OCID of the backup itself
- Region string
- The region identifier of the region where the DB system exists. For more information, please see Regions and Availability Domains.
- Display
Name string - (Updatable) A user-supplied display name for the backup.
- Id string
- OCID of the backup itself
- Region string
- The region identifier of the region where the DB system exists. For more information, please see Regions and Availability Domains.
- display
Name String - (Updatable) A user-supplied display name for the backup.
- id String
- OCID of the backup itself
- region String
- The region identifier of the region where the DB system exists. For more information, please see Regions and Availability Domains.
- display
Name string - (Updatable) A user-supplied display name for the backup.
- id string
- OCID of the backup itself
- region string
- The region identifier of the region where the DB system exists. For more information, please see Regions and Availability Domains.
- display_
name str - (Updatable) A user-supplied display name for the backup.
- id str
- OCID of the backup itself
- region str
- The region identifier of the region where the DB system exists. For more information, please see Regions and Availability Domains.
- display
Name String - (Updatable) A user-supplied display name for the backup.
- id String
- OCID of the backup itself
- region String
- The region identifier of the region where the DB system exists. For more information, please see Regions and Availability Domains.
MysqlBackupSourceDetails, MysqlBackupSourceDetailsArgs
- Backup
Id string - The OCID of the source backup.
- Compartment
Id string - (Updatable) The OCID of the compartment the backup exists in.
- Region string
- The region of the backup source.
- Backup
Id string - The OCID of the source backup.
- Compartment
Id string - (Updatable) The OCID of the compartment the backup exists in.
- Region string
- The region of the backup source.
- backup
Id String - The OCID of the source backup.
- compartment
Id String - (Updatable) The OCID of the compartment the backup exists in.
- region String
- The region of the backup source.
- backup
Id string - The OCID of the source backup.
- compartment
Id string - (Updatable) The OCID of the compartment the backup exists in.
- region string
- The region of the backup source.
- backup_
id str - The OCID of the source backup.
- compartment_
id str - (Updatable) The OCID of the compartment the backup exists in.
- region str
- The region of the backup source.
- backup
Id String - The OCID of the source backup.
- compartment
Id String - (Updatable) The OCID of the compartment the backup exists in.
- region String
- The region of the backup source.
Import
MysqlBackups can be imported using the id
, e.g.
$ pulumi import oci:Mysql/mysqlBackup:MysqlBackup test_mysql_backup "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.