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",
    }],
});
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",
    )])
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
	})
}
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",
            },
        },
    });
});
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());
    }
}
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: {}
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 string
- The unique name of the resource.
- args SnapshotArgs
- 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 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 string
- The unique name of the resource.
- args SnapshotArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SnapshotArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
        },
    },
});
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"),
		},
	},
})
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());
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",
    }])
const snapshotResource = new volcengine.ebs.Snapshot("snapshotResource", {
    snapshotName: "string",
    volumeId: "string",
    description: "string",
    projectName: "string",
    retentionDays: 0,
    tags: [{
        key: "string",
        value: "string",
    }],
});
type: volcengine:ebs:Snapshot
properties:
    description: string
    projectName: string
    retentionDays: 0
    snapshotName: string
    tags:
        - key: string
          value: string
    volumeId: string
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 string
- The name of the snapshot.
- VolumeId 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.
- 
List<SnapshotTag> 
- Tags.
- SnapshotName string
- The name of the snapshot.
- VolumeId 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.
- 
[]SnapshotTag Args 
- Tags.
- snapshotName String
- The name of the snapshot.
- volumeId 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.
- 
List<SnapshotTag> 
- Tags.
- snapshotName string
- The name of the snapshot.
- volumeId 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.
- 
SnapshotTag[] 
- Tags.
- snapshot_name str
- The name of the snapshot.
- volume_id 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.
- 
Sequence[SnapshotTag Args] 
- Tags.
- snapshotName String
- The name of the snapshot.
- volumeId 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.
- 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) -> Snapshotfunc 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
- 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.
- 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.
- 
List<SnapshotTag> 
- Tags.
- VolumeId 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.
- 
[]SnapshotTag Args 
- Tags.
- VolumeId 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.
- 
List<SnapshotTag> 
- Tags.
- volumeId 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.
- 
SnapshotTag[] 
- Tags.
- volumeId 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.
- 
Sequence[SnapshotTag Args] 
- Tags.
- volume_id 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.
- List<Property Map>
- Tags.
- volumeId 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    
Import
EbsSnapshot can be imported using the id, e.g.
$ pulumi import volcengine:ebs/snapshot:Snapshot default resource_id
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 volcengineTerraform Provider.