Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine
volcengine.ebs.SnapshotGroups
Explore with Pulumi AI
Use this data source to query detailed information of ebs snapshot groups
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 fooVpc = new volcengine.vpc.Vpc("fooVpc", {
    vpcName: "acc-test-vpc",
    cidrBlock: "172.16.0.0/16",
});
const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
    subnetName: "acc-test-subnet",
    cidrBlock: "172.16.0.0/24",
    zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
    vpcId: fooVpc.id,
});
const fooSecurityGroup = new volcengine.vpc.SecurityGroup("fooSecurityGroup", {
    securityGroupName: "acc-test-security-group",
    vpcId: fooVpc.id,
});
const fooImages = volcengine.ecs.Images({
    osType: "Linux",
    visibility: "public",
    instanceTypeId: "ecs.g3il.large",
});
const fooInstance = new volcengine.ecs.Instance("fooInstance", {
    instanceName: "acc-test-ecs",
    description: "acc-test",
    hostName: "tf-acc-test",
    imageId: fooImages.then(fooImages => fooImages.images?.[0]?.imageId),
    instanceType: "ecs.g3il.large",
    password: "93f0cb0614Aab12",
    instanceChargeType: "PostPaid",
    systemVolumeType: "ESSD_PL0",
    systemVolumeSize: 40,
    subnetId: fooSubnet.id,
    securityGroupIds: [fooSecurityGroup.id],
    projectName: "default",
    tags: [{
        key: "k1",
        value: "v1",
    }],
});
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 fooVolumeAttach = new volcengine.ebs.VolumeAttach("fooVolumeAttach", {
    instanceId: fooInstance.id,
    volumeId: fooVolume.id,
});
const fooSnapshotGroup = new volcengine.ebs.SnapshotGroup("fooSnapshotGroup", {
    volumeIds: [
        fooInstance.systemVolumeId,
        fooVolume.id,
    ],
    instanceId: fooInstance.id,
    description: "acc-test",
    projectName: "default",
    tags: [{
        key: "k1",
        value: "v1",
    }],
}, {
    dependsOn: [fooVolumeAttach],
});
const fooSnapshotGroups = volcengine.ebs.SnapshotGroupsOutput({
    ids: [fooSnapshotGroup.id],
});
import pulumi
import pulumi_volcengine as volcengine
foo_zones = volcengine.ecs.zones()
foo_vpc = volcengine.vpc.Vpc("fooVpc",
    vpc_name="acc-test-vpc",
    cidr_block="172.16.0.0/16")
foo_subnet = volcengine.vpc.Subnet("fooSubnet",
    subnet_name="acc-test-subnet",
    cidr_block="172.16.0.0/24",
    zone_id=foo_zones.zones[0].id,
    vpc_id=foo_vpc.id)
foo_security_group = volcengine.vpc.SecurityGroup("fooSecurityGroup",
    security_group_name="acc-test-security-group",
    vpc_id=foo_vpc.id)
foo_images = volcengine.ecs.images(os_type="Linux",
    visibility="public",
    instance_type_id="ecs.g3il.large")
foo_instance = volcengine.ecs.Instance("fooInstance",
    instance_name="acc-test-ecs",
    description="acc-test",
    host_name="tf-acc-test",
    image_id=foo_images.images[0].image_id,
    instance_type="ecs.g3il.large",
    password="93f0cb0614Aab12",
    instance_charge_type="PostPaid",
    system_volume_type="ESSD_PL0",
    system_volume_size=40,
    subnet_id=foo_subnet.id,
    security_group_ids=[foo_security_group.id],
    project_name="default",
    tags=[volcengine.ecs.InstanceTagArgs(
        key="k1",
        value="v1",
    )])
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_volume_attach = volcengine.ebs.VolumeAttach("fooVolumeAttach",
    instance_id=foo_instance.id,
    volume_id=foo_volume.id)
