1. Packages
  2. Volcengine
  3. API Docs
  4. ebs
  5. Snapshot
Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine

volcengine.ebs.Snapshot

Explore with Pulumi AI

Provides a resource to manage ebs snapshot

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
import * as volcengine from "@volcengine/pulumi";

const fooZones = volcengine.ecs.Zones({});
const fooVolume = new volcengine.ebs.Volume("fooVolume", {
    volumeName: "acc-test-volume",
    volumeType: "ESSD_PL0",
    description: "acc-test",
    kind: "data",
    size: 500,
    zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
    volumeChargeType: "PostPaid",
    projectName: "default",
});
const fooSnapshot = new volcengine.ebs.Snapshot("fooSnapshot", {
    volumeId: fooVolume.id,
    snapshotName: "acc-test-snapshot",
    description: "acc-test",
    retentionDays: 3,
    projectName: "default",
    tags: [{
        key: "k1",
        value: "v1",
    }],
});
Copy
import pulumi
import pulumi_volcengine as volcengine

foo_zones = volcengine.ecs.zones()
foo_volume = volcengine.ebs.Volume("fooVolume",
    volume_name="acc-test-volume",
    volume_type="ESSD_PL0",
    description="acc-test",
    kind="data",
    size=500,
    zone_id=foo_zones.zones[0].id,
    volume_charge_type="PostPaid",
    project_name="default")
foo_snapshot = volcengine.ebs.Snapshot("fooSnapshot",
    volume_id=foo_volume.id,
    snapshot_name="acc-test-snapshot",
    description="acc-test",
    retention_days=3,
    project_name="default",
    tags=[volcengine.ebs.SnapshotTagArgs(
        key="k1",
        value="v1",
    )])
