1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Mysql
  5. MysqlBackup
Oracle Cloud Infrastructure v1.27.0 published on Friday, Mar 15, 2024 by Pulumi

oci.Mysql.MysqlBackup

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.27.0 published on Friday, Mar 15, 2024 by Pulumi

    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("testMysqlBackup", {
        dbSystemId: oci_mysql_mysql_db_system.test_db_system.id,
        backupType: _var.mysql_backup_backup_type,
        definedTags: {
            "foo-namespace.bar-key": "value",
        },
        description: _var.mysql_backup_description,
        displayName: _var.mysql_backup_display_name,
        freeformTags: {
            "bar-key": "value",
        },
        retentionInDays: _var.mysql_backup_retention_in_days,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_mysql_backup = oci.mysql.MysqlBackup("testMysqlBackup",
        db_system_id=oci_mysql_mysql_db_system["test_db_system"]["id"],
        backup_type=var["mysql_backup_backup_type"],
        defined_tags={
            "foo-namespace.bar-key": "value",
        },
        description=var["mysql_backup_description"],
        display_name=var["mysql_backup_display_name"],
        freeform_tags={
            "bar-key": "value",
        },
        retention_in_days=var["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, "testMysqlBackup", &Mysql.MysqlBackupArgs{
    			DbSystemId: pulumi.Any(oci_mysql_mysql_db_system.Test_db_system.Id),
    			BackupType: pulumi.Any(_var.Mysql_backup_backup_type),
    			DefinedTags: pulumi.Map{
    				"foo-namespace.bar-key": pulumi.Any("value"),
    			},
    			Description: pulumi.Any(_var.Mysql_backup_description),
    			DisplayName: pulumi.Any(_var.Mysql_backup_display_name),
    			FreeformTags: pulumi.Map{
    				"bar-key": pulumi.Any("value"),
    			},
    			RetentionInDays: pulumi.Any(_var.Mysql_backup_retention_in_days),
    		})
    		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("testMysqlBackup", new()
        {
            DbSystemId = oci_mysql_mysql_db_system.Test_db_system.Id,
            BackupType = @var.Mysql_backup_backup_type,
            DefinedTags = 
            {
                { "foo-namespace.bar-key", "value" },
            },
            Description = @var.Mysql_backup_description,
            DisplayName = @var.Mysql_backup_display_name,
            FreeformTags = 
            {
                { "bar-key", "value" },
            },
            RetentionInDays = @var.Mysql_backup_retention_in_days,
        });
    
    });
    
    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(oci_mysql_mysql_db_system.test_db_system().id())
                .backupType(var_.mysql_backup_backup_type())
                .definedTags(Map.of("foo-namespace.bar-key", "value"))
                .description(var_.mysql_backup_description())
                .displayName(var_.mysql_backup_display_name())
                .freeformTags(Map.of("bar-key", "value"))
                .retentionInDays(var_.mysql_backup_retention_in_days())
                .build());
    
        }
    }
    
    resources:
      testMysqlBackup:
        type: oci:Mysql:MysqlBackup
        properties:
          #Required
          dbSystemId: ${oci_mysql_mysql_db_system.test_db_system.id}
          #Optional
          backupType: ${var.mysql_backup_backup_type}
          definedTags:
            foo-namespace.bar-key: value
          description: ${var.mysql_backup_description}
          displayName: ${var.mysql_backup_display_name}
          freeformTags:
            bar-key: value
          retentionInDays: ${var.mysql_backup_retention_in_days}
    

    Create MysqlBackup Resource

    new MysqlBackup(name: string, args: MysqlBackupArgs, opts?: CustomResourceOptions);
    @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,
                    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)
    @overload
    def MysqlBackup(resource_name: str,
                    args: MysqlBackupArgs,
                    opts: Optional[ResourceOptions] = 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.
    
    
    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.

    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:

    DbSystemId string
    The OCID of the DB System the Backup is associated with.
    BackupType string
    The type of backup.
    CompartmentId string
    (Updatable) The OCID of the compartment the backup exists in.
    DefinedTags 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.
    DisplayName string
    (Updatable) A user-supplied display name for the backup.
    FreeformTags 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"}
    RetentionInDays int

    (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

    DbSystemId string
    The OCID of the DB System the Backup is associated with.
    BackupType string
    The type of backup.
    CompartmentId string
    (Updatable) The OCID of the compartment the backup exists in.
    DefinedTags 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.
    DisplayName string
    (Updatable) A user-supplied display name for the backup.
    FreeformTags 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"}
    RetentionInDays int

    (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

    dbSystemId String
    The OCID of the DB System the Backup is associated with.
    backupType String
    The type of backup.
    compartmentId String
    (Updatable) The OCID of the compartment the backup exists in.
    definedTags 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.
    displayName String
    (Updatable) A user-supplied display name for the backup.
    freeformTags 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"}
    retentionInDays Integer

    (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

    dbSystemId string
    The OCID of the DB System the Backup is associated with.
    backupType string
    The type of backup.
    compartmentId string
    (Updatable) The OCID of the compartment the backup exists in.
    definedTags {[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.
    displayName string
    (Updatable) A user-supplied display name for the backup.
    freeformTags {[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"}
    retentionInDays number

    (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_id str
    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.
    defined_tags 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.
    freeform_tags 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_days int

    (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

    dbSystemId String
    The OCID of the DB System the Backup is associated with.
    backupType String
    The type of backup.
    compartmentId String
    (Updatable) The OCID of the compartment the backup exists in.
    definedTags 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.
    displayName String
    (Updatable) A user-supplied display name for the backup.
    freeformTags 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"}
    retentionInDays Number

    (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:

    BackupSizeInGbs int
    The size of the backup in base-2 (IEC) gibibytes. (GiB).
    CreationType string
    Indicates how the backup was created: manually, automatic, or by an Operator.
    DataStorageSizeInGb int
    Initial size of the data volume in GiBs that will be created and attached.
    DbSystemSnapshots List<MysqlBackupDbSystemSnapshot>
    Snapshot of the DbSystem details at the time of the backup
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    Additional information about the current lifecycleState.
    MysqlVersion string
    The MySQL server version of the DB System used for backup.
    ShapeName string
    The shape of the DB System instance used for backup.
    State string
    The state of the backup.
    TimeCreated string
    The time the backup record was created.
    TimeUpdated string
    The time at which the backup was updated.
    BackupSizeInGbs int
    The size of the backup in base-2 (IEC) gibibytes. (GiB).
    CreationType string
    Indicates how the backup was created: manually, automatic, or by an Operator.
    DataStorageSizeInGb int
    Initial size of the data volume in GiBs that will be created and attached.
    DbSystemSnapshots []MysqlBackupDbSystemSnapshot
    Snapshot of the DbSystem details at the time of the backup
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    Additional information about the current lifecycleState.
    MysqlVersion string
    The MySQL server version of the DB System used for backup.
    ShapeName string
    The shape of the DB System instance used for backup.
    State string
    The state of the backup.
    TimeCreated string
    The time the backup record was created.
    TimeUpdated string
    The time at which the backup was updated.
    backupSizeInGbs Integer
    The size of the backup in base-2 (IEC) gibibytes. (GiB).
    creationType String
    Indicates how the backup was created: manually, automatic, or by an Operator.
    dataStorageSizeInGb Integer
    Initial size of the data volume in GiBs that will be created and attached.
    dbSystemSnapshots List<BackupDbSystemSnapshot>
    Snapshot of the DbSystem details at the time of the backup
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    Additional information about the current lifecycleState.
    mysqlVersion String
    The MySQL server version of the DB System used for backup.
    shapeName String
    The shape of the DB System instance used for backup.
    state String
    The state of the backup.
    timeCreated String
    The time the backup record was created.
    timeUpdated String
    The time at which the backup was updated.
    backupSizeInGbs number
    The size of the backup in base-2 (IEC) gibibytes. (GiB).
    creationType string
    Indicates how the backup was created: manually, automatic, or by an Operator.
    dataStorageSizeInGb number
    Initial size of the data volume in GiBs that will be created and attached.
    dbSystemSnapshots MysqlBackupDbSystemSnapshot[]
    Snapshot of the DbSystem details at the time of the backup
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails string
    Additional information about the current lifecycleState.
    mysqlVersion string
    The MySQL server version of the DB System used for backup.
    shapeName string
    The shape of the DB System instance used for backup.
    state string
    The state of the backup.
    timeCreated string
    The time the backup record was created.
    timeUpdated string
    The time at which the backup was updated.
    backup_size_in_gbs int
    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_size_in_gb int
    Initial size of the data volume in GiBs that will be created and attached.
    db_system_snapshots MysqlBackupDbSystemSnapshot]
    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.
    backupSizeInGbs Number
    The size of the backup in base-2 (IEC) gibibytes. (GiB).
    creationType String
    Indicates how the backup was created: manually, automatic, or by an Operator.
    dataStorageSizeInGb Number
    Initial size of the data volume in GiBs that will be created and attached.
    dbSystemSnapshots List<Property Map>
    Snapshot of the DbSystem details at the time of the backup
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    Additional information about the current lifecycleState.
    mysqlVersion String
    The MySQL server version of the DB System used for backup.
    shapeName String
    The shape of the DB System instance used for backup.
    state String
    The state of the backup.
    timeCreated String
    The time the backup record was created.
    timeUpdated 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.
    The following state arguments are supported:
    BackupSizeInGbs int
    The size of the backup in base-2 (IEC) gibibytes. (GiB).
    BackupType string
    The type of backup.
    CompartmentId string
    (Updatable) The OCID of the compartment the backup exists in.
    CreationType string
    Indicates how the backup was created: manually, automatic, or by an Operator.
    DataStorageSizeInGb int
    Initial size of the data volume in GiBs that will be created and attached.
    DbSystemId string
    The OCID of the DB System the Backup is associated with.
    DbSystemSnapshots List<MysqlBackupDbSystemSnapshot>
    Snapshot of the DbSystem details at the time of the backup
    DefinedTags 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.
    DisplayName string
    (Updatable) A user-supplied display name for the backup.
    FreeformTags 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"}
    LifecycleDetails string
    Additional information about the current lifecycleState.
    MysqlVersion string
    The MySQL server version of the DB System used for backup.
    RetentionInDays int

    (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

    ShapeName string
    The shape of the DB System instance used for backup.
    State string
    The state of the backup.
    TimeCreated string
    The time the backup record was created.
    TimeUpdated string
    The time at which the backup was updated.
    BackupSizeInGbs int
    The size of the backup in base-2 (IEC) gibibytes. (GiB).
    BackupType string
    The type of backup.
    CompartmentId string
    (Updatable) The OCID of the compartment the backup exists in.
    CreationType string
    Indicates how the backup was created: manually, automatic, or by an Operator.
    DataStorageSizeInGb int
    Initial size of the data volume in GiBs that will be created and attached.
    DbSystemId string
    The OCID of the DB System the Backup is associated with.
    DbSystemSnapshots []MysqlBackupDbSystemSnapshotArgs
    Snapshot of the DbSystem details at the time of the backup
    DefinedTags 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.
    DisplayName string
    (Updatable) A user-supplied display name for the backup.
    FreeformTags 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"}
    LifecycleDetails string
    Additional information about the current lifecycleState.
    MysqlVersion string
    The MySQL server version of the DB System used for backup.
    RetentionInDays int

    (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

    ShapeName string
    The shape of the DB System instance used for backup.
    State string
    The state of the backup.
    TimeCreated string
    The time the backup record was created.
    TimeUpdated string
    The time at which the backup was updated.
    backupSizeInGbs Integer
    The size of the backup in base-2 (IEC) gibibytes. (GiB).
    backupType String
    The type of backup.
    compartmentId String
    (Updatable) The OCID of the compartment the backup exists in.
    creationType String
    Indicates how the backup was created: manually, automatic, or by an Operator.
    dataStorageSizeInGb Integer
    Initial size of the data volume in GiBs that will be created and attached.
    dbSystemId String
    The OCID of the DB System the Backup is associated with.
    dbSystemSnapshots List<BackupDbSystemSnapshot>
    Snapshot of the DbSystem details at the time of the backup
    definedTags 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.
    displayName String
    (Updatable) A user-supplied display name for the backup.
    freeformTags 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"}
    lifecycleDetails String
    Additional information about the current lifecycleState.
    mysqlVersion String
    The MySQL server version of the DB System used for backup.
    retentionInDays Integer

    (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

    shapeName String
    The shape of the DB System instance used for backup.
    state String
    The state of the backup.
    timeCreated String
    The time the backup record was created.
    timeUpdated String
    The time at which the backup was updated.
    backupSizeInGbs number
    The size of the backup in base-2 (IEC) gibibytes. (GiB).
    backupType string
    The type of backup.
    compartmentId string
    (Updatable) The OCID of the compartment the backup exists in.
    creationType string
    Indicates how the backup was created: manually, automatic, or by an Operator.
    dataStorageSizeInGb number
    Initial size of the data volume in GiBs that will be created and attached.
    dbSystemId string
    The OCID of the DB System the Backup is associated with.
    dbSystemSnapshots MysqlBackupDbSystemSnapshot[]
    Snapshot of the DbSystem details at the time of the backup
    definedTags {[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.
    displayName string
    (Updatable) A user-supplied display name for the backup.
    freeformTags {[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"}
    lifecycleDetails string
    Additional information about the current lifecycleState.
    mysqlVersion string
    The MySQL server version of the DB System used for backup.
    retentionInDays number

    (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

    shapeName string
    The shape of the DB System instance used for backup.
    state string
    The state of the backup.
    timeCreated string
    The time the backup record was created.
    timeUpdated string
    The time at which the backup was updated.
    backup_size_in_gbs int
    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_size_in_gb int
    Initial size of the data volume in GiBs that will be created and attached.
    db_system_id str
    The OCID of the DB System the Backup is associated with.
    db_system_snapshots MysqlBackupDbSystemSnapshotArgs]
    Snapshot of the DbSystem details at the time of the backup
    defined_tags 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.
    freeform_tags 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_days int

    (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.
    backupSizeInGbs Number
    The size of the backup in base-2 (IEC) gibibytes. (GiB).
    backupType String
    The type of backup.
    compartmentId String
    (Updatable) The OCID of the compartment the backup exists in.
    creationType String
    Indicates how the backup was created: manually, automatic, or by an Operator.
    dataStorageSizeInGb Number
    Initial size of the data volume in GiBs that will be created and attached.
    dbSystemId String
    The OCID of the DB System the Backup is associated with.
    dbSystemSnapshots List<Property Map>
    Snapshot of the DbSystem details at the time of the backup
    definedTags 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.
    displayName String
    (Updatable) A user-supplied display name for the backup.
    freeformTags 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"}
    lifecycleDetails String
    Additional information about the current lifecycleState.
    mysqlVersion String
    The MySQL server version of the DB System used for backup.
    retentionInDays Number

    (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

    shapeName String
    The shape of the DB System instance used for backup.
    state String
    The state of the backup.
    timeCreated String
    The time the backup record was created.
    timeUpdated String
    The time at which the backup was updated.

    Supporting Types

    MysqlBackupDbSystemSnapshot, MysqlBackupDbSystemSnapshotArgs

    AdminUsername string
    The username for the administrative user.
    AvailabilityDomain string
    The Availability Domain where the primary DB System should be located.
    BackupPolicies List<MysqlBackupDbSystemSnapshotBackupPolicy>
    The Backup policy for the DB System.
    CompartmentId string
    (Updatable) The OCID of the compartment the backup exists in.
    ConfigurationId string
    The OCID of the Configuration to be used for Instances in this DB System.
    CrashRecovery 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.
    DataStorageSizeInGb int
    Initial size of the data volume in GiBs that will be created and attached.
    DatabaseManagement string
    Whether to enable monitoring via the Database Management service.
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DeletionPolicies List<MysqlBackupDbSystemSnapshotDeletionPolicy>
    The Deletion policy for the DB System.
    Description string
    (Updatable) A user-supplied description for the backup.
    DisplayName string
    (Updatable) A user-supplied display name for the backup.
    Endpoints List<MysqlBackupDbSystemSnapshotEndpoint>
    The network endpoints available for this DB System.
    FaultDomain string
    The name of the Fault Domain the DB System is located in.
    FreeformTags 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"}
    HostnameLabel 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
    IpAddress 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.
    IsHighlyAvailable bool
    Specifies if the DB System is highly available.
    Maintenances List<MysqlBackupDbSystemSnapshotMaintenance>
    The Maintenance Policy for the DB System or Read Replica that this model is included in.
    MysqlVersion 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.
    PortX int
    The network port on which X Plugin listens for TCP/IP connections. This is the X Plugin equivalent of port.
    SecureConnections List<MysqlBackupDbSystemSnapshotSecureConnection>
    Secure connection configuration details.
    ShapeName string
    The shape of the DB System instance used for backup.
    SubnetId string
    The OCID of the subnet the DB System is associated with.
    AdminUsername string
    The username for the administrative user.
    AvailabilityDomain string
    The Availability Domain where the primary DB System should be located.
    BackupPolicies []MysqlBackupDbSystemSnapshotBackupPolicy
    The Backup policy for the DB System.
    CompartmentId string
    (Updatable) The OCID of the compartment the backup exists in.
    ConfigurationId string
    The OCID of the Configuration to be used for Instances in this DB System.
    CrashRecovery 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.
    DataStorageSizeInGb int
    Initial size of the data volume in GiBs that will be created and attached.
    DatabaseManagement string
    Whether to enable monitoring via the Database Management service.
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DeletionPolicies []MysqlBackupDbSystemSnapshotDeletionPolicy
    The Deletion policy for the DB System.
    Description string
    (Updatable) A user-supplied description for the backup.
    DisplayName string
    (Updatable) A user-supplied display name for the backup.
    Endpoints []MysqlBackupDbSystemSnapshotEndpoint
    The network endpoints available for this DB System.
    FaultDomain string
    The name of the Fault Domain the DB System is located in.
    FreeformTags 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"}
    HostnameLabel 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
    IpAddress 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.
    IsHighlyAvailable bool
    Specifies if the DB System is highly available.
    Maintenances []MysqlBackupDbSystemSnapshotMaintenance
    The Maintenance Policy for the DB System or Read Replica that this model is included in.
    MysqlVersion 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.
    PortX int
    The network port on which X Plugin listens for TCP/IP connections. This is the X Plugin equivalent of port.
    SecureConnections []MysqlBackupDbSystemSnapshotSecureConnection
    Secure connection configuration details.
    ShapeName string
    The shape of the DB System instance used for backup.
    SubnetId string
    The OCID of the subnet the DB System is associated with.
    adminUsername String
    The username for the administrative user.
    availabilityDomain String
    The Availability Domain where the primary DB System should be located.
    backupPolicies List<BackupDbSystemSnapshotBackupPolicy>
    The Backup policy for the DB System.
    compartmentId String
    (Updatable) The OCID of the compartment the backup exists in.
    configurationId String
    The OCID of the Configuration to be used for Instances in this DB System.
    crashRecovery 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.
    dataStorageSizeInGb Integer
    Initial size of the data volume in GiBs that will be created and attached.
    databaseManagement String
    Whether to enable monitoring via the Database Management service.
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    deletionPolicies List<BackupDbSystemSnapshotDeletionPolicy>
    The Deletion policy for the DB System.
    description String
    (Updatable) A user-supplied description for the backup.
    displayName String
    (Updatable) A user-supplied display name for the backup.
    endpoints List<BackupDbSystemSnapshotEndpoint>
    The network endpoints available for this DB System.
    faultDomain String
    The name of the Fault Domain the DB System is located in.
    freeformTags 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"}
    hostnameLabel 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
    ipAddress 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.
    isHighlyAvailable Boolean
    Specifies if the DB System is highly available.
    maintenances List<BackupDbSystemSnapshotMaintenance>
    The Maintenance Policy for the DB System or Read Replica that this model is included in.
    mysqlVersion 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.
    portX Integer
    The network port on which X Plugin listens for TCP/IP connections. This is the X Plugin equivalent of port.
    secureConnections List<BackupDbSystemSnapshotSecureConnection>
    Secure connection configuration details.
    shapeName String
    The shape of the DB System instance used for backup.
    subnetId String
    The OCID of the subnet the DB System is associated with.
    adminUsername string
    The username for the administrative user.
    availabilityDomain string
    The Availability Domain where the primary DB System should be located.
    backupPolicies MysqlBackupDbSystemSnapshotBackupPolicy[]
    The Backup policy for the DB System.
    compartmentId string
    (Updatable) The OCID of the compartment the backup exists in.
    configurationId string
    The OCID of the Configuration to be used for Instances in this DB System.
    crashRecovery 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.
    dataStorageSizeInGb number
    Initial size of the data volume in GiBs that will be created and attached.
    databaseManagement string
    Whether to enable monitoring via the Database Management service.
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    deletionPolicies MysqlBackupDbSystemSnapshotDeletionPolicy[]
    The Deletion policy for the DB System.
    description string
    (Updatable) A user-supplied description for the backup.
    displayName string
    (Updatable) A user-supplied display name for the backup.
    endpoints MysqlBackupDbSystemSnapshotEndpoint[]
    The network endpoints available for this DB System.
    faultDomain string
    The name of the Fault Domain the DB System is located in.
    freeformTags {[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"}
    hostnameLabel 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
    ipAddress 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.
    isHighlyAvailable boolean
    Specifies if the DB System is highly available.
    maintenances MysqlBackupDbSystemSnapshotMaintenance[]
    The Maintenance Policy for the DB System or Read Replica that this model is included in.
    mysqlVersion 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.
    portX number
    The network port on which X Plugin listens for TCP/IP connections. This is the X Plugin equivalent of port.
    secureConnections MysqlBackupDbSystemSnapshotSecureConnection[]
    Secure connection configuration details.
    shapeName string
    The shape of the DB System instance used for backup.
    subnetId 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 MysqlBackupDbSystemSnapshotBackupPolicy]
    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_size_in_gb int
    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.
    defined_tags 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 MysqlBackupDbSystemSnapshotDeletionPolicy]
    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 MysqlBackupDbSystemSnapshotEndpoint]
    The network endpoints available for this DB System.
    fault_domain str
    The name of the Fault Domain the DB System is located in.
    freeform_tags 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_available bool
    Specifies if the DB System is highly available.
    maintenances MysqlBackupDbSystemSnapshotMaintenance]
    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 MysqlBackupDbSystemSnapshotSecureConnection]
    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.
    adminUsername String
    The username for the administrative user.
    availabilityDomain String
    The Availability Domain where the primary DB System should be located.
    backupPolicies List<Property Map>
    The Backup policy for the DB System.
    compartmentId String
    (Updatable) The OCID of the compartment the backup exists in.
    configurationId String
    The OCID of the Configuration to be used for Instances in this DB System.
    crashRecovery 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.
    dataStorageSizeInGb Number
    Initial size of the data volume in GiBs that will be created and attached.
    databaseManagement String
    Whether to enable monitoring via the Database Management service.
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    deletionPolicies List<Property Map>
    The Deletion policy for the DB System.
    description String
    (Updatable) A user-supplied description for the backup.
    displayName String
    (Updatable) A user-supplied display name for the backup.
    endpoints List<Property Map>
    The network endpoints available for this DB System.
    faultDomain String
    The name of the Fault Domain the DB System is located in.
    freeformTags 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"}
    hostnameLabel 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
    ipAddress 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.
    isHighlyAvailable Boolean
    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.
    mysqlVersion 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.
    portX Number
    The network port on which X Plugin listens for TCP/IP connections. This is the X Plugin equivalent of port.
    secureConnections List<Property Map>
    Secure connection configuration details.
    shapeName String
    The shape of the DB System instance used for backup.
    subnetId String
    The OCID of the subnet the DB System is associated with.

    MysqlBackupDbSystemSnapshotBackupPolicy, MysqlBackupDbSystemSnapshotBackupPolicyArgs

    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags 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"}
    IsEnabled bool
    Specifies if PITR is enabled or disabled.
    PitrPolicies List<MysqlBackupDbSystemSnapshotBackupPolicyPitrPolicy>
    The PITR policy for the DB System.
    RetentionInDays int

    (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

    WindowStartTime string
    The start time of the maintenance window.
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags 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"}
    IsEnabled bool
    Specifies if PITR is enabled or disabled.
    PitrPolicies []MysqlBackupDbSystemSnapshotBackupPolicyPitrPolicy
    The PITR policy for the DB System.
    RetentionInDays int

    (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

    WindowStartTime string
    The start time of the maintenance window.
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags 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"}
    isEnabled Boolean
    Specifies if PITR is enabled or disabled.
    pitrPolicies List<BackupDbSystemSnapshotBackupPolicyPitrPolicy>
    The PITR policy for the DB System.
    retentionInDays Integer

    (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

    windowStartTime String
    The start time of the maintenance window.
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags {[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"}
    isEnabled boolean
    Specifies if PITR is enabled or disabled.
    pitrPolicies MysqlBackupDbSystemSnapshotBackupPolicyPitrPolicy[]
    The PITR policy for the DB System.
    retentionInDays number

    (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

    windowStartTime string
    The start time of the maintenance window.
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeform_tags 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 MysqlBackupDbSystemSnapshotBackupPolicyPitrPolicy]
    The PITR policy for the DB System.
    retention_in_days int

    (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_time str
    The start time of the maintenance window.
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags 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"}
    isEnabled Boolean
    Specifies if PITR is enabled or disabled.
    pitrPolicies List<Property Map>
    The PITR policy for the DB System.
    retentionInDays Number

    (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

    windowStartTime String
    The start time of the maintenance window.

    MysqlBackupDbSystemSnapshotBackupPolicyPitrPolicy, MysqlBackupDbSystemSnapshotBackupPolicyPitrPolicyArgs

    IsEnabled bool
    Specifies if PITR is enabled or disabled.
    IsEnabled bool
    Specifies if PITR is enabled or disabled.
    isEnabled Boolean
    Specifies if PITR is enabled or disabled.
    isEnabled boolean
    Specifies if PITR is enabled or disabled.
    is_enabled bool
    Specifies if PITR is enabled or disabled.
    isEnabled Boolean
    Specifies if PITR is enabled or disabled.

    MysqlBackupDbSystemSnapshotDeletionPolicy, MysqlBackupDbSystemSnapshotDeletionPolicyArgs

    AutomaticBackupRetention string
    Specifies if any automatic backups created for a DB System should be retained or deleted when the DB System is deleted.
    FinalBackup 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.
    IsDeleteProtected bool
    Specifies whether the DB System can be deleted. Set to true to prevent deletion, false (default) to allow.
    AutomaticBackupRetention string
    Specifies if any automatic backups created for a DB System should be retained or deleted when the DB System is deleted.
    FinalBackup 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.
    IsDeleteProtected bool
    Specifies whether the DB System can be deleted. Set to true to prevent deletion, false (default) to allow.
    automaticBackupRetention String
    Specifies if any automatic backups created for a DB System should be retained or deleted when the DB System is deleted.
    finalBackup 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.
    isDeleteProtected Boolean
    Specifies whether the DB System can be deleted. Set to true to prevent deletion, false (default) to allow.
    automaticBackupRetention string
    Specifies if any automatic backups created for a DB System should be retained or deleted when the DB System is deleted.
    finalBackup 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.
    isDeleteProtected boolean
    Specifies whether the DB System can be deleted. Set to true to prevent deletion, false (default) to allow.
    automatic_backup_retention str
    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_protected bool
    Specifies whether the DB System can be deleted. Set to true to prevent deletion, false (default) to allow.
    automaticBackupRetention String
    Specifies if any automatic backups created for a DB System should be retained or deleted when the DB System is deleted.
    finalBackup 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.
    isDeleteProtected Boolean
    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.
    IpAddress 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.
    PortX int
    The network port on which X Plugin listens for TCP/IP connections. This is the X Plugin equivalent of port.
    ResourceId string
    The OCID of the resource that this endpoint is attached to.
    ResourceType 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.
    StatusDetails string
    Additional information about the current endpoint status.
    Hostname string
    The network address of the DB System.
    IpAddress 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.
    PortX int
    The network port on which X Plugin listens for TCP/IP connections. This is the X Plugin equivalent of port.
    ResourceId string
    The OCID of the resource that this endpoint is attached to.
    ResourceType 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.
    StatusDetails string
    Additional information about the current endpoint status.
    hostname String
    The network address of the DB System.
    ipAddress 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.
    portX Integer
    The network port on which X Plugin listens for TCP/IP connections. This is the X Plugin equivalent of port.
    resourceId String
    The OCID of the resource that this endpoint is attached to.
    resourceType 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.
    statusDetails String
    Additional information about the current endpoint status.
    hostname string
    The network address of the DB System.
    ipAddress 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.
    portX number
    The network port on which X Plugin listens for TCP/IP connections. This is the X Plugin equivalent of port.
    resourceId string
    The OCID of the resource that this endpoint is attached to.
    resourceType 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.
    statusDetails 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.
    ipAddress 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.
    portX Number
    The network port on which X Plugin listens for TCP/IP connections. This is the X Plugin equivalent of port.
    resourceId String
    The OCID of the resource that this endpoint is attached to.
    resourceType 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.
    statusDetails String
    Additional information about the current endpoint status.

    MysqlBackupDbSystemSnapshotMaintenance, MysqlBackupDbSystemSnapshotMaintenanceArgs

    WindowStartTime string
    The start time of the maintenance window.
    WindowStartTime string
    The start time of the maintenance window.
    windowStartTime String
    The start time of the maintenance window.
    windowStartTime string
    The start time of the maintenance window.
    window_start_time str
    The start time of the maintenance window.
    windowStartTime String
    The start time of the maintenance window.

    MysqlBackupDbSystemSnapshotSecureConnection, MysqlBackupDbSystemSnapshotSecureConnectionArgs

    CertificateGenerationType string
    Select whether to use MySQL Database Service-managed certificate (SYSTEM) or your own certificate (BYOC).
    CertificateId string
    The OCID of the certificate to use.
    CertificateGenerationType string
    Select whether to use MySQL Database Service-managed certificate (SYSTEM) or your own certificate (BYOC).
    CertificateId string
    The OCID of the certificate to use.
    certificateGenerationType String
    Select whether to use MySQL Database Service-managed certificate (SYSTEM) or your own certificate (BYOC).
    certificateId String
    The OCID of the certificate to use.
    certificateGenerationType string
    Select whether to use MySQL Database Service-managed certificate (SYSTEM) or your own certificate (BYOC).
    certificateId string
    The OCID of the certificate to use.
    certificate_generation_type str
    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.
    certificateGenerationType String
    Select whether to use MySQL Database Service-managed certificate (SYSTEM) or your own certificate (BYOC).
    certificateId 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"
    

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.27.0 published on Friday, Mar 15, 2024 by Pulumi