foo_snapshot_group = volcengine.ebs.SnapshotGroup("fooSnapshotGroup",
    volume_ids=[
        foo_instance.system_volume_id,
        foo_volume.id,
    ],
    instance_id=foo_instance.id,
    description="acc-test",
    project_name="default",
    tags=[volcengine.ebs.SnapshotGroupTagArgs(
        key="k1",
        value="v1",
    )],
    opts=pulumi.ResourceOptions(depends_on=[foo_volume_attach]))
foo_snapshot_groups = volcengine.ebs.snapshot_groups_output(ids=[foo_snapshot_group.id])
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"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooZones, err := ecs.Zones(ctx, nil, nil)
		if err != nil {
			return err
		}
		fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
			VpcName:   pulumi.String("acc-test-vpc"),
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
			SubnetName: pulumi.String("acc-test-subnet"),
			CidrBlock:  pulumi.String("172.16.0.0/24"),
			ZoneId:     pulumi.String(fooZones.Zones[0].Id),
			VpcId:      fooVpc.ID(),
		})
		if err != nil {
			return err
		}
		fooSecurityGroup, err := vpc.NewSecurityGroup(ctx, "fooSecurityGroup", &vpc.SecurityGroupArgs{
			SecurityGroupName: pulumi.String("acc-test-security-group"),
			VpcId:             fooVpc.ID(),
		})
		if err != nil {
			return err
		}
		fooImages, err := ecs.Images(ctx, &ecs.ImagesArgs{
			OsType:         pulumi.StringRef("Linux"),
			Visibility:     pulumi.StringRef("public"),
			InstanceTypeId: pulumi.StringRef("ecs.g3il.large"),
		}, nil)
		if err != nil {
			return err
		}
		fooInstance, err := ecs.NewInstance(ctx, "fooInstance", &ecs.InstanceArgs{
			InstanceName:       pulumi.String("acc-test-ecs"),
			Description:        pulumi.String("acc-test"),
			HostName:           pulumi.String("tf-acc-test"),
			ImageId:            pulumi.String(fooImages.Images[0].ImageId),
			InstanceType:       pulumi.String("ecs.g3il.large"),
			Password:           pulumi.String("93f0cb0614Aab12"),
			InstanceChargeType: pulumi.String("PostPaid"),
			SystemVolumeType:   pulumi.String("ESSD_PL0"),
			SystemVolumeSize:   pulumi.Int(40),
			SubnetId:           fooSubnet.ID(),
			SecurityGroupIds: pulumi.StringArray{
				fooSecurityGroup.ID(),
			},
			ProjectName: pulumi.String("default"),
			Tags: ecs.InstanceTagArray{
				&ecs.InstanceTagArgs{
					Key:   pulumi.String("k1"),
					Value: pulumi.String("v1"),
				},
			},
		})
		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
		}
		fooVolumeAttach, err := ebs.NewVolumeAttach(ctx, "fooVolumeAttach", &ebs.VolumeAttachArgs{
			InstanceId: fooInstance.ID(),
			VolumeId:   fooVolume.ID(),
		})
		if err != nil {
			return err
		}
		fooSnapshotGroup, err := ebs.NewSnapshotGroup(ctx, "fooSnapshotGroup", &ebs.SnapshotGroupArgs{
			VolumeIds: pulumi.StringArray{
				fooInstance.SystemVolumeId,
				fooVolume.ID(),
			},
			InstanceId:  fooInstance.ID(),
			Description: pulumi.String("acc-test"),
			ProjectName: pulumi.String("default"),
			Tags: ebs.SnapshotGroupTagArray{
				&ebs.SnapshotGroupTagArgs{
					Key:   pulumi.String("k1"),
					Value: pulumi.String("v1"),
				},
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			fooVolumeAttach,
		}))
		if err != nil {
			return err
		}
		_ = ebs.SnapshotGroupsOutput(ctx, ebs.SnapshotGroupsOutputArgs{
			Ids: pulumi.StringArray{
				fooSnapshotGroup.ID(),
			},
		}, nil)
		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 fooVpc = new Volcengine.Vpc.Vpc("fooVpc", new()
    {
        VpcName = "acc-test-vpc",
        CidrBlock = "172.16.0.0/16",
    });
    var fooSubnet = new Volcengine.Vpc.Subnet("fooSubnet", new()
    {
        SubnetName = "acc-test-subnet",
        CidrBlock = "172.16.0.0/24",
        ZoneId = fooZones.Apply(zonesResult => zonesResult.Zones[0]?.Id),
        VpcId = fooVpc.Id,
    });
    var fooSecurityGroup = new Volcengine.Vpc.SecurityGroup("fooSecurityGroup", new()
    {
        SecurityGroupName = "acc-test-security-group",
        VpcId = fooVpc.Id,
    });
    var fooImages = Volcengine.Ecs.Images.Invoke(new()
    {
        OsType = "Linux",
        Visibility = "public",
        InstanceTypeId = "ecs.g3il.large",
    });
    var fooInstance = new Volcengine.Ecs.Instance("fooInstance", new()
    {
        InstanceName = "acc-test-ecs",
        Description = "acc-test",
        HostName = "tf-acc-test",
        ImageId = fooImages.Apply(imagesResult => imagesResult.Images[0]?.ImageId),
        InstanceType = "ecs.g3il.large",
        Password = "93f0cb0614Aab12",
        InstanceChargeType = "PostPaid",
        SystemVolumeType = "ESSD_PL0",
        SystemVolumeSize = 40,
        SubnetId = fooSubnet.Id,
        SecurityGroupIds = new[]
        {
            fooSecurityGroup.Id,
        },
        ProjectName = "default",
        Tags = new[]
        {
            new Volcengine.Ecs.Inputs.InstanceTagArgs
            {
                Key = "k1",
                Value = "v1",
            },
        },
    });
    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 fooVolumeAttach = new Volcengine.Ebs.VolumeAttach("fooVolumeAttach", new()
    {
        InstanceId = fooInstance.Id,
        VolumeId = fooVolume.Id,
    });
    var fooSnapshotGroup = new Volcengine.Ebs.SnapshotGroup("fooSnapshotGroup", new()
    {
        VolumeIds = new[]
        {
            fooInstance.SystemVolumeId,
            fooVolume.Id,
        },
        InstanceId = fooInstance.Id,
        Description = "acc-test",
        ProjectName = "default",
        Tags = new[]
        {
            new Volcengine.Ebs.Inputs.SnapshotGroupTagArgs
            {
                Key = "k1",
                Value = "v1",
            },
        },
    }, new CustomResourceOptions
    {
        DependsOn =
        {
            fooVolumeAttach,
        },
    });
    var fooSnapshotGroups = Volcengine.Ebs.SnapshotGroups.Invoke(new()
    {
        Ids = new[]
        {
            fooSnapshotGroup.Id,
        },
    });
});
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.vpc.Vpc;
import com.pulumi.volcengine.vpc.VpcArgs;
import com.pulumi.volcengine.vpc.Subnet;
import com.pulumi.volcengine.vpc.SubnetArgs;
import com.pulumi.volcengine.vpc.SecurityGroup;
import com.pulumi.volcengine.vpc.SecurityGroupArgs;
import com.pulumi.volcengine.ecs.inputs.ImagesArgs;
import com.pulumi.volcengine.ecs.Instance;
import com.pulumi.volcengine.ecs.InstanceArgs;
import com.pulumi.volcengine.ecs.inputs.InstanceTagArgs;
import com.pulumi.volcengine.ebs.Volume;
import com.pulumi.volcengine.ebs.VolumeArgs;
import com.pulumi.volcengine.ebs.VolumeAttach;
import com.pulumi.volcengine.ebs.VolumeAttachArgs;
import com.pulumi.volcengine.ebs.SnapshotGroup;
import com.pulumi.volcengine.ebs.SnapshotGroupArgs;
import com.pulumi.volcengine.ebs.inputs.SnapshotGroupTagArgs;
import com.pulumi.volcengine.ebs.EbsFunctions;
import com.pulumi.volcengine.ebs.inputs.SnapshotGroupsArgs;
import com.pulumi.resources.CustomResourceOptions;
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 fooVpc = new Vpc("fooVpc", VpcArgs.builder()        
            .vpcName("acc-test-vpc")
            .cidrBlock("172.16.0.0/16")
            .build());
        var fooSubnet = new Subnet("fooSubnet", SubnetArgs.builder()        
            .subnetName("acc-test-subnet")
            .cidrBlock("172.16.0.0/24")
            .zoneId(fooZones.applyValue(zonesResult -> zonesResult.zones()[0].id()))
            .vpcId(fooVpc.id())
            .build());
        var fooSecurityGroup = new SecurityGroup("fooSecurityGroup", SecurityGroupArgs.builder()        
            .securityGroupName("acc-test-security-group")
            .vpcId(fooVpc.id())
            .build());
        final var fooImages = EcsFunctions.Images(ImagesArgs.builder()
            .osType("Linux")
            .visibility("public")
            .instanceTypeId("ecs.g3il.large")
            .build());
        var fooInstance = new Instance("fooInstance", InstanceArgs.builder()        
            .instanceName("acc-test-ecs")
            .description("acc-test")
            .hostName("tf-acc-test")
            .imageId(fooImages.applyValue(imagesResult -> imagesResult.images()[0].imageId()))
            .instanceType("ecs.g3il.large")
            .password("93f0cb0614Aab12")
            .instanceChargeType("PostPaid")
            .systemVolumeType("ESSD_PL0")
            .systemVolumeSize(40)
            .subnetId(fooSubnet.id())
            .securityGroupIds(fooSecurityGroup.id())
            .projectName("default")
            .tags(InstanceTagArgs.builder()
                .key("k1")
                .value("v1")
                .build())
            .build());
        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 fooVolumeAttach = new VolumeAttach("fooVolumeAttach", VolumeAttachArgs.builder()        
            .instanceId(fooInstance.id())
            .volumeId(fooVolume.id())
            .build());
        var fooSnapshotGroup = new SnapshotGroup("fooSnapshotGroup", SnapshotGroupArgs.builder()        
            .volumeIds(            
                fooInstance.systemVolumeId(),
                fooVolume.id())
            .instanceId(fooInstance.id())
            .description("acc-test")
            .projectName("default")
            .tags(SnapshotGroupTagArgs.builder()
                .key("k1")
                .value("v1")
                .build())
            .build(), CustomResourceOptions.builder()
                .dependsOn(fooVolumeAttach)
                .build());
        final var fooSnapshotGroups = EbsFunctions.SnapshotGroups(SnapshotGroupsArgs.builder()
            .ids(fooSnapshotGroup.id())
            .build());
    }
}
resources:
  fooVpc:
    type: volcengine:vpc:Vpc
    properties:
      vpcName: acc-test-vpc
      cidrBlock: 172.16.0.0/16
  fooSubnet:
    type: volcengine:vpc:Subnet
    properties:
      subnetName: acc-test-subnet
      cidrBlock: 172.16.0.0/24
      zoneId: ${fooZones.zones[0].id}
      vpcId: ${fooVpc.id}
  fooSecurityGroup:
    type: volcengine:vpc:SecurityGroup
    properties:
      securityGroupName: acc-test-security-group
      vpcId: ${fooVpc.id}
  fooInstance:
    type: volcengine:ecs:Instance
    properties:
      instanceName: acc-test-ecs
      description: acc-test
      hostName: tf-acc-test
      imageId: ${fooImages.images[0].imageId}
      instanceType: ecs.g3il.large
      password: 93f0cb0614Aab12
      instanceChargeType: PostPaid
      systemVolumeType: ESSD_PL0
      systemVolumeSize: 40
      subnetId: ${fooSubnet.id}
      securityGroupIds:
        - ${fooSecurityGroup.id}
      projectName: default
      tags:
        - key: k1
          value: v1
  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
  fooVolumeAttach:
    type: volcengine:ebs:VolumeAttach
    properties:
      instanceId: ${fooInstance.id}
      volumeId: ${fooVolume.id}
  fooSnapshotGroup:
    type: volcengine:ebs:SnapshotGroup
    properties:
      volumeIds:
        - ${fooInstance.systemVolumeId}
        - ${fooVolume.id}
      instanceId: ${fooInstance.id}
      description: acc-test
      projectName: default
      tags:
        - key: k1
          value: v1
    options:
      dependson:
        - ${fooVolumeAttach}
