Update
This commit is contained in:
10
sdk/go/incus/instanceSnapshot.go
generated
10
sdk/go/incus/instanceSnapshot.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
|
||||
@@ -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"
|
||||
)
|
||||
@@ -82,6 +81,9 @@ func NewInstanceSnapshot(ctx *pulumi.Context,
|
||||
if args.Instance == nil {
|
||||
return nil, errors.New("invalid value for required argument 'Instance'")
|
||||
}
|
||||
if args.Name == nil {
|
||||
return nil, errors.New("invalid value for required argument 'Name'")
|
||||
}
|
||||
if args.Project == nil {
|
||||
args.Project = pulumi.StringPtr("default")
|
||||
}
|
||||
@@ -153,7 +155,7 @@ type instanceSnapshotArgs struct {
|
||||
// **Required** - The name of the instance to snapshot.
|
||||
Instance string `pulumi:"instance"`
|
||||
// **Required** - Name of the snapshot.
|
||||
Name *string `pulumi:"name"`
|
||||
Name string `pulumi:"name"`
|
||||
// *Optional* - Name of the project where the snapshot will be stored.
|
||||
Project *string `pulumi:"project"`
|
||||
// *Optional* - The remote in which the resource will be created. If
|
||||
@@ -170,7 +172,7 @@ type InstanceSnapshotArgs struct {
|
||||
// **Required** - The name of the instance to snapshot.
|
||||
Instance pulumi.StringInput
|
||||
// **Required** - Name of the snapshot.
|
||||
Name pulumi.StringPtrInput
|
||||
Name pulumi.StringInput
|
||||
// *Optional* - Name of the project where the snapshot will be stored.
|
||||
Project pulumi.StringPtrInput
|
||||
// *Optional* - The remote in which the resource will be created. If
|
||||
|
||||
Reference in New Issue
Block a user