Update
This commit is contained in:
34
sdk/go/incus/clusterGroup.go
generated
34
sdk/go/incus/clusterGroup.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"
|
||||
)
|
||||
@@ -16,8 +17,9 @@ type ClusterGroup struct {
|
||||
|
||||
// *Optional* - Map of key/value pairs of
|
||||
// [cluster group config settings](https://linuxcontainers.org/incus/docs/main/howto/cluster_groups/#configuration-options).
|
||||
Config pulumi.StringMapOutput `pulumi:"config"`
|
||||
Description pulumi.StringOutput `pulumi:"description"`
|
||||
Config pulumi.StringMapOutput `pulumi:"config"`
|
||||
// *Optional* - Description of the cluster group.
|
||||
Description pulumi.StringOutput `pulumi:"description"`
|
||||
// **Required** - Name of the cluster group.
|
||||
Name pulumi.StringOutput `pulumi:"name"`
|
||||
// *Optional* - The remote in which the resource will be created. If
|
||||
@@ -29,9 +31,12 @@ type ClusterGroup struct {
|
||||
func NewClusterGroup(ctx *pulumi.Context,
|
||||
name string, args *ClusterGroupArgs, opts ...pulumi.ResourceOption) (*ClusterGroup, error) {
|
||||
if args == nil {
|
||||
args = &ClusterGroupArgs{}
|
||||
return nil, errors.New("missing one or more required arguments")
|
||||
}
|
||||
|
||||
if args.Name == nil {
|
||||
return nil, errors.New("invalid value for required argument 'Name'")
|
||||
}
|
||||
opts = internal.PkgResourceDefaultOpts(opts)
|
||||
var resource ClusterGroup
|
||||
err := ctx.RegisterResource("incus:index/clusterGroup:ClusterGroup", name, args, &resource, opts...)
|
||||
@@ -57,8 +62,9 @@ func GetClusterGroup(ctx *pulumi.Context,
|
||||
type clusterGroupState struct {
|
||||
// *Optional* - Map of key/value pairs of
|
||||
// [cluster group config settings](https://linuxcontainers.org/incus/docs/main/howto/cluster_groups/#configuration-options).
|
||||
Config map[string]string `pulumi:"config"`
|
||||
Description *string `pulumi:"description"`
|
||||
Config map[string]string `pulumi:"config"`
|
||||
// *Optional* - Description of the cluster group.
|
||||
Description *string `pulumi:"description"`
|
||||
// **Required** - Name of the cluster group.
|
||||
Name *string `pulumi:"name"`
|
||||
// *Optional* - The remote in which the resource will be created. If
|
||||
@@ -69,7 +75,8 @@ type clusterGroupState struct {
|
||||
type ClusterGroupState struct {
|
||||
// *Optional* - Map of key/value pairs of
|
||||
// [cluster group config settings](https://linuxcontainers.org/incus/docs/main/howto/cluster_groups/#configuration-options).
|
||||
Config pulumi.StringMapInput
|
||||
Config pulumi.StringMapInput
|
||||
// *Optional* - Description of the cluster group.
|
||||
Description pulumi.StringPtrInput
|
||||
// **Required** - Name of the cluster group.
|
||||
Name pulumi.StringPtrInput
|
||||
@@ -85,10 +92,11 @@ func (ClusterGroupState) ElementType() reflect.Type {
|
||||
type clusterGroupArgs struct {
|
||||
// *Optional* - Map of key/value pairs of
|
||||
// [cluster group config settings](https://linuxcontainers.org/incus/docs/main/howto/cluster_groups/#configuration-options).
|
||||
Config map[string]string `pulumi:"config"`
|
||||
Description *string `pulumi:"description"`
|
||||
Config map[string]string `pulumi:"config"`
|
||||
// *Optional* - Description of the cluster group.
|
||||
Description *string `pulumi:"description"`
|
||||
// **Required** - Name of the cluster group.
|
||||
Name *string `pulumi:"name"`
|
||||
Name string `pulumi:"name"`
|
||||
// *Optional* - The remote in which the resource will be created. If
|
||||
// not provided, the provider's default remote will be used.
|
||||
Remote *string `pulumi:"remote"`
|
||||
@@ -98,10 +106,11 @@ type clusterGroupArgs struct {
|
||||
type ClusterGroupArgs struct {
|
||||
// *Optional* - Map of key/value pairs of
|
||||
// [cluster group config settings](https://linuxcontainers.org/incus/docs/main/howto/cluster_groups/#configuration-options).
|
||||
Config pulumi.StringMapInput
|
||||
Config pulumi.StringMapInput
|
||||
// *Optional* - Description of the cluster group.
|
||||
Description pulumi.StringPtrInput
|
||||
// **Required** - Name of the cluster group.
|
||||
Name pulumi.StringPtrInput
|
||||
Name pulumi.StringInput
|
||||
// *Optional* - The remote in which the resource will be created. If
|
||||
// not provided, the provider's default remote will be used.
|
||||
Remote pulumi.StringPtrInput
|
||||
@@ -200,6 +209,7 @@ func (o ClusterGroupOutput) Config() pulumi.StringMapOutput {
|
||||
return o.ApplyT(func(v *ClusterGroup) pulumi.StringMapOutput { return v.Config }).(pulumi.StringMapOutput)
|
||||
}
|
||||
|
||||
// *Optional* - Description of the cluster group.
|
||||
func (o ClusterGroupOutput) Description() pulumi.StringOutput {
|
||||
return o.ApplyT(func(v *ClusterGroup) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user