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/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.Map{
"foo-namespace.bar-key": pulumi.Any("value"),
},
Description: pulumi.Any(mysqlBackupDescription),
DisplayName: pulumi.Any(mysqlBackupDisplayName),
FreeformTags: pulumi.Map{
"bar-key": pulumi.Any("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: MysqlBackupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MysqlBackup(resource_name: str,
opts: Optional[ResourceOptions] = None,
db_system_id: Optional[str] = None,
backup_type: Optional[str] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
retention_in_days: Optional[int] = None)
func NewMysqlBackup(ctx *Context, name string, args MysqlBackupArgs, opts ...ResourceOption) (*MysqlBackup, error)
public MysqlBackup(string name, MysqlBackupArgs args, 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()
{
DbSystemId = "string",
BackupType = "string",
CompartmentId = "string",
DefinedTags =
{
{ "string", "any" },
},
Description = "string",
DisplayName = "string",
FreeformTags =
{
{ "string", "any" },
},
RetentionInDays = 0,
});
example, err := Mysql.NewMysqlBackup(ctx, "mysqlBackupResource", &Mysql.MysqlBackupArgs{
DbSystemId: pulumi.String("string"),
BackupType: pulumi.String("string"),
CompartmentId: pulumi.String("string"),
DefinedTags: pulumi.Map{
"string": pulumi.Any("any"),
},
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.Map{
"string": pulumi.Any("any"),
},
RetentionInDays: pulumi.Int(0),
})
var mysqlBackupResource = new MysqlBackup("mysqlBackupResource", MysqlBackupArgs.builder()
.dbSystemId("string")
.backupType("string")
.compartmentId("string")
.definedTags(Map.of("string", "any"))
.description("string")
.displayName("string")
.freeformTags(Map.of("string", "any"))
.retentionInDays(0)
.build());
mysql_backup_resource = oci.mysql.MysqlBackup("mysqlBackupResource",
db_system_id="string",
backup_type="string",
compartment_id="string",
defined_tags={
"string": "any",
},
description="string",
display_name="string",
freeform_tags={
"string": "any",
},
retention_in_days=0)
const mysqlBackupResource = new oci.mysql.MysqlBackup("mysqlBackupResource", {
dbSystemId: "string",
backupType: "string",
compartmentId: "string",
definedTags: {
string: "any",
},
description: "string",
displayName: "string",
freeformTags: {
string: "any",
},
retentionInDays: 0,
});
type: oci:Mysql:MysqlBackup
properties:
backupType: string
compartmentId: string
dbSystemId: string
definedTags:
string: any
description: string
displayName: string
freeformTags:
string: any
retentionInDays: 0
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:
- Db
System stringId - The OCID of the DB System the Backup is associated with.
- Backup
Type string - The type of backup.
- Compartment
Id string - (Updatable) The OCID of the compartment the backup exists in.
- Dictionary<string, object>
- (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, object>
- (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.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Db
System stringId - The OCID of the DB System the Backup is associated with.
- Backup
Type string - The type of backup.
- Compartment
Id string - (Updatable) The OCID of the compartment the backup exists in.
- map[string]interface{}
- (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]interface{}
- (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.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- db
System StringId - The OCID of the DB System the Backup is associated with.
- backup
Type String - The type of backup.
- compartment
Id String - (Updatable) The OCID of the compartment the backup exists in.
- Map<String,Object>
- (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,Object>
- (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.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- db
System stringId - The OCID of the DB System the Backup is associated with.
- backup
Type string - The type of backup.
- compartment
Id string - (Updatable) The OCID of the compartment the backup exists in.
- {[key: string]: any}
- (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]: any}
- (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.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- db_
system_ strid - The OCID of the DB System the Backup is associated with.
- backup_
type str - The type of backup.
- compartment_
id str - (Updatable) The OCID of the compartment the backup exists in.
- Mapping[str, Any]
- (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, Any]
- (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.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- db
System StringId - The OCID of the DB System the Backup is associated with.
- backup
Type String - The type of backup.
- compartment
Id String - (Updatable) The OCID of the compartment the backup exists in.
- Map<Any>
- (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<Any>
- (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.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
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 - Initial size of the data volume in GiBs that will be created and attached.
- 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.
- Lifecycle
Details string - Additional information about the current lifecycleState.
- Mysql
Version string - The MySQL server version of the DB System used for 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
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 - Initial size of the data volume in GiBs that will be created and attached.
- 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.
- Lifecycle
Details string - Additional information about the current lifecycleState.
- Mysql
Version string - The MySQL server version of the DB System used for 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
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 - Initial size of the data volume in GiBs that will be created and attached.
- 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.
- lifecycle
Details String - Additional information about the current lifecycleState.
- mysql
Version String - The MySQL server version of the DB System used for 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
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 - Initial size of the data volume in GiBs that will be created and attached.
- 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.
- lifecycle
Details string - Additional information about the current lifecycleState.
- mysql
Version string - The MySQL server version of the DB System used for 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_
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 - Initial size of the data volume in GiBs that will be created and attached.
- 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.
- lifecycle_
details str - Additional information about the current lifecycleState.
- mysql_
version str - The MySQL server version of the DB System used for 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
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 - Initial size of the data volume in GiBs that will be created and attached.
- 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.
- lifecycle
Details String - Additional information about the current lifecycleState.
- mysql
Version String - The MySQL server version of the DB System used for 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.
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_snapshots: Optional[Sequence[_mysql.MysqlBackupDbSystemSnapshotArgs]] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
lifecycle_details: Optional[str] = None,
mysql_version: Optional[str] = None,
retention_in_days: Optional[int] = None,
shape_name: Optional[str] = None,
state: 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 - 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<MysqlSnapshots Backup Db System Snapshot> - Snapshot of the DbSystem details at the time of the backup
- Dictionary<string, object>
- (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, object>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- 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 (Updatable) Number of days to retain this backup.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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
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 - 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 []MysqlSnapshots Backup Db System Snapshot Args - Snapshot of the DbSystem details at the time of the backup
- map[string]interface{}
- (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]interface{}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- 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 (Updatable) Number of days to retain this backup.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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
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 - 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<BackupSnapshots Db System Snapshot> - Snapshot of the DbSystem details at the time of the backup
- Map<String,Object>
- (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,Object>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- 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 (Updatable) Number of days to retain this backup.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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
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 - 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 MysqlSnapshots Backup Db System Snapshot[] - Snapshot of the DbSystem details at the time of the backup
- {[key: string]: any}
- (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]: any}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- 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 (Updatable) Number of days to retain this backup.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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_
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 - 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 Mysql Backup Db System Snapshot Args] - Snapshot of the DbSystem details at the time of the backup
- Mapping[str, Any]
- (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, Any]
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- 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 (Updatable) Number of days to retain this backup.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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
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 - 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>
- (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<Any>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- 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 (Updatable) Number of days to retain this backup.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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
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 - 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>
- (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, object>
- (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.
- 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 - 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{}
- (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]interface{}
- (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.
- 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 - 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>
- (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,Object>
- (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.
- 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 - 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}
- (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]: any}
- (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.
- 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 - 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]
- (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, Any]
- (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.
- 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 - 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>
- (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<Any>
- (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.
- 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, object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Dictionary<string, object>
- (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.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Window
Start stringTime - The start time of the maintenance window.
- map[string]interface{}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- map[string]interface{}
- (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.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Window
Start stringTime - The start time of the maintenance window.
- Map<String,Object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Map<String,Object>
- (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.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- window
Start StringTime - The start time of the maintenance window.
- {[key: string]: any}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- {[key: string]: any}
- (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.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- window
Start stringTime - The start time of the maintenance window.
- Mapping[str, Any]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Mapping[str, Any]
- (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.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- window_
start_ strtime - The start time of the maintenance window.
- Map<Any>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Map<Any>
- (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.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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.
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.
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.