UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

72 lines 2.66 kB
import * as pulumi from "@pulumi/pulumi"; /** * The `scaleway.block.Volume` data source is used to retrieve information about a Block Storage volume. * Refer to the Block Storage [product documentation](https://www.scaleway.com/en/docs/block-storage/) and [API documentation](https://www.scaleway.com/en/developers/api/block/) for more information. */ export declare function getVolume(args?: GetVolumeArgs, opts?: pulumi.InvokeOptions): Promise<GetVolumeResult>; /** * A collection of arguments for invoking getVolume. */ export interface GetVolumeArgs { /** * The name of the volume. Only one of `name` and `volumeId` should be specified. */ name?: string; /** * The unique identifier of the Project to which the volume is associated. */ projectId?: string; /** * The unique identifier of the volume. Only one of `name` and `volumeId` should be specified. */ volumeId?: string; /** * ). The zone in which the volume exists. */ zone?: string; } /** * A collection of values returned by getVolume. */ export interface GetVolumeResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly instanceVolumeId: string; readonly iops: number; readonly name?: string; readonly projectId?: string; readonly sizeInGb: number; readonly snapshotId: string; readonly tags: string[]; readonly volumeId?: string; readonly zone?: string; } /** * The `scaleway.block.Volume` data source is used to retrieve information about a Block Storage volume. * Refer to the Block Storage [product documentation](https://www.scaleway.com/en/docs/block-storage/) and [API documentation](https://www.scaleway.com/en/developers/api/block/) for more information. */ export declare function getVolumeOutput(args?: GetVolumeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVolumeResult>; /** * A collection of arguments for invoking getVolume. */ export interface GetVolumeOutputArgs { /** * The name of the volume. Only one of `name` and `volumeId` should be specified. */ name?: pulumi.Input<string | undefined>; /** * The unique identifier of the Project to which the volume is associated. */ projectId?: pulumi.Input<string | undefined>; /** * The unique identifier of the volume. Only one of `name` and `volumeId` should be specified. */ volumeId?: pulumi.Input<string | undefined>; /** * ). The zone in which the volume exists. */ zone?: pulumi.Input<string | undefined>; } //# sourceMappingURL=getVolume.d.ts.map