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

194
sdk/nodejs/getImage.ts generated
View File

@@ -24,72 +24,79 @@ import * as utilities from "./utilities";
* });
* ```
*/
export function getImage(args?: GetImageArgs, opts?: pulumi.InvokeOptions): Promise<GetImageResult> {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("incus:index/getImage:getImage", {
"architecture": args.architecture,
"fingerprint": args.fingerprint,
"name": args.name,
"project": args.project,
"remote": args.remote,
"type": args.type,
}, opts);
export function getImage(
args?: GetImageArgs,
opts?: pulumi.InvokeOptions,
): Promise<GetImageResult> {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke(
"incus:index/getImage:getImage",
{
architecture: args.architecture,
fingerprint: args.fingerprint,
name: args.name,
project: args.project,
remote: args.remote,
type: args.type,
},
opts,
);
}
/**
* A collection of arguments for invoking getImage.
*/
export interface GetImageArgs {
/**
* *Optional* - The image architecture (e.g. x86_64, aarch64). See [Architectures](https://linuxcontainers.org/incus/docs/main/architectures/) for all possible values.
*/
architecture?: string;
/**
* *Optional* - Fingerprint of the image.
*/
fingerprint?: string;
/**
* *Optional* - Name of the image.
*/
name?: string;
/**
* *Optional* - Name of the project where the image is 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;
/**
* *Optional* - Type of image. Must be one of `container` or `virtual-machine`.
*/
type?: string;
/**
* *Optional* - The image architecture (e.g. x86_64, aarch64). See [Architectures](https://linuxcontainers.org/incus/docs/main/architectures/) for all possible values.
*/
architecture?: string;
/**
* *Optional* - Fingerprint of the image.
*/
fingerprint?: string;
/**
* *Optional* - Name of the image.
*/
name?: string;
/**
* *Optional* - Name of the project where the image is 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;
/**
* *Optional* - Type of image. Must be one of `container` or `virtual-machine`.
*/
type?: string;
}
/**
* A collection of values returned by getImage.
*/
export interface GetImageResult {
/**
* The list of aliases for the image.
*/
readonly aliases: string[];
readonly architecture: string;
/**
* The datetime of image creation, in Unix time.
*/
readonly createdAt: number;
readonly fingerprint: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly name?: string;
readonly project?: string;
readonly remote?: string;
readonly type: string;
/**
* The list of aliases for the image.
*/
readonly aliases: string[];
readonly architecture: string;
/**
* The datetime of image creation, in Unix time.
*/
readonly createdAt: number;
readonly fingerprint: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly name?: string;
readonly project?: string;
readonly remote?: string;
readonly type: string;
}
/**
* ## # incus.Image
@@ -111,46 +118,53 @@ export interface GetImageResult {
* });
* ```
*/
export function getImageOutput(args?: GetImageOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetImageResult> {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("incus:index/getImage:getImage", {
"architecture": args.architecture,
"fingerprint": args.fingerprint,
"name": args.name,
"project": args.project,
"remote": args.remote,
"type": args.type,
}, opts);
export function getImageOutput(
args?: GetImageOutputArgs,
opts?: pulumi.InvokeOutputOptions,
): pulumi.Output<GetImageResult> {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput(
"incus:index/getImage:getImage",
{
architecture: args.architecture,
fingerprint: args.fingerprint,
name: args.name,
project: args.project,
remote: args.remote,
type: args.type,
},
opts,
);
}
/**
* A collection of arguments for invoking getImage.
*/
export interface GetImageOutputArgs {
/**
* *Optional* - The image architecture (e.g. x86_64, aarch64). See [Architectures](https://linuxcontainers.org/incus/docs/main/architectures/) for all possible values.
*/
architecture?: pulumi.Input<string>;
/**
* *Optional* - Fingerprint of the image.
*/
fingerprint?: pulumi.Input<string>;
/**
* *Optional* - Name of the image.
*/
name?: pulumi.Input<string>;
/**
* *Optional* - Name of the project where the image is 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>;
/**
* *Optional* - Type of image. Must be one of `container` or `virtual-machine`.
*/
type?: pulumi.Input<string>;
/**
* *Optional* - The image architecture (e.g. x86_64, aarch64). See [Architectures](https://linuxcontainers.org/incus/docs/main/architectures/) for all possible values.
*/
architecture?: pulumi.Input<string>;
/**
* *Optional* - Fingerprint of the image.
*/
fingerprint?: pulumi.Input<string>;
/**
* *Optional* - Name of the image.
*/
name?: pulumi.Input<string>;
/**
* *Optional* - Name of the project where the image is 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>;
/**
* *Optional* - Type of image. Must be one of `container` or `virtual-machine`.
*/
type?: pulumi.Input<string>;
}