1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. TaurusdbMysqlBackupV3
opentelekomcloud 1.36.49 published on Thursday, Oct 2, 2025 by opentelekomcloud

opentelekomcloud.TaurusdbMysqlBackupV3

Deploy with Pulumi
opentelekomcloud logo
opentelekomcloud 1.36.49 published on Thursday, Oct 2, 2025 by opentelekomcloud

    Manages a TaurusDb MySQL backup resource within OpenTelekomCloud.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const config = new pulumi.Config();
    const instanceId = config.requireObject("instanceId");
    const test = new opentelekomcloud.TaurusdbMysqlBackupV3("test", {
        instanceId: instanceId,
        description: "test description",
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    config = pulumi.Config()
    instance_id = config.require_object("instanceId")
    test = opentelekomcloud.TaurusdbMysqlBackupV3("test",
        instance_id=instance_id,
        description="test description")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		instanceId := cfg.RequireObject("instanceId")
    		_, err := opentelekomcloud.NewTaurusdbMysqlBackupV3(ctx, "test", &opentelekomcloud.TaurusdbMysqlBackupV3Args{
    			InstanceId:  pulumi.Any(instanceId),
    			Description: pulumi.String("test description"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Opentelekomcloud = Pulumi.Opentelekomcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var instanceId = config.RequireObject<dynamic>("instanceId");
        var test = new Opentelekomcloud.TaurusdbMysqlBackupV3("test", new()
        {
            InstanceId = instanceId,
            Description = "test description",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.TaurusdbMysqlBackupV3;
    import com.pulumi.opentelekomcloud.TaurusdbMysqlBackupV3Args;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var config = ctx.config();
            final var instanceId = config.get("instanceId");
            var test = new TaurusdbMysqlBackupV3("test", TaurusdbMysqlBackupV3Args.builder()
                .instanceId(instanceId)
                .description("test description")
                .build());
    
        }
    }
    
    configuration:
      instanceId:
        type: dynamic
    resources:
      test:
        type: opentelekomcloud:TaurusdbMysqlBackupV3
        properties:
          instanceId: ${instanceId}
          description: test description
    

    Create TaurusdbMysqlBackupV3 Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new TaurusdbMysqlBackupV3(name: string, args: TaurusdbMysqlBackupV3Args, opts?: CustomResourceOptions);
    @overload
    def TaurusdbMysqlBackupV3(resource_name: str,
                              args: TaurusdbMysqlBackupV3Args,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def TaurusdbMysqlBackupV3(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              instance_id: Optional[str] = None,
                              description: Optional[str] = None,
                              name: Optional[str] = None,
                              taurusdb_mysql_backup_v3_id: Optional[str] = None,
                              timeouts: Optional[TaurusdbMysqlBackupV3TimeoutsArgs] = None)
    func NewTaurusdbMysqlBackupV3(ctx *Context, name string, args TaurusdbMysqlBackupV3Args, opts ...ResourceOption) (*TaurusdbMysqlBackupV3, error)
    public TaurusdbMysqlBackupV3(string name, TaurusdbMysqlBackupV3Args args, CustomResourceOptions? opts = null)
    public TaurusdbMysqlBackupV3(String name, TaurusdbMysqlBackupV3Args args)
    public TaurusdbMysqlBackupV3(String name, TaurusdbMysqlBackupV3Args args, CustomResourceOptions options)
    
    type: opentelekomcloud:TaurusdbMysqlBackupV3
    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 TaurusdbMysqlBackupV3Args
    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 TaurusdbMysqlBackupV3Args
    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 TaurusdbMysqlBackupV3Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TaurusdbMysqlBackupV3Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TaurusdbMysqlBackupV3Args
    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 taurusdbMysqlBackupV3Resource = new Opentelekomcloud.TaurusdbMysqlBackupV3("taurusdbMysqlBackupV3Resource", new()
    {
        InstanceId = "string",
        Description = "string",
        Name = "string",
        TaurusdbMysqlBackupV3Id = "string",
        Timeouts = new Opentelekomcloud.Inputs.TaurusdbMysqlBackupV3TimeoutsArgs
        {
            Create = "string",
        },
    });
    
    example, err := opentelekomcloud.NewTaurusdbMysqlBackupV3(ctx, "taurusdbMysqlBackupV3Resource", &opentelekomcloud.TaurusdbMysqlBackupV3Args{
    	InstanceId:              pulumi.String("string"),
    	Description:             pulumi.String("string"),
    	Name:                    pulumi.String("string"),
    	TaurusdbMysqlBackupV3Id: pulumi.String("string"),
    	Timeouts: &opentelekomcloud.TaurusdbMysqlBackupV3TimeoutsArgs{
    		Create: pulumi.String("string"),
    	},
    })
    
    var taurusdbMysqlBackupV3Resource = new TaurusdbMysqlBackupV3("taurusdbMysqlBackupV3Resource", TaurusdbMysqlBackupV3Args.builder()
        .instanceId("string")
        .description("string")
        .name("string")
        .taurusdbMysqlBackupV3Id("string")
        .timeouts(TaurusdbMysqlBackupV3TimeoutsArgs.builder()
            .create("string")
            .build())
        .build());
    
    taurusdb_mysql_backup_v3_resource = opentelekomcloud.TaurusdbMysqlBackupV3("taurusdbMysqlBackupV3Resource",
        instance_id="string",
        description="string",
        name="string",
        taurusdb_mysql_backup_v3_id="string",
        timeouts={
            "create": "string",
        })
    
    const taurusdbMysqlBackupV3Resource = new opentelekomcloud.TaurusdbMysqlBackupV3("taurusdbMysqlBackupV3Resource", {
        instanceId: "string",
        description: "string",
        name: "string",
        taurusdbMysqlBackupV3Id: "string",
        timeouts: {
            create: "string",
        },
    });
    
    type: opentelekomcloud:TaurusdbMysqlBackupV3
    properties:
        description: string
        instanceId: string
        name: string
        taurusdbMysqlBackupV3Id: string
        timeouts:
            create: string
    

    TaurusdbMysqlBackupV3 Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The TaurusdbMysqlBackupV3 resource accepts the following input properties:

    InstanceId string
    Specifies the ID of the TaurusDb MySQL instance.
    Description string
    Specifies the description of the backup.
    Name string
    Specifies the name of the backup. It must start with a letter and consist of 4 to 64 characters. Only letters (case-sensitive), digits, hyphens (-), and underscores (_) are allowed.
    TaurusdbMysqlBackupV3Id string
    The resource ID.
    Timeouts TaurusdbMysqlBackupV3Timeouts
    InstanceId string
    Specifies the ID of the TaurusDb MySQL instance.
    Description string
    Specifies the description of the backup.
    Name string
    Specifies the name of the backup. It must start with a letter and consist of 4 to 64 characters. Only letters (case-sensitive), digits, hyphens (-), and underscores (_) are allowed.
    TaurusdbMysqlBackupV3Id string
    The resource ID.
    Timeouts TaurusdbMysqlBackupV3TimeoutsArgs
    instanceId String
    Specifies the ID of the TaurusDb MySQL instance.
    description String
    Specifies the description of the backup.
    name String
    Specifies the name of the backup. It must start with a letter and consist of 4 to 64 characters. Only letters (case-sensitive), digits, hyphens (-), and underscores (_) are allowed.
    taurusdbMysqlBackupV3Id String
    The resource ID.
    timeouts TaurusdbMysqlBackupV3Timeouts
    instanceId string
    Specifies the ID of the TaurusDb MySQL instance.
    description string
    Specifies the description of the backup.
    name string
    Specifies the name of the backup. It must start with a letter and consist of 4 to 64 characters. Only letters (case-sensitive), digits, hyphens (-), and underscores (_) are allowed.
    taurusdbMysqlBackupV3Id string
    The resource ID.
    timeouts TaurusdbMysqlBackupV3Timeouts
    instance_id str
    Specifies the ID of the TaurusDb MySQL instance.
    description str
    Specifies the description of the backup.
    name str
    Specifies the name of the backup. It must start with a letter and consist of 4 to 64 characters. Only letters (case-sensitive), digits, hyphens (-), and underscores (_) are allowed.
    taurusdb_mysql_backup_v3_id str
    The resource ID.
    timeouts TaurusdbMysqlBackupV3TimeoutsArgs
    instanceId String
    Specifies the ID of the TaurusDb MySQL instance.
    description String
    Specifies the description of the backup.
    name String
    Specifies the name of the backup. It must start with a letter and consist of 4 to 64 characters. Only letters (case-sensitive), digits, hyphens (-), and underscores (_) are allowed.
    taurusdbMysqlBackupV3Id String
    The resource ID.
    timeouts Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the TaurusdbMysqlBackupV3 resource produces the following output properties:

    BeginTime string
    Indicates the backup start time in the yyyy-mm-ddThh:mm:ssZ format.
    Datastores List<TaurusdbMysqlBackupV3Datastore>
    Indicates the database information.
    EndTime string
    Indicates the backup end time in the yyyy-mm-ddThh:mm:ssZ format.
    Id string
    The provider-assigned unique ID for this managed resource.
    Region string
    The resource region
    Size double
    Indicates the backup size in MB.
    TakeUpTime double
    Indicates the backup duration in minutes.
    BeginTime string
    Indicates the backup start time in the yyyy-mm-ddThh:mm:ssZ format.
    Datastores []TaurusdbMysqlBackupV3Datastore
    Indicates the database information.
    EndTime string
    Indicates the backup end time in the yyyy-mm-ddThh:mm:ssZ format.
    Id string
    The provider-assigned unique ID for this managed resource.
    Region string
    The resource region
    Size float64
    Indicates the backup size in MB.
    TakeUpTime float64
    Indicates the backup duration in minutes.
    beginTime String
    Indicates the backup start time in the yyyy-mm-ddThh:mm:ssZ format.
    datastores List<TaurusdbMysqlBackupV3Datastore>
    Indicates the database information.
    endTime String
    Indicates the backup end time in the yyyy-mm-ddThh:mm:ssZ format.
    id String
    The provider-assigned unique ID for this managed resource.
    region String
    The resource region
    size Double
    Indicates the backup size in MB.
    takeUpTime Double
    Indicates the backup duration in minutes.
    beginTime string
    Indicates the backup start time in the yyyy-mm-ddThh:mm:ssZ format.
    datastores TaurusdbMysqlBackupV3Datastore[]
    Indicates the database information.
    endTime string
    Indicates the backup end time in the yyyy-mm-ddThh:mm:ssZ format.
    id string
    The provider-assigned unique ID for this managed resource.
    region string
    The resource region
    size number
    Indicates the backup size in MB.
    takeUpTime number
    Indicates the backup duration in minutes.
    begin_time str
    Indicates the backup start time in the yyyy-mm-ddThh:mm:ssZ format.
    datastores Sequence[TaurusdbMysqlBackupV3Datastore]
    Indicates the database information.
    end_time str
    Indicates the backup end time in the yyyy-mm-ddThh:mm:ssZ format.
    id str
    The provider-assigned unique ID for this managed resource.
    region str
    The resource region
    size float
    Indicates the backup size in MB.
    take_up_time float
    Indicates the backup duration in minutes.
    beginTime String
    Indicates the backup start time in the yyyy-mm-ddThh:mm:ssZ format.
    datastores List<Property Map>
    Indicates the database information.
    endTime String
    Indicates the backup end time in the yyyy-mm-ddThh:mm:ssZ format.
    id String
    The provider-assigned unique ID for this managed resource.
    region String
    The resource region
    size Number
    Indicates the backup size in MB.
    takeUpTime Number
    Indicates the backup duration in minutes.

    Look up Existing TaurusdbMysqlBackupV3 Resource

    Get an existing TaurusdbMysqlBackupV3 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?: TaurusdbMysqlBackupV3State, opts?: CustomResourceOptions): TaurusdbMysqlBackupV3
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            begin_time: Optional[str] = None,
            datastores: Optional[Sequence[TaurusdbMysqlBackupV3DatastoreArgs]] = None,
            description: Optional[str] = None,
            end_time: Optional[str] = None,
            instance_id: Optional[str] = None,
            name: Optional[str] = None,
            region: Optional[str] = None,
            size: Optional[float] = None,
            take_up_time: Optional[float] = None,
            taurusdb_mysql_backup_v3_id: Optional[str] = None,
            timeouts: Optional[TaurusdbMysqlBackupV3TimeoutsArgs] = None) -> TaurusdbMysqlBackupV3
    func GetTaurusdbMysqlBackupV3(ctx *Context, name string, id IDInput, state *TaurusdbMysqlBackupV3State, opts ...ResourceOption) (*TaurusdbMysqlBackupV3, error)
    public static TaurusdbMysqlBackupV3 Get(string name, Input<string> id, TaurusdbMysqlBackupV3State? state, CustomResourceOptions? opts = null)
    public static TaurusdbMysqlBackupV3 get(String name, Output<String> id, TaurusdbMysqlBackupV3State state, CustomResourceOptions options)
    resources:  _:    type: opentelekomcloud:TaurusdbMysqlBackupV3    get:      id: ${id}
    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:
    BeginTime string
    Indicates the backup start time in the yyyy-mm-ddThh:mm:ssZ format.
    Datastores List<TaurusdbMysqlBackupV3Datastore>
    Indicates the database information.
    Description string
    Specifies the description of the backup.
    EndTime string
    Indicates the backup end time in the yyyy-mm-ddThh:mm:ssZ format.
    InstanceId string
    Specifies the ID of the TaurusDb MySQL instance.
    Name string
    Specifies the name of the backup. It must start with a letter and consist of 4 to 64 characters. Only letters (case-sensitive), digits, hyphens (-), and underscores (_) are allowed.
    Region string
    The resource region
    Size double
    Indicates the backup size in MB.
    TakeUpTime double
    Indicates the backup duration in minutes.
    TaurusdbMysqlBackupV3Id string
    The resource ID.
    Timeouts TaurusdbMysqlBackupV3Timeouts
    BeginTime string
    Indicates the backup start time in the yyyy-mm-ddThh:mm:ssZ format.
    Datastores []TaurusdbMysqlBackupV3DatastoreArgs
    Indicates the database information.
    Description string
    Specifies the description of the backup.
    EndTime string
    Indicates the backup end time in the yyyy-mm-ddThh:mm:ssZ format.
    InstanceId string
    Specifies the ID of the TaurusDb MySQL instance.
    Name string
    Specifies the name of the backup. It must start with a letter and consist of 4 to 64 characters. Only letters (case-sensitive), digits, hyphens (-), and underscores (_) are allowed.
    Region string
    The resource region
    Size float64
    Indicates the backup size in MB.
    TakeUpTime float64
    Indicates the backup duration in minutes.
    TaurusdbMysqlBackupV3Id string
    The resource ID.
    Timeouts TaurusdbMysqlBackupV3TimeoutsArgs
    beginTime String
    Indicates the backup start time in the yyyy-mm-ddThh:mm:ssZ format.
    datastores List<TaurusdbMysqlBackupV3Datastore>
    Indicates the database information.
    description String
    Specifies the description of the backup.
    endTime String
    Indicates the backup end time in the yyyy-mm-ddThh:mm:ssZ format.
    instanceId String
    Specifies the ID of the TaurusDb MySQL instance.
    name String
    Specifies the name of the backup. It must start with a letter and consist of 4 to 64 characters. Only letters (case-sensitive), digits, hyphens (-), and underscores (_) are allowed.
    region String
    The resource region
    size Double
    Indicates the backup size in MB.
    takeUpTime Double
    Indicates the backup duration in minutes.
    taurusdbMysqlBackupV3Id String
    The resource ID.
    timeouts TaurusdbMysqlBackupV3Timeouts
    beginTime string
    Indicates the backup start time in the yyyy-mm-ddThh:mm:ssZ format.
    datastores TaurusdbMysqlBackupV3Datastore[]
    Indicates the database information.
    description string
    Specifies the description of the backup.
    endTime string
    Indicates the backup end time in the yyyy-mm-ddThh:mm:ssZ format.
    instanceId string
    Specifies the ID of the TaurusDb MySQL instance.
    name string
    Specifies the name of the backup. It must start with a letter and consist of 4 to 64 characters. Only letters (case-sensitive), digits, hyphens (-), and underscores (_) are allowed.
    region string
    The resource region
    size number
    Indicates the backup size in MB.
    takeUpTime number
    Indicates the backup duration in minutes.
    taurusdbMysqlBackupV3Id string
    The resource ID.
    timeouts TaurusdbMysqlBackupV3Timeouts
    begin_time str
    Indicates the backup start time in the yyyy-mm-ddThh:mm:ssZ format.
    datastores Sequence[TaurusdbMysqlBackupV3DatastoreArgs]
    Indicates the database information.
    description str
    Specifies the description of the backup.
    end_time str
    Indicates the backup end time in the yyyy-mm-ddThh:mm:ssZ format.
    instance_id str
    Specifies the ID of the TaurusDb MySQL instance.
    name str
    Specifies the name of the backup. It must start with a letter and consist of 4 to 64 characters. Only letters (case-sensitive), digits, hyphens (-), and underscores (_) are allowed.
    region str
    The resource region
    size float
    Indicates the backup size in MB.
    take_up_time float
    Indicates the backup duration in minutes.
    taurusdb_mysql_backup_v3_id str
    The resource ID.
    timeouts TaurusdbMysqlBackupV3TimeoutsArgs
    beginTime String
    Indicates the backup start time in the yyyy-mm-ddThh:mm:ssZ format.
    datastores List<Property Map>
    Indicates the database information.
    description String
    Specifies the description of the backup.
    endTime String
    Indicates the backup end time in the yyyy-mm-ddThh:mm:ssZ format.
    instanceId String
    Specifies the ID of the TaurusDb MySQL instance.
    name String
    Specifies the name of the backup. It must start with a letter and consist of 4 to 64 characters. Only letters (case-sensitive), digits, hyphens (-), and underscores (_) are allowed.
    region String
    The resource region
    size Number
    Indicates the backup size in MB.
    takeUpTime Number
    Indicates the backup duration in minutes.
    taurusdbMysqlBackupV3Id String
    The resource ID.
    timeouts Property Map

    Supporting Types

    TaurusdbMysqlBackupV3Datastore, TaurusdbMysqlBackupV3DatastoreArgs

    Type string
    Indicates the database engine.
    Version string
    Indicates the database version.
    Type string
    Indicates the database engine.
    Version string
    Indicates the database version.
    type String
    Indicates the database engine.
    version String
    Indicates the database version.
    type string
    Indicates the database engine.
    version string
    Indicates the database version.
    type str
    Indicates the database engine.
    version str
    Indicates the database version.
    type String
    Indicates the database engine.
    version String
    Indicates the database version.

    TaurusdbMysqlBackupV3Timeouts, TaurusdbMysqlBackupV3TimeoutsArgs

    Create string
    Create string
    create String
    create string
    create str
    create String

    Import

    The TaurusDb Mysql backup can be imported using the id, e.g.

    bash

    $ pulumi import opentelekomcloud:index/taurusdbMysqlBackupV3:TaurusdbMysqlBackupV3 test <id>
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    opentelekomcloud logo
    opentelekomcloud 1.36.49 published on Thursday, Oct 2, 2025 by opentelekomcloud
      Meet Neo: Your AI Platform Teammate