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 @@
// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT.
// Code generated by pulumi-language-go DO NOT EDIT.
// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
package incus
@@ -8,7 +8,6 @@ import (
"reflect"
"errors"
"git.kalinow.ski/kiterun/pulumi-incus/sdk/go/incus/internal"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
@@ -20,9 +19,9 @@ type StoragePool struct {
// [storage pool config settings](https://linuxcontainers.org/incus/docs/main/reference/storage_drivers/).
// Config settings vary from driver to driver.
Config pulumi.StringMapOutput `pulumi:"config"`
// *Optional* - Description of the storage pool.
// *Optional* - Description of the storage pool. `description` is mutual exclusive with `target`. The `description` can only be set on cluster level (with `target` not set) or on non-clustered setups.
Description pulumi.StringOutput `pulumi:"description"`
// **Required** - Storage Pool driver. Must be one of `dir`, `zfs`, `lvm`, `btrfs`, `ceph`, `cephfs`, or `cephobject`.
// **Required** - Storage Pool driver. Must be one of `dir`, `zfs`, `lvm`, `lvmcluster`, `btrfs`, `ceph`, `cephfs`, `cephobject`, `linstor` or `truenas`.
Driver pulumi.StringOutput `pulumi:"driver"`
// **Required** - Name of the storage pool.
Name pulumi.StringOutput `pulumi:"name"`
@@ -45,6 +44,9 @@ func NewStoragePool(ctx *pulumi.Context,
if args.Driver == nil {
return nil, errors.New("invalid value for required argument 'Driver'")
}
if args.Name == nil {
return nil, errors.New("invalid value for required argument 'Name'")
}
if args.Project == nil {
args.Project = pulumi.StringPtr("default")
}
@@ -75,9 +77,9 @@ type storagePoolState struct {
// [storage pool config settings](https://linuxcontainers.org/incus/docs/main/reference/storage_drivers/).
// Config settings vary from driver to driver.
Config map[string]string `pulumi:"config"`
// *Optional* - Description of the storage pool.
// *Optional* - Description of the storage pool. `description` is mutual exclusive with `target`. The `description` can only be set on cluster level (with `target` not set) or on non-clustered setups.
Description *string `pulumi:"description"`
// **Required** - Storage Pool driver. Must be one of `dir`, `zfs`, `lvm`, `btrfs`, `ceph`, `cephfs`, or `cephobject`.
// **Required** - Storage Pool driver. Must be one of `dir`, `zfs`, `lvm`, `lvmcluster`, `btrfs`, `ceph`, `cephfs`, `cephobject`, `linstor` or `truenas`.
Driver *string `pulumi:"driver"`
// **Required** - Name of the storage pool.
Name *string `pulumi:"name"`
@@ -95,9 +97,9 @@ type StoragePoolState struct {
// [storage pool config settings](https://linuxcontainers.org/incus/docs/main/reference/storage_drivers/).
// Config settings vary from driver to driver.
Config pulumi.StringMapInput
// *Optional* - Description of the storage pool.
// *Optional* - Description of the storage pool. `description` is mutual exclusive with `target`. The `description` can only be set on cluster level (with `target` not set) or on non-clustered setups.
Description pulumi.StringPtrInput
// **Required** - Storage Pool driver. Must be one of `dir`, `zfs`, `lvm`, `btrfs`, `ceph`, `cephfs`, or `cephobject`.
// **Required** - Storage Pool driver. Must be one of `dir`, `zfs`, `lvm`, `lvmcluster`, `btrfs`, `ceph`, `cephfs`, `cephobject`, `linstor` or `truenas`.
Driver pulumi.StringPtrInput
// **Required** - Name of the storage pool.
Name pulumi.StringPtrInput
@@ -119,12 +121,12 @@ type storagePoolArgs struct {
// [storage pool config settings](https://linuxcontainers.org/incus/docs/main/reference/storage_drivers/).
// Config settings vary from driver to driver.
Config map[string]string `pulumi:"config"`
// *Optional* - Description of the storage pool.
// *Optional* - Description of the storage pool. `description` is mutual exclusive with `target`. The `description` can only be set on cluster level (with `target` not set) or on non-clustered setups.
Description *string `pulumi:"description"`
// **Required** - Storage Pool driver. Must be one of `dir`, `zfs`, `lvm`, `btrfs`, `ceph`, `cephfs`, or `cephobject`.
// **Required** - Storage Pool driver. Must be one of `dir`, `zfs`, `lvm`, `lvmcluster`, `btrfs`, `ceph`, `cephfs`, `cephobject`, `linstor` or `truenas`.
Driver string `pulumi:"driver"`
// **Required** - Name of the storage pool.
Name *string `pulumi:"name"`
Name string `pulumi:"name"`
// *Optional* - Name of the project where the storage pool will be stored.
Project *string `pulumi:"project"`
// *Optional* - The remote in which the resource will be created. If
@@ -140,12 +142,12 @@ type StoragePoolArgs struct {
// [storage pool config settings](https://linuxcontainers.org/incus/docs/main/reference/storage_drivers/).
// Config settings vary from driver to driver.
Config pulumi.StringMapInput
// *Optional* - Description of the storage pool.
// *Optional* - Description of the storage pool. `description` is mutual exclusive with `target`. The `description` can only be set on cluster level (with `target` not set) or on non-clustered setups.
Description pulumi.StringPtrInput
// **Required** - Storage Pool driver. Must be one of `dir`, `zfs`, `lvm`, `btrfs`, `ceph`, `cephfs`, or `cephobject`.
// **Required** - Storage Pool driver. Must be one of `dir`, `zfs`, `lvm`, `lvmcluster`, `btrfs`, `ceph`, `cephfs`, `cephobject`, `linstor` or `truenas`.
Driver pulumi.StringInput
// **Required** - Name of the storage pool.
Name pulumi.StringPtrInput
Name pulumi.StringInput
// *Optional* - Name of the project where the storage pool will be stored.
Project pulumi.StringPtrInput
// *Optional* - The remote in which the resource will be created. If
@@ -249,12 +251,12 @@ func (o StoragePoolOutput) Config() pulumi.StringMapOutput {
return o.ApplyT(func(v *StoragePool) pulumi.StringMapOutput { return v.Config }).(pulumi.StringMapOutput)
}
// *Optional* - Description of the storage pool.
// *Optional* - Description of the storage pool. `description` is mutual exclusive with `target`. The `description` can only be set on cluster level (with `target` not set) or on non-clustered setups.
func (o StoragePoolOutput) Description() pulumi.StringOutput {
return o.ApplyT(func(v *StoragePool) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput)
}
// **Required** - Storage Pool driver. Must be one of `dir`, `zfs`, `lvm`, `btrfs`, `ceph`, `cephfs`, or `cephobject`.
// **Required** - Storage Pool driver. Must be one of `dir`, `zfs`, `lvm`, `lvmcluster`, `btrfs`, `ceph`, `cephfs`, `cephobject`, `linstor` or `truenas`.
func (o StoragePoolOutput) Driver() pulumi.StringOutput {
return o.ApplyT(func(v *StoragePool) pulumi.StringOutput { return v.Driver }).(pulumi.StringOutput)
}