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
@@ -7,6 +7,7 @@ import (
"context"
"reflect"
"errors"
"git.kalinow.ski/kiterun/pulumi-incus/sdk/go/incus/internal"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
@@ -32,9 +33,12 @@ type NetworkZone struct {
func NewNetworkZone(ctx *pulumi.Context,
name string, args *NetworkZoneArgs, opts ...pulumi.ResourceOption) (*NetworkZone, error) {
if args == nil {
args = &NetworkZoneArgs{}
return nil, errors.New("missing one or more required arguments")
}
if args.Name == nil {
return nil, errors.New("invalid value for required argument 'Name'")
}
if args.Project == nil {
args.Project = pulumi.StringPtr("default")
}
@@ -101,7 +105,7 @@ type networkZoneArgs struct {
// *Optional* - Description of the network zone.
Description *string `pulumi:"description"`
// **Required** - Name of the network zone.
Name *string `pulumi:"name"`
Name string `pulumi:"name"`
// *Optional* - Name of the project where the network zone will be created.
Project *string `pulumi:"project"`
// *Optional* - The remote in which the resource will be created. If
@@ -117,7 +121,7 @@ type NetworkZoneArgs struct {
// *Optional* - Description of the network zone.
Description pulumi.StringPtrInput
// **Required** - Name of the network zone.
Name pulumi.StringPtrInput
Name pulumi.StringInput
// *Optional* - Name of the project where the network zone will be created.
Project pulumi.StringPtrInput
// *Optional* - The remote in which the resource will be created. If