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";
@@ -36,17 +36,20 @@ export class ClusterGroup extends pulumi.CustomResource {
* *Optional* - Map of key/value pairs of
* [cluster group config settings](https://linuxcontainers.org/incus/docs/main/howto/cluster_groups/#configuration-options).
*/
public readonly config!: pulumi.Output<{[key: string]: string}>;
public readonly description!: pulumi.Output<string>;
declare public readonly config: pulumi.Output<{[key: string]: string}>;
/**
* *Optional* - Description of the cluster group.
*/
declare public readonly description: pulumi.Output<string>;
/**
* **Required** - Name of the cluster group.
*/
public readonly name!: pulumi.Output<string>;
declare public readonly name: pulumi.Output<string>;
/**
* *Optional* - The remote in which the resource will be created. If
* not provided, the provider's default remote will be used.
*/
public readonly remote!: pulumi.Output<string | undefined>;
declare public readonly remote: pulumi.Output<string | undefined>;
/**
* Create a ClusterGroup resource with the given unique name, arguments, and options.
@@ -55,22 +58,25 @@ export class ClusterGroup extends pulumi.CustomResource {
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: ClusterGroupArgs, opts?: pulumi.CustomResourceOptions)
constructor(name: string, args: ClusterGroupArgs, opts?: pulumi.CustomResourceOptions)
constructor(name: string, argsOrState?: ClusterGroupArgs | ClusterGroupState, opts?: pulumi.CustomResourceOptions) {
let resourceInputs: pulumi.Inputs = {};
opts = opts || {};
if (opts.id) {
const state = argsOrState as ClusterGroupState | undefined;
resourceInputs["config"] = state ? state.config : undefined;
resourceInputs["description"] = state ? state.description : undefined;
resourceInputs["name"] = state ? state.name : undefined;
resourceInputs["remote"] = state ? state.remote : undefined;
resourceInputs["config"] = state?.config;
resourceInputs["description"] = state?.description;
resourceInputs["name"] = state?.name;
resourceInputs["remote"] = state?.remote;
} else {
const args = argsOrState as ClusterGroupArgs | undefined;
resourceInputs["config"] = args ? args.config : undefined;
resourceInputs["description"] = args ? args.description : undefined;
resourceInputs["name"] = args ? args.name : undefined;
resourceInputs["remote"] = args ? args.remote : undefined;
if (args?.name === undefined && !opts.urn) {
throw new Error("Missing required property 'name'");
}
resourceInputs["config"] = args?.config;
resourceInputs["description"] = args?.description;
resourceInputs["name"] = args?.name;
resourceInputs["remote"] = args?.remote;
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
super(ClusterGroup.__pulumiType, name, resourceInputs, opts);
@@ -86,6 +92,9 @@ export interface ClusterGroupState {
* [cluster group config settings](https://linuxcontainers.org/incus/docs/main/howto/cluster_groups/#configuration-options).
*/
config?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
/**
* *Optional* - Description of the cluster group.
*/
description?: pulumi.Input<string>;
/**
* **Required** - Name of the cluster group.
@@ -107,11 +116,14 @@ export interface ClusterGroupArgs {
* [cluster group config settings](https://linuxcontainers.org/incus/docs/main/howto/cluster_groups/#configuration-options).
*/
config?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
/**
* *Optional* - Description of the cluster group.
*/
description?: pulumi.Input<string>;
/**
* **Required** - Name of the cluster group.
*/
name?: pulumi.Input<string>;
name: pulumi.Input<string>;
/**
* *Optional* - The remote in which the resource will be created. If
* not provided, the provider's default remote will be used.