import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::StorageEBS::Volume */ export declare function getVolume(args: GetVolumeArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getVolume. */ export interface GetVolumeArgs { /** * Uniquely identifies the resource. */ id: string; } /** * A collection of values returned by getVolume. */ export interface GetVolumeResult { /** * Automatic snapshot policy ID. */ readonly autoSnapshotPolicyId: string; /** * Automatic snapshot policy name. */ readonly autoSnapshotPolicyName: string; /** * Baseline performance. */ readonly baselinePerformance: outputs.storageebs.GetVolumeBaselinePerformance; /** * Disk creation time. */ readonly createdAt: string; /** * When releasing the instance, specify whether the disk is released along with the instance. Value description: true: The disk is released with the instance. false: The disk is not released with the instance. */ readonly deleteWithInstance: boolean; /** * Disk description. Default is empty. Length must be between 1 and 255 characters. */ readonly description: string; /** * Device name */ readonly deviceName: string; /** * Specific error */ readonly errorDetail: string; /** * Expiration time for yearly/monthly subscription. */ readonly expiredTime: string; /** * Extra performance. */ readonly extraPerformance: outputs.storageebs.GetVolumeExtraPerformance; /** * Uniquely identifies the resource. */ readonly id: string; /** * Image ID in the disk. */ readonly imageId: string; /** * ECS instance ID mounted when creating the cloud disk. */ readonly instanceId: string; /** * Disk attribute. data indicates a data disk. The default value is data. Note: Only data disks can be created. */ readonly kind: string; /** * Disk overdue reclamation time. */ readonly overdueReclaimTime: string; /** * Disk overdue shutdown time. */ readonly overdueTime: string; /** * Payment type. Description: Pre: Prepaid (annual/monthly). Post: Postpaid (pay-as-you-go). */ readonly payType: string; /** * Project name to which the disk will be added. */ readonly projectName: string; /** * Renewal method 1: Manual renewal 2: Automatic renewal 3: Do not renew upon expiration. */ readonly renewType: number; /** * Size: data disk capacity in GiB. The capacity ranges for different types of data disks are as follows: ESSD*PL0: 10~65536 GiB; ESSD*FlexPL: 10~65536 GiB; TSSD_TL0: 40~65536 GiB */ readonly size: number; /** * Snapshot count. */ readonly snapshotCount: number; /** * Source snapshot. */ readonly sourceSnapshotId: string; /** * Disk status. Value description: available: Available. mounting: Mounting. mounted: Mounted. unmounting: Unmounting. creating: Creating. deleting: Deleting. error: Error. expanding: Expanding. */ readonly status: string; /** * Disk tag information. */ readonly tags: outputs.storageebs.GetVolumeTag[]; /** * Total performance. */ readonly totalPerformance: outputs.storageebs.GetVolumeTotalPerformance; /** * Transaction status 0: Creating 1: Running 2: Creation failed */ readonly tradeStatus: number; /** * Disk update time. */ readonly updatedAt: string; /** * Disk ID. */ readonly volumeId: string; /** * Disk display name. Naming rules: The first character must be a Chinese character, a letter, or an underscore (*). Can contain Chinese characters, letters, numbers, underscores (*), or hyphens (-). Length must be between 1 and 128 characters. */ readonly volumeName: string; /** * Disk type. Value description: ESSD*PL0: Ultra-fast SSD disk, PL0 specification. ESSD*FlexPL: Ultra-fast SSD disk, FlexPL specification. TSSD_TL0: Throughput SSD disk. */ readonly volumeType: string; /** * Availability zone ID. */ readonly zoneId: string; } /** * Data Source schema for Volcengine::StorageEBS::Volume */ export declare function getVolumeOutput(args: GetVolumeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getVolume. */ export interface GetVolumeOutputArgs { /** * Uniquely identifies the resource. */ id: pulumi.Input; }