1. Packages
  2. Packages
  3. Opentelekomcloud Provider
  4. API Docs
  5. EvsSnapshotV2
Viewing docs for opentelekomcloud 1.36.68
published on Thursday, Jun 11, 2026 by opentelekomcloud
Viewing docs for opentelekomcloud 1.36.68
published on Thursday, Jun 11, 2026 by opentelekomcloud

    Provides an EVS snapshot resource.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const test = opentelekomcloud.getComputeAvailabilityZonesV2({});
    const testEvsVolumeV3 = new opentelekomcloud.EvsVolumeV3("test", {
        name: "volume-001",
        description: "Created by acc test",
        availabilityZone: test.then(test => test.names?.[0]),
        volumeType: "SAS",
        size: 12,
    });
    const testEvsSnapshotV2 = new opentelekomcloud.EvsSnapshotV2("test", {
        name: "snapshot-001",
        description: "Daily backup",
        volumeId: testEvsVolumeV3.evsVolumeV3Id,
        metadata: {
            foo: "bar",
        },
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    test = opentelekomcloud.get_compute_availability_zones_v2()
    test_evs_volume_v3 = opentelekomcloud.EvsVolumeV3("test",
        name="volume-001",
        description="Created by acc test",
        availability_zone=test.names[0],
        volume_type="SAS",
        size=12)
    test_evs_snapshot_v2 = opentelekomcloud.EvsSnapshotV2("test",
        name="snapshot-001",
        description="Daily backup",
        volume_id=test_evs_volume_v3.evs_volume_v3_id,
        metadata={
            "foo": "bar",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		test, err := opentelekomcloud.GetComputeAvailabilityZonesV2(ctx, &opentelekomcloud.GetComputeAvailabilityZonesV2Args{}, nil)
    		if err != nil {
    			return err
    		}
    		testEvsVolumeV3, err := opentelekomcloud.NewEvsVolumeV3(ctx, "test", &opentelekomcloud.EvsVolumeV3Args{
    			Name:             pulumi.String("volume-001"),
    			Description:      pulumi.String("Created by acc test"),
    			AvailabilityZone: pulumi.String(test.Names[0]),
    			VolumeType:       pulumi.String("SAS"),
    			Size:             pulumi.Float64(12),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = opentelekomcloud.NewEvsSnapshotV2(ctx, "test", &opentelekomcloud.EvsSnapshotV2Args{
    			Name:        pulumi.String("snapshot-001"),
    			Description: pulumi.String("Daily backup"),
    			VolumeId:    testEvsVolumeV3.EvsVolumeV3Id,
    			Metadata: pulumi.StringMap{
    				"foo": pulumi.String("bar"),
    			},
    		})
    		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 test = Opentelekomcloud.GetComputeAvailabilityZonesV2.Invoke();
    
        var testEvsVolumeV3 = new Opentelekomcloud.EvsVolumeV3("test", new()
        {
            Name = "volume-001",
            Description = "Created by acc test",
            AvailabilityZone = test.Apply(getComputeAvailabilityZonesV2Result => getComputeAvailabilityZonesV2Result.Names[0]),
            VolumeType = "SAS",
            Size = 12,
        });
    
        var testEvsSnapshotV2 = new Opentelekomcloud.EvsSnapshotV2("test", new()
        {
            Name = "snapshot-001",
            Description = "Daily backup",
            VolumeId = testEvsVolumeV3.EvsVolumeV3Id,
            Metadata = 
            {
                { "foo", "bar" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
    import com.pulumi.opentelekomcloud.inputs.GetComputeAvailabilityZonesV2Args;
    import com.pulumi.opentelekomcloud.EvsVolumeV3;
    import com.pulumi.opentelekomcloud.EvsVolumeV3Args;
    import com.pulumi.opentelekomcloud.EvsSnapshotV2;
    import com.pulumi.opentelekomcloud.EvsSnapshotV2Args;
    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 test = OpentelekomcloudFunctions.getComputeAvailabilityZonesV2(GetComputeAvailabilityZonesV2Args.builder()
                .build());
    
            var testEvsVolumeV3 = new EvsVolumeV3("testEvsVolumeV3", EvsVolumeV3Args.builder()
                .name("volume-001")
                .description("Created by acc test")
                .availabilityZone(test.names()[0])
                .volumeType("SAS")
                .size(12.0)
                .build());
    
            var testEvsSnapshotV2 = new EvsSnapshotV2("testEvsSnapshotV2", EvsSnapshotV2Args.builder()
                .name("snapshot-001")
                .description("Daily backup")
                .volumeId(testEvsVolumeV3.evsVolumeV3Id())
                .metadata(Map.of("foo", "bar"))
                .build());
    
        }
    }
    
    resources:
      testEvsVolumeV3:
        type: opentelekomcloud:EvsVolumeV3
        name: test
        properties:
          name: volume-001
          description: Created by acc test
          availabilityZone: ${test.names[0]}
          volumeType: SAS
          size: 12
      testEvsSnapshotV2:
        type: opentelekomcloud:EvsSnapshotV2
        name: test
        properties:
          name: snapshot-001
          description: Daily backup
          volumeId: ${testEvsVolumeV3.evsVolumeV3Id}
          metadata:
            foo: bar
    variables:
      test:
        fn::invoke:
          function: opentelekomcloud:getComputeAvailabilityZonesV2
          arguments: {}
    
    Example coming soon!
    

    Create EvsSnapshotV2 Resource

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

    Constructor syntax

    new EvsSnapshotV2(name: string, args: EvsSnapshotV2Args, opts?: CustomResourceOptions);
    @overload
    def EvsSnapshotV2(resource_name: str,
                      args: EvsSnapshotV2Args,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def EvsSnapshotV2(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      volume_id: Optional[str] = None,
                      description: Optional[str] = None,
                      evs_snapshot_v2_id: Optional[str] = None,
                      force: Optional[bool] = None,
                      metadata: Optional[Mapping[str, str]] = None,
                      name: Optional[str] = None,
                      timeouts: Optional[EvsSnapshotV2TimeoutsArgs] = None)
    func NewEvsSnapshotV2(ctx *Context, name string, args EvsSnapshotV2Args, opts ...ResourceOption) (*EvsSnapshotV2, error)
    public EvsSnapshotV2(string name, EvsSnapshotV2Args args, CustomResourceOptions? opts = null)
    public EvsSnapshotV2(String name, EvsSnapshotV2Args args)
    public EvsSnapshotV2(String name, EvsSnapshotV2Args args, CustomResourceOptions options)
    
    type: opentelekomcloud:EvsSnapshotV2
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "opentelekomcloud_evssnapshotv2" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args EvsSnapshotV2Args
    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 EvsSnapshotV2Args
    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 EvsSnapshotV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EvsSnapshotV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EvsSnapshotV2Args
    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 evsSnapshotV2Resource = new Opentelekomcloud.EvsSnapshotV2("evsSnapshotV2Resource", new()
    {
        VolumeId = "string",
        Description = "string",
        EvsSnapshotV2Id = "string",
        Force = false,
        Metadata = 
        {
            { "string", "string" },
        },
        Name = "string",
        Timeouts = new Opentelekomcloud.Inputs.EvsSnapshotV2TimeoutsArgs
        {
            Create = "string",
            Delete = "string",
        },
    });
    
    example, err := opentelekomcloud.NewEvsSnapshotV2(ctx, "evsSnapshotV2Resource", &opentelekomcloud.EvsSnapshotV2Args{
    	VolumeId:        pulumi.String("string"),
    	Description:     pulumi.String("string"),
    	EvsSnapshotV2Id: pulumi.String("string"),
    	Force:           pulumi.Bool(false),
    	Metadata: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    	Timeouts: &opentelekomcloud.EvsSnapshotV2TimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    	},
    })
    
    resource "opentelekomcloud_evssnapshotv2" "evsSnapshotV2Resource" {
      volume_id          = "string"
      description        = "string"
      evs_snapshot_v2_id = "string"
      force              = false
      metadata = {
        "string" = "string"
      }
      name = "string"
      timeouts = {
        create = "string"
        delete = "string"
      }
    }
    
    var evsSnapshotV2Resource = new EvsSnapshotV2("evsSnapshotV2Resource", EvsSnapshotV2Args.builder()
        .volumeId("string")
        .description("string")
        .evsSnapshotV2Id("string")
        .force(false)
        .metadata(Map.of("string", "string"))
        .name("string")
        .timeouts(EvsSnapshotV2TimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .build())
        .build());
    
    evs_snapshot_v2_resource = opentelekomcloud.EvsSnapshotV2("evsSnapshotV2Resource",
        volume_id="string",
        description="string",
        evs_snapshot_v2_id="string",
        force=False,
        metadata={
            "string": "string",
        },
        name="string",
        timeouts={
            "create": "string",
            "delete": "string",
        })
    
    const evsSnapshotV2Resource = new opentelekomcloud.EvsSnapshotV2("evsSnapshotV2Resource", {
        volumeId: "string",
        description: "string",
        evsSnapshotV2Id: "string",
        force: false,
        metadata: {
            string: "string",
        },
        name: "string",
        timeouts: {
            create: "string",
            "delete": "string",
        },
    });
    
    type: opentelekomcloud:EvsSnapshotV2
    properties:
        description: string
        evsSnapshotV2Id: string
        force: false
        metadata:
            string: string
        name: string
        timeouts:
            create: string
            delete: string
        volumeId: string
    

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

    VolumeId string
    The ID of the snapshot's source disk. Changing this parameter creates a new snapshot.
    Description string
    The description of the snapshot. The value can contain a maximum of 255 bytes.
    EvsSnapshotV2Id string
    The ID of the snapshot.
    Force bool
    Specifies whether to forcibly create a snapshot. Defaults to false.
    Metadata Dictionary<string, string>
    Specifies the user-defined metadata key-value pairs. Changing this parameter creates a new snapshot.
    Name string
    The name of the snapshot. The value can contain a maximum of 255 bytes.
    Timeouts EvsSnapshotV2Timeouts
    VolumeId string
    The ID of the snapshot's source disk. Changing this parameter creates a new snapshot.
    Description string
    The description of the snapshot. The value can contain a maximum of 255 bytes.
    EvsSnapshotV2Id string
    The ID of the snapshot.
    Force bool
    Specifies whether to forcibly create a snapshot. Defaults to false.
    Metadata map[string]string
    Specifies the user-defined metadata key-value pairs. Changing this parameter creates a new snapshot.
    Name string
    The name of the snapshot. The value can contain a maximum of 255 bytes.
    Timeouts EvsSnapshotV2TimeoutsArgs
    volume_id string
    The ID of the snapshot's source disk. Changing this parameter creates a new snapshot.
    description string
    The description of the snapshot. The value can contain a maximum of 255 bytes.
    evs_snapshot_v2_id string
    The ID of the snapshot.
    force bool
    Specifies whether to forcibly create a snapshot. Defaults to false.
    metadata map(string)
    Specifies the user-defined metadata key-value pairs. Changing this parameter creates a new snapshot.
    name string
    The name of the snapshot. The value can contain a maximum of 255 bytes.
    timeouts object
    volumeId String
    The ID of the snapshot's source disk. Changing this parameter creates a new snapshot.
    description String
    The description of the snapshot. The value can contain a maximum of 255 bytes.
    evsSnapshotV2Id String
    The ID of the snapshot.
    force Boolean
    Specifies whether to forcibly create a snapshot. Defaults to false.
    metadata Map<String,String>
    Specifies the user-defined metadata key-value pairs. Changing this parameter creates a new snapshot.
    name String
    The name of the snapshot. The value can contain a maximum of 255 bytes.
    timeouts EvsSnapshotV2Timeouts
    volumeId string
    The ID of the snapshot's source disk. Changing this parameter creates a new snapshot.
    description string
    The description of the snapshot. The value can contain a maximum of 255 bytes.
    evsSnapshotV2Id string
    The ID of the snapshot.
    force boolean
    Specifies whether to forcibly create a snapshot. Defaults to false.
    metadata {[key: string]: string}
    Specifies the user-defined metadata key-value pairs. Changing this parameter creates a new snapshot.
    name string
    The name of the snapshot. The value can contain a maximum of 255 bytes.
    timeouts EvsSnapshotV2Timeouts
    volume_id str
    The ID of the snapshot's source disk. Changing this parameter creates a new snapshot.
    description str
    The description of the snapshot. The value can contain a maximum of 255 bytes.
    evs_snapshot_v2_id str
    The ID of the snapshot.
    force bool
    Specifies whether to forcibly create a snapshot. Defaults to false.
    metadata Mapping[str, str]
    Specifies the user-defined metadata key-value pairs. Changing this parameter creates a new snapshot.
    name str
    The name of the snapshot. The value can contain a maximum of 255 bytes.
    timeouts EvsSnapshotV2TimeoutsArgs
    volumeId String
    The ID of the snapshot's source disk. Changing this parameter creates a new snapshot.
    description String
    The description of the snapshot. The value can contain a maximum of 255 bytes.
    evsSnapshotV2Id String
    The ID of the snapshot.
    force Boolean
    Specifies whether to forcibly create a snapshot. Defaults to false.
    metadata Map<String>
    Specifies the user-defined metadata key-value pairs. Changing this parameter creates a new snapshot.
    name String
    The name of the snapshot. The value can contain a maximum of 255 bytes.
    timeouts Property Map

    Outputs

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

    CreatedAt string
    The time when the snapshot was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    Region string
    The region in which the EVS snapshot resource was created.
    Size double
    The size of the snapshot in GB.
    Status string
    The status of the snapshot.
    UpdatedAt string
    The time when the snapshot was updated.
    CreatedAt string
    The time when the snapshot was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    Region string
    The region in which the EVS snapshot resource was created.
    Size float64
    The size of the snapshot in GB.
    Status string
    The status of the snapshot.
    UpdatedAt string
    The time when the snapshot was updated.
    created_at string
    The time when the snapshot was created.
    id string
    The provider-assigned unique ID for this managed resource.
    region string
    The region in which the EVS snapshot resource was created.
    size number
    The size of the snapshot in GB.
    status string
    The status of the snapshot.
    updated_at string
    The time when the snapshot was updated.
    createdAt String
    The time when the snapshot was created.
    id String
    The provider-assigned unique ID for this managed resource.
    region String
    The region in which the EVS snapshot resource was created.
    size Double
    The size of the snapshot in GB.
    status String
    The status of the snapshot.
    updatedAt String
    The time when the snapshot was updated.
    createdAt string
    The time when the snapshot was created.
    id string
    The provider-assigned unique ID for this managed resource.
    region string
    The region in which the EVS snapshot resource was created.
    size number
    The size of the snapshot in GB.
    status string
    The status of the snapshot.
    updatedAt string
    The time when the snapshot was updated.
    created_at str
    The time when the snapshot was created.
    id str
    The provider-assigned unique ID for this managed resource.
    region str
    The region in which the EVS snapshot resource was created.
    size float
    The size of the snapshot in GB.
    status str
    The status of the snapshot.
    updated_at str
    The time when the snapshot was updated.
    createdAt String
    The time when the snapshot was created.
    id String
    The provider-assigned unique ID for this managed resource.
    region String
    The region in which the EVS snapshot resource was created.
    size Number
    The size of the snapshot in GB.
    status String
    The status of the snapshot.
    updatedAt String
    The time when the snapshot was updated.

    Look up Existing EvsSnapshotV2 Resource

    Get an existing EvsSnapshotV2 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?: EvsSnapshotV2State, opts?: CustomResourceOptions): EvsSnapshotV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            created_at: Optional[str] = None,
            description: Optional[str] = None,
            evs_snapshot_v2_id: Optional[str] = None,
            force: Optional[bool] = None,
            metadata: Optional[Mapping[str, str]] = None,
            name: Optional[str] = None,
            region: Optional[str] = None,
            size: Optional[float] = None,
            status: Optional[str] = None,
            timeouts: Optional[EvsSnapshotV2TimeoutsArgs] = None,
            updated_at: Optional[str] = None,
            volume_id: Optional[str] = None) -> EvsSnapshotV2
    func GetEvsSnapshotV2(ctx *Context, name string, id IDInput, state *EvsSnapshotV2State, opts ...ResourceOption) (*EvsSnapshotV2, error)
    public static EvsSnapshotV2 Get(string name, Input<string> id, EvsSnapshotV2State? state, CustomResourceOptions? opts = null)
    public static EvsSnapshotV2 get(String name, Output<String> id, EvsSnapshotV2State state, CustomResourceOptions options)
    resources:  _:    type: opentelekomcloud:EvsSnapshotV2    get:      id: ${id}
    import {
      to = opentelekomcloud_evssnapshotv2.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:
    CreatedAt string
    The time when the snapshot was created.
    Description string
    The description of the snapshot. The value can contain a maximum of 255 bytes.
    EvsSnapshotV2Id string
    The ID of the snapshot.
    Force bool
    Specifies whether to forcibly create a snapshot. Defaults to false.
    Metadata Dictionary<string, string>
    Specifies the user-defined metadata key-value pairs. Changing this parameter creates a new snapshot.
    Name string
    The name of the snapshot. The value can contain a maximum of 255 bytes.
    Region string
    The region in which the EVS snapshot resource was created.
    Size double
    The size of the snapshot in GB.
    Status string
    The status of the snapshot.
    Timeouts EvsSnapshotV2Timeouts
    UpdatedAt string
    The time when the snapshot was updated.
    VolumeId string
    The ID of the snapshot's source disk. Changing this parameter creates a new snapshot.
    CreatedAt string
    The time when the snapshot was created.
    Description string
    The description of the snapshot. The value can contain a maximum of 255 bytes.
    EvsSnapshotV2Id string
    The ID of the snapshot.
    Force bool
    Specifies whether to forcibly create a snapshot. Defaults to false.
    Metadata map[string]string
    Specifies the user-defined metadata key-value pairs. Changing this parameter creates a new snapshot.
    Name string
    The name of the snapshot. The value can contain a maximum of 255 bytes.
    Region string
    The region in which the EVS snapshot resource was created.
    Size float64
    The size of the snapshot in GB.
    Status string
    The status of the snapshot.
    Timeouts EvsSnapshotV2TimeoutsArgs
    UpdatedAt string
    The time when the snapshot was updated.
    VolumeId string
    The ID of the snapshot's source disk. Changing this parameter creates a new snapshot.
    created_at string
    The time when the snapshot was created.
    description string
    The description of the snapshot. The value can contain a maximum of 255 bytes.
    evs_snapshot_v2_id string
    The ID of the snapshot.
    force bool
    Specifies whether to forcibly create a snapshot. Defaults to false.
    metadata map(string)
    Specifies the user-defined metadata key-value pairs. Changing this parameter creates a new snapshot.
    name string
    The name of the snapshot. The value can contain a maximum of 255 bytes.
    region string
    The region in which the EVS snapshot resource was created.
    size number
    The size of the snapshot in GB.
    status string
    The status of the snapshot.
    timeouts object
    updated_at string
    The time when the snapshot was updated.
    volume_id string
    The ID of the snapshot's source disk. Changing this parameter creates a new snapshot.
    createdAt String
    The time when the snapshot was created.
    description String
    The description of the snapshot. The value can contain a maximum of 255 bytes.
    evsSnapshotV2Id String
    The ID of the snapshot.
    force Boolean
    Specifies whether to forcibly create a snapshot. Defaults to false.
    metadata Map<String,String>
    Specifies the user-defined metadata key-value pairs. Changing this parameter creates a new snapshot.
    name String
    The name of the snapshot. The value can contain a maximum of 255 bytes.
    region String
    The region in which the EVS snapshot resource was created.
    size Double
    The size of the snapshot in GB.
    status String
    The status of the snapshot.
    timeouts EvsSnapshotV2Timeouts
    updatedAt String
    The time when the snapshot was updated.
    volumeId String
    The ID of the snapshot's source disk. Changing this parameter creates a new snapshot.
    createdAt string
    The time when the snapshot was created.
    description string
    The description of the snapshot. The value can contain a maximum of 255 bytes.
    evsSnapshotV2Id string
    The ID of the snapshot.
    force boolean
    Specifies whether to forcibly create a snapshot. Defaults to false.
    metadata {[key: string]: string}
    Specifies the user-defined metadata key-value pairs. Changing this parameter creates a new snapshot.
    name string
    The name of the snapshot. The value can contain a maximum of 255 bytes.
    region string
    The region in which the EVS snapshot resource was created.
    size number
    The size of the snapshot in GB.
    status string
    The status of the snapshot.
    timeouts EvsSnapshotV2Timeouts
    updatedAt string
    The time when the snapshot was updated.
    volumeId string
    The ID of the snapshot's source disk. Changing this parameter creates a new snapshot.
    created_at str
    The time when the snapshot was created.
    description str
    The description of the snapshot. The value can contain a maximum of 255 bytes.
    evs_snapshot_v2_id str
    The ID of the snapshot.
    force bool
    Specifies whether to forcibly create a snapshot. Defaults to false.
    metadata Mapping[str, str]
    Specifies the user-defined metadata key-value pairs. Changing this parameter creates a new snapshot.
    name str
    The name of the snapshot. The value can contain a maximum of 255 bytes.
    region str
    The region in which the EVS snapshot resource was created.
    size float
    The size of the snapshot in GB.
    status str
    The status of the snapshot.
    timeouts EvsSnapshotV2TimeoutsArgs
    updated_at str
    The time when the snapshot was updated.
    volume_id str
    The ID of the snapshot's source disk. Changing this parameter creates a new snapshot.
    createdAt String
    The time when the snapshot was created.
    description String
    The description of the snapshot. The value can contain a maximum of 255 bytes.
    evsSnapshotV2Id String
    The ID of the snapshot.
    force Boolean
    Specifies whether to forcibly create a snapshot. Defaults to false.
    metadata Map<String>
    Specifies the user-defined metadata key-value pairs. Changing this parameter creates a new snapshot.
    name String
    The name of the snapshot. The value can contain a maximum of 255 bytes.
    region String
    The region in which the EVS snapshot resource was created.
    size Number
    The size of the snapshot in GB.
    status String
    The status of the snapshot.
    timeouts Property Map
    updatedAt String
    The time when the snapshot was updated.
    volumeId String
    The ID of the snapshot's source disk. Changing this parameter creates a new snapshot.

    Supporting Types

    EvsSnapshotV2Timeouts, EvsSnapshotV2TimeoutsArgs

    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

    Import

    EVS snapshot can be imported using the id, e.g.

    bash

    $ pulumi import opentelekomcloud:index/evsSnapshotV2:EvsSnapshotV2 test <id>
    

    Note that the imported state may not be identical to your resource definition, due to some attributes missing from the

    API response, security or some other reason. The missing attributes include: force.

    It is generally recommended running pulumi preview after importing the resource. You can then decide if changes should

    be applied to the resource, or the resource definition should be updated to align with the snapshot. Also, you can

    ignore changes as below.

    hcl

    resource “opentelekomcloud_evs_snapshot_v2” “test” {

    lifecycle {

    ignore_changes = [
    
      force,
    
    ]
    

    }

    }

    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.
    Viewing docs for opentelekomcloud 1.36.68
    published on Thursday, Jun 11, 2026 by opentelekomcloud

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial