1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. EvsVolumeV3
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

opentelekomcloud.EvsVolumeV3

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

    Up-to-date reference of API arguments for EVS you can get at documentation portal

    Manages a V3 volume resource within OpenTelekomCloud.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const volume1 = new opentelekomcloud.EvsVolumeV3("volume1", {
        availabilityZone: "eu-de-01",
        description: "first test volume",
        size: 20,
        tags: {
            foo: "bar",
            key: "value",
        },
        volumeType: "SATA",
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    volume1 = opentelekomcloud.EvsVolumeV3("volume1",
        availability_zone="eu-de-01",
        description="first test volume",
        size=20,
        tags={
            "foo": "bar",
            "key": "value",
        },
        volume_type="SATA")
    
    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 {
    		_, err := opentelekomcloud.NewEvsVolumeV3(ctx, "volume1", &opentelekomcloud.EvsVolumeV3Args{
    			AvailabilityZone: pulumi.String("eu-de-01"),
    			Description:      pulumi.String("first test volume"),
    			Size:             pulumi.Float64(20),
    			Tags: pulumi.StringMap{
    				"foo": pulumi.String("bar"),
    				"key": pulumi.String("value"),
    			},
    			VolumeType: pulumi.String("SATA"),
    		})
    		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 volume1 = new Opentelekomcloud.EvsVolumeV3("volume1", new()
        {
            AvailabilityZone = "eu-de-01",
            Description = "first test volume",
            Size = 20,
            Tags = 
            {
                { "foo", "bar" },
                { "key", "value" },
            },
            VolumeType = "SATA",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.EvsVolumeV3;
    import com.pulumi.opentelekomcloud.EvsVolumeV3Args;
    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 volume1 = new EvsVolumeV3("volume1", EvsVolumeV3Args.builder()
                .availabilityZone("eu-de-01")
                .description("first test volume")
                .size(20)
                .tags(Map.ofEntries(
                    Map.entry("foo", "bar"),
                    Map.entry("key", "value")
                ))
                .volumeType("SATA")
                .build());
    
        }
    }
    
    resources:
      volume1:
        type: opentelekomcloud:EvsVolumeV3
        properties:
          availabilityZone: eu-de-01
          description: first test volume
          size: 20
          tags:
            foo: bar
            key: value
          volumeType: SATA
    

    Use KMS encryption

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const volume1 = new opentelekomcloud.EvsVolumeV3("volume1", {
        description: "first test volume",
        availabilityZone: "eu-de-01",
        volumeType: "SATA",
        kmsId: _var.kms_id,
        size: 20,
        tags: {
            foo: "bar",
            key: "value",
        },
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    volume1 = opentelekomcloud.EvsVolumeV3("volume1",
        description="first test volume",
        availability_zone="eu-de-01",
        volume_type="SATA",
        kms_id=var["kms_id"],
        size=20,
        tags={
            "foo": "bar",
            "key": "value",
        })
    
    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 {
    		_, err := opentelekomcloud.NewEvsVolumeV3(ctx, "volume1", &opentelekomcloud.EvsVolumeV3Args{
    			Description:      pulumi.String("first test volume"),
    			AvailabilityZone: pulumi.String("eu-de-01"),
    			VolumeType:       pulumi.String("SATA"),
    			KmsId:            pulumi.Any(_var.Kms_id),
    			Size:             pulumi.Float64(20),
    			Tags: pulumi.StringMap{
    				"foo": pulumi.String("bar"),
    				"key": pulumi.String("value"),
    			},
    		})
    		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 volume1 = new Opentelekomcloud.EvsVolumeV3("volume1", new()
        {
            Description = "first test volume",
            AvailabilityZone = "eu-de-01",
            VolumeType = "SATA",
            KmsId = @var.Kms_id,
            Size = 20,
            Tags = 
            {
                { "foo", "bar" },
                { "key", "value" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.EvsVolumeV3;
    import com.pulumi.opentelekomcloud.EvsVolumeV3Args;
    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 volume1 = new EvsVolumeV3("volume1", EvsVolumeV3Args.builder()
                .description("first test volume")
                .availabilityZone("eu-de-01")
                .volumeType("SATA")
                .kmsId(var_.kms_id())
                .size(20)
                .tags(Map.ofEntries(
                    Map.entry("foo", "bar"),
                    Map.entry("key", "value")
                ))
                .build());
    
        }
    }
    
    resources:
      volume1:
        type: opentelekomcloud:EvsVolumeV3
        properties:
          description: first test volume
          availabilityZone: eu-de-01
          volumeType: SATA
          kmsId: ${var.kms_id}
          size: 20
          tags:
            foo: bar
            key: value
    

    Create EvsVolumeV3 Resource

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

    Constructor syntax

    new EvsVolumeV3(name: string, args: EvsVolumeV3Args, opts?: CustomResourceOptions);
    @overload
    def EvsVolumeV3(resource_name: str,
                    args: EvsVolumeV3Args,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def EvsVolumeV3(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    availability_zone: Optional[str] = None,
                    volume_type: Optional[str] = None,
                    image_id: Optional[str] = None,
                    description: Optional[str] = None,
                    device_type: Optional[str] = None,
                    evs_volume_v3_id: Optional[str] = None,
                    cascade: Optional[bool] = None,
                    kms_id: Optional[str] = None,
                    multiattach: Optional[bool] = None,
                    name: Optional[str] = None,
                    size: Optional[float] = None,
                    snapshot_id: Optional[str] = None,
                    tags: Optional[Mapping[str, str]] = None,
                    timeouts: Optional[EvsVolumeV3TimeoutsArgs] = None,
                    backup_id: Optional[str] = None)
    func NewEvsVolumeV3(ctx *Context, name string, args EvsVolumeV3Args, opts ...ResourceOption) (*EvsVolumeV3, error)
    public EvsVolumeV3(string name, EvsVolumeV3Args args, CustomResourceOptions? opts = null)
    public EvsVolumeV3(String name, EvsVolumeV3Args args)
    public EvsVolumeV3(String name, EvsVolumeV3Args args, CustomResourceOptions options)
    
    type: opentelekomcloud:EvsVolumeV3
    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 EvsVolumeV3Args
    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 EvsVolumeV3Args
    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 EvsVolumeV3Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EvsVolumeV3Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EvsVolumeV3Args
    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 evsVolumeV3Resource = new Opentelekomcloud.EvsVolumeV3("evsVolumeV3Resource", new()
    {
        AvailabilityZone = "string",
        VolumeType = "string",
        ImageId = "string",
        Description = "string",
        DeviceType = "string",
        EvsVolumeV3Id = "string",
        Cascade = false,
        KmsId = "string",
        Multiattach = false,
        Name = "string",
        Size = 0,
        SnapshotId = "string",
        Tags = 
        {
            { "string", "string" },
        },
        Timeouts = new Opentelekomcloud.Inputs.EvsVolumeV3TimeoutsArgs
        {
            Create = "string",
            Delete = "string",
        },
        BackupId = "string",
    });
    
    example, err := opentelekomcloud.NewEvsVolumeV3(ctx, "evsVolumeV3Resource", &opentelekomcloud.EvsVolumeV3Args{
    	AvailabilityZone: pulumi.String("string"),
    	VolumeType:       pulumi.String("string"),
    	ImageId:          pulumi.String("string"),
    	Description:      pulumi.String("string"),
    	DeviceType:       pulumi.String("string"),
    	EvsVolumeV3Id:    pulumi.String("string"),
    	Cascade:          pulumi.Bool(false),
    	KmsId:            pulumi.String("string"),
    	Multiattach:      pulumi.Bool(false),
    	Name:             pulumi.String("string"),
    	Size:             pulumi.Float64(0),
    	SnapshotId:       pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Timeouts: &opentelekomcloud.EvsVolumeV3TimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    	},
    	BackupId: pulumi.String("string"),
    })
    
    var evsVolumeV3Resource = new EvsVolumeV3("evsVolumeV3Resource", EvsVolumeV3Args.builder()
        .availabilityZone("string")
        .volumeType("string")
        .imageId("string")
        .description("string")
        .deviceType("string")
        .evsVolumeV3Id("string")
        .cascade(false)
        .kmsId("string")
        .multiattach(false)
        .name("string")
        .size(0)
        .snapshotId("string")
        .tags(Map.of("string", "string"))
        .timeouts(EvsVolumeV3TimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .build())
        .backupId("string")
        .build());
    
    evs_volume_v3_resource = opentelekomcloud.EvsVolumeV3("evsVolumeV3Resource",
        availability_zone="string",
        volume_type="string",
        image_id="string",
        description="string",
        device_type="string",
        evs_volume_v3_id="string",
        cascade=False,
        kms_id="string",
        multiattach=False,
        name="string",
        size=0,
        snapshot_id="string",
        tags={
            "string": "string",
        },
        timeouts={
            "create": "string",
            "delete": "string",
        },
        backup_id="string")
    
    const evsVolumeV3Resource = new opentelekomcloud.EvsVolumeV3("evsVolumeV3Resource", {
        availabilityZone: "string",
        volumeType: "string",
        imageId: "string",
        description: "string",
        deviceType: "string",
        evsVolumeV3Id: "string",
        cascade: false,
        kmsId: "string",
        multiattach: false,
        name: "string",
        size: 0,
        snapshotId: "string",
        tags: {
            string: "string",
        },
        timeouts: {
            create: "string",
            "delete": "string",
        },
        backupId: "string",
    });
    
    type: opentelekomcloud:EvsVolumeV3
    properties:
        availabilityZone: string
        backupId: string
        cascade: false
        description: string
        deviceType: string
        evsVolumeV3Id: string
        imageId: string
        kmsId: string
        multiattach: false
        name: string
        size: 0
        snapshotId: string
        tags:
            string: string
        timeouts:
            create: string
            delete: string
        volumeType: string
    

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

    AvailabilityZone string
    The availability zone for the volume. Changing this creates a new volume.
    VolumeType string

    The type of volume to create. Currently, the value can be SSD, SAS, SATA, co-p1, or uh-l1. Changing this creates a new volume.

    NOTE: Common I/O (SATA) will reach end of life, end of 2025.

    BackupId string
    The backup ID from which to create the volume. Changing this creates a new volume.
    Cascade bool
    Specifies to delete all snapshots associated with the EVS disk. Default is false.
    Description string
    A description of the volume. Changing this updates the volume's description.
    DeviceType string
    The device type of volume to create. Valid options are VBD and SCSI. Defaults to VBD. Changing this creates a new volume.
    EvsVolumeV3Id string
    ImageId string
    The image ID from which to create the volume. Changing this creates a new volume.
    KmsId string
    The Encryption KMS ID to create the volume. Changing this creates a new volume.
    Multiattach bool
    Specifies whether the disk is shareable. The default value is false. Changing this creates a new volume.
    Name string
    A unique name for the volume. Changing this updates the volume's name.
    Size double
    The size of the volume to create (in gigabytes). This parameter is mandatory when you create an empty EVS disk or use an image or a snapshot to create an EVS disk. Decreasing this value creates a new volume.
    SnapshotId string
    The snapshot ID from which to create the volume. Changing this creates a new volume.
    Tags Dictionary<string, string>
    Tags key/value pairs to associate with the volume. Changing this updates the existing volume tags.
    Timeouts EvsVolumeV3Timeouts
    AvailabilityZone string
    The availability zone for the volume. Changing this creates a new volume.
    VolumeType string

    The type of volume to create. Currently, the value can be SSD, SAS, SATA, co-p1, or uh-l1. Changing this creates a new volume.

    NOTE: Common I/O (SATA) will reach end of life, end of 2025.

    BackupId string
    The backup ID from which to create the volume. Changing this creates a new volume.
    Cascade bool
    Specifies to delete all snapshots associated with the EVS disk. Default is false.
    Description string
    A description of the volume. Changing this updates the volume's description.
    DeviceType string
    The device type of volume to create. Valid options are VBD and SCSI. Defaults to VBD. Changing this creates a new volume.
    EvsVolumeV3Id string
    ImageId string
    The image ID from which to create the volume. Changing this creates a new volume.
    KmsId string
    The Encryption KMS ID to create the volume. Changing this creates a new volume.
    Multiattach bool
    Specifies whether the disk is shareable. The default value is false. Changing this creates a new volume.
    Name string
    A unique name for the volume. Changing this updates the volume's name.
    Size float64
    The size of the volume to create (in gigabytes). This parameter is mandatory when you create an empty EVS disk or use an image or a snapshot to create an EVS disk. Decreasing this value creates a new volume.
    SnapshotId string
    The snapshot ID from which to create the volume. Changing this creates a new volume.
    Tags map[string]string
    Tags key/value pairs to associate with the volume. Changing this updates the existing volume tags.
    Timeouts EvsVolumeV3TimeoutsArgs
    availabilityZone String
    The availability zone for the volume. Changing this creates a new volume.
    volumeType String

    The type of volume to create. Currently, the value can be SSD, SAS, SATA, co-p1, or uh-l1. Changing this creates a new volume.

    NOTE: Common I/O (SATA) will reach end of life, end of 2025.

    backupId String
    The backup ID from which to create the volume. Changing this creates a new volume.
    cascade Boolean
    Specifies to delete all snapshots associated with the EVS disk. Default is false.
    description String
    A description of the volume. Changing this updates the volume's description.
    deviceType String
    The device type of volume to create. Valid options are VBD and SCSI. Defaults to VBD. Changing this creates a new volume.
    evsVolumeV3Id String
    imageId String
    The image ID from which to create the volume. Changing this creates a new volume.
    kmsId String
    The Encryption KMS ID to create the volume. Changing this creates a new volume.
    multiattach Boolean
    Specifies whether the disk is shareable. The default value is false. Changing this creates a new volume.
    name String
    A unique name for the volume. Changing this updates the volume's name.
    size Double
    The size of the volume to create (in gigabytes). This parameter is mandatory when you create an empty EVS disk or use an image or a snapshot to create an EVS disk. Decreasing this value creates a new volume.
    snapshotId String
    The snapshot ID from which to create the volume. Changing this creates a new volume.
    tags Map<String,String>
    Tags key/value pairs to associate with the volume. Changing this updates the existing volume tags.
    timeouts EvsVolumeV3Timeouts
    availabilityZone string
    The availability zone for the volume. Changing this creates a new volume.
    volumeType string

    The type of volume to create. Currently, the value can be SSD, SAS, SATA, co-p1, or uh-l1. Changing this creates a new volume.

    NOTE: Common I/O (SATA) will reach end of life, end of 2025.

    backupId string
    The backup ID from which to create the volume. Changing this creates a new volume.
    cascade boolean
    Specifies to delete all snapshots associated with the EVS disk. Default is false.
    description string
    A description of the volume. Changing this updates the volume's description.
    deviceType string
    The device type of volume to create. Valid options are VBD and SCSI. Defaults to VBD. Changing this creates a new volume.
    evsVolumeV3Id string
    imageId string
    The image ID from which to create the volume. Changing this creates a new volume.
    kmsId string
    The Encryption KMS ID to create the volume. Changing this creates a new volume.
    multiattach boolean
    Specifies whether the disk is shareable. The default value is false. Changing this creates a new volume.
    name string
    A unique name for the volume. Changing this updates the volume's name.
    size number
    The size of the volume to create (in gigabytes). This parameter is mandatory when you create an empty EVS disk or use an image or a snapshot to create an EVS disk. Decreasing this value creates a new volume.
    snapshotId string
    The snapshot ID from which to create the volume. Changing this creates a new volume.
    tags {[key: string]: string}
    Tags key/value pairs to associate with the volume. Changing this updates the existing volume tags.
    timeouts EvsVolumeV3Timeouts
    availability_zone str
    The availability zone for the volume. Changing this creates a new volume.
    volume_type str

    The type of volume to create. Currently, the value can be SSD, SAS, SATA, co-p1, or uh-l1. Changing this creates a new volume.

    NOTE: Common I/O (SATA) will reach end of life, end of 2025.

    backup_id str
    The backup ID from which to create the volume. Changing this creates a new volume.
    cascade bool
    Specifies to delete all snapshots associated with the EVS disk. Default is false.
    description str
    A description of the volume. Changing this updates the volume's description.
    device_type str
    The device type of volume to create. Valid options are VBD and SCSI. Defaults to VBD. Changing this creates a new volume.
    evs_volume_v3_id str
    image_id str
    The image ID from which to create the volume. Changing this creates a new volume.
    kms_id str
    The Encryption KMS ID to create the volume. Changing this creates a new volume.
    multiattach bool
    Specifies whether the disk is shareable. The default value is false. Changing this creates a new volume.
    name str
    A unique name for the volume. Changing this updates the volume's name.
    size float
    The size of the volume to create (in gigabytes). This parameter is mandatory when you create an empty EVS disk or use an image or a snapshot to create an EVS disk. Decreasing this value creates a new volume.
    snapshot_id str
    The snapshot ID from which to create the volume. Changing this creates a new volume.
    tags Mapping[str, str]
    Tags key/value pairs to associate with the volume. Changing this updates the existing volume tags.
    timeouts EvsVolumeV3TimeoutsArgs
    availabilityZone String
    The availability zone for the volume. Changing this creates a new volume.
    volumeType String

    The type of volume to create. Currently, the value can be SSD, SAS, SATA, co-p1, or uh-l1. Changing this creates a new volume.

    NOTE: Common I/O (SATA) will reach end of life, end of 2025.

    backupId String
    The backup ID from which to create the volume. Changing this creates a new volume.
    cascade Boolean
    Specifies to delete all snapshots associated with the EVS disk. Default is false.
    description String
    A description of the volume. Changing this updates the volume's description.
    deviceType String
    The device type of volume to create. Valid options are VBD and SCSI. Defaults to VBD. Changing this creates a new volume.
    evsVolumeV3Id String
    imageId String
    The image ID from which to create the volume. Changing this creates a new volume.
    kmsId String
    The Encryption KMS ID to create the volume. Changing this creates a new volume.
    multiattach Boolean
    Specifies whether the disk is shareable. The default value is false. Changing this creates a new volume.
    name String
    A unique name for the volume. Changing this updates the volume's name.
    size Number
    The size of the volume to create (in gigabytes). This parameter is mandatory when you create an empty EVS disk or use an image or a snapshot to create an EVS disk. Decreasing this value creates a new volume.
    snapshotId String
    The snapshot ID from which to create the volume. Changing this creates a new volume.
    tags Map<String>
    Tags key/value pairs to associate with the volume. Changing this updates the existing volume tags.
    timeouts Property Map

    Outputs

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

    Attachments List<EvsVolumeV3Attachment>
    If a volume is attached to an instance, this attribute will display the Attachment ID, Instance ID, and the Device as the Instance sees it.
    Id string
    The provider-assigned unique ID for this managed resource.
    Wwn string
    Specifies the unique identifier used for mounting the EVS disk.
    Attachments []EvsVolumeV3Attachment
    If a volume is attached to an instance, this attribute will display the Attachment ID, Instance ID, and the Device as the Instance sees it.
    Id string
    The provider-assigned unique ID for this managed resource.
    Wwn string
    Specifies the unique identifier used for mounting the EVS disk.
    attachments List<EvsVolumeV3Attachment>
    If a volume is attached to an instance, this attribute will display the Attachment ID, Instance ID, and the Device as the Instance sees it.
    id String
    The provider-assigned unique ID for this managed resource.
    wwn String
    Specifies the unique identifier used for mounting the EVS disk.
    attachments EvsVolumeV3Attachment[]
    If a volume is attached to an instance, this attribute will display the Attachment ID, Instance ID, and the Device as the Instance sees it.
    id string
    The provider-assigned unique ID for this managed resource.
    wwn string
    Specifies the unique identifier used for mounting the EVS disk.
    attachments Sequence[EvsVolumeV3Attachment]
    If a volume is attached to an instance, this attribute will display the Attachment ID, Instance ID, and the Device as the Instance sees it.
    id str
    The provider-assigned unique ID for this managed resource.
    wwn str
    Specifies the unique identifier used for mounting the EVS disk.
    attachments List<Property Map>
    If a volume is attached to an instance, this attribute will display the Attachment ID, Instance ID, and the Device as the Instance sees it.
    id String
    The provider-assigned unique ID for this managed resource.
    wwn String
    Specifies the unique identifier used for mounting the EVS disk.

    Look up Existing EvsVolumeV3 Resource

    Get an existing EvsVolumeV3 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?: EvsVolumeV3State, opts?: CustomResourceOptions): EvsVolumeV3
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            attachments: Optional[Sequence[EvsVolumeV3AttachmentArgs]] = None,
            availability_zone: Optional[str] = None,
            backup_id: Optional[str] = None,
            cascade: Optional[bool] = None,
            description: Optional[str] = None,
            device_type: Optional[str] = None,
            evs_volume_v3_id: Optional[str] = None,
            image_id: Optional[str] = None,
            kms_id: Optional[str] = None,
            multiattach: Optional[bool] = None,
            name: Optional[str] = None,
            size: Optional[float] = None,
            snapshot_id: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            timeouts: Optional[EvsVolumeV3TimeoutsArgs] = None,
            volume_type: Optional[str] = None,
            wwn: Optional[str] = None) -> EvsVolumeV3
    func GetEvsVolumeV3(ctx *Context, name string, id IDInput, state *EvsVolumeV3State, opts ...ResourceOption) (*EvsVolumeV3, error)
    public static EvsVolumeV3 Get(string name, Input<string> id, EvsVolumeV3State? state, CustomResourceOptions? opts = null)
    public static EvsVolumeV3 get(String name, Output<String> id, EvsVolumeV3State state, CustomResourceOptions options)
    resources:  _:    type: opentelekomcloud:EvsVolumeV3    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:
    Attachments List<EvsVolumeV3Attachment>
    If a volume is attached to an instance, this attribute will display the Attachment ID, Instance ID, and the Device as the Instance sees it.
    AvailabilityZone string
    The availability zone for the volume. Changing this creates a new volume.
    BackupId string
    The backup ID from which to create the volume. Changing this creates a new volume.
    Cascade bool
    Specifies to delete all snapshots associated with the EVS disk. Default is false.
    Description string
    A description of the volume. Changing this updates the volume's description.
    DeviceType string
    The device type of volume to create. Valid options are VBD and SCSI. Defaults to VBD. Changing this creates a new volume.
    EvsVolumeV3Id string
    ImageId string
    The image ID from which to create the volume. Changing this creates a new volume.
    KmsId string
    The Encryption KMS ID to create the volume. Changing this creates a new volume.
    Multiattach bool
    Specifies whether the disk is shareable. The default value is false. Changing this creates a new volume.
    Name string
    A unique name for the volume. Changing this updates the volume's name.
    Size double
    The size of the volume to create (in gigabytes). This parameter is mandatory when you create an empty EVS disk or use an image or a snapshot to create an EVS disk. Decreasing this value creates a new volume.
    SnapshotId string
    The snapshot ID from which to create the volume. Changing this creates a new volume.
    Tags Dictionary<string, string>
    Tags key/value pairs to associate with the volume. Changing this updates the existing volume tags.
    Timeouts EvsVolumeV3Timeouts
    VolumeType string

    The type of volume to create. Currently, the value can be SSD, SAS, SATA, co-p1, or uh-l1. Changing this creates a new volume.

    NOTE: Common I/O (SATA) will reach end of life, end of 2025.

    Wwn string
    Specifies the unique identifier used for mounting the EVS disk.
    Attachments []EvsVolumeV3AttachmentArgs
    If a volume is attached to an instance, this attribute will display the Attachment ID, Instance ID, and the Device as the Instance sees it.
    AvailabilityZone string
    The availability zone for the volume. Changing this creates a new volume.
    BackupId string
    The backup ID from which to create the volume. Changing this creates a new volume.
    Cascade bool
    Specifies to delete all snapshots associated with the EVS disk. Default is false.
    Description string
    A description of the volume. Changing this updates the volume's description.
    DeviceType string
    The device type of volume to create. Valid options are VBD and SCSI. Defaults to VBD. Changing this creates a new volume.
    EvsVolumeV3Id string
    ImageId string
    The image ID from which to create the volume. Changing this creates a new volume.
    KmsId string
    The Encryption KMS ID to create the volume. Changing this creates a new volume.
    Multiattach bool
    Specifies whether the disk is shareable. The default value is false. Changing this creates a new volume.
    Name string
    A unique name for the volume. Changing this updates the volume's name.
    Size float64
    The size of the volume to create (in gigabytes). This parameter is mandatory when you create an empty EVS disk or use an image or a snapshot to create an EVS disk. Decreasing this value creates a new volume.
    SnapshotId string
    The snapshot ID from which to create the volume. Changing this creates a new volume.
    Tags map[string]string
    Tags key/value pairs to associate with the volume. Changing this updates the existing volume tags.
    Timeouts EvsVolumeV3TimeoutsArgs
    VolumeType string

    The type of volume to create. Currently, the value can be SSD, SAS, SATA, co-p1, or uh-l1. Changing this creates a new volume.

    NOTE: Common I/O (SATA) will reach end of life, end of 2025.

    Wwn string
    Specifies the unique identifier used for mounting the EVS disk.
    attachments List<EvsVolumeV3Attachment>
    If a volume is attached to an instance, this attribute will display the Attachment ID, Instance ID, and the Device as the Instance sees it.
    availabilityZone String
    The availability zone for the volume. Changing this creates a new volume.
    backupId String
    The backup ID from which to create the volume. Changing this creates a new volume.
    cascade Boolean
    Specifies to delete all snapshots associated with the EVS disk. Default is false.
    description String
    A description of the volume. Changing this updates the volume's description.
    deviceType String
    The device type of volume to create. Valid options are VBD and SCSI. Defaults to VBD. Changing this creates a new volume.
    evsVolumeV3Id String
    imageId String
    The image ID from which to create the volume. Changing this creates a new volume.
    kmsId String
    The Encryption KMS ID to create the volume. Changing this creates a new volume.
    multiattach Boolean
    Specifies whether the disk is shareable. The default value is false. Changing this creates a new volume.
    name String
    A unique name for the volume. Changing this updates the volume's name.
    size Double
    The size of the volume to create (in gigabytes). This parameter is mandatory when you create an empty EVS disk or use an image or a snapshot to create an EVS disk. Decreasing this value creates a new volume.
    snapshotId String
    The snapshot ID from which to create the volume. Changing this creates a new volume.
    tags Map<String,String>
    Tags key/value pairs to associate with the volume. Changing this updates the existing volume tags.
    timeouts EvsVolumeV3Timeouts
    volumeType String

    The type of volume to create. Currently, the value can be SSD, SAS, SATA, co-p1, or uh-l1. Changing this creates a new volume.

    NOTE: Common I/O (SATA) will reach end of life, end of 2025.

    wwn String
    Specifies the unique identifier used for mounting the EVS disk.
    attachments EvsVolumeV3Attachment[]
    If a volume is attached to an instance, this attribute will display the Attachment ID, Instance ID, and the Device as the Instance sees it.
    availabilityZone string
    The availability zone for the volume. Changing this creates a new volume.
    backupId string
    The backup ID from which to create the volume. Changing this creates a new volume.
    cascade boolean
    Specifies to delete all snapshots associated with the EVS disk. Default is false.
    description string
    A description of the volume. Changing this updates the volume's description.
    deviceType string
    The device type of volume to create. Valid options are VBD and SCSI. Defaults to VBD. Changing this creates a new volume.
    evsVolumeV3Id string
    imageId string
    The image ID from which to create the volume. Changing this creates a new volume.
    kmsId string
    The Encryption KMS ID to create the volume. Changing this creates a new volume.
    multiattach boolean
    Specifies whether the disk is shareable. The default value is false. Changing this creates a new volume.
    name string
    A unique name for the volume. Changing this updates the volume's name.
    size number
    The size of the volume to create (in gigabytes). This parameter is mandatory when you create an empty EVS disk or use an image or a snapshot to create an EVS disk. Decreasing this value creates a new volume.
    snapshotId string
    The snapshot ID from which to create the volume. Changing this creates a new volume.
    tags {[key: string]: string}
    Tags key/value pairs to associate with the volume. Changing this updates the existing volume tags.
    timeouts EvsVolumeV3Timeouts
    volumeType string

    The type of volume to create. Currently, the value can be SSD, SAS, SATA, co-p1, or uh-l1. Changing this creates a new volume.

    NOTE: Common I/O (SATA) will reach end of life, end of 2025.

    wwn string
    Specifies the unique identifier used for mounting the EVS disk.
    attachments Sequence[EvsVolumeV3AttachmentArgs]
    If a volume is attached to an instance, this attribute will display the Attachment ID, Instance ID, and the Device as the Instance sees it.
    availability_zone str
    The availability zone for the volume. Changing this creates a new volume.
    backup_id str
    The backup ID from which to create the volume. Changing this creates a new volume.
    cascade bool
    Specifies to delete all snapshots associated with the EVS disk. Default is false.
    description str
    A description of the volume. Changing this updates the volume's description.
    device_type str
    The device type of volume to create. Valid options are VBD and SCSI. Defaults to VBD. Changing this creates a new volume.
    evs_volume_v3_id str
    image_id str
    The image ID from which to create the volume. Changing this creates a new volume.
    kms_id str
    The Encryption KMS ID to create the volume. Changing this creates a new volume.
    multiattach bool
    Specifies whether the disk is shareable. The default value is false. Changing this creates a new volume.
    name str
    A unique name for the volume. Changing this updates the volume's name.
    size float
    The size of the volume to create (in gigabytes). This parameter is mandatory when you create an empty EVS disk or use an image or a snapshot to create an EVS disk. Decreasing this value creates a new volume.
    snapshot_id str
    The snapshot ID from which to create the volume. Changing this creates a new volume.
    tags Mapping[str, str]
    Tags key/value pairs to associate with the volume. Changing this updates the existing volume tags.
    timeouts EvsVolumeV3TimeoutsArgs
    volume_type str

    The type of volume to create. Currently, the value can be SSD, SAS, SATA, co-p1, or uh-l1. Changing this creates a new volume.

    NOTE: Common I/O (SATA) will reach end of life, end of 2025.

    wwn str
    Specifies the unique identifier used for mounting the EVS disk.
    attachments List<Property Map>
    If a volume is attached to an instance, this attribute will display the Attachment ID, Instance ID, and the Device as the Instance sees it.
    availabilityZone String
    The availability zone for the volume. Changing this creates a new volume.
    backupId String
    The backup ID from which to create the volume. Changing this creates a new volume.
    cascade Boolean
    Specifies to delete all snapshots associated with the EVS disk. Default is false.
    description String
    A description of the volume. Changing this updates the volume's description.
    deviceType String
    The device type of volume to create. Valid options are VBD and SCSI. Defaults to VBD. Changing this creates a new volume.
    evsVolumeV3Id String
    imageId String
    The image ID from which to create the volume. Changing this creates a new volume.
    kmsId String
    The Encryption KMS ID to create the volume. Changing this creates a new volume.
    multiattach Boolean
    Specifies whether the disk is shareable. The default value is false. Changing this creates a new volume.
    name String
    A unique name for the volume. Changing this updates the volume's name.
    size Number
    The size of the volume to create (in gigabytes). This parameter is mandatory when you create an empty EVS disk or use an image or a snapshot to create an EVS disk. Decreasing this value creates a new volume.
    snapshotId String
    The snapshot ID from which to create the volume. Changing this creates a new volume.
    tags Map<String>
    Tags key/value pairs to associate with the volume. Changing this updates the existing volume tags.
    timeouts Property Map
    volumeType String

    The type of volume to create. Currently, the value can be SSD, SAS, SATA, co-p1, or uh-l1. Changing this creates a new volume.

    NOTE: Common I/O (SATA) will reach end of life, end of 2025.

    wwn String
    Specifies the unique identifier used for mounting the EVS disk.

    Supporting Types

    EvsVolumeV3Attachment, EvsVolumeV3AttachmentArgs

    Device string
    Id string
    InstanceId string
    Device string
    Id string
    InstanceId string
    device String
    id String
    instanceId String
    device string
    id string
    instanceId string
    device String
    id String
    instanceId String

    EvsVolumeV3Timeouts, EvsVolumeV3TimeoutsArgs

    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

    Volumes can be imported using the id, e.g.

    $ pulumi import opentelekomcloud:index/evsVolumeV3:EvsVolumeV3 volume_1 14a80bc7-c12c-4fe0-a38a-cb77eeac9bd6
    

    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.37 published on Thursday, Apr 24, 2025 by opentelekomcloud