import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * A snapshot consistency group is a combination of snapshots from multiple cloud disks. In scenarios where business systems span multiple cloud disks, you can use a snapshot consistency group to ensure write order consistency and crash consistency for data written to the disks * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcenginecc from "@volcengine/pulumi-volcenginecc"; * * const storageEBSSnapshotGroupDemo = new volcenginecc.storageebs.SnapshotGroup("StorageEBSSnapshotGroupDemo", { * name: "ccapi-test", * projectName: "default", * description: "this-is_test", * instanceId: "i-yekg7jsw00bw8xxxxx", * volumeIds: [ * "vol-3x1q75ir0t4qbgxxxxx", * "vol-3x1q75ir0t4qbgxxxxx", * "vol-3x1q75ir0t4qbgxxxxx", * "vol-3x1q75ir0t4qbghxxxxx", * ], * tags: [{ * key: "env", * value: "test", * }], * }); * ``` * * ## Import * * ```sh * $ pulumi import volcenginecc:storageebs/snapshotGroup:SnapshotGroup example "snapshot_group_id" * ``` */ export declare class SnapshotGroup extends pulumi.CustomResource { /** * Get an existing SnapshotGroup resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: SnapshotGroupState, opts?: pulumi.CustomResourceOptions): SnapshotGroup; /** * Returns true if the given object is an instance of SnapshotGroup. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is SnapshotGroup; /** * Snapshot consistency group creation time */ readonly creationTime: pulumi.Output; /** * Snapshot consistency group description */ readonly description: pulumi.Output; /** * Image ID of the snapshot consistency group */ readonly imageId: pulumi.Output; /** * ECS instance ID of the snapshot consistency group */ readonly instanceId: pulumi.Output; /** * Snapshot consistency group name */ readonly name: pulumi.Output; /** * Project name */ readonly projectName: pulumi.Output; /** * Snapshot consistency group ID */ readonly snapshotGroupId: pulumi.Output; readonly snapshots: pulumi.Output; /** * Snapshot consistency group status */ readonly status: pulumi.Output; readonly tags: pulumi.Output; /** * Cloud disk ID. Note: The cloud disk must be in 'attached' status. If multiple cloud disks are set, they must be attached to the same ECS instance */ readonly volumeIds: pulumi.Output; /** * Create a SnapshotGroup resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: SnapshotGroupArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SnapshotGroup resources. */ export interface SnapshotGroupState { /** * Snapshot consistency group creation time */ creationTime?: pulumi.Input; /** * Snapshot consistency group description */ description?: pulumi.Input; /** * Image ID of the snapshot consistency group */ imageId?: pulumi.Input; /** * ECS instance ID of the snapshot consistency group */ instanceId?: pulumi.Input; /** * Snapshot consistency group name */ name?: pulumi.Input; /** * Project name */ projectName?: pulumi.Input; /** * Snapshot consistency group ID */ snapshotGroupId?: pulumi.Input; snapshots?: pulumi.Input[]>; /** * Snapshot consistency group status */ status?: pulumi.Input; tags?: pulumi.Input[]>; /** * Cloud disk ID. Note: The cloud disk must be in 'attached' status. If multiple cloud disks are set, they must be attached to the same ECS instance */ volumeIds?: pulumi.Input[]>; } /** * The set of arguments for constructing a SnapshotGroup resource. */ export interface SnapshotGroupArgs { /** * Snapshot consistency group description */ description?: pulumi.Input; /** * ECS instance ID of the snapshot consistency group */ instanceId?: pulumi.Input; /** * Snapshot consistency group name */ name?: pulumi.Input; /** * Project name */ projectName?: pulumi.Input; tags?: pulumi.Input[]>; /** * Cloud disk ID. Note: The cloud disk must be in 'attached' status. If multiple cloud disks are set, they must be attached to the same ECS instance */ volumeIds: pulumi.Input[]>; }