This commit is contained in:
2025-12-08 10:47:09 -05:00
parent 136b88ccdc
commit c4445aa92f
109 changed files with 9007 additions and 1219 deletions

View File

@@ -1,4 +1,4 @@
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
import * as pulumi from "@pulumi/pulumi";
@@ -10,27 +10,24 @@ import * as utilities from "./utilities";
* ## # incus.Profile
*
* Provides information about an Incus profile.
* See Incus profile [configuration reference](https://linuxcontainers.org/incus/docs/main/profiles/) for more details.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as incus from "@kiterun/incus";
* import * as incus from "@pulumi/incus";
*
* const _default = incus.getProfile({
* const _this = incus.getProfile({
* name: "default",
* });
* const d1 = new incus.Instance("d1", {
* profiles: [_default.then(_default => _default.name)],
* image: "images:debian/12",
* name: "d1",
* });
* export const profileName = _this.then(_this => _this.name);
* ```
*/
export function getProfile(args: GetProfileArgs, opts?: pulumi.InvokeOptions): Promise<GetProfileResult> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("incus:index/getProfile:getProfile", {
"description": args.description,
"devices": args.devices,
"name": args.name,
"project": args.project,
@@ -43,7 +40,11 @@ export function getProfile(args: GetProfileArgs, opts?: pulumi.InvokeOptions): P
*/
export interface GetProfileArgs {
/**
* Device definition. See reference below.
* Description of the profile.
*/
description?: string;
/**
* Device definitions. See reference below.
*/
devices?: inputs.GetProfileDevice[];
/**
@@ -51,7 +52,7 @@ export interface GetProfileArgs {
*/
name: string;
/**
* *Optional* - Name of the project where the profile will be stored.
* *Optional* - Name of the project where the profile is be stored.
*/
project?: string;
/**
@@ -66,13 +67,16 @@ export interface GetProfileArgs {
*/
export interface GetProfileResult {
/**
* Map of key/value pairs of
* [instance config settings](https://linuxcontainers.org/incus/docs/main/reference/instance_options/).
* 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 profile.
*/
readonly description: string;
/**
* Device definition. See reference below.
* Device definitions. See reference below.
*/
readonly devices?: outputs.GetProfileDevice[];
/**
@@ -90,27 +94,24 @@ export interface GetProfileResult {
* ## # incus.Profile
*
* Provides information about an Incus profile.
* See Incus profile [configuration reference](https://linuxcontainers.org/incus/docs/main/profiles/) for more details.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as incus from "@kiterun/incus";
* import * as incus from "@pulumi/incus";
*
* const _default = incus.getProfile({
* const _this = incus.getProfile({
* name: "default",
* });
* const d1 = new incus.Instance("d1", {
* profiles: [_default.then(_default => _default.name)],
* image: "images:debian/12",
* name: "d1",
* });
* export const profileName = _this.then(_this => _this.name);
* ```
*/
export function getProfileOutput(args: GetProfileOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetProfileResult> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("incus:index/getProfile:getProfile", {
"description": args.description,
"devices": args.devices,
"name": args.name,
"project": args.project,
@@ -123,7 +124,11 @@ export function getProfileOutput(args: GetProfileOutputArgs, opts?: pulumi.Invok
*/
export interface GetProfileOutputArgs {
/**
* Device definition. See reference below.
* Description of the profile.
*/
description?: pulumi.Input<string>;
/**
* Device definitions. See reference below.
*/
devices?: pulumi.Input<pulumi.Input<inputs.GetProfileDeviceArgs>[]>;
/**
@@ -131,7 +136,7 @@ export interface GetProfileOutputArgs {
*/
name: pulumi.Input<string>;
/**
* *Optional* - Name of the project where the profile will be stored.
* *Optional* - Name of the project where the profile is be stored.
*/
project?: pulumi.Input<string>;
/**