1. Packages
  2. Packages
  3. Tencentcloud Provider
  4. API Docs
  5. CbsCopySnapshotCrossRegion
Viewing docs for tencentcloud 1.83.7
published on Tuesday, Jun 30, 2026 by tencentcloudstack
Viewing docs for tencentcloud 1.83.7
published on Tuesday, Jun 30, 2026 by tencentcloudstack

    Provides a resource to create a CBS copy snapshot cross region resource.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.CbsCopySnapshotCrossRegion("example", {
        snapshotId: "snap-07ttd84z",
        destinationRegion: "ap-beijing",
        snapshotName: "tf-example-copy-snapshot",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.CbsCopySnapshotCrossRegion("example",
        snapshot_id="snap-07ttd84z",
        destination_region="ap-beijing",
        snapshot_name="tf-example-copy-snapshot")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.NewCbsCopySnapshotCrossRegion(ctx, "example", &tencentcloud.CbsCopySnapshotCrossRegionArgs{
    			SnapshotId:        pulumi.String("snap-07ttd84z"),
    			DestinationRegion: pulumi.String("ap-beijing"),
    			SnapshotName:      pulumi.String("tf-example-copy-snapshot"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Tencentcloud.CbsCopySnapshotCrossRegion("example", new()
        {
            SnapshotId = "snap-07ttd84z",
            DestinationRegion = "ap-beijing",
            SnapshotName = "tf-example-copy-snapshot",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.CbsCopySnapshotCrossRegion;
    import com.pulumi.tencentcloud.CbsCopySnapshotCrossRegionArgs;
    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 example = new CbsCopySnapshotCrossRegion("example", CbsCopySnapshotCrossRegionArgs.builder()
                .snapshotId("snap-07ttd84z")
                .destinationRegion("ap-beijing")
                .snapshotName("tf-example-copy-snapshot")
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:CbsCopySnapshotCrossRegion
        properties:
          snapshotId: snap-07ttd84z
          destinationRegion: ap-beijing
          snapshotName: tf-example-copy-snapshot
    
    Example coming soon!
    

    Create CbsCopySnapshotCrossRegion Resource

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

    Constructor syntax

    new CbsCopySnapshotCrossRegion(name: string, args: CbsCopySnapshotCrossRegionArgs, opts?: CustomResourceOptions);
    @overload
    def CbsCopySnapshotCrossRegion(resource_name: str,
                                   args: CbsCopySnapshotCrossRegionArgs,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def CbsCopySnapshotCrossRegion(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   destination_region: Optional[str] = None,
                                   snapshot_id: Optional[str] = None,
                                   cbs_copy_snapshot_cross_region_id: Optional[str] = None,
                                   delete_bind_images: Optional[bool] = None,
                                   snapshot_name: Optional[str] = None,
                                   timeouts: Optional[CbsCopySnapshotCrossRegionTimeoutsArgs] = None)
    func NewCbsCopySnapshotCrossRegion(ctx *Context, name string, args CbsCopySnapshotCrossRegionArgs, opts ...ResourceOption) (*CbsCopySnapshotCrossRegion, error)
    public CbsCopySnapshotCrossRegion(string name, CbsCopySnapshotCrossRegionArgs args, CustomResourceOptions? opts = null)
    public CbsCopySnapshotCrossRegion(String name, CbsCopySnapshotCrossRegionArgs args)
    public CbsCopySnapshotCrossRegion(String name, CbsCopySnapshotCrossRegionArgs args, CustomResourceOptions options)
    
    type: tencentcloud:CbsCopySnapshotCrossRegion
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "tencentcloud_cbscopysnapshotcrossregion" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args CbsCopySnapshotCrossRegionArgs
    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 CbsCopySnapshotCrossRegionArgs
    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 CbsCopySnapshotCrossRegionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CbsCopySnapshotCrossRegionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CbsCopySnapshotCrossRegionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    CbsCopySnapshotCrossRegion 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 CbsCopySnapshotCrossRegion resource accepts the following input properties:

    DestinationRegion string
    Target region name for cross-region copy.
    SnapshotId string
    Source snapshot ID for cross-region copy.
    CbsCopySnapshotCrossRegionId string
    ID of the resource.
    DeleteBindImages bool
    Whether to force-delete images associated with the snapshots when deleting.
    SnapshotName string
    Name of the copied snapshot.
    Timeouts CbsCopySnapshotCrossRegionTimeouts
    DestinationRegion string
    Target region name for cross-region copy.
    SnapshotId string
    Source snapshot ID for cross-region copy.
    CbsCopySnapshotCrossRegionId string
    ID of the resource.
    DeleteBindImages bool
    Whether to force-delete images associated with the snapshots when deleting.
    SnapshotName string
    Name of the copied snapshot.
    Timeouts CbsCopySnapshotCrossRegionTimeoutsArgs
    destination_region string
    Target region name for cross-region copy.
    snapshot_id string
    Source snapshot ID for cross-region copy.
    cbs_copy_snapshot_cross_region_id string
    ID of the resource.
    delete_bind_images bool
    Whether to force-delete images associated with the snapshots when deleting.
    snapshot_name string
    Name of the copied snapshot.
    timeouts object
    destinationRegion String
    Target region name for cross-region copy.
    snapshotId String
    Source snapshot ID for cross-region copy.
    cbsCopySnapshotCrossRegionId String
    ID of the resource.
    deleteBindImages Boolean
    Whether to force-delete images associated with the snapshots when deleting.
    snapshotName String
    Name of the copied snapshot.
    timeouts CbsCopySnapshotCrossRegionTimeouts
    destinationRegion string
    Target region name for cross-region copy.
    snapshotId string
    Source snapshot ID for cross-region copy.
    cbsCopySnapshotCrossRegionId string
    ID of the resource.
    deleteBindImages boolean
    Whether to force-delete images associated with the snapshots when deleting.
    snapshotName string
    Name of the copied snapshot.
    timeouts CbsCopySnapshotCrossRegionTimeouts
    destination_region str
    Target region name for cross-region copy.
    snapshot_id str
    Source snapshot ID for cross-region copy.
    cbs_copy_snapshot_cross_region_id str
    ID of the resource.
    delete_bind_images bool
    Whether to force-delete images associated with the snapshots when deleting.
    snapshot_name str
    Name of the copied snapshot.
    timeouts CbsCopySnapshotCrossRegionTimeoutsArgs
    destinationRegion String
    Target region name for cross-region copy.
    snapshotId String
    Source snapshot ID for cross-region copy.
    cbsCopySnapshotCrossRegionId String
    ID of the resource.
    deleteBindImages Boolean
    Whether to force-delete images associated with the snapshots when deleting.
    snapshotName String
    Name of the copied snapshot.
    timeouts Property Map

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing CbsCopySnapshotCrossRegion Resource

    Get an existing CbsCopySnapshotCrossRegion 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?: CbsCopySnapshotCrossRegionState, opts?: CustomResourceOptions): CbsCopySnapshotCrossRegion
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cbs_copy_snapshot_cross_region_id: Optional[str] = None,
            delete_bind_images: Optional[bool] = None,
            destination_region: Optional[str] = None,
            snapshot_id: Optional[str] = None,
            snapshot_name: Optional[str] = None,
            timeouts: Optional[CbsCopySnapshotCrossRegionTimeoutsArgs] = None) -> CbsCopySnapshotCrossRegion
    func GetCbsCopySnapshotCrossRegion(ctx *Context, name string, id IDInput, state *CbsCopySnapshotCrossRegionState, opts ...ResourceOption) (*CbsCopySnapshotCrossRegion, error)
    public static CbsCopySnapshotCrossRegion Get(string name, Input<string> id, CbsCopySnapshotCrossRegionState? state, CustomResourceOptions? opts = null)
    public static CbsCopySnapshotCrossRegion get(String name, Output<String> id, CbsCopySnapshotCrossRegionState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:CbsCopySnapshotCrossRegion    get:      id: ${id}
    import {
      to = tencentcloud_cbscopysnapshotcrossregion.example
      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:
    CbsCopySnapshotCrossRegionId string
    ID of the resource.
    DeleteBindImages bool
    Whether to force-delete images associated with the snapshots when deleting.
    DestinationRegion string
    Target region name for cross-region copy.
    SnapshotId string
    Source snapshot ID for cross-region copy.
    SnapshotName string
    Name of the copied snapshot.
    Timeouts CbsCopySnapshotCrossRegionTimeouts
    CbsCopySnapshotCrossRegionId string
    ID of the resource.
    DeleteBindImages bool
    Whether to force-delete images associated with the snapshots when deleting.
    DestinationRegion string
    Target region name for cross-region copy.
    SnapshotId string
    Source snapshot ID for cross-region copy.
    SnapshotName string
    Name of the copied snapshot.
    Timeouts CbsCopySnapshotCrossRegionTimeoutsArgs
    cbs_copy_snapshot_cross_region_id string
    ID of the resource.
    delete_bind_images bool
    Whether to force-delete images associated with the snapshots when deleting.
    destination_region string
    Target region name for cross-region copy.
    snapshot_id string
    Source snapshot ID for cross-region copy.
    snapshot_name string
    Name of the copied snapshot.
    timeouts object
    cbsCopySnapshotCrossRegionId String
    ID of the resource.
    deleteBindImages Boolean
    Whether to force-delete images associated with the snapshots when deleting.
    destinationRegion String
    Target region name for cross-region copy.
    snapshotId String
    Source snapshot ID for cross-region copy.
    snapshotName String
    Name of the copied snapshot.
    timeouts CbsCopySnapshotCrossRegionTimeouts
    cbsCopySnapshotCrossRegionId string
    ID of the resource.
    deleteBindImages boolean
    Whether to force-delete images associated with the snapshots when deleting.
    destinationRegion string
    Target region name for cross-region copy.
    snapshotId string
    Source snapshot ID for cross-region copy.
    snapshotName string
    Name of the copied snapshot.
    timeouts CbsCopySnapshotCrossRegionTimeouts
    cbs_copy_snapshot_cross_region_id str
    ID of the resource.
    delete_bind_images bool
    Whether to force-delete images associated with the snapshots when deleting.
    destination_region str
    Target region name for cross-region copy.
    snapshot_id str
    Source snapshot ID for cross-region copy.
    snapshot_name str
    Name of the copied snapshot.
    timeouts CbsCopySnapshotCrossRegionTimeoutsArgs
    cbsCopySnapshotCrossRegionId String
    ID of the resource.
    deleteBindImages Boolean
    Whether to force-delete images associated with the snapshots when deleting.
    destinationRegion String
    Target region name for cross-region copy.
    snapshotId String
    Source snapshot ID for cross-region copy.
    snapshotName String
    Name of the copied snapshot.
    timeouts Property Map

    Supporting Types

    CbsCopySnapshotCrossRegionTimeouts, CbsCopySnapshotCrossRegionTimeoutsArgs

    Create string
    Delete string
    Create string
    Delete string
    create string
    delete string
    create String
    delete String
    create string
    delete string
    create str
    delete str
    create String
    delete String

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    Viewing docs for tencentcloud 1.83.7
    published on Tuesday, Jun 30, 2026 by tencentcloudstack

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial