style: format with tabs

This commit is contained in:
2025-12-08 11:14:14 -05:00
parent c4445aa92f
commit 54f0fdb6c9
48 changed files with 7088 additions and 6580 deletions

View File

@@ -24,95 +24,102 @@ import * as utilities from "./utilities";
* export const storageVolumeName = _this.then(_this => _this.name);
* ```
*/
export function getStorageVolume(args: GetStorageVolumeArgs, opts?: pulumi.InvokeOptions): Promise<GetStorageVolumeResult> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("incus:index/getStorageVolume:getStorageVolume", {
"contentType": args.contentType,
"description": args.description,
"location": args.location,
"name": args.name,
"project": args.project,
"remote": args.remote,
"storagePool": args.storagePool,
"target": args.target,
"type": args.type,
}, opts);
export function getStorageVolume(
args: GetStorageVolumeArgs,
opts?: pulumi.InvokeOptions,
): Promise<GetStorageVolumeResult> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke(
"incus:index/getStorageVolume:getStorageVolume",
{
contentType: args.contentType,
description: args.description,
location: args.location,
name: args.name,
project: args.project,
remote: args.remote,
storagePool: args.storagePool,
target: args.target,
type: args.type,
},
opts,
);
}
/**
* A collection of arguments for invoking getStorageVolume.
*/
export interface GetStorageVolumeArgs {
/**
* Storage Volume content type.
*/
contentType?: string;
/**
* Description of the storage volume.
*/
description?: string;
/**
* Location of the storage volume.
*/
location?: string;
/**
* **Required** - Name of the storage volume.
*/
name: string;
/**
* *Optional* - Name of the project where the storage volume is be stored.
*/
project?: string;
/**
* *Optional* - The remote in which the resource was created. If
* not provided, the provider's default remote will be used.
*/
remote?: string;
/**
* **Required** - Name of the parent storage pool.
*/
storagePool: string;
/**
* *Optional* - Specify a target node in a cluster.
*/
target?: string;
/**
* **Required** - Storage Volume type.
*/
type: string;
/**
* Storage Volume content type.
*/
contentType?: string;
/**
* Description of the storage volume.
*/
description?: string;
/**
* Location of the storage volume.
*/
location?: string;
/**
* **Required** - Name of the storage volume.
*/
name: string;
/**
* *Optional* - Name of the project where the storage volume is be stored.
*/
project?: string;
/**
* *Optional* - The remote in which the resource was created. If
* not provided, the provider's default remote will be used.
*/
remote?: string;
/**
* **Required** - Name of the parent storage pool.
*/
storagePool: string;
/**
* *Optional* - Specify a target node in a cluster.
*/
target?: string;
/**
* **Required** - Storage Volume type.
*/
type: string;
}
/**
* A collection of values returned by getStorageVolume.
*/
export interface GetStorageVolumeResult {
/**
* Map of key/value pairs of config settings.
* [storage volume config settings](https://linuxcontainers.org/incus/docs/main/reference/storage_drivers/)
*/
readonly config: {[key: string]: string};
/**
* Storage Volume content type.
*/
readonly contentType: string;
/**
* Description of the storage volume.
*/
readonly description: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* Location of the storage volume.
*/
readonly location: string;
readonly name: string;
readonly project?: string;
readonly remote?: string;
readonly storagePool: string;
readonly target?: string;
readonly type: string;
/**
* Map of key/value pairs of config settings.
* [storage volume config settings](https://linuxcontainers.org/incus/docs/main/reference/storage_drivers/)
*/
readonly config: { [key: string]: string };
/**
* Storage Volume content type.
*/
readonly contentType: string;
/**
* Description of the storage volume.
*/
readonly description: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* Location of the storage volume.
*/
readonly location: string;
readonly name: string;
readonly project?: string;
readonly remote?: string;
readonly storagePool: string;
readonly target?: string;
readonly type: string;
}
/**
* ## # incus.StorageVolume
@@ -134,60 +141,67 @@ export interface GetStorageVolumeResult {
* export const storageVolumeName = _this.then(_this => _this.name);
* ```
*/
export function getStorageVolumeOutput(args: GetStorageVolumeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetStorageVolumeResult> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("incus:index/getStorageVolume:getStorageVolume", {
"contentType": args.contentType,
"description": args.description,
"location": args.location,
"name": args.name,
"project": args.project,
"remote": args.remote,
"storagePool": args.storagePool,
"target": args.target,
"type": args.type,
}, opts);
export function getStorageVolumeOutput(
args: GetStorageVolumeOutputArgs,
opts?: pulumi.InvokeOutputOptions,
): pulumi.Output<GetStorageVolumeResult> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput(
"incus:index/getStorageVolume:getStorageVolume",
{
contentType: args.contentType,
description: args.description,
location: args.location,
name: args.name,
project: args.project,
remote: args.remote,
storagePool: args.storagePool,
target: args.target,
type: args.type,
},
opts,
);
}
/**
* A collection of arguments for invoking getStorageVolume.
*/
export interface GetStorageVolumeOutputArgs {
/**
* Storage Volume content type.
*/
contentType?: pulumi.Input<string>;
/**
* Description of the storage volume.
*/
description?: pulumi.Input<string>;
/**
* Location of the storage volume.
*/
location?: pulumi.Input<string>;
/**
* **Required** - Name of the storage volume.
*/
name: pulumi.Input<string>;
/**
* *Optional* - Name of the project where the storage volume is be stored.
*/
project?: pulumi.Input<string>;
/**
* *Optional* - The remote in which the resource was created. If
* not provided, the provider's default remote will be used.
*/
remote?: pulumi.Input<string>;
/**
* **Required** - Name of the parent storage pool.
*/
storagePool: pulumi.Input<string>;
/**
* *Optional* - Specify a target node in a cluster.
*/
target?: pulumi.Input<string>;
/**
* **Required** - Storage Volume type.
*/
type: pulumi.Input<string>;
/**
* Storage Volume content type.
*/
contentType?: pulumi.Input<string>;
/**
* Description of the storage volume.
*/
description?: pulumi.Input<string>;
/**
* Location of the storage volume.
*/
location?: pulumi.Input<string>;
/**
* **Required** - Name of the storage volume.
*/
name: pulumi.Input<string>;
/**
* *Optional* - Name of the project where the storage volume is be stored.
*/
project?: pulumi.Input<string>;
/**
* *Optional* - The remote in which the resource was created. If
* not provided, the provider's default remote will be used.
*/
remote?: pulumi.Input<string>;
/**
* **Required** - Name of the parent storage pool.
*/
storagePool: pulumi.Input<string>;
/**
* *Optional* - Specify a target node in a cluster.
*/
target?: pulumi.Input<string>;
/**
* **Required** - Storage Volume type.
*/
type: pulumi.Input<string>;
}