Copy
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ebs"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooZones, err := ecs.Zones(ctx, nil, nil)
		if err != nil {
			return err
		}
		fooVolume, err := ebs.NewVolume(ctx, "fooVolume", &ebs.VolumeArgs{
			VolumeName:       pulumi.String("acc-test-volume"),
			VolumeType:       pulumi.String("ESSD_PL0"),
			Description:      pulumi.String("acc-test"),
			Kind:             pulumi.String("data"),
			Size:             pulumi.Int(500),
			ZoneId:           pulumi.String(fooZones.Zones[0].Id),
			VolumeChargeType: pulumi.String("PostPaid"),
			ProjectName:      pulumi.String("default"),
		})
		if err != nil {
			return err
		}
		_, err = ebs.NewSnapshot(ctx, "fooSnapshot", &ebs.SnapshotArgs{
			VolumeId:      fooVolume.ID(),
			SnapshotName:  pulumi.String("acc-test-snapshot"),
			Description:   pulumi.String("acc-test"),
			RetentionDays: pulumi.Int(3),
			ProjectName:   pulumi.String("default"),
			Tags: ebs.SnapshotTagArray{
				&ebs.SnapshotTagArgs{
					Key:   pulumi.String("k1"),
					Value: pulumi.String("v1"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;

return await Deployment.RunAsync(() => 
{
    var fooZones = Volcengine.Ecs.Zones.Invoke();

    var fooVolume = new Volcengine.Ebs.Volume("fooVolume", new()
    {
        VolumeName = "acc-test-volume",
        VolumeType = "ESSD_PL0",
        Description = "acc-test",
        Kind = "data",
        Size = 500,
        ZoneId = fooZones.Apply(zonesResult => zonesResult.Zones[0]?.Id),
        VolumeChargeType = "PostPaid",
        ProjectName = "default",
    });

    var fooSnapshot = new Volcengine.Ebs.Snapshot("fooSnapshot", new()
    {
        VolumeId = fooVolume.Id,
        SnapshotName = "acc-test-snapshot",
        Description = "acc-test",
        RetentionDays = 3,
        ProjectName = "default",
        Tags = new[]
        {
            new Volcengine.Ebs.Inputs.SnapshotTagArgs
            {
                Key = "k1",
                Value = "v1",
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.ecs.EcsFunctions;
import com.pulumi.volcengine.ecs.inputs.ZonesArgs;
import com.pulumi.volcengine.ebs.Volume;
import com.pulumi.volcengine.ebs.VolumeArgs;
import com.pulumi.volcengine.ebs.Snapshot;
import com.pulumi.volcengine.ebs.SnapshotArgs;
import com.pulumi.volcengine.ebs.inputs.SnapshotTagArgs;
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 fooZones = EcsFunctions.Zones();

        var fooVolume = new Volume("fooVolume", VolumeArgs.builder()        
            .volumeName("acc-test-volume")
            .volumeType("ESSD_PL0")
            .description("acc-test")
            .kind("data")
            .size(500)
            .zoneId(fooZones.applyValue(zonesResult -> zonesResult.zones()[0].id()))
            .volumeChargeType("PostPaid")
            .projectName("default")
            .build());

        var fooSnapshot = new Snapshot("fooSnapshot", SnapshotArgs.builder()        
            .volumeId(fooVolume.id())
            .snapshotName("acc-test-snapshot")
            .description("acc-test")
            .retentionDays(3)
            .projectName("default")
            .tags(SnapshotTagArgs.builder()
                .key("k1")
                .value("v1")
                .build())
            .build());

    }
}
Copy
resources:
  fooVolume:
    type: volcengine:ebs:Volume
    properties:
      volumeName: acc-test-volume
      volumeType: ESSD_PL0
      description: acc-test
      kind: data
      size: 500
      zoneId: ${fooZones.zones[0].id}
      volumeChargeType: PostPaid
      projectName: default
  fooSnapshot:
    type: volcengine:ebs:Snapshot
    properties:
      volumeId: ${fooVolume.id}
      snapshotName: acc-test-snapshot
      description: acc-test
      retentionDays: 3
      projectName: default
      tags:
        - key: k1
          value: v1
variables:
  fooZones:
    fn::invoke:
      Function: volcengine:ecs:Zones
      Arguments: {}
Copy

Create Snapshot Resource

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

Constructor syntax

new Snapshot(name: string, args: SnapshotArgs, opts?: CustomResourceOptions);
@overload
def Snapshot(resource_name: str,
             args: SnapshotArgs,
             opts: Optional[ResourceOptions] = None)

@overload
def Snapshot(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             snapshot_name: Optional[str] = None,
             volume_id: Optional[str] = None,
             description: Optional[str] = None,
             project_name: Optional[str] = None,
             retention_days: Optional[int] = None,
             tags: Optional[Sequence[SnapshotTagArgs]] = None)
func NewSnapshot(ctx *Context, name string, args SnapshotArgs, opts ...ResourceOption) (*Snapshot, error)
public Snapshot(string name, SnapshotArgs args, CustomResourceOptions? opts = null)
public Snapshot(String name, SnapshotArgs args)
public Snapshot(String name, SnapshotArgs args, CustomResourceOptions options)
type: volcengine:ebs:Snapshot
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. SnapshotArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. SnapshotArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. SnapshotArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. SnapshotArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. SnapshotArgs
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 snapshotResource = new Volcengine.Ebs.Snapshot("snapshotResource", new()
{
    SnapshotName = "string",
    VolumeId = "string",
    Description = "string",
    ProjectName = "string",
    RetentionDays = 0,
    Tags = new[]
    {
        new Volcengine.Ebs.Inputs.SnapshotTagArgs
        {
            Key = "string",
            Value = "string",
        },
    },
});
Copy
example, err := ebs.NewSnapshot(ctx, "snapshotResource", &ebs.SnapshotArgs{
	SnapshotName:  pulumi.String("string"),
	VolumeId:      pulumi.String("string"),
	Description:   pulumi.String("string"),
	ProjectName:   pulumi.String("string"),
	RetentionDays: pulumi.Int(0),
	Tags: ebs.SnapshotTagArray{
		&ebs.SnapshotTagArgs{
			Key:   pulumi.String("string"),
			Value: pulumi.String("string"),
		},
	},
})
Copy
var snapshotResource = new Snapshot("snapshotResource", SnapshotArgs.builder()
    .snapshotName("string")
    .volumeId("string")
    .description("string")
    .projectName("string")
    .retentionDays(0)
    .tags(SnapshotTagArgs.builder()
        .key("string")
        .value("string")
        .build())
    .build());
Copy
snapshot_resource = volcengine.ebs.Snapshot("snapshotResource",
    snapshot_name="string",
    volume_id="string",
    description="string",
    project_name="string",
    retention_days=0,
    tags=[{
        "key": "string",
        "value": "string",
    }])
Copy
const snapshotResource = new volcengine.ebs.Snapshot("snapshotResource", {
    snapshotName: "string",
    volumeId: "string",
    description: "string",
    projectName: "string",
    retentionDays: 0,
    tags: [{
        key: "string",
        value: "string",
    }],
});
Copy
type: volcengine:ebs:Snapshot
properties:
    description: string
    projectName: string
    retentionDays: 0
    snapshotName: string
    tags:
        - key: string
          value: string
    volumeId: string
Copy

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

SnapshotName This property is required. string
The name of the snapshot.
VolumeId
This property is required.
Changes to this property will trigger replacement.
string
The volume id to create snapshot.
Description string
The description of the snapshot.
ProjectName string
The project name of the snapshot.
RetentionDays int
The retention days of the snapshot. Valid values: 1~65536. Not specifying this field means permanently preserving the snapshot.When modifying this field, the retention days only supports extension and not shortening. The value range is N+1~65536, where N is the retention days set during snapshot creation.
Tags List<SnapshotTag>
Tags.
SnapshotName This property is required. string
The name of the snapshot.
VolumeId
This property is required.
Changes to this property will trigger replacement.
string
The volume id to create snapshot.
Description string
The description of the snapshot.
ProjectName string
The project name of the snapshot.
RetentionDays int
The retention days of the snapshot. Valid values: 1~65536. Not specifying this field means permanently preserving the snapshot.When modifying this field, the retention days only supports extension and not shortening. The value range is N+1~65536, where N is the retention days set during snapshot creation.
Tags []SnapshotTagArgs
Tags.
snapshotName This property is required. String
The name of the snapshot.
volumeId
This property is required.
Changes to this property will trigger replacement.
String
The volume id to create snapshot.
description String
The description of the snapshot.
projectName String
The project name of the snapshot.
retentionDays Integer
The retention days of the snapshot. Valid values: 1~65536. Not specifying this field means permanently preserving the snapshot.When modifying this field, the retention days only supports extension and not shortening. The value range is N+1~65536, where N is the retention days set during snapshot creation.
tags List<SnapshotTag>
Tags.
snapshotName This property is required. string
The name of the snapshot.
volumeId
This property is required.
Changes to this property will trigger replacement.
string
The volume id to create snapshot.
description string
The description of the snapshot.
projectName string
The project name of the snapshot.
retentionDays number
The retention days of the snapshot. Valid values: 1~65536. Not specifying this field means permanently preserving the snapshot.When modifying this field, the retention days only supports extension and not shortening. The value range is N+1~65536, where N is the retention days set during snapshot creation.
tags SnapshotTag[]
Tags.
snapshot_name This property is required. str
The name of the snapshot.
volume_id
This property is required.
Changes to this property will trigger replacement.
str
The volume id to create snapshot.
description str
The description of the snapshot.
project_name str
The project name of the snapshot.
retention_days int
The retention days of the snapshot. Valid values: 1~65536. Not specifying this field means permanently preserving the snapshot.When modifying this field, the retention days only supports extension and not shortening. The value range is N+1~65536, where N is the retention days set during snapshot creation.
tags Sequence[SnapshotTagArgs]
Tags.
snapshotName This property is required. String
The name of the snapshot.
volumeId
This property is required.
Changes to this property will trigger replacement.
String
The volume id to create snapshot.
description String
The description of the snapshot.
projectName String
The project name of the snapshot.
retentionDays Number
The retention days of the snapshot. Valid values: 1~65536. Not specifying this field means permanently preserving the snapshot.When modifying this field, the retention days only supports extension and not shortening. The value range is N+1~65536, where N is the retention days set during snapshot creation.
tags List<Property Map>
Tags.

Outputs

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

CreationTime string
The creation time of the snapshot.
Id string
The provider-assigned unique ID for this managed resource.
SnapshotType string
The type of the snapshot.
Status string
The status of the snapshot.
VolumeKind string
The volume kind of the snapshot.
VolumeName string
The volume name of the snapshot.
VolumeSize int
The volume size of the snapshot.
VolumeStatus string
The volume status of the snapshot.
VolumeType string
The volume type of the snapshot.
ZoneId string
The zone id of the snapshot.
CreationTime string
The creation time of the snapshot.
Id string
The provider-assigned unique ID for this managed resource.
SnapshotType string
The type of the snapshot.
Status string
The status of the snapshot.
VolumeKind string
The volume kind of the snapshot.
VolumeName string
The volume name of the snapshot.
VolumeSize int
The volume size of the snapshot.
VolumeStatus string
The volume status of the snapshot.
VolumeType string
The volume type of the snapshot.
ZoneId string
The zone id of the snapshot.
creationTime String
The creation time of the snapshot.
id String
The provider-assigned unique ID for this managed resource.
snapshotType String
The type of the snapshot.
status String
The status of the snapshot.
volumeKind String
The volume kind of the snapshot.
volumeName String
The volume name of the snapshot.
volumeSize Integer
The volume size of the snapshot.
volumeStatus String
The volume status of the snapshot.
volumeType String
The volume type of the snapshot.
zoneId String
The zone id of the snapshot.
creationTime string
The creation time of the snapshot.
id string
The provider-assigned unique ID for this managed resource.
snapshotType string
The type of the snapshot.
status string
The status of the snapshot.
volumeKind string
The volume kind of the snapshot.
volumeName string
The volume name of the snapshot.
volumeSize number
The volume size of the snapshot.
volumeStatus string
The volume status of the snapshot.
volumeType string
The volume type of the snapshot.
zoneId string
The zone id of the snapshot.
creation_time str
The creation time of the snapshot.
id str
The provider-assigned unique ID for this managed resource.
snapshot_type str
The type of the snapshot.
status str
The status of the snapshot.
volume_kind str
The volume kind of the snapshot.
volume_name str
The volume name of the snapshot.
volume_size int
The volume size of the snapshot.
volume_status str
The volume status of the snapshot.
volume_type str
The volume type of the snapshot.
zone_id str
The zone id of the snapshot.
creationTime String
The creation time of the snapshot.
id String
The provider-assigned unique ID for this managed resource.
snapshotType String
The type of the snapshot.
status String
The status of the snapshot.
volumeKind String
The volume kind of the snapshot.
volumeName String
The volume name of the snapshot.
volumeSize Number
The volume size of the snapshot.
volumeStatus String
The volume status of the snapshot.
volumeType String
The volume type of the snapshot.
zoneId String
The zone id of the snapshot.

Look up Existing Snapshot Resource

Get an existing Snapshot 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?: SnapshotState, opts?: CustomResourceOptions): Snapshot
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        creation_time: Optional[str] = None,
        description: Optional[str] = None,
        project_name: Optional[str] = None,
        retention_days: Optional[int] = None,
        snapshot_name: Optional[str] = None,
        snapshot_type: Optional[str] = None,
        status: Optional[str] = None,
        tags: Optional[Sequence[SnapshotTagArgs]] = None,
        volume_id: Optional[str] = None,
        volume_kind: Optional[str] = None,
        volume_name: Optional[str] = None,
        volume_size: Optional[int] = None,
        volume_status: Optional[str] = None,
        volume_type: Optional[str] = None,
        zone_id: Optional[str] = None) -> Snapshot
func GetSnapshot(ctx *Context, name string, id IDInput, state *SnapshotState, opts ...ResourceOption) (*Snapshot, error)
public static Snapshot Get(string name, Input<string> id, SnapshotState? state, CustomResourceOptions? opts = null)
public static Snapshot get(String name, Output<String> id, SnapshotState state, CustomResourceOptions options)
resources:  _:    type: volcengine:ebs:Snapshot    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
CreationTime string
The creation time of the snapshot.
Description string
The description of the snapshot.
ProjectName string
The project name of the snapshot.
RetentionDays int
The retention days of the snapshot. Valid values: 1~65536. Not specifying this field means permanently preserving the snapshot.When modifying this field, the retention days only supports extension and not shortening. The value range is N+1~65536, where N is the retention days set during snapshot creation.
SnapshotName string
The name of the snapshot.
SnapshotType string
The type of the snapshot.
Status string
The status of the snapshot.
Tags List<SnapshotTag>
Tags.
VolumeId Changes to this property will trigger replacement. string
The volume id to create snapshot.
VolumeKind string
The volume kind of the snapshot.
VolumeName string
The volume name of the snapshot.
VolumeSize int
The volume size of the snapshot.
VolumeStatus string
The volume status of the snapshot.
VolumeType string
The volume type of the snapshot.
ZoneId string
The zone id of the snapshot.
CreationTime string
The creation time of the snapshot.
Description string
The description of the snapshot.
ProjectName string
The project name of the snapshot.
RetentionDays int
The retention days of the snapshot. Valid values: 1~65536. Not specifying this field means permanently preserving the snapshot.When modifying this field, the retention days only supports extension and not shortening. The value range is N+1~65536, where N is the retention days set during snapshot creation.
SnapshotName string
The name of the snapshot.
SnapshotType string
The type of the snapshot.
Status string
The status of the snapshot.
Tags []SnapshotTagArgs
Tags.
VolumeId Changes to this property will trigger replacement. string
The volume id to create snapshot.
VolumeKind string
The volume kind of the snapshot.
VolumeName string
The volume name of the snapshot.
VolumeSize int
The volume size of the snapshot.
VolumeStatus string
The volume status of the snapshot.
VolumeType string
The volume type of the snapshot.
ZoneId string
The zone id of the snapshot.
creationTime String
The creation time of the snapshot.
description String
The description of the snapshot.
projectName String
The project name of the snapshot.
retentionDays Integer
The retention days of the snapshot. Valid values: 1~65536. Not specifying this field means permanently preserving the snapshot.When modifying this field, the retention days only supports extension and not shortening. The value range is N+1~65536, where N is the retention days set during snapshot creation.
snapshotName String
The name of the snapshot.
snapshotType String
The type of the snapshot.
status String
The status of the snapshot.
tags List<SnapshotTag>
Tags.
volumeId Changes to this property will trigger replacement. String
The volume id to create snapshot.
volumeKind String
The volume kind of the snapshot.
volumeName String
The volume name of the snapshot.
volumeSize Integer
The volume size of the snapshot.
volumeStatus String
The volume status of the snapshot.
volumeType String
The volume type of the snapshot.
zoneId String
The zone id of the snapshot.
creationTime string
The creation time of the snapshot.
description string
The description of the snapshot.
projectName string
The project name of the snapshot.
retentionDays number
The retention days of the snapshot. Valid values: 1~65536. Not specifying this field means permanently preserving the snapshot.When modifying this field, the retention days only supports extension and not shortening. The value range is N+1~65536, where N is the retention days set during snapshot creation.
snapshotName string
The name of the snapshot.
snapshotType string
The type of the snapshot.
status string
The status of the snapshot.
tags SnapshotTag[]
Tags.
volumeId Changes to this property will trigger replacement. string
The volume id to create snapshot.
volumeKind string
The volume kind of the snapshot.
volumeName string
The volume name of the snapshot.
volumeSize number
The volume size of the snapshot.
volumeStatus string
The volume status of the snapshot.
volumeType string
The volume type of the snapshot.
zoneId string
The zone id of the snapshot.
creation_time str
The creation time of the snapshot.
description str
The description of the snapshot.
project_name str
The project name of the snapshot.
retention_days int
The retention days of the snapshot. Valid values: 1~65536. Not specifying this field means permanently preserving the snapshot.When modifying this field, the retention days only supports extension and not shortening. The value range is N+1~65536, where N is the retention days set during snapshot creation.
snapshot_name str
The name of the snapshot.
snapshot_type str
The type of the snapshot.
status str
The status of the snapshot.
tags Sequence[SnapshotTagArgs]
Tags.
volume_id Changes to this property will trigger replacement. str
The volume id to create snapshot.
volume_kind str
The volume kind of the snapshot.
volume_name str
The volume name of the snapshot.
volume_size int
The volume size of the snapshot.
volume_status str
The volume status of the snapshot.
volume_type str
The volume type of the snapshot.
zone_id str
The zone id of the snapshot.
creationTime String
The creation time of the snapshot.
description String
The description of the snapshot.
projectName String
The project name of the snapshot.
retentionDays Number
The retention days of the snapshot. Valid values: 1~65536. Not specifying this field means permanently preserving the snapshot.When modifying this field, the retention days only supports extension and not shortening. The value range is N+1~65536, where N is the retention days set during snapshot creation.
snapshotName String
The name of the snapshot.
snapshotType String
The type of the snapshot.
status String
The status of the snapshot.
tags List<Property Map>
Tags.
volumeId Changes to this property will trigger replacement. String
The volume id to create snapshot.
volumeKind String
The volume kind of the snapshot.
volumeName String
The volume name of the snapshot.
volumeSize Number
The volume size of the snapshot.
volumeStatus String
The volume status of the snapshot.
volumeType String
The volume type of the snapshot.
zoneId String
The zone id of the snapshot.

Supporting Types

SnapshotTag
, SnapshotTagArgs

Key This property is required. string
The Key of Tags.
Value This property is required. string
The Value of Tags.
Key This property is required. string
The Key of Tags.
Value This property is required. string
The Value of Tags.
key This property is required. String
The Key of Tags.
value This property is required. String
The Value of Tags.
key This property is required. string
The Key of Tags.
value This property is required. string
The Value of Tags.
key This property is required. str
The Key of Tags.
value This property is required. str
The Value of Tags.
key This property is required. String
The Key of Tags.
value This property is required. String
The Value of Tags.

Import

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

$ pulumi import volcengine:ebs/snapshot:Snapshot default resource_id
Copy

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

Package Details

Repository
volcengine volcengine/pulumi-volcengine
License
Apache-2.0
Notes
This Pulumi package is based on the volcengine Terraform Provider.