Update
This commit is contained in:
12
sdk/go/incus/networkAcl.go
generated
12
sdk/go/incus/networkAcl.go
generated
@@ -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"
|
||||
)
|
||||
@@ -38,9 +39,12 @@ type NetworkAcl struct {
|
||||
func NewNetworkAcl(ctx *pulumi.Context,
|
||||
name string, args *NetworkAclArgs, opts ...pulumi.ResourceOption) (*NetworkAcl, error) {
|
||||
if args == nil {
|
||||
args = &NetworkAclArgs{}
|
||||
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")
|
||||
}
|
||||
@@ -125,7 +129,7 @@ type networkAclArgs struct {
|
||||
// The network ACL rule supports:
|
||||
Ingresses []NetworkAclIngress `pulumi:"ingresses"`
|
||||
// **Required** - Name of the network ACL.
|
||||
Name *string `pulumi:"name"`
|
||||
Name string `pulumi:"name"`
|
||||
// *Optional* - Name of the project where the network ACL will be created.
|
||||
Project *string `pulumi:"project"`
|
||||
// *Optional* - The remote in which the resource will be created. If
|
||||
@@ -147,7 +151,7 @@ type NetworkAclArgs struct {
|
||||
// The network ACL rule supports:
|
||||
Ingresses NetworkAclIngressArrayInput
|
||||
// **Required** - Name of the network ACL.
|
||||
Name pulumi.StringPtrInput
|
||||
Name pulumi.StringInput
|
||||
// *Optional* - Name of the project where the network ACL will be created.
|
||||
Project pulumi.StringPtrInput
|
||||
// *Optional* - The remote in which the resource will be created. If
|
||||
|
||||
Reference in New Issue
Block a user