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

@@ -22,77 +22,84 @@ import * as utilities from "./utilities";
* export const storagePoolName = _this.then(_this => _this.name);
* ```
*/
export function getStoragePool(args: GetStoragePoolArgs, opts?: pulumi.InvokeOptions): Promise<GetStoragePoolResult> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("incus:index/getStoragePool:getStoragePool", {
"description": args.description,
"driver": args.driver,
"name": args.name,
"remote": args.remote,
"status": args.status,
"target": args.target,
}, opts);
export function getStoragePool(
args: GetStoragePoolArgs,
opts?: pulumi.InvokeOptions,
): Promise<GetStoragePoolResult> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke(
"incus:index/getStoragePool:getStoragePool",
{
description: args.description,
driver: args.driver,
name: args.name,
remote: args.remote,
status: args.status,
target: args.target,
},
opts,
);
}
/**
* A collection of arguments for invoking getStoragePool.
*/
export interface GetStoragePoolArgs {
/**
* Description of the storage pool.
*/
description?: string;
/**
* Storage Pool driver.
*/
driver?: string;
/**
* **Required** - Name of the storage pool.
*/
name: string;
/**
* *Optional* - The remote in which the resource was created. If
* not provided, the provider's default remote will be used.
*/
remote?: string;
/**
* Status of the storage pool.
*/
status?: string;
/**
* *Optional* - Specify a target node in a cluster.
*/
target?: string;
/**
* Description of the storage pool.
*/
description?: string;
/**
* Storage Pool driver.
*/
driver?: string;
/**
* **Required** - Name of the storage pool.
*/
name: string;
/**
* *Optional* - The remote in which the resource was created. If
* not provided, the provider's default remote will be used.
*/
remote?: string;
/**
* Status of the storage pool.
*/
status?: string;
/**
* *Optional* - Specify a target node in a cluster.
*/
target?: string;
}
/**
* A collection of values returned by getStoragePool.
*/
export interface GetStoragePoolResult {
/**
* Map of key/value pairs of config settings.
* [storage pool config settings](https://linuxcontainers.org/incus/docs/main/reference/storage_drivers/)
*/
readonly config: {[key: string]: string};
/**
* Description of the storage pool.
*/
readonly description: string;
/**
* Storage Pool driver.
*/
readonly driver: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly name: string;
readonly remote?: string;
/**
* Status of the storage pool.
*/
readonly status: string;
readonly target?: string;
/**
* Map of key/value pairs of config settings.
* [storage pool config settings](https://linuxcontainers.org/incus/docs/main/reference/storage_drivers/)
*/
readonly config: { [key: string]: string };
/**
* Description of the storage pool.
*/
readonly description: string;
/**
* Storage Pool driver.
*/
readonly driver: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly name: string;
readonly remote?: string;
/**
* Status of the storage pool.
*/
readonly status: string;
readonly target?: string;
}
/**
* ## # incus.StoragePool
@@ -112,45 +119,52 @@ export interface GetStoragePoolResult {
* export const storagePoolName = _this.then(_this => _this.name);
* ```
*/
export function getStoragePoolOutput(args: GetStoragePoolOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetStoragePoolResult> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("incus:index/getStoragePool:getStoragePool", {
"description": args.description,
"driver": args.driver,
"name": args.name,
"remote": args.remote,
"status": args.status,
"target": args.target,
}, opts);
export function getStoragePoolOutput(
args: GetStoragePoolOutputArgs,
opts?: pulumi.InvokeOutputOptions,
): pulumi.Output<GetStoragePoolResult> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput(
"incus:index/getStoragePool:getStoragePool",
{
description: args.description,
driver: args.driver,
name: args.name,
remote: args.remote,
status: args.status,
target: args.target,
},
opts,
);
}
/**
* A collection of arguments for invoking getStoragePool.
*/
export interface GetStoragePoolOutputArgs {
/**
* Description of the storage pool.
*/
description?: pulumi.Input<string>;
/**
* Storage Pool driver.
*/
driver?: pulumi.Input<string>;
/**
* **Required** - Name of the storage pool.
*/
name: 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>;
/**
* Status of the storage pool.
*/
status?: pulumi.Input<string>;
/**
* *Optional* - Specify a target node in a cluster.
*/
target?: pulumi.Input<string>;
/**
* Description of the storage pool.
*/
description?: pulumi.Input<string>;
/**
* Storage Pool driver.
*/
driver?: pulumi.Input<string>;
/**
* **Required** - Name of the storage pool.
*/
name: 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>;
/**
* Status of the storage pool.
*/
status?: pulumi.Input<string>;
/**
* *Optional* - Specify a target node in a cluster.
*/
target?: pulumi.Input<string>;
}