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

124
sdk/nodejs/getProject.ts generated
View File

@@ -21,53 +21,60 @@ import * as utilities from "./utilities";
* export const projectName = _this.then(_this => _this.name);
* ```
*/
export function getProject(args: GetProjectArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectResult> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("incus:index/getProject:getProject", {
"description": args.description,
"name": args.name,
"remote": args.remote,
}, opts);
export function getProject(
args: GetProjectArgs,
opts?: pulumi.InvokeOptions,
): Promise<GetProjectResult> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke(
"incus:index/getProject:getProject",
{
description: args.description,
name: args.name,
remote: args.remote,
},
opts,
);
}
/**
* A collection of arguments for invoking getProject.
*/
export interface GetProjectArgs {
/**
* Description of the project.
*/
description?: string;
/**
* **Required** - Name of the project.
*/
name: string;
/**
* *Optional* - The remote in which the resource was created. If
* not provided, the provider's default remote will be used.
*/
remote?: string;
/**
* Description of the project.
*/
description?: string;
/**
* **Required** - Name of the project.
*/
name: string;
/**
* *Optional* - The remote in which the resource was created. If
* not provided, the provider's default remote will be used.
*/
remote?: string;
}
/**
* A collection of values returned by getProject.
*/
export interface GetProjectResult {
/**
* Map of key/value pairs of config settings.
* [instance config settings](https://linuxcontainers.org/incus/docs/main/reference/instance_options/)
*/
readonly config: {[key: string]: string};
/**
* Description of the project.
*/
readonly description: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly name: string;
readonly remote?: string;
/**
* Map of key/value pairs of config settings.
* [instance config settings](https://linuxcontainers.org/incus/docs/main/reference/instance_options/)
*/
readonly config: { [key: string]: string };
/**
* Description of the project.
*/
readonly description: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly name: string;
readonly remote?: string;
}
/**
* ## # incus.Project
@@ -86,30 +93,37 @@ export interface GetProjectResult {
* export const projectName = _this.then(_this => _this.name);
* ```
*/
export function getProjectOutput(args: GetProjectOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetProjectResult> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("incus:index/getProject:getProject", {
"description": args.description,
"name": args.name,
"remote": args.remote,
}, opts);
export function getProjectOutput(
args: GetProjectOutputArgs,
opts?: pulumi.InvokeOutputOptions,
): pulumi.Output<GetProjectResult> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput(
"incus:index/getProject:getProject",
{
description: args.description,
name: args.name,
remote: args.remote,
},
opts,
);
}
/**
* A collection of arguments for invoking getProject.
*/
export interface GetProjectOutputArgs {
/**
* Description of the project.
*/
description?: pulumi.Input<string>;
/**
* **Required** - Name of the project.
*/
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>;
/**
* Description of the project.
*/
description?: pulumi.Input<string>;
/**
* **Required** - Name of the project.
*/
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>;
}