import * as pulumi from "@pulumi/pulumi"; /** * The `scaleway.BlockVolume` 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/storage/block/) and [API documentation](https://www.scaleway.com/en/developers/api/block/) for more information. * * ## Retrieve a Block Storage volume * * The following commands allow you to: * * - retrieve a Block Storage volume specified by its name * - retrieve a Block Storage volume specified by its ID * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const myVolume = scaleway.getBlockVolume({ * volumeId: "11111111-1111-1111-1111-111111111111", * }); * ``` */ export declare function getBlockVolume(args?: GetBlockVolumeArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getBlockVolume. */ export interface GetBlockVolumeArgs { /** * 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 getBlockVolume. */ export interface GetBlockVolumeResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: 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.BlockVolume` 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/storage/block/) and [API documentation](https://www.scaleway.com/en/developers/api/block/) for more information. * * ## Retrieve a Block Storage volume * * The following commands allow you to: * * - retrieve a Block Storage volume specified by its name * - retrieve a Block Storage volume specified by its ID * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const myVolume = scaleway.getBlockVolume({ * volumeId: "11111111-1111-1111-1111-111111111111", * }); * ``` */ export declare function getBlockVolumeOutput(args?: GetBlockVolumeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getBlockVolume. */ export interface GetBlockVolumeOutputArgs { /** * The name of the volume. Only one of `name` and `volumeId` should be specified. */ name?: pulumi.Input; /** * The unique identifier of the Project to which the volume is associated. */ projectId?: pulumi.Input; /** * The unique identifier of the volume. Only one of `name` and `volumeId` should be specified. */ volumeId?: pulumi.Input; /** * ). The zone in which the volume exists. */ zone?: pulumi.Input; }