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

@@ -23,89 +23,96 @@ import * as utilities from "./utilities";
* export const storageBucketName = _this.then(_this => _this.name);
* ```
*/
export function getStorageBucket(args: GetStorageBucketArgs, opts?: pulumi.InvokeOptions): Promise<GetStorageBucketResult> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("incus:index/getStorageBucket:getStorageBucket", {
"description": args.description,
"location": args.location,
"name": args.name,
"project": args.project,
"remote": args.remote,
"s3Url": args.s3Url,
"storagePool": args.storagePool,
"target": args.target,
}, opts);
export function getStorageBucket(
args: GetStorageBucketArgs,
opts?: pulumi.InvokeOptions,
): Promise<GetStorageBucketResult> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke(
"incus:index/getStorageBucket:getStorageBucket",
{
description: args.description,
location: args.location,
name: args.name,
project: args.project,
remote: args.remote,
s3Url: args.s3Url,
storagePool: args.storagePool,
target: args.target,
},
opts,
);
}
/**
* A collection of arguments for invoking getStorageBucket.
*/
export interface GetStorageBucketArgs {
/**
* Description of the storage bucket.
*/
description?: string;
/**
* Location of the storage bucket.
*/
location?: string;
/**
* **Required** - Name of the storage bucket.
*/
name: string;
/**
* *Optional* - Name of the project where the storage bucket 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;
/**
* Storage Bucket S3 URL.
*/
s3Url?: string;
/**
* **Required** - Name of the parent storage pool.
*/
storagePool: string;
/**
* *Optional* - Specify a target node in a cluster.
*/
target?: string;
/**
* Description of the storage bucket.
*/
description?: string;
/**
* Location of the storage bucket.
*/
location?: string;
/**
* **Required** - Name of the storage bucket.
*/
name: string;
/**
* *Optional* - Name of the project where the storage bucket 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;
/**
* Storage Bucket S3 URL.
*/
s3Url?: string;
/**
* **Required** - Name of the parent storage pool.
*/
storagePool: string;
/**
* *Optional* - Specify a target node in a cluster.
*/
target?: string;
}
/**
* A collection of values returned by getStorageBucket.
*/
export interface GetStorageBucketResult {
/**
* Map of key/value pairs of config settings.
* [storage bucket config settings](https://linuxcontainers.org/incus/docs/main/reference/storage_drivers/)
*/
readonly config: {[key: string]: string};
/**
* Description of the storage bucket.
*/
readonly description: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* Location of the storage bucket.
*/
readonly location: string;
readonly name: string;
readonly project?: string;
readonly remote?: string;
/**
* Storage Bucket S3 URL.
*/
readonly s3Url: string;
readonly storagePool: string;
readonly target?: string;
/**
* Map of key/value pairs of config settings.
* [storage bucket config settings](https://linuxcontainers.org/incus/docs/main/reference/storage_drivers/)
*/
readonly config: { [key: string]: string };
/**
* Description of the storage bucket.
*/
readonly description: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* Location of the storage bucket.
*/
readonly location: string;
readonly name: string;
readonly project?: string;
readonly remote?: string;
/**
* Storage Bucket S3 URL.
*/
readonly s3Url: string;
readonly storagePool: string;
readonly target?: string;
}
/**
* ## # incus.StorageBucket
@@ -126,55 +133,62 @@ export interface GetStorageBucketResult {
* export const storageBucketName = _this.then(_this => _this.name);
* ```
*/
export function getStorageBucketOutput(args: GetStorageBucketOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetStorageBucketResult> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("incus:index/getStorageBucket:getStorageBucket", {
"description": args.description,
"location": args.location,
"name": args.name,
"project": args.project,
"remote": args.remote,
"s3Url": args.s3Url,
"storagePool": args.storagePool,
"target": args.target,
}, opts);
export function getStorageBucketOutput(
args: GetStorageBucketOutputArgs,
opts?: pulumi.InvokeOutputOptions,
): pulumi.Output<GetStorageBucketResult> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput(
"incus:index/getStorageBucket:getStorageBucket",
{
description: args.description,
location: args.location,
name: args.name,
project: args.project,
remote: args.remote,
s3Url: args.s3Url,
storagePool: args.storagePool,
target: args.target,
},
opts,
);
}
/**
* A collection of arguments for invoking getStorageBucket.
*/
export interface GetStorageBucketOutputArgs {
/**
* Description of the storage bucket.
*/
description?: pulumi.Input<string>;
/**
* Location of the storage bucket.
*/
location?: pulumi.Input<string>;
/**
* **Required** - Name of the storage bucket.
*/
name: pulumi.Input<string>;
/**
* *Optional* - Name of the project where the storage bucket 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>;
/**
* Storage Bucket S3 URL.
*/
s3Url?: 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>;
/**
* Description of the storage bucket.
*/
description?: pulumi.Input<string>;
/**
* Location of the storage bucket.
*/
location?: pulumi.Input<string>;
/**
* **Required** - Name of the storage bucket.
*/
name: pulumi.Input<string>;
/**
* *Optional* - Name of the project where the storage bucket 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>;
/**
* Storage Bucket S3 URL.
*/
s3Url?: 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>;
}