variables:
  fooZones:
    fn::invoke:
      Function: volcengine:ecs:Zones
      Arguments: {}
  fooImages:
    fn::invoke:
      Function: volcengine:ecs:Images
      Arguments:
        osType: Linux
        visibility: public
        instanceTypeId: ecs.g3il.large
  fooSnapshotGroups:
    fn::invoke:
      Function: volcengine:ebs:SnapshotGroups
      Arguments:
        ids:
          - ${fooSnapshotGroup.id}
Using SnapshotGroups
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function snapshotGroups(args: SnapshotGroupsArgs, opts?: InvokeOptions): Promise<SnapshotGroupsResult>
function snapshotGroupsOutput(args: SnapshotGroupsOutputArgs, opts?: InvokeOptions): Output<SnapshotGroupsResult>def snapshot_groups(ids: Optional[Sequence[str]] = None,
                    instance_id: Optional[str] = None,
                    name: Optional[str] = None,
                    name_regex: Optional[str] = None,
                    output_file: Optional[str] = None,
                    project_name: Optional[str] = None,
                    statuses: Optional[Sequence[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> SnapshotGroupsResult
def snapshot_groups_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                    instance_id: Optional[pulumi.Input[str]] = None,
                    name: Optional[pulumi.Input[str]] = None,
                    name_regex: Optional[pulumi.Input[str]] = None,
                    output_file: Optional[pulumi.Input[str]] = None,
                    project_name: Optional[pulumi.Input[str]] = None,
                    statuses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[SnapshotGroupsResult]func SnapshotGroups(ctx *Context, args *SnapshotGroupsArgs, opts ...InvokeOption) (*SnapshotGroupsResult, error)
func SnapshotGroupsOutput(ctx *Context, args *SnapshotGroupsOutputArgs, opts ...InvokeOption) SnapshotGroupsResultOutputpublic static class SnapshotGroups 
{
    public static Task<SnapshotGroupsResult> InvokeAsync(SnapshotGroupsArgs args, InvokeOptions? opts = null)
    public static Output<SnapshotGroupsResult> Invoke(SnapshotGroupsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<SnapshotGroupsResult> snapshotGroups(SnapshotGroupsArgs args, InvokeOptions options)
public static Output<SnapshotGroupsResult> snapshotGroups(SnapshotGroupsArgs args, InvokeOptions options)
fn::invoke:
  function: volcengine:ebs:SnapshotGroups
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Ids List<string>
- A list of snapshot group IDs.
- InstanceId string
- The instance id of snapshot group.
- Name string
- The name of snapshot group.
- NameRegex string
- A Name Regex of Resource.
- OutputFile string
- File name where to save data source results.
- ProjectName string
- The project name of snapshot group.
- Statuses List<string>
- A list of snapshot group status. Valid values: creating,available,failed.
- Ids []string
- A list of snapshot group IDs.
- InstanceId string
- The instance id of snapshot group.
- Name string
- The name of snapshot group.
- NameRegex string
- A Name Regex of Resource.
- OutputFile string
- File name where to save data source results.
- ProjectName string
- The project name of snapshot group.
- Statuses []string
- A list of snapshot group status. Valid values: creating,available,failed.
- ids List<String>
- A list of snapshot group IDs.
- instanceId String
- The instance id of snapshot group.
- name String
- The name of snapshot group.
- nameRegex String
- A Name Regex of Resource.
- outputFile String
- File name where to save data source results.
- projectName String
- The project name of snapshot group.
- statuses List<String>
- A list of snapshot group status. Valid values: creating,available,failed.
- ids string[]
- A list of snapshot group IDs.
- instanceId string
- The instance id of snapshot group.
- name string
- The name of snapshot group.
- nameRegex string
- A Name Regex of Resource.
- outputFile string
- File name where to save data source results.
- projectName string
- The project name of snapshot group.
- statuses string[]
- A list of snapshot group status. Valid values: creating,available,failed.
- ids Sequence[str]
- A list of snapshot group IDs.
- instance_id str
- The instance id of snapshot group.
- name str
- The name of snapshot group.
- name_regex str
- A Name Regex of Resource.
- output_file str
- File name where to save data source results.
- project_name str
- The project name of snapshot group.
- statuses Sequence[str]
- A list of snapshot group status. Valid values: creating,available,failed.
- ids List<String>
- A list of snapshot group IDs.
- instanceId String
- The instance id of snapshot group.
- name String
- The name of snapshot group.
- nameRegex String
- A Name Regex of Resource.
- outputFile String
- File name where to save data source results.
- projectName String
- The project name of snapshot group.
- statuses List<String>
- A list of snapshot group status. Valid values: creating,available,failed.
SnapshotGroups Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- SnapshotGroups List<SnapshotGroups Snapshot Group> 
- The collection of query.
- TotalCount int
- The total count of query.
- Ids List<string>
- InstanceId string
- The instance id of the snapshot group.
- Name string
- The name of the snapshot group.
- NameRegex string
- OutputFile string
- ProjectName string
- The id of the snapshot.
- Statuses List<string>
- The status of the snapshot group.
- Id string
- The provider-assigned unique ID for this managed resource.
- SnapshotGroups []SnapshotGroups Snapshot Group 
- The collection of query.
- TotalCount int
- The total count of query.
- Ids []string
- InstanceId string
- The instance id of the snapshot group.
- Name string
- The name of the snapshot group.
- NameRegex string
- OutputFile string
- ProjectName string
- The id of the snapshot.
- Statuses []string
- The status of the snapshot group.
- id String
- The provider-assigned unique ID for this managed resource.
- snapshotGroups List<SnapshotGroups Snapshot Group> 
- The collection of query.
- totalCount Integer
- The total count of query.
- ids List<String>
- instanceId String
- The instance id of the snapshot group.
- name String
- The name of the snapshot group.
- nameRegex String
- outputFile String
- projectName String
- The id of the snapshot.
- statuses List<String>
- The status of the snapshot group.
- id string
- The provider-assigned unique ID for this managed resource.
- snapshotGroups SnapshotGroups Snapshot Group[] 
- The collection of query.
- totalCount number
- The total count of query.
- ids string[]
- instanceId string
- The instance id of the snapshot group.
- name string
- The name of the snapshot group.
- nameRegex string
- outputFile string
- projectName string
- The id of the snapshot.
- statuses string[]
- The status of the snapshot group.
- id str
- The provider-assigned unique ID for this managed resource.
- snapshot_groups Sequence[SnapshotGroups Snapshot Group] 
- The collection of query.
- total_count int
- The total count of query.
- ids Sequence[str]
- instance_id str
- The instance id of the snapshot group.
- name str
- The name of the snapshot group.
- name_regex str
- output_file str
- project_name str
- The id of the snapshot.
- statuses Sequence[str]
- The status of the snapshot group.
- id String
- The provider-assigned unique ID for this managed resource.
- snapshotGroups List<Property Map>
- The collection of query.
- totalCount Number
- The total count of query.
- ids List<String>
- instanceId String
- The instance id of the snapshot group.
- name String
- The name of the snapshot group.
- nameRegex String
- outputFile String
- projectName String
- The id of the snapshot.
- statuses List<String>
- The status of the snapshot group.
Supporting Types
SnapshotGroupsSnapshotGroup   
- CreationTime string
- The creation time of the snapshot.
- Description string
- The description of the snapshot.
- Id string
- The id of the snapshot group.
- ImageId string
- The image id of the snapshot.
- InstanceId string
- The instance id of snapshot group.
- Name string
- The name of snapshot group.
- ProjectName string
- The project name of snapshot group.
- SnapshotGroup stringId 
- The id of the snapshot group.
- Snapshots
List<SnapshotGroups Snapshot Group Snapshot> 
- The snapshots of the snapshot group.
- Status string
- A list of snapshot group status. Valid values: creating,available,failed.
- 
List<SnapshotGroups Snapshot Group Tag> 
- Tags.
- CreationTime string
- The creation time of the snapshot.
- Description string
- The description of the snapshot.
- Id string
- The id of the snapshot group.
- ImageId string
- The image id of the snapshot.
- InstanceId string
- The instance id of snapshot group.
- Name string
- The name of snapshot group.
- ProjectName string
- The project name of snapshot group.
- SnapshotGroup stringId 
- The id of the snapshot group.
- Snapshots
[]SnapshotGroups Snapshot Group Snapshot 
- The snapshots of the snapshot group.
- Status string
- A list of snapshot group status. Valid values: creating,available,failed.
- 
[]SnapshotGroups Snapshot Group Tag 
- Tags.
- creationTime String
- The creation time of the snapshot.
- description String
- The description of the snapshot.
- id String
- The id of the snapshot group.
- imageId String
- The image id of the snapshot.
- instanceId String
- The instance id of snapshot group.
- name String
- The name of snapshot group.
- projectName String
- The project name of snapshot group.
- snapshotGroup StringId 
- The id of the snapshot group.
- snapshots
List<SnapshotGroups Snapshot Group Snapshot> 
- The snapshots of the snapshot group.
- status String
- A list of snapshot group status. Valid values: creating,available,failed.
- 
List<SnapshotGroups Snapshot Group Tag> 
- Tags.
- creationTime string
- The creation time of the snapshot.
- description string
- The description of the snapshot.
- id string
- The id of the snapshot group.
- imageId string
- The image id of the snapshot.
- instanceId string
- The instance id of snapshot group.
- name string
- The name of snapshot group.
- projectName string
- The project name of snapshot group.
- snapshotGroup stringId 
- The id of the snapshot group.
- snapshots
SnapshotGroups Snapshot Group Snapshot[] 
- The snapshots of the snapshot group.
- status string
- A list of snapshot group status. Valid values: creating,available,failed.
- 
SnapshotGroups Snapshot Group Tag[] 
- Tags.
- creation_time str
- The creation time of the snapshot.
- description str
- The description of the snapshot.
- id str
- The id of the snapshot group.
- image_id str
- The image id of the snapshot.
- instance_id str
- The instance id of snapshot group.
- name str
- The name of snapshot group.
- project_name str
- The project name of snapshot group.
- snapshot_group_ strid 
- The id of the snapshot group.
- snapshots
Sequence[SnapshotGroups Snapshot Group Snapshot] 
- The snapshots of the snapshot group.
- status str
- A list of snapshot group status. Valid values: creating,available,failed.
- 
Sequence[SnapshotGroups Snapshot Group Tag] 
- Tags.
- creationTime String
- The creation time of the snapshot.
- description String
- The description of the snapshot.
- id String
- The id of the snapshot group.
- imageId String
- The image id of the snapshot.
- instanceId String
- The instance id of snapshot group.
- name String
- The name of snapshot group.
- projectName String
- The project name of snapshot group.
- snapshotGroup StringId 
- The id of the snapshot group.
- snapshots List<Property Map>
- The snapshots of the snapshot group.
- status String
- A list of snapshot group status. Valid values: creating,available,failed.
- List<Property Map>
- Tags.
SnapshotGroupsSnapshotGroupSnapshot    
- CreationTime string
- The creation time of the snapshot.
- Description string
- The description of the snapshot.
- ImageId string
- The image id of the snapshot.
- Progress int
- The progress of the snapshot.
- ProjectName string
- The project name of snapshot group.
- RetentionDays int
- The id of the snapshot.
- SnapshotId string
- The id of the snapshot.
- SnapshotName string
- The name of the snapshot.
- SnapshotType string
- The type of the snapshot.
- Status string
- A list of snapshot group status. Valid values: creating,available,failed.
- 
List<SnapshotGroups Snapshot Group Snapshot Tag> 
- Tags.
- VolumeId string
- The volume id 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.
- Description string
- The description of the snapshot.
- ImageId string
- The image id of the snapshot.
- Progress int
- The progress of the snapshot.
- ProjectName string
- The project name of snapshot group.
- RetentionDays int
- The id of the snapshot.
- SnapshotId string
- The id of the snapshot.
- SnapshotName string
- The name of the snapshot.
- SnapshotType string
- The type of the snapshot.
- Status string
- A list of snapshot group status. Valid values: creating,available,failed.
- 
[]SnapshotGroups Snapshot Group Snapshot Tag 
- Tags.
- VolumeId string
- The volume id 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.
- description String
- The description of the snapshot.
- imageId String
- The image id of the snapshot.
- progress Integer
- The progress of the snapshot.
- projectName String
- The project name of snapshot group.
- retentionDays Integer
- The id of the snapshot.
- snapshotId String
- The id of the snapshot.
- snapshotName String
- The name of the snapshot.
- snapshotType String
- The type of the snapshot.
- status String
- A list of snapshot group status. Valid values: creating,available,failed.
- 
List<SnapshotGroups Snapshot Group Snapshot Tag> 
- Tags.
- volumeId String
- The volume id 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.
- description string
- The description of the snapshot.
- imageId string
- The image id of the snapshot.
- progress number
- The progress of the snapshot.
- projectName string
- The project name of snapshot group.
- retentionDays number
- The id of the snapshot.
- snapshotId string
- The id of the snapshot.
- snapshotName string
- The name of the snapshot.
- snapshotType string
- The type of the snapshot.
- status string
- A list of snapshot group status. Valid values: creating,available,failed.
- 
SnapshotGroups Snapshot Group Snapshot Tag[] 
- Tags.
- volumeId string
- The volume id 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.
- description str
- The description of the snapshot.
- image_id str
- The image id of the snapshot.
- progress int
- The progress of the snapshot.
- project_name str
- The project name of snapshot group.
- retention_days int
- The id of the snapshot.
- snapshot_id str
- The id of the snapshot.
- snapshot_name str
- The name of the snapshot.
- snapshot_type str
- The type of the snapshot.
- status str
- A list of snapshot group status. Valid values: creating,available,failed.
- 
Sequence[SnapshotGroups Snapshot Group Snapshot Tag] 
- Tags.
- volume_id str
- The volume id 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.
- description String
- The description of the snapshot.
- imageId String
- The image id of the snapshot.
- progress Number
- The progress of the snapshot.
- projectName String
- The project name of snapshot group.
- retentionDays Number
- The id of the snapshot.
- snapshotId String
- The id of the snapshot.
- snapshotName String
- The name of the snapshot.
- snapshotType String
- The type of the snapshot.
- status String
- A list of snapshot group status. Valid values: creating,available,failed.
- List<Property Map>
- Tags.
- volumeId String
- The volume id 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.
SnapshotGroupsSnapshotGroupSnapshotTag     
SnapshotGroupsSnapshotGroupTag    
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the volcengineTerraform Provider.