Update
This commit is contained in:
10
sdk/go/incus/storageVolume.go
generated
10
sdk/go/incus/storageVolume.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"
|
||||
)
|
||||
@@ -53,6 +52,9 @@ func NewStorageVolume(ctx *pulumi.Context,
|
||||
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.Pool == nil {
|
||||
return nil, errors.New("invalid value for required argument 'Pool'")
|
||||
}
|
||||
@@ -157,7 +159,7 @@ type storageVolumeArgs struct {
|
||||
// *Optional* - Description of the volume.
|
||||
Description *string `pulumi:"description"`
|
||||
// **Required** - Name of the storage volume.
|
||||
Name *string `pulumi:"name"`
|
||||
Name string `pulumi:"name"`
|
||||
// **Required** - Name of storage pool to host the volume.
|
||||
Pool string `pulumi:"pool"`
|
||||
// *Optional* - Name of the project where the volume will be stored.
|
||||
@@ -187,7 +189,7 @@ type StorageVolumeArgs struct {
|
||||
// *Optional* - Description of the volume.
|
||||
Description pulumi.StringPtrInput
|
||||
// **Required** - Name of the storage volume.
|
||||
Name pulumi.StringPtrInput
|
||||
Name pulumi.StringInput
|
||||
// **Required** - Name of storage pool to host the volume.
|
||||
Pool pulumi.StringInput
|
||||
// *Optional* - Name of the project where the volume will be stored.
|
||||
|
||||
Reference in New Issue
Block a user