gaussdbfornosql

package
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion added in v0.0.2

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

Types

type CassandraInstance

type CassandraInstance struct {
	pulumi.CustomResourceState

	// Specifies whether auto renew is enabled.
	// Valid values are "true" and "false".
	AutoRenew pulumi.StringPtrOutput `pulumi:"autoRenew"`
	// Specifies the AZ name. For a three-AZ deployment instance,
	// use commas (,) to separate the AZs, for example, `cn-north-4a,cn-north-4b,cn-north-4c`.
	// Changing this parameter will create a new resource.
	AvailabilityZone pulumi.StringOutput `pulumi:"availabilityZone"`
	// Specifies the advanced backup policy. Structure is documented below.
	BackupStrategy CassandraInstanceBackupStrategyOutput `pulumi:"backupStrategy"`
	// Specifies the charging mode of the instance. Valid values are *prePaid*
	// and *postPaid*, defaults to *postPaid*. Changing this will do nothing.
	ChargingMode pulumi.StringPtrOutput `pulumi:"chargingMode"`
	// Specifies the Parameter Template ID.
	ConfigurationId pulumi.StringOutput `pulumi:"configurationId"`
	// Specifies the database information. Structure is documented below. Changing
	// this parameter will create a new resource.
	Datastore CassandraInstanceDatastoreOutput `pulumi:"datastore"`
	// Indicates the default username.
	DbUserName pulumi.StringOutput `pulumi:"dbUserName"`
	// Specifies the dedicated resource ID. Changing this parameter
	// will create a new resource.
	DedicatedResourceId pulumi.StringOutput `pulumi:"dedicatedResourceId"`
	// Specifies the dedicated resource name. Changing this parameter
	// will create a new resource.
	DedicatedResourceName pulumi.StringOutput `pulumi:"dedicatedResourceName"`
	// Specifies the enterprise project id, Only valid for users who
	// have enabled the enterprise multi-project service. Changing this parameter will create a new resource.
	EnterpriseProjectId pulumi.StringPtrOutput `pulumi:"enterpriseProjectId"`
	// Specifies the instance specifications. For details,
	// see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/productdesc-geminidb/geminidb_01_0006.html)
	Flavor pulumi.StringOutput `pulumi:"flavor"`
	// If specified, try to import the instance instead of creating if the name already
	// existed.
	ForceImport pulumi.BoolPtrOutput `pulumi:"forceImport"`
	// Indicates the LB IP address of the db.
	LbIpAddress pulumi.StringOutput `pulumi:"lbIpAddress"`
	// Indicates the LB port of the db.
	LbPort pulumi.StringOutput `pulumi:"lbPort"`
	// Indicates the instance type.
	Mode pulumi.StringOutput `pulumi:"mode"`
	// Specifies the instance name, which can be the same as an existing instance name. The value
	// must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters,
	// digits, hyphens (-), and underscores (_).
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the number of nodes, ranges from 3 to 12. Defaults to 3.
	NodeNum pulumi.IntPtrOutput `pulumi:"nodeNum"`
	// Indicates the instance nodes information. Structure is documented below.
	Nodes CassandraInstanceNodeArrayOutput `pulumi:"nodes"`
	// Specifies the database password. The value must be 8 to 32 characters in length,
	// including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to
	// enter a strong password to improve security, preventing security risks such as brute force cracking.
	Password pulumi.StringOutput `pulumi:"password"`
	// Specifies the charging period of the instance.
	// If `periodUnit` is set to *month* , the value ranges from 1 to 9. If `periodUnit` is set to *year*, the value
	// ranges from 1 to 3. This parameter is mandatory if `chargingMode` is set to *prePaid*. Changing this will
	// do nothing.
	Period pulumi.IntPtrOutput `pulumi:"period"`
	// Specifies the charging period unit of the instance.
	// Valid values are *month* and *year*. This parameter is mandatory if `chargingMode` is set to *prePaid*.
	// Changing this will do nothing.
	PeriodUnit pulumi.StringPtrOutput `pulumi:"periodUnit"`
	// Indicates the database port.
	Port pulumi.IntOutput `pulumi:"port"`
	// Indicates the IP address list of the db.
	PrivateIps pulumi.StringArrayOutput `pulumi:"privateIps"`
	// The region in which to create the Cassandra instance resource. If omitted, the
	// provider-level region will be used. Changing this creates a new Cassandra instance resource.
	Region pulumi.StringOutput `pulumi:"region"`
	// Specifies the security group ID. Required if the selected subnet doesn't
	// enable network ACL.
	SecurityGroupId pulumi.StringPtrOutput `pulumi:"securityGroupId"`
	// Specifies whether to enable or disable SSL. Defaults to false. Changing this
	// parameter will create a new resource.
	Ssl pulumi.BoolPtrOutput `pulumi:"ssl"`
	// Indicates the node status.
	Status pulumi.StringOutput `pulumi:"status"`
	// Specifies the network ID of a subnet. Changing this parameter will create a
	// new resource.
	SubnetId pulumi.StringOutput `pulumi:"subnetId"`
	// The key/value pairs to associate with the instance.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Specifies the storage space in GB. The value must be a multiple of 10. For a GaussDB
	// Cassandra DB instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance
	// performance specifications. For details,
	// see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/productdesc-geminidb/geminidb_01_0006.html)
	VolumeSize pulumi.IntOutput `pulumi:"volumeSize"`
	// Specifies the VPC ID. Changing this parameter will create a new resource.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

GaussDB for Cassandra instance management within HuaweiCoud.

## Example Usage ### create a gaussdb for cassandra instance with tags

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := GaussDBforNoSQL.NewCassandraInstance(ctx, "instance1", &GaussDBforNoSQL.CassandraInstanceArgs{
			Password:         pulumi.Any(_var.Password),
			Flavor:           pulumi.String("geminidb.cassandra.xlarge.4"),
			VolumeSize:       pulumi.Int(100),
			VpcId:            pulumi.Any(_var.Vpc_id),
			SubnetId:         pulumi.Any(_var.Subnet_id),
			SecurityGroupId:  pulumi.Any(_var.Secgroup_id),
			AvailabilityZone: pulumi.Any(_var.Availability_zone),
			Tags: pulumi.StringMap{
				"foo": pulumi.String("bar"),
				"key": pulumi.String("value"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### create a gaussdb cassandra instance with backup strategy

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL"
"github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := GaussDBforNoSQL.NewCassandraInstance(ctx, "instance1", &GaussDBforNoSQL.CassandraInstanceArgs{
			Password:         pulumi.Any(_var.Password),
			Flavor:           pulumi.String("geminidb.cassandra.xlarge.4"),
			VolumeSize:       pulumi.Int(100),
			VpcId:            pulumi.Any(_var.Vpc_id),
			SubnetId:         pulumi.Any(_var.Subnet_id),
			SecurityGroupId:  pulumi.Any(_var.Secgroup_id),
			AvailabilityZone: pulumi.Any(_var.Availability_zone),
			BackupStrategy: &gaussdbfornosql.CassandraInstanceBackupStrategyArgs{
				StartTime: pulumi.String("03:00-04:00"),
				KeepDays:  pulumi.Int(14),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

GaussDB Cassandra instance can be imported using the `id`, e.g.

```sh

$ pulumi import huaweicloud:GaussDBforNoSQL/cassandraInstance:CassandraInstance instance_1 749112383d5342e9acb6c7825801b452in06

```

func GetCassandraInstance

func GetCassandraInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CassandraInstanceState, opts ...pulumi.ResourceOption) (*CassandraInstance, error)

GetCassandraInstance gets an existing CassandraInstance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCassandraInstance

func NewCassandraInstance(ctx *pulumi.Context,
	name string, args *CassandraInstanceArgs, opts ...pulumi.ResourceOption) (*CassandraInstance, error)

NewCassandraInstance registers a new resource with the given unique name, arguments, and options.

func (*CassandraInstance) ElementType

func (*CassandraInstance) ElementType() reflect.Type

func (*CassandraInstance) ToCassandraInstanceOutput

func (i *CassandraInstance) ToCassandraInstanceOutput() CassandraInstanceOutput

func (*CassandraInstance) ToCassandraInstanceOutputWithContext

func (i *CassandraInstance) ToCassandraInstanceOutputWithContext(ctx context.Context) CassandraInstanceOutput

type CassandraInstanceArgs

type CassandraInstanceArgs struct {
	// Specifies whether auto renew is enabled.
	// Valid values are "true" and "false".
	AutoRenew pulumi.StringPtrInput
	// Specifies the AZ name. For a three-AZ deployment instance,
	// use commas (,) to separate the AZs, for example, `cn-north-4a,cn-north-4b,cn-north-4c`.
	// Changing this parameter will create a new resource.
	AvailabilityZone pulumi.StringInput
	// Specifies the advanced backup policy. Structure is documented below.
	BackupStrategy CassandraInstanceBackupStrategyPtrInput
	// Specifies the charging mode of the instance. Valid values are *prePaid*
	// and *postPaid*, defaults to *postPaid*. Changing this will do nothing.
	ChargingMode pulumi.StringPtrInput
	// Specifies the Parameter Template ID.
	ConfigurationId pulumi.StringPtrInput
	// Specifies the database information. Structure is documented below. Changing
	// this parameter will create a new resource.
	Datastore CassandraInstanceDatastorePtrInput
	// Specifies the dedicated resource ID. Changing this parameter
	// will create a new resource.
	DedicatedResourceId pulumi.StringPtrInput
	// Specifies the dedicated resource name. Changing this parameter
	// will create a new resource.
	DedicatedResourceName pulumi.StringPtrInput
	// Specifies the enterprise project id, Only valid for users who
	// have enabled the enterprise multi-project service. Changing this parameter will create a new resource.
	EnterpriseProjectId pulumi.StringPtrInput
	// Specifies the instance specifications. For details,
	// see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/productdesc-geminidb/geminidb_01_0006.html)
	Flavor pulumi.StringInput
	// If specified, try to import the instance instead of creating if the name already
	// existed.
	ForceImport pulumi.BoolPtrInput
	// Specifies the instance name, which can be the same as an existing instance name. The value
	// must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters,
	// digits, hyphens (-), and underscores (_).
	Name pulumi.StringPtrInput
	// Specifies the number of nodes, ranges from 3 to 12. Defaults to 3.
	NodeNum pulumi.IntPtrInput
	// Specifies the database password. The value must be 8 to 32 characters in length,
	// including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to
	// enter a strong password to improve security, preventing security risks such as brute force cracking.
	Password pulumi.StringInput
	// Specifies the charging period of the instance.
	// If `periodUnit` is set to *month* , the value ranges from 1 to 9. If `periodUnit` is set to *year*, the value
	// ranges from 1 to 3. This parameter is mandatory if `chargingMode` is set to *prePaid*. Changing this will
	// do nothing.
	Period pulumi.IntPtrInput
	// Specifies the charging period unit of the instance.
	// Valid values are *month* and *year*. This parameter is mandatory if `chargingMode` is set to *prePaid*.
	// Changing this will do nothing.
	PeriodUnit pulumi.StringPtrInput
	// The region in which to create the Cassandra instance resource. If omitted, the
	// provider-level region will be used. Changing this creates a new Cassandra instance resource.
	Region pulumi.StringPtrInput
	// Specifies the security group ID. Required if the selected subnet doesn't
	// enable network ACL.
	SecurityGroupId pulumi.StringPtrInput
	// Specifies whether to enable or disable SSL. Defaults to false. Changing this
	// parameter will create a new resource.
	Ssl pulumi.BoolPtrInput
	// Specifies the network ID of a subnet. Changing this parameter will create a
	// new resource.
	SubnetId pulumi.StringInput
	// The key/value pairs to associate with the instance.
	Tags pulumi.StringMapInput
	// Specifies the storage space in GB. The value must be a multiple of 10. For a GaussDB
	// Cassandra DB instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance
	// performance specifications. For details,
	// see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/productdesc-geminidb/geminidb_01_0006.html)
	VolumeSize pulumi.IntInput
	// Specifies the VPC ID. Changing this parameter will create a new resource.
	VpcId pulumi.StringInput
}

The set of arguments for constructing a CassandraInstance resource.

func (CassandraInstanceArgs) ElementType

func (CassandraInstanceArgs) ElementType() reflect.Type

type CassandraInstanceArray

type CassandraInstanceArray []CassandraInstanceInput

func (CassandraInstanceArray) ElementType

func (CassandraInstanceArray) ElementType() reflect.Type

func (CassandraInstanceArray) ToCassandraInstanceArrayOutput

func (i CassandraInstanceArray) ToCassandraInstanceArrayOutput() CassandraInstanceArrayOutput

func (CassandraInstanceArray) ToCassandraInstanceArrayOutputWithContext

func (i CassandraInstanceArray) ToCassandraInstanceArrayOutputWithContext(ctx context.Context) CassandraInstanceArrayOutput

type CassandraInstanceArrayInput

type CassandraInstanceArrayInput interface {
	pulumi.Input

	ToCassandraInstanceArrayOutput() CassandraInstanceArrayOutput
	ToCassandraInstanceArrayOutputWithContext(context.Context) CassandraInstanceArrayOutput
}

CassandraInstanceArrayInput is an input type that accepts CassandraInstanceArray and CassandraInstanceArrayOutput values. You can construct a concrete instance of `CassandraInstanceArrayInput` via:

CassandraInstanceArray{ CassandraInstanceArgs{...} }

type CassandraInstanceArrayOutput

type CassandraInstanceArrayOutput struct{ *pulumi.OutputState }

func (CassandraInstanceArrayOutput) ElementType

func (CassandraInstanceArrayOutput) Index

func (CassandraInstanceArrayOutput) ToCassandraInstanceArrayOutput

func (o CassandraInstanceArrayOutput) ToCassandraInstanceArrayOutput() CassandraInstanceArrayOutput

func (CassandraInstanceArrayOutput) ToCassandraInstanceArrayOutputWithContext

func (o CassandraInstanceArrayOutput) ToCassandraInstanceArrayOutputWithContext(ctx context.Context) CassandraInstanceArrayOutput

type CassandraInstanceBackupStrategy

type CassandraInstanceBackupStrategy struct {
	// Specifies the number of days to retain the generated backup files. The value ranges from
	// 0 to 35. If this parameter is set to 0, the automated backup policy is not set. If this parameter is not transferred,
	// the automated backup policy is enabled by default. Backup files are stored for seven days by default.
	KeepDays *int `pulumi:"keepDays"`
	// Specifies the backup time window. Automated backups will be triggered during the
	// backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The
	// HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example
	// value: 08:00-09:00, 03:00-04:00.
	StartTime string `pulumi:"startTime"`
}

type CassandraInstanceBackupStrategyArgs

type CassandraInstanceBackupStrategyArgs struct {
	// Specifies the number of days to retain the generated backup files. The value ranges from
	// 0 to 35. If this parameter is set to 0, the automated backup policy is not set. If this parameter is not transferred,
	// the automated backup policy is enabled by default. Backup files are stored for seven days by default.
	KeepDays pulumi.IntPtrInput `pulumi:"keepDays"`
	// Specifies the backup time window. Automated backups will be triggered during the
	// backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The
	// HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example
	// value: 08:00-09:00, 03:00-04:00.
	StartTime pulumi.StringInput `pulumi:"startTime"`
}

func (CassandraInstanceBackupStrategyArgs) ElementType

func (CassandraInstanceBackupStrategyArgs) ToCassandraInstanceBackupStrategyOutput

func (i CassandraInstanceBackupStrategyArgs) ToCassandraInstanceBackupStrategyOutput() CassandraInstanceBackupStrategyOutput

func (CassandraInstanceBackupStrategyArgs) ToCassandraInstanceBackupStrategyOutputWithContext

func (i CassandraInstanceBackupStrategyArgs) ToCassandraInstanceBackupStrategyOutputWithContext(ctx context.Context) CassandraInstanceBackupStrategyOutput

func (CassandraInstanceBackupStrategyArgs) ToCassandraInstanceBackupStrategyPtrOutput

func (i CassandraInstanceBackupStrategyArgs) ToCassandraInstanceBackupStrategyPtrOutput() CassandraInstanceBackupStrategyPtrOutput

func (CassandraInstanceBackupStrategyArgs) ToCassandraInstanceBackupStrategyPtrOutputWithContext

func (i CassandraInstanceBackupStrategyArgs) ToCassandraInstanceBackupStrategyPtrOutputWithContext(ctx context.Context) CassandraInstanceBackupStrategyPtrOutput

type CassandraInstanceBackupStrategyInput

type CassandraInstanceBackupStrategyInput interface {
	pulumi.Input

	ToCassandraInstanceBackupStrategyOutput() CassandraInstanceBackupStrategyOutput
	ToCassandraInstanceBackupStrategyOutputWithContext(context.Context) CassandraInstanceBackupStrategyOutput
}

CassandraInstanceBackupStrategyInput is an input type that accepts CassandraInstanceBackupStrategyArgs and CassandraInstanceBackupStrategyOutput values. You can construct a concrete instance of `CassandraInstanceBackupStrategyInput` via:

CassandraInstanceBackupStrategyArgs{...}

type CassandraInstanceBackupStrategyOutput

type CassandraInstanceBackupStrategyOutput struct{ *pulumi.OutputState }

func (CassandraInstanceBackupStrategyOutput) ElementType

func (CassandraInstanceBackupStrategyOutput) KeepDays

Specifies the number of days to retain the generated backup files. The value ranges from 0 to 35. If this parameter is set to 0, the automated backup policy is not set. If this parameter is not transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default.

func (CassandraInstanceBackupStrategyOutput) StartTime

Specifies the backup time window. Automated backups will be triggered during the backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example value: 08:00-09:00, 03:00-04:00.

func (CassandraInstanceBackupStrategyOutput) ToCassandraInstanceBackupStrategyOutput

func (o CassandraInstanceBackupStrategyOutput) ToCassandraInstanceBackupStrategyOutput() CassandraInstanceBackupStrategyOutput

func (CassandraInstanceBackupStrategyOutput) ToCassandraInstanceBackupStrategyOutputWithContext

func (o CassandraInstanceBackupStrategyOutput) ToCassandraInstanceBackupStrategyOutputWithContext(ctx context.Context) CassandraInstanceBackupStrategyOutput

func (CassandraInstanceBackupStrategyOutput) ToCassandraInstanceBackupStrategyPtrOutput

func (o CassandraInstanceBackupStrategyOutput) ToCassandraInstanceBackupStrategyPtrOutput() CassandraInstanceBackupStrategyPtrOutput

func (CassandraInstanceBackupStrategyOutput) ToCassandraInstanceBackupStrategyPtrOutputWithContext

func (o CassandraInstanceBackupStrategyOutput) ToCassandraInstanceBackupStrategyPtrOutputWithContext(ctx context.Context) CassandraInstanceBackupStrategyPtrOutput

type CassandraInstanceBackupStrategyPtrInput

type CassandraInstanceBackupStrategyPtrInput interface {
	pulumi.Input

	ToCassandraInstanceBackupStrategyPtrOutput() CassandraInstanceBackupStrategyPtrOutput
	ToCassandraInstanceBackupStrategyPtrOutputWithContext(context.Context) CassandraInstanceBackupStrategyPtrOutput
}

CassandraInstanceBackupStrategyPtrInput is an input type that accepts CassandraInstanceBackupStrategyArgs, CassandraInstanceBackupStrategyPtr and CassandraInstanceBackupStrategyPtrOutput values. You can construct a concrete instance of `CassandraInstanceBackupStrategyPtrInput` via:

        CassandraInstanceBackupStrategyArgs{...}

or:

        nil

type CassandraInstanceBackupStrategyPtrOutput

type CassandraInstanceBackupStrategyPtrOutput struct{ *pulumi.OutputState }

func (CassandraInstanceBackupStrategyPtrOutput) Elem

func (CassandraInstanceBackupStrategyPtrOutput) ElementType

func (CassandraInstanceBackupStrategyPtrOutput) KeepDays

Specifies the number of days to retain the generated backup files. The value ranges from 0 to 35. If this parameter is set to 0, the automated backup policy is not set. If this parameter is not transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default.

func (CassandraInstanceBackupStrategyPtrOutput) StartTime

Specifies the backup time window. Automated backups will be triggered during the backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example value: 08:00-09:00, 03:00-04:00.

func (CassandraInstanceBackupStrategyPtrOutput) ToCassandraInstanceBackupStrategyPtrOutput

func (o CassandraInstanceBackupStrategyPtrOutput) ToCassandraInstanceBackupStrategyPtrOutput() CassandraInstanceBackupStrategyPtrOutput

func (CassandraInstanceBackupStrategyPtrOutput) ToCassandraInstanceBackupStrategyPtrOutputWithContext

func (o CassandraInstanceBackupStrategyPtrOutput) ToCassandraInstanceBackupStrategyPtrOutputWithContext(ctx context.Context) CassandraInstanceBackupStrategyPtrOutput

type CassandraInstanceDatastore

type CassandraInstanceDatastore struct {
	// Specifies the database engine. Only "GeminiDB-Cassandra" is supported now.
	// Changing this parameter will create a new resource.
	Engine string `pulumi:"engine"`
	// Specifies the storage engine. Only "rocksDB" is supported now.
	// Changing this parameter will create a new resource.
	StorageEngine string `pulumi:"storageEngine"`
	// Specifies the database version.
	// Changing this parameter will create a new resource.
	Version string `pulumi:"version"`
}

type CassandraInstanceDatastoreArgs

type CassandraInstanceDatastoreArgs struct {
	// Specifies the database engine. Only "GeminiDB-Cassandra" is supported now.
	// Changing this parameter will create a new resource.
	Engine pulumi.StringInput `pulumi:"engine"`
	// Specifies the storage engine. Only "rocksDB" is supported now.
	// Changing this parameter will create a new resource.
	StorageEngine pulumi.StringInput `pulumi:"storageEngine"`
	// Specifies the database version.
	// Changing this parameter will create a new resource.
	Version pulumi.StringInput `pulumi:"version"`
}

func (CassandraInstanceDatastoreArgs) ElementType

func (CassandraInstanceDatastoreArgs) ToCassandraInstanceDatastoreOutput

func (i CassandraInstanceDatastoreArgs) ToCassandraInstanceDatastoreOutput() CassandraInstanceDatastoreOutput

func (CassandraInstanceDatastoreArgs) ToCassandraInstanceDatastoreOutputWithContext

func (i CassandraInstanceDatastoreArgs) ToCassandraInstanceDatastoreOutputWithContext(ctx context.Context) CassandraInstanceDatastoreOutput

func (CassandraInstanceDatastoreArgs) ToCassandraInstanceDatastorePtrOutput

func (i CassandraInstanceDatastoreArgs) ToCassandraInstanceDatastorePtrOutput() CassandraInstanceDatastorePtrOutput

func (CassandraInstanceDatastoreArgs) ToCassandraInstanceDatastorePtrOutputWithContext

func (i CassandraInstanceDatastoreArgs) ToCassandraInstanceDatastorePtrOutputWithContext(ctx context.Context) CassandraInstanceDatastorePtrOutput

type CassandraInstanceDatastoreInput

type CassandraInstanceDatastoreInput interface {
	pulumi.Input

	ToCassandraInstanceDatastoreOutput() CassandraInstanceDatastoreOutput
	ToCassandraInstanceDatastoreOutputWithContext(context.Context) CassandraInstanceDatastoreOutput
}

CassandraInstanceDatastoreInput is an input type that accepts CassandraInstanceDatastoreArgs and CassandraInstanceDatastoreOutput values. You can construct a concrete instance of `CassandraInstanceDatastoreInput` via:

CassandraInstanceDatastoreArgs{...}

type CassandraInstanceDatastoreOutput

type CassandraInstanceDatastoreOutput struct{ *pulumi.OutputState }

func (CassandraInstanceDatastoreOutput) ElementType

func (CassandraInstanceDatastoreOutput) Engine

Specifies the database engine. Only "GeminiDB-Cassandra" is supported now. Changing this parameter will create a new resource.

func (CassandraInstanceDatastoreOutput) StorageEngine

Specifies the storage engine. Only "rocksDB" is supported now. Changing this parameter will create a new resource.

func (CassandraInstanceDatastoreOutput) ToCassandraInstanceDatastoreOutput

func (o CassandraInstanceDatastoreOutput) ToCassandraInstanceDatastoreOutput() CassandraInstanceDatastoreOutput

func (CassandraInstanceDatastoreOutput) ToCassandraInstanceDatastoreOutputWithContext

func (o CassandraInstanceDatastoreOutput) ToCassandraInstanceDatastoreOutputWithContext(ctx context.Context) CassandraInstanceDatastoreOutput

func (CassandraInstanceDatastoreOutput) ToCassandraInstanceDatastorePtrOutput

func (o CassandraInstanceDatastoreOutput) ToCassandraInstanceDatastorePtrOutput() CassandraInstanceDatastorePtrOutput

func (CassandraInstanceDatastoreOutput) ToCassandraInstanceDatastorePtrOutputWithContext

func (o CassandraInstanceDatastoreOutput) ToCassandraInstanceDatastorePtrOutputWithContext(ctx context.Context) CassandraInstanceDatastorePtrOutput

func (CassandraInstanceDatastoreOutput) Version

Specifies the database version. Changing this parameter will create a new resource.

type CassandraInstanceDatastorePtrInput

type CassandraInstanceDatastorePtrInput interface {
	pulumi.Input

	ToCassandraInstanceDatastorePtrOutput() CassandraInstanceDatastorePtrOutput
	ToCassandraInstanceDatastorePtrOutputWithContext(context.Context) CassandraInstanceDatastorePtrOutput
}

CassandraInstanceDatastorePtrInput is an input type that accepts CassandraInstanceDatastoreArgs, CassandraInstanceDatastorePtr and CassandraInstanceDatastorePtrOutput values. You can construct a concrete instance of `CassandraInstanceDatastorePtrInput` via:

        CassandraInstanceDatastoreArgs{...}

or:

        nil

type CassandraInstanceDatastorePtrOutput

type CassandraInstanceDatastorePtrOutput struct{ *pulumi.OutputState }

func (CassandraInstanceDatastorePtrOutput) Elem

func (CassandraInstanceDatastorePtrOutput) ElementType

func (CassandraInstanceDatastorePtrOutput) Engine

Specifies the database engine. Only "GeminiDB-Cassandra" is supported now. Changing this parameter will create a new resource.

func (CassandraInstanceDatastorePtrOutput) StorageEngine

Specifies the storage engine. Only "rocksDB" is supported now. Changing this parameter will create a new resource.

func (CassandraInstanceDatastorePtrOutput) ToCassandraInstanceDatastorePtrOutput

func (o CassandraInstanceDatastorePtrOutput) ToCassandraInstanceDatastorePtrOutput() CassandraInstanceDatastorePtrOutput

func (CassandraInstanceDatastorePtrOutput) ToCassandraInstanceDatastorePtrOutputWithContext

func (o CassandraInstanceDatastorePtrOutput) ToCassandraInstanceDatastorePtrOutputWithContext(ctx context.Context) CassandraInstanceDatastorePtrOutput

func (CassandraInstanceDatastorePtrOutput) Version

Specifies the database version. Changing this parameter will create a new resource.

type CassandraInstanceInput

type CassandraInstanceInput interface {
	pulumi.Input

	ToCassandraInstanceOutput() CassandraInstanceOutput
	ToCassandraInstanceOutputWithContext(ctx context.Context) CassandraInstanceOutput
}

type CassandraInstanceMap

type CassandraInstanceMap map[string]CassandraInstanceInput

func (CassandraInstanceMap) ElementType

func (CassandraInstanceMap) ElementType() reflect.Type

func (CassandraInstanceMap) ToCassandraInstanceMapOutput

func (i CassandraInstanceMap) ToCassandraInstanceMapOutput() CassandraInstanceMapOutput

func (CassandraInstanceMap) ToCassandraInstanceMapOutputWithContext

func (i CassandraInstanceMap) ToCassandraInstanceMapOutputWithContext(ctx context.Context) CassandraInstanceMapOutput

type CassandraInstanceMapInput

type CassandraInstanceMapInput interface {
	pulumi.Input

	ToCassandraInstanceMapOutput() CassandraInstanceMapOutput
	ToCassandraInstanceMapOutputWithContext(context.Context) CassandraInstanceMapOutput
}

CassandraInstanceMapInput is an input type that accepts CassandraInstanceMap and CassandraInstanceMapOutput values. You can construct a concrete instance of `CassandraInstanceMapInput` via:

CassandraInstanceMap{ "key": CassandraInstanceArgs{...} }

type CassandraInstanceMapOutput

type CassandraInstanceMapOutput struct{ *pulumi.OutputState }

func (CassandraInstanceMapOutput) ElementType

func (CassandraInstanceMapOutput) ElementType() reflect.Type

func (CassandraInstanceMapOutput) MapIndex

func (CassandraInstanceMapOutput) ToCassandraInstanceMapOutput

func (o CassandraInstanceMapOutput) ToCassandraInstanceMapOutput() CassandraInstanceMapOutput

func (CassandraInstanceMapOutput) ToCassandraInstanceMapOutputWithContext

func (o CassandraInstanceMapOutput) ToCassandraInstanceMapOutputWithContext(ctx context.Context) CassandraInstanceMapOutput

type CassandraInstanceNode

type CassandraInstanceNode struct {
	// Indicates the node ID.
	Id *string `pulumi:"id"`
	// Specifies the instance name, which can be the same as an existing instance name. The value
	// must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters,
	// digits, hyphens (-), and underscores (_).
	Name *string `pulumi:"name"`
	// Indicates the private IP address of a node.
	PrivateIp *string `pulumi:"privateIp"`
	// Indicates the node status.
	Status *string `pulumi:"status"`
	// Indicates whether the node support reduce or not.
	SupportReduce *bool `pulumi:"supportReduce"`
}

type CassandraInstanceNodeArgs

type CassandraInstanceNodeArgs struct {
	// Indicates the node ID.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// Specifies the instance name, which can be the same as an existing instance name. The value
	// must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters,
	// digits, hyphens (-), and underscores (_).
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Indicates the private IP address of a node.
	PrivateIp pulumi.StringPtrInput `pulumi:"privateIp"`
	// Indicates the node status.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// Indicates whether the node support reduce or not.
	SupportReduce pulumi.BoolPtrInput `pulumi:"supportReduce"`
}

func (CassandraInstanceNodeArgs) ElementType

func (CassandraInstanceNodeArgs) ElementType() reflect.Type

func (CassandraInstanceNodeArgs) ToCassandraInstanceNodeOutput

func (i CassandraInstanceNodeArgs) ToCassandraInstanceNodeOutput() CassandraInstanceNodeOutput

func (CassandraInstanceNodeArgs) ToCassandraInstanceNodeOutputWithContext

func (i CassandraInstanceNodeArgs) ToCassandraInstanceNodeOutputWithContext(ctx context.Context) CassandraInstanceNodeOutput

type CassandraInstanceNodeArray

type CassandraInstanceNodeArray []CassandraInstanceNodeInput

func (CassandraInstanceNodeArray) ElementType

func (CassandraInstanceNodeArray) ElementType() reflect.Type

func (CassandraInstanceNodeArray) ToCassandraInstanceNodeArrayOutput

func (i CassandraInstanceNodeArray) ToCassandraInstanceNodeArrayOutput() CassandraInstanceNodeArrayOutput

func (CassandraInstanceNodeArray) ToCassandraInstanceNodeArrayOutputWithContext

func (i CassandraInstanceNodeArray) ToCassandraInstanceNodeArrayOutputWithContext(ctx context.Context) CassandraInstanceNodeArrayOutput

type CassandraInstanceNodeArrayInput

type CassandraInstanceNodeArrayInput interface {
	pulumi.Input

	ToCassandraInstanceNodeArrayOutput() CassandraInstanceNodeArrayOutput
	ToCassandraInstanceNodeArrayOutputWithContext(context.Context) CassandraInstanceNodeArrayOutput
}

CassandraInstanceNodeArrayInput is an input type that accepts CassandraInstanceNodeArray and CassandraInstanceNodeArrayOutput values. You can construct a concrete instance of `CassandraInstanceNodeArrayInput` via:

CassandraInstanceNodeArray{ CassandraInstanceNodeArgs{...} }

type CassandraInstanceNodeArrayOutput

type CassandraInstanceNodeArrayOutput struct{ *pulumi.OutputState }

func (CassandraInstanceNodeArrayOutput) ElementType

func (CassandraInstanceNodeArrayOutput) Index

func (CassandraInstanceNodeArrayOutput) ToCassandraInstanceNodeArrayOutput

func (o CassandraInstanceNodeArrayOutput) ToCassandraInstanceNodeArrayOutput() CassandraInstanceNodeArrayOutput

func (CassandraInstanceNodeArrayOutput) ToCassandraInstanceNodeArrayOutputWithContext

func (o CassandraInstanceNodeArrayOutput) ToCassandraInstanceNodeArrayOutputWithContext(ctx context.Context) CassandraInstanceNodeArrayOutput

type CassandraInstanceNodeInput

type CassandraInstanceNodeInput interface {
	pulumi.Input

	ToCassandraInstanceNodeOutput() CassandraInstanceNodeOutput
	ToCassandraInstanceNodeOutputWithContext(context.Context) CassandraInstanceNodeOutput
}

CassandraInstanceNodeInput is an input type that accepts CassandraInstanceNodeArgs and CassandraInstanceNodeOutput values. You can construct a concrete instance of `CassandraInstanceNodeInput` via:

CassandraInstanceNodeArgs{...}

type CassandraInstanceNodeOutput

type CassandraInstanceNodeOutput struct{ *pulumi.OutputState }

func (CassandraInstanceNodeOutput) ElementType

func (CassandraInstanceNodeOutput) Id

Indicates the node ID.

func (CassandraInstanceNodeOutput) Name

Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).

func (CassandraInstanceNodeOutput) PrivateIp

Indicates the private IP address of a node.

func (CassandraInstanceNodeOutput) Status

Indicates the node status.

func (CassandraInstanceNodeOutput) SupportReduce

Indicates whether the node support reduce or not.

func (CassandraInstanceNodeOutput) ToCassandraInstanceNodeOutput

func (o CassandraInstanceNodeOutput) ToCassandraInstanceNodeOutput() CassandraInstanceNodeOutput

func (CassandraInstanceNodeOutput) ToCassandraInstanceNodeOutputWithContext

func (o CassandraInstanceNodeOutput) ToCassandraInstanceNodeOutputWithContext(ctx context.Context) CassandraInstanceNodeOutput

type CassandraInstanceOutput

type CassandraInstanceOutput struct{ *pulumi.OutputState }

func (CassandraInstanceOutput) AutoRenew

Specifies whether auto renew is enabled. Valid values are "true" and "false".

func (CassandraInstanceOutput) AvailabilityZone

func (o CassandraInstanceOutput) AvailabilityZone() pulumi.StringOutput

Specifies the AZ name. For a three-AZ deployment instance, use commas (,) to separate the AZs, for example, `cn-north-4a,cn-north-4b,cn-north-4c`. Changing this parameter will create a new resource.

func (CassandraInstanceOutput) BackupStrategy

Specifies the advanced backup policy. Structure is documented below.

func (CassandraInstanceOutput) ChargingMode

Specifies the charging mode of the instance. Valid values are *prePaid* and *postPaid*, defaults to *postPaid*. Changing this will do nothing.

func (CassandraInstanceOutput) ConfigurationId

func (o CassandraInstanceOutput) ConfigurationId() pulumi.StringOutput

Specifies the Parameter Template ID.

func (CassandraInstanceOutput) Datastore

Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.

func (CassandraInstanceOutput) DbUserName

Indicates the default username.

func (CassandraInstanceOutput) DedicatedResourceId

func (o CassandraInstanceOutput) DedicatedResourceId() pulumi.StringOutput

Specifies the dedicated resource ID. Changing this parameter will create a new resource.

func (CassandraInstanceOutput) DedicatedResourceName

func (o CassandraInstanceOutput) DedicatedResourceName() pulumi.StringOutput

Specifies the dedicated resource name. Changing this parameter will create a new resource.

func (CassandraInstanceOutput) ElementType

func (CassandraInstanceOutput) ElementType() reflect.Type

func (CassandraInstanceOutput) EnterpriseProjectId

func (o CassandraInstanceOutput) EnterpriseProjectId() pulumi.StringPtrOutput

Specifies the enterprise project id, Only valid for users who have enabled the enterprise multi-project service. Changing this parameter will create a new resource.

func (CassandraInstanceOutput) Flavor

Specifies the instance specifications. For details, see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/productdesc-geminidb/geminidb_01_0006.html)

func (CassandraInstanceOutput) ForceImport

If specified, try to import the instance instead of creating if the name already existed.

func (CassandraInstanceOutput) LbIpAddress added in v0.0.8

Indicates the LB IP address of the db.

func (CassandraInstanceOutput) LbPort added in v0.0.8

Indicates the LB port of the db.

func (CassandraInstanceOutput) Mode

Indicates the instance type.

func (CassandraInstanceOutput) Name

Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).

func (CassandraInstanceOutput) NodeNum

Specifies the number of nodes, ranges from 3 to 12. Defaults to 3.

func (CassandraInstanceOutput) Nodes

Indicates the instance nodes information. Structure is documented below.

func (CassandraInstanceOutput) Password

Specifies the database password. The value must be 8 to 32 characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to enter a strong password to improve security, preventing security risks such as brute force cracking.

func (CassandraInstanceOutput) Period

Specifies the charging period of the instance. If `periodUnit` is set to *month* , the value ranges from 1 to 9. If `periodUnit` is set to *year*, the value ranges from 1 to 3. This parameter is mandatory if `chargingMode` is set to *prePaid*. Changing this will do nothing.

func (CassandraInstanceOutput) PeriodUnit

Specifies the charging period unit of the instance. Valid values are *month* and *year*. This parameter is mandatory if `chargingMode` is set to *prePaid*. Changing this will do nothing.

func (CassandraInstanceOutput) Port

Indicates the database port.

func (CassandraInstanceOutput) PrivateIps

Indicates the IP address list of the db.

func (CassandraInstanceOutput) Region

The region in which to create the Cassandra instance resource. If omitted, the provider-level region will be used. Changing this creates a new Cassandra instance resource.

func (CassandraInstanceOutput) SecurityGroupId

func (o CassandraInstanceOutput) SecurityGroupId() pulumi.StringPtrOutput

Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.

func (CassandraInstanceOutput) Ssl

Specifies whether to enable or disable SSL. Defaults to false. Changing this parameter will create a new resource.

func (CassandraInstanceOutput) Status

Indicates the node status.

func (CassandraInstanceOutput) SubnetId

Specifies the network ID of a subnet. Changing this parameter will create a new resource.

func (CassandraInstanceOutput) Tags

The key/value pairs to associate with the instance.

func (CassandraInstanceOutput) ToCassandraInstanceOutput

func (o CassandraInstanceOutput) ToCassandraInstanceOutput() CassandraInstanceOutput

func (CassandraInstanceOutput) ToCassandraInstanceOutputWithContext

func (o CassandraInstanceOutput) ToCassandraInstanceOutputWithContext(ctx context.Context) CassandraInstanceOutput

func (CassandraInstanceOutput) VolumeSize

func (o CassandraInstanceOutput) VolumeSize() pulumi.IntOutput

Specifies the storage space in GB. The value must be a multiple of 10. For a GaussDB Cassandra DB instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance performance specifications. For details, see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/productdesc-geminidb/geminidb_01_0006.html)

func (CassandraInstanceOutput) VpcId

Specifies the VPC ID. Changing this parameter will create a new resource.

type CassandraInstanceState

type CassandraInstanceState struct {
	// Specifies whether auto renew is enabled.
	// Valid values are "true" and "false".
	AutoRenew pulumi.StringPtrInput
	// Specifies the AZ name. For a three-AZ deployment instance,
	// use commas (,) to separate the AZs, for example, `cn-north-4a,cn-north-4b,cn-north-4c`.
	// Changing this parameter will create a new resource.
	AvailabilityZone pulumi.StringPtrInput
	// Specifies the advanced backup policy. Structure is documented below.
	BackupStrategy CassandraInstanceBackupStrategyPtrInput
	// Specifies the charging mode of the instance. Valid values are *prePaid*
	// and *postPaid*, defaults to *postPaid*. Changing this will do nothing.
	ChargingMode pulumi.StringPtrInput
	// Specifies the Parameter Template ID.
	ConfigurationId pulumi.StringPtrInput
	// Specifies the database information. Structure is documented below. Changing
	// this parameter will create a new resource.
	Datastore CassandraInstanceDatastorePtrInput
	// Indicates the default username.
	DbUserName pulumi.StringPtrInput
	// Specifies the dedicated resource ID. Changing this parameter
	// will create a new resource.
	DedicatedResourceId pulumi.StringPtrInput
	// Specifies the dedicated resource name. Changing this parameter
	// will create a new resource.
	DedicatedResourceName pulumi.StringPtrInput
	// Specifies the enterprise project id, Only valid for users who
	// have enabled the enterprise multi-project service. Changing this parameter will create a new resource.
	EnterpriseProjectId pulumi.StringPtrInput
	// Specifies the instance specifications. For details,
	// see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/productdesc-geminidb/geminidb_01_0006.html)
	Flavor pulumi.StringPtrInput
	// If specified, try to import the instance instead of creating if the name already
	// existed.
	ForceImport pulumi.BoolPtrInput
	// Indicates the LB IP address of the db.
	LbIpAddress pulumi.StringPtrInput
	// Indicates the LB port of the db.
	LbPort pulumi.StringPtrInput
	// Indicates the instance type.
	Mode pulumi.StringPtrInput
	// Specifies the instance name, which can be the same as an existing instance name. The value
	// must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters,
	// digits, hyphens (-), and underscores (_).
	Name pulumi.StringPtrInput
	// Specifies the number of nodes, ranges from 3 to 12. Defaults to 3.
	NodeNum pulumi.IntPtrInput
	// Indicates the instance nodes information. Structure is documented below.
	Nodes CassandraInstanceNodeArrayInput
	// Specifies the database password. The value must be 8 to 32 characters in length,
	// including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to
	// enter a strong password to improve security, preventing security risks such as brute force cracking.
	Password pulumi.StringPtrInput
	// Specifies the charging period of the instance.
	// If `periodUnit` is set to *month* , the value ranges from 1 to 9. If `periodUnit` is set to *year*, the value
	// ranges from 1 to 3. This parameter is mandatory if `chargingMode` is set to *prePaid*. Changing this will
	// do nothing.
	Period pulumi.IntPtrInput
	// Specifies the charging period unit of the instance.
	// Valid values are *month* and *year*. This parameter is mandatory if `chargingMode` is set to *prePaid*.
	// Changing this will do nothing.
	PeriodUnit pulumi.StringPtrInput
	// Indicates the database port.
	Port pulumi.IntPtrInput
	// Indicates the IP address list of the db.
	PrivateIps pulumi.StringArrayInput
	// The region in which to create the Cassandra instance resource. If omitted, the
	// provider-level region will be used. Changing this creates a new Cassandra instance resource.
	Region pulumi.StringPtrInput
	// Specifies the security group ID. Required if the selected subnet doesn't
	// enable network ACL.
	SecurityGroupId pulumi.StringPtrInput
	// Specifies whether to enable or disable SSL. Defaults to false. Changing this
	// parameter will create a new resource.
	Ssl pulumi.BoolPtrInput
	// Indicates the node status.
	Status pulumi.StringPtrInput
	// Specifies the network ID of a subnet. Changing this parameter will create a
	// new resource.
	SubnetId pulumi.StringPtrInput
	// The key/value pairs to associate with the instance.
	Tags pulumi.StringMapInput
	// Specifies the storage space in GB. The value must be a multiple of 10. For a GaussDB
	// Cassandra DB instance, the minimum storage space is 100 GB, and the maximum storage space is related to the instance
	// performance specifications. For details,
	// see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/productdesc-geminidb/geminidb_01_0006.html)
	VolumeSize pulumi.IntPtrInput
	// Specifies the VPC ID. Changing this parameter will create a new resource.
	VpcId pulumi.StringPtrInput
}

func (CassandraInstanceState) ElementType

func (CassandraInstanceState) ElementType() reflect.Type

type GetCassandraDedicatedResourceArgs

type GetCassandraDedicatedResourceArgs struct {
	// The region in which to obtain the dedicated resource. If omitted, the provider-level
	// region will be used.
	Region *string `pulumi:"region"`
	// Specifies the dedicated resource name.
	ResourceName *string `pulumi:"resourceName"`
}

A collection of arguments for invoking getCassandraDedicatedResource.

type GetCassandraDedicatedResourceOutputArgs

type GetCassandraDedicatedResourceOutputArgs struct {
	// The region in which to obtain the dedicated resource. If omitted, the provider-level
	// region will be used.
	Region pulumi.StringPtrInput `pulumi:"region"`
	// Specifies the dedicated resource name.
	ResourceName pulumi.StringPtrInput `pulumi:"resourceName"`
}

A collection of arguments for invoking getCassandraDedicatedResource.

func (GetCassandraDedicatedResourceOutputArgs) ElementType

type GetCassandraDedicatedResourceResult

type GetCassandraDedicatedResourceResult struct {
	// Indicates the architecture of the dedicated resource.
	Architecture string `pulumi:"architecture"`
	// Indicates the availability zone of the dedicated resource.
	AvailabilityZone string `pulumi:"availabilityZone"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Indicates the ram size of the dedicated resource.
	Ram          int    `pulumi:"ram"`
	Region       string `pulumi:"region"`
	ResourceName string `pulumi:"resourceName"`
	// Indicates the status of the dedicated resource.
	Status string `pulumi:"status"`
	// Indicates the vcpus count of the dedicated resource.
	Vcpus int `pulumi:"vcpus"`
	// Indicates the volume size of the dedicated resource.
	Volume int `pulumi:"volume"`
}

A collection of values returned by getCassandraDedicatedResource.

func GetCassandraDedicatedResource

Use this data source to get available HuaweiCloud gaussdb cassandra dedicated resource.

## Example Usage

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL"
"github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := GaussDBforNoSQL.GetCassandraDedicatedResource(ctx, &gaussdbfornosql.GetCassandraDedicatedResourceArgs{
			ResourceName: pulumi.StringRef("test"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetCassandraDedicatedResourceResultOutput

type GetCassandraDedicatedResourceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCassandraDedicatedResource.

func (GetCassandraDedicatedResourceResultOutput) Architecture

Indicates the architecture of the dedicated resource.

func (GetCassandraDedicatedResourceResultOutput) AvailabilityZone

Indicates the availability zone of the dedicated resource.

func (GetCassandraDedicatedResourceResultOutput) ElementType

func (GetCassandraDedicatedResourceResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetCassandraDedicatedResourceResultOutput) Ram

Indicates the ram size of the dedicated resource.

func (GetCassandraDedicatedResourceResultOutput) Region

func (GetCassandraDedicatedResourceResultOutput) ResourceName

func (GetCassandraDedicatedResourceResultOutput) Status

Indicates the status of the dedicated resource.

func (GetCassandraDedicatedResourceResultOutput) ToGetCassandraDedicatedResourceResultOutput

func (o GetCassandraDedicatedResourceResultOutput) ToGetCassandraDedicatedResourceResultOutput() GetCassandraDedicatedResourceResultOutput

func (GetCassandraDedicatedResourceResultOutput) ToGetCassandraDedicatedResourceResultOutputWithContext

func (o GetCassandraDedicatedResourceResultOutput) ToGetCassandraDedicatedResourceResultOutputWithContext(ctx context.Context) GetCassandraDedicatedResourceResultOutput

func (GetCassandraDedicatedResourceResultOutput) Vcpus

Indicates the vcpus count of the dedicated resource.

func (GetCassandraDedicatedResourceResultOutput) Volume

Indicates the volume size of the dedicated resource.

type GetCassandraFlavorsArgs

type GetCassandraFlavorsArgs struct {
	// Specifies the memory size of the flavors.
	Memory *string `pulumi:"memory"`
	// The region in which to obtain the flavors. If omitted, the provider-level region will be
	// used.
	Region *string `pulumi:"region"`
	// Specifies the count of vcpus of the flavors.
	Vcpus *string `pulumi:"vcpus"`
	// Specifies the engine version of the flavors.
	Version *string `pulumi:"version"`
}

A collection of arguments for invoking getCassandraFlavors.

type GetCassandraFlavorsFlavor

type GetCassandraFlavorsFlavor struct {
	// Indicates the flavor status in each availability zone.
	AzStatus map[string]string `pulumi:"azStatus"`
	// Specifies the memory size of the flavors.
	Memory string `pulumi:"memory"`
	// Indicates the spec code of the flavor.
	Name string `pulumi:"name"`
	// Specifies the count of vcpus of the flavors.
	Vcpus string `pulumi:"vcpus"`
	// Specifies the engine version of the flavors.
	Version string `pulumi:"version"`
}

type GetCassandraFlavorsFlavorArgs

type GetCassandraFlavorsFlavorArgs struct {
	// Indicates the flavor status in each availability zone.
	AzStatus pulumi.StringMapInput `pulumi:"azStatus"`
	// Specifies the memory size of the flavors.
	Memory pulumi.StringInput `pulumi:"memory"`
	// Indicates the spec code of the flavor.
	Name pulumi.StringInput `pulumi:"name"`
	// Specifies the count of vcpus of the flavors.
	Vcpus pulumi.StringInput `pulumi:"vcpus"`
	// Specifies the engine version of the flavors.
	Version pulumi.StringInput `pulumi:"version"`
}

func (GetCassandraFlavorsFlavorArgs) ElementType

func (GetCassandraFlavorsFlavorArgs) ToGetCassandraFlavorsFlavorOutput

func (i GetCassandraFlavorsFlavorArgs) ToGetCassandraFlavorsFlavorOutput() GetCassandraFlavorsFlavorOutput

func (GetCassandraFlavorsFlavorArgs) ToGetCassandraFlavorsFlavorOutputWithContext

func (i GetCassandraFlavorsFlavorArgs) ToGetCassandraFlavorsFlavorOutputWithContext(ctx context.Context) GetCassandraFlavorsFlavorOutput

type GetCassandraFlavorsFlavorArray

type GetCassandraFlavorsFlavorArray []GetCassandraFlavorsFlavorInput

func (GetCassandraFlavorsFlavorArray) ElementType

func (GetCassandraFlavorsFlavorArray) ToGetCassandraFlavorsFlavorArrayOutput

func (i GetCassandraFlavorsFlavorArray) ToGetCassandraFlavorsFlavorArrayOutput() GetCassandraFlavorsFlavorArrayOutput

func (GetCassandraFlavorsFlavorArray) ToGetCassandraFlavorsFlavorArrayOutputWithContext

func (i GetCassandraFlavorsFlavorArray) ToGetCassandraFlavorsFlavorArrayOutputWithContext(ctx context.Context) GetCassandraFlavorsFlavorArrayOutput

type GetCassandraFlavorsFlavorArrayInput

type GetCassandraFlavorsFlavorArrayInput interface {
	pulumi.Input

	ToGetCassandraFlavorsFlavorArrayOutput() GetCassandraFlavorsFlavorArrayOutput
	ToGetCassandraFlavorsFlavorArrayOutputWithContext(context.Context) GetCassandraFlavorsFlavorArrayOutput
}

GetCassandraFlavorsFlavorArrayInput is an input type that accepts GetCassandraFlavorsFlavorArray and GetCassandraFlavorsFlavorArrayOutput values. You can construct a concrete instance of `GetCassandraFlavorsFlavorArrayInput` via:

GetCassandraFlavorsFlavorArray{ GetCassandraFlavorsFlavorArgs{...} }

type GetCassandraFlavorsFlavorArrayOutput

type GetCassandraFlavorsFlavorArrayOutput struct{ *pulumi.OutputState }

func (GetCassandraFlavorsFlavorArrayOutput) ElementType

func (GetCassandraFlavorsFlavorArrayOutput) Index

func (GetCassandraFlavorsFlavorArrayOutput) ToGetCassandraFlavorsFlavorArrayOutput

func (o GetCassandraFlavorsFlavorArrayOutput) ToGetCassandraFlavorsFlavorArrayOutput() GetCassandraFlavorsFlavorArrayOutput

func (GetCassandraFlavorsFlavorArrayOutput) ToGetCassandraFlavorsFlavorArrayOutputWithContext

func (o GetCassandraFlavorsFlavorArrayOutput) ToGetCassandraFlavorsFlavorArrayOutputWithContext(ctx context.Context) GetCassandraFlavorsFlavorArrayOutput

type GetCassandraFlavorsFlavorInput

type GetCassandraFlavorsFlavorInput interface {
	pulumi.Input

	ToGetCassandraFlavorsFlavorOutput() GetCassandraFlavorsFlavorOutput
	ToGetCassandraFlavorsFlavorOutputWithContext(context.Context) GetCassandraFlavorsFlavorOutput
}

GetCassandraFlavorsFlavorInput is an input type that accepts GetCassandraFlavorsFlavorArgs and GetCassandraFlavorsFlavorOutput values. You can construct a concrete instance of `GetCassandraFlavorsFlavorInput` via:

GetCassandraFlavorsFlavorArgs{...}

type GetCassandraFlavorsFlavorOutput

type GetCassandraFlavorsFlavorOutput struct{ *pulumi.OutputState }

func (GetCassandraFlavorsFlavorOutput) AzStatus

Indicates the flavor status in each availability zone.

func (GetCassandraFlavorsFlavorOutput) ElementType

func (GetCassandraFlavorsFlavorOutput) Memory

Specifies the memory size of the flavors.

func (GetCassandraFlavorsFlavorOutput) Name

Indicates the spec code of the flavor.

func (GetCassandraFlavorsFlavorOutput) ToGetCassandraFlavorsFlavorOutput

func (o GetCassandraFlavorsFlavorOutput) ToGetCassandraFlavorsFlavorOutput() GetCassandraFlavorsFlavorOutput

func (GetCassandraFlavorsFlavorOutput) ToGetCassandraFlavorsFlavorOutputWithContext

func (o GetCassandraFlavorsFlavorOutput) ToGetCassandraFlavorsFlavorOutputWithContext(ctx context.Context) GetCassandraFlavorsFlavorOutput

func (GetCassandraFlavorsFlavorOutput) Vcpus

Specifies the count of vcpus of the flavors.

func (GetCassandraFlavorsFlavorOutput) Version

Specifies the engine version of the flavors.

type GetCassandraFlavorsOutputArgs

type GetCassandraFlavorsOutputArgs struct {
	// Specifies the memory size of the flavors.
	Memory pulumi.StringPtrInput `pulumi:"memory"`
	// The region in which to obtain the flavors. If omitted, the provider-level region will be
	// used.
	Region pulumi.StringPtrInput `pulumi:"region"`
	// Specifies the count of vcpus of the flavors.
	Vcpus pulumi.StringPtrInput `pulumi:"vcpus"`
	// Specifies the engine version of the flavors.
	Version pulumi.StringPtrInput `pulumi:"version"`
}

A collection of arguments for invoking getCassandraFlavors.

func (GetCassandraFlavorsOutputArgs) ElementType

type GetCassandraFlavorsResult

type GetCassandraFlavorsResult struct {
	// Indicates the flavors information. Structure is documented below.
	Flavors []GetCassandraFlavorsFlavor `pulumi:"flavors"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Indicates the memory size in GB.
	Memory *string `pulumi:"memory"`
	Region string  `pulumi:"region"`
	// Indicates the CPU size.
	Vcpus *string `pulumi:"vcpus"`
	// Indicates the database version.
	Version *string `pulumi:"version"`
}

A collection of values returned by getCassandraFlavors.

func GetCassandraFlavors

func GetCassandraFlavors(ctx *pulumi.Context, args *GetCassandraFlavorsArgs, opts ...pulumi.InvokeOption) (*GetCassandraFlavorsResult, error)

Use this data source to get available HuaweiCloud gaussdb cassandra flavors.

## Example Usage

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL"
"github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := GaussDBforNoSQL.GetCassandraFlavors(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetCassandraFlavorsResultOutput

type GetCassandraFlavorsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCassandraFlavors.

func (GetCassandraFlavorsResultOutput) ElementType

func (GetCassandraFlavorsResultOutput) Flavors

Indicates the flavors information. Structure is documented below.

func (GetCassandraFlavorsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetCassandraFlavorsResultOutput) Memory

Indicates the memory size in GB.

func (GetCassandraFlavorsResultOutput) Region

func (GetCassandraFlavorsResultOutput) ToGetCassandraFlavorsResultOutput

func (o GetCassandraFlavorsResultOutput) ToGetCassandraFlavorsResultOutput() GetCassandraFlavorsResultOutput

func (GetCassandraFlavorsResultOutput) ToGetCassandraFlavorsResultOutputWithContext

func (o GetCassandraFlavorsResultOutput) ToGetCassandraFlavorsResultOutputWithContext(ctx context.Context) GetCassandraFlavorsResultOutput

func (GetCassandraFlavorsResultOutput) Vcpus

Indicates the CPU size.

func (GetCassandraFlavorsResultOutput) Version

Indicates the database version.

type GetCassandraInstanceBackupStrategy

type GetCassandraInstanceBackupStrategy struct {
	// Indicates the number of days to retain the generated
	KeepDays int `pulumi:"keepDays"`
	// Indicates the backup time window.
	StartTime string `pulumi:"startTime"`
}

type GetCassandraInstanceBackupStrategyArgs

type GetCassandraInstanceBackupStrategyArgs struct {
	// Indicates the number of days to retain the generated
	KeepDays pulumi.IntInput `pulumi:"keepDays"`
	// Indicates the backup time window.
	StartTime pulumi.StringInput `pulumi:"startTime"`
}

func (GetCassandraInstanceBackupStrategyArgs) ElementType

func (GetCassandraInstanceBackupStrategyArgs) ToGetCassandraInstanceBackupStrategyOutput

func (i GetCassandraInstanceBackupStrategyArgs) ToGetCassandraInstanceBackupStrategyOutput() GetCassandraInstanceBackupStrategyOutput

func (GetCassandraInstanceBackupStrategyArgs) ToGetCassandraInstanceBackupStrategyOutputWithContext

func (i GetCassandraInstanceBackupStrategyArgs) ToGetCassandraInstanceBackupStrategyOutputWithContext(ctx context.Context) GetCassandraInstanceBackupStrategyOutput

type GetCassandraInstanceBackupStrategyArray

type GetCassandraInstanceBackupStrategyArray []GetCassandraInstanceBackupStrategyInput

func (GetCassandraInstanceBackupStrategyArray) ElementType

func (GetCassandraInstanceBackupStrategyArray) ToGetCassandraInstanceBackupStrategyArrayOutput

func (i GetCassandraInstanceBackupStrategyArray) ToGetCassandraInstanceBackupStrategyArrayOutput() GetCassandraInstanceBackupStrategyArrayOutput

func (GetCassandraInstanceBackupStrategyArray) ToGetCassandraInstanceBackupStrategyArrayOutputWithContext

func (i GetCassandraInstanceBackupStrategyArray) ToGetCassandraInstanceBackupStrategyArrayOutputWithContext(ctx context.Context) GetCassandraInstanceBackupStrategyArrayOutput

type GetCassandraInstanceBackupStrategyArrayInput

type GetCassandraInstanceBackupStrategyArrayInput interface {
	pulumi.Input

	ToGetCassandraInstanceBackupStrategyArrayOutput() GetCassandraInstanceBackupStrategyArrayOutput
	ToGetCassandraInstanceBackupStrategyArrayOutputWithContext(context.Context) GetCassandraInstanceBackupStrategyArrayOutput
}

GetCassandraInstanceBackupStrategyArrayInput is an input type that accepts GetCassandraInstanceBackupStrategyArray and GetCassandraInstanceBackupStrategyArrayOutput values. You can construct a concrete instance of `GetCassandraInstanceBackupStrategyArrayInput` via:

GetCassandraInstanceBackupStrategyArray{ GetCassandraInstanceBackupStrategyArgs{...} }

type GetCassandraInstanceBackupStrategyArrayOutput

type GetCassandraInstanceBackupStrategyArrayOutput struct{ *pulumi.OutputState }

func (GetCassandraInstanceBackupStrategyArrayOutput) ElementType

func (GetCassandraInstanceBackupStrategyArrayOutput) Index

func (GetCassandraInstanceBackupStrategyArrayOutput) ToGetCassandraInstanceBackupStrategyArrayOutput

func (o GetCassandraInstanceBackupStrategyArrayOutput) ToGetCassandraInstanceBackupStrategyArrayOutput() GetCassandraInstanceBackupStrategyArrayOutput

func (GetCassandraInstanceBackupStrategyArrayOutput) ToGetCassandraInstanceBackupStrategyArrayOutputWithContext

func (o GetCassandraInstanceBackupStrategyArrayOutput) ToGetCassandraInstanceBackupStrategyArrayOutputWithContext(ctx context.Context) GetCassandraInstanceBackupStrategyArrayOutput

type GetCassandraInstanceBackupStrategyInput

type GetCassandraInstanceBackupStrategyInput interface {
	pulumi.Input

	ToGetCassandraInstanceBackupStrategyOutput() GetCassandraInstanceBackupStrategyOutput
	ToGetCassandraInstanceBackupStrategyOutputWithContext(context.Context) GetCassandraInstanceBackupStrategyOutput
}

GetCassandraInstanceBackupStrategyInput is an input type that accepts GetCassandraInstanceBackupStrategyArgs and GetCassandraInstanceBackupStrategyOutput values. You can construct a concrete instance of `GetCassandraInstanceBackupStrategyInput` via:

GetCassandraInstanceBackupStrategyArgs{...}

type GetCassandraInstanceBackupStrategyOutput

type GetCassandraInstanceBackupStrategyOutput struct{ *pulumi.OutputState }

func (GetCassandraInstanceBackupStrategyOutput) ElementType

func (GetCassandraInstanceBackupStrategyOutput) KeepDays

Indicates the number of days to retain the generated

func (GetCassandraInstanceBackupStrategyOutput) StartTime

Indicates the backup time window.

func (GetCassandraInstanceBackupStrategyOutput) ToGetCassandraInstanceBackupStrategyOutput

func (o GetCassandraInstanceBackupStrategyOutput) ToGetCassandraInstanceBackupStrategyOutput() GetCassandraInstanceBackupStrategyOutput

func (GetCassandraInstanceBackupStrategyOutput) ToGetCassandraInstanceBackupStrategyOutputWithContext

func (o GetCassandraInstanceBackupStrategyOutput) ToGetCassandraInstanceBackupStrategyOutputWithContext(ctx context.Context) GetCassandraInstanceBackupStrategyOutput

type GetCassandraInstanceDatastore

type GetCassandraInstanceDatastore struct {
	// Indicates the database engine.
	Engine string `pulumi:"engine"`
	// Indicates the database storage engine.
	StorageEngine string `pulumi:"storageEngine"`
	// Indicates the database version.
	Version string `pulumi:"version"`
}

type GetCassandraInstanceDatastoreArgs

type GetCassandraInstanceDatastoreArgs struct {
	// Indicates the database engine.
	Engine pulumi.StringInput `pulumi:"engine"`
	// Indicates the database storage engine.
	StorageEngine pulumi.StringInput `pulumi:"storageEngine"`
	// Indicates the database version.
	Version pulumi.StringInput `pulumi:"version"`
}

func (GetCassandraInstanceDatastoreArgs) ElementType

func (GetCassandraInstanceDatastoreArgs) ToGetCassandraInstanceDatastoreOutput

func (i GetCassandraInstanceDatastoreArgs) ToGetCassandraInstanceDatastoreOutput() GetCassandraInstanceDatastoreOutput

func (GetCassandraInstanceDatastoreArgs) ToGetCassandraInstanceDatastoreOutputWithContext

func (i GetCassandraInstanceDatastoreArgs) ToGetCassandraInstanceDatastoreOutputWithContext(ctx context.Context) GetCassandraInstanceDatastoreOutput

type GetCassandraInstanceDatastoreArray

type GetCassandraInstanceDatastoreArray []GetCassandraInstanceDatastoreInput

func (GetCassandraInstanceDatastoreArray) ElementType

func (GetCassandraInstanceDatastoreArray) ToGetCassandraInstanceDatastoreArrayOutput

func (i GetCassandraInstanceDatastoreArray) ToGetCassandraInstanceDatastoreArrayOutput() GetCassandraInstanceDatastoreArrayOutput

func (GetCassandraInstanceDatastoreArray) ToGetCassandraInstanceDatastoreArrayOutputWithContext

func (i GetCassandraInstanceDatastoreArray) ToGetCassandraInstanceDatastoreArrayOutputWithContext(ctx context.Context) GetCassandraInstanceDatastoreArrayOutput

type GetCassandraInstanceDatastoreArrayInput

type GetCassandraInstanceDatastoreArrayInput interface {
	pulumi.Input

	ToGetCassandraInstanceDatastoreArrayOutput() GetCassandraInstanceDatastoreArrayOutput
	ToGetCassandraInstanceDatastoreArrayOutputWithContext(context.Context) GetCassandraInstanceDatastoreArrayOutput
}

GetCassandraInstanceDatastoreArrayInput is an input type that accepts GetCassandraInstanceDatastoreArray and GetCassandraInstanceDatastoreArrayOutput values. You can construct a concrete instance of `GetCassandraInstanceDatastoreArrayInput` via:

GetCassandraInstanceDatastoreArray{ GetCassandraInstanceDatastoreArgs{...} }

type GetCassandraInstanceDatastoreArrayOutput

type GetCassandraInstanceDatastoreArrayOutput struct{ *pulumi.OutputState }

func (GetCassandraInstanceDatastoreArrayOutput) ElementType

func (GetCassandraInstanceDatastoreArrayOutput) Index

func (GetCassandraInstanceDatastoreArrayOutput) ToGetCassandraInstanceDatastoreArrayOutput

func (o GetCassandraInstanceDatastoreArrayOutput) ToGetCassandraInstanceDatastoreArrayOutput() GetCassandraInstanceDatastoreArrayOutput

func (GetCassandraInstanceDatastoreArrayOutput) ToGetCassandraInstanceDatastoreArrayOutputWithContext

func (o GetCassandraInstanceDatastoreArrayOutput) ToGetCassandraInstanceDatastoreArrayOutputWithContext(ctx context.Context) GetCassandraInstanceDatastoreArrayOutput

type GetCassandraInstanceDatastoreInput

type GetCassandraInstanceDatastoreInput interface {
	pulumi.Input

	ToGetCassandraInstanceDatastoreOutput() GetCassandraInstanceDatastoreOutput
	ToGetCassandraInstanceDatastoreOutputWithContext(context.Context) GetCassandraInstanceDatastoreOutput
}

GetCassandraInstanceDatastoreInput is an input type that accepts GetCassandraInstanceDatastoreArgs and GetCassandraInstanceDatastoreOutput values. You can construct a concrete instance of `GetCassandraInstanceDatastoreInput` via:

GetCassandraInstanceDatastoreArgs{...}

type GetCassandraInstanceDatastoreOutput

type GetCassandraInstanceDatastoreOutput struct{ *pulumi.OutputState }

func (GetCassandraInstanceDatastoreOutput) ElementType

func (GetCassandraInstanceDatastoreOutput) Engine

Indicates the database engine.

func (GetCassandraInstanceDatastoreOutput) StorageEngine

Indicates the database storage engine.

func (GetCassandraInstanceDatastoreOutput) ToGetCassandraInstanceDatastoreOutput

func (o GetCassandraInstanceDatastoreOutput) ToGetCassandraInstanceDatastoreOutput() GetCassandraInstanceDatastoreOutput

func (GetCassandraInstanceDatastoreOutput) ToGetCassandraInstanceDatastoreOutputWithContext

func (o GetCassandraInstanceDatastoreOutput) ToGetCassandraInstanceDatastoreOutputWithContext(ctx context.Context) GetCassandraInstanceDatastoreOutput

func (GetCassandraInstanceDatastoreOutput) Version

Indicates the database version.

type GetCassandraInstanceNode

type GetCassandraInstanceNode struct {
	// Indicates the availability zone where the node resides.
	AvailabilityZone string `pulumi:"availabilityZone"`
	// Indicates the node ID.
	Id string `pulumi:"id"`
	// Specifies the name of the instance.
	Name string `pulumi:"name"`
	// Indicates the private IP address of a node.
	PrivateIp string `pulumi:"privateIp"`
	// Indicates the node status.
	Status string `pulumi:"status"`
	// Indicates whether the node support reduce.
	SupportReduce bool `pulumi:"supportReduce"`
}

type GetCassandraInstanceNodeArgs

type GetCassandraInstanceNodeArgs struct {
	// Indicates the availability zone where the node resides.
	AvailabilityZone pulumi.StringInput `pulumi:"availabilityZone"`
	// Indicates the node ID.
	Id pulumi.StringInput `pulumi:"id"`
	// Specifies the name of the instance.
	Name pulumi.StringInput `pulumi:"name"`
	// Indicates the private IP address of a node.
	PrivateIp pulumi.StringInput `pulumi:"privateIp"`
	// Indicates the node status.
	Status pulumi.StringInput `pulumi:"status"`
	// Indicates whether the node support reduce.
	SupportReduce pulumi.BoolInput `pulumi:"supportReduce"`
}

func (GetCassandraInstanceNodeArgs) ElementType

func (GetCassandraInstanceNodeArgs) ToGetCassandraInstanceNodeOutput

func (i GetCassandraInstanceNodeArgs) ToGetCassandraInstanceNodeOutput() GetCassandraInstanceNodeOutput

func (GetCassandraInstanceNodeArgs) ToGetCassandraInstanceNodeOutputWithContext

func (i GetCassandraInstanceNodeArgs) ToGetCassandraInstanceNodeOutputWithContext(ctx context.Context) GetCassandraInstanceNodeOutput

type GetCassandraInstanceNodeArray

type GetCassandraInstanceNodeArray []GetCassandraInstanceNodeInput

func (GetCassandraInstanceNodeArray) ElementType

func (GetCassandraInstanceNodeArray) ToGetCassandraInstanceNodeArrayOutput

func (i GetCassandraInstanceNodeArray) ToGetCassandraInstanceNodeArrayOutput() GetCassandraInstanceNodeArrayOutput

func (GetCassandraInstanceNodeArray) ToGetCassandraInstanceNodeArrayOutputWithContext

func (i GetCassandraInstanceNodeArray) ToGetCassandraInstanceNodeArrayOutputWithContext(ctx context.Context) GetCassandraInstanceNodeArrayOutput

type GetCassandraInstanceNodeArrayInput

type GetCassandraInstanceNodeArrayInput interface {
	pulumi.Input

	ToGetCassandraInstanceNodeArrayOutput() GetCassandraInstanceNodeArrayOutput
	ToGetCassandraInstanceNodeArrayOutputWithContext(context.Context) GetCassandraInstanceNodeArrayOutput
}

GetCassandraInstanceNodeArrayInput is an input type that accepts GetCassandraInstanceNodeArray and GetCassandraInstanceNodeArrayOutput values. You can construct a concrete instance of `GetCassandraInstanceNodeArrayInput` via:

GetCassandraInstanceNodeArray{ GetCassandraInstanceNodeArgs{...} }

type GetCassandraInstanceNodeArrayOutput

type GetCassandraInstanceNodeArrayOutput struct{ *pulumi.OutputState }

func (GetCassandraInstanceNodeArrayOutput) ElementType

func (GetCassandraInstanceNodeArrayOutput) Index

func (GetCassandraInstanceNodeArrayOutput) ToGetCassandraInstanceNodeArrayOutput

func (o GetCassandraInstanceNodeArrayOutput) ToGetCassandraInstanceNodeArrayOutput() GetCassandraInstanceNodeArrayOutput

func (GetCassandraInstanceNodeArrayOutput) ToGetCassandraInstanceNodeArrayOutputWithContext

func (o GetCassandraInstanceNodeArrayOutput) ToGetCassandraInstanceNodeArrayOutputWithContext(ctx context.Context) GetCassandraInstanceNodeArrayOutput

type GetCassandraInstanceNodeInput

type GetCassandraInstanceNodeInput interface {
	pulumi.Input

	ToGetCassandraInstanceNodeOutput() GetCassandraInstanceNodeOutput
	ToGetCassandraInstanceNodeOutputWithContext(context.Context) GetCassandraInstanceNodeOutput
}

GetCassandraInstanceNodeInput is an input type that accepts GetCassandraInstanceNodeArgs and GetCassandraInstanceNodeOutput values. You can construct a concrete instance of `GetCassandraInstanceNodeInput` via:

GetCassandraInstanceNodeArgs{...}

type GetCassandraInstanceNodeOutput

type GetCassandraInstanceNodeOutput struct{ *pulumi.OutputState }

func (GetCassandraInstanceNodeOutput) AvailabilityZone

func (o GetCassandraInstanceNodeOutput) AvailabilityZone() pulumi.StringOutput

Indicates the availability zone where the node resides.

func (GetCassandraInstanceNodeOutput) ElementType

func (GetCassandraInstanceNodeOutput) Id

Indicates the node ID.

func (GetCassandraInstanceNodeOutput) Name

Specifies the name of the instance.

func (GetCassandraInstanceNodeOutput) PrivateIp

Indicates the private IP address of a node.

func (GetCassandraInstanceNodeOutput) Status

Indicates the node status.

func (GetCassandraInstanceNodeOutput) SupportReduce

Indicates whether the node support reduce.

func (GetCassandraInstanceNodeOutput) ToGetCassandraInstanceNodeOutput

func (o GetCassandraInstanceNodeOutput) ToGetCassandraInstanceNodeOutput() GetCassandraInstanceNodeOutput

func (GetCassandraInstanceNodeOutput) ToGetCassandraInstanceNodeOutputWithContext

func (o GetCassandraInstanceNodeOutput) ToGetCassandraInstanceNodeOutputWithContext(ctx context.Context) GetCassandraInstanceNodeOutput

type GetCassandraInstancesArgs

type GetCassandraInstancesArgs struct {
	// Specifies the name of the instance.
	Name *string `pulumi:"name"`
	// The region in which to obtain the instance. If omitted, the provider-level region will
	// be used.
	Region *string `pulumi:"region"`
	// Specifies the network ID of a subnet.
	SubnetId *string `pulumi:"subnetId"`
	// Specifies the VPC ID.
	VpcId *string `pulumi:"vpcId"`
}

A collection of arguments for invoking getCassandraInstances.

type GetCassandraInstancesInstance

type GetCassandraInstancesInstance struct {
	// Indicates the availability zone where the node resides.
	AvailabilityZone string `pulumi:"availabilityZone"`
	// Indicates the advanced backup policy. Structure is documented below.
	BackupStrategies []GetCassandraInstancesInstanceBackupStrategy `pulumi:"backupStrategies"`
	// Indicates the database information. Structure is documented below.
	Datastores []GetCassandraInstancesInstanceDatastore `pulumi:"datastores"`
	// Indicates the default username.
	DbUserName string `pulumi:"dbUserName"`
	// Indicates the enterprise project id.
	EnterpriseProjectId string `pulumi:"enterpriseProjectId"`
	// Indicates the instance specifications.
	Flavor string `pulumi:"flavor"`
	// Indicates the node ID.
	Id string `pulumi:"id"`
	// Indicates the instance mode.
	Mode string `pulumi:"mode"`
	// Specifies the name of the instance.
	Name string `pulumi:"name"`
	// Indicates the count of the nodes.
	NodeNum int `pulumi:"nodeNum"`
	// Indicates the instance nodes information. Structure is documented below.
	Nodes []GetCassandraInstancesInstanceNode `pulumi:"nodes"`
	// Indicates the database port.
	Port int `pulumi:"port"`
	// Indicates the list of private IP address of the nodes.
	PrivateIps []string `pulumi:"privateIps"`
	// The region in which to obtain the instance. If omitted, the provider-level region will
	// be used.
	Region string `pulumi:"region"`
	// Indicates the security group ID.
	SecurityGroupId string `pulumi:"securityGroupId"`
	// Indicates the node status.
	Status string `pulumi:"status"`
	// Specifies the network ID of a subnet.
	SubnetId string `pulumi:"subnetId"`
	// Indicates the key/value tags of the instance.
	Tags map[string]string `pulumi:"tags"`
	// Indicates the size of the volume.
	VolumeSize int `pulumi:"volumeSize"`
	// Specifies the VPC ID.
	VpcId string `pulumi:"vpcId"`
}

type GetCassandraInstancesInstanceArgs

type GetCassandraInstancesInstanceArgs struct {
	// Indicates the availability zone where the node resides.
	AvailabilityZone pulumi.StringInput `pulumi:"availabilityZone"`
	// Indicates the advanced backup policy. Structure is documented below.
	BackupStrategies GetCassandraInstancesInstanceBackupStrategyArrayInput `pulumi:"backupStrategies"`
	// Indicates the database information. Structure is documented below.
	Datastores GetCassandraInstancesInstanceDatastoreArrayInput `pulumi:"datastores"`
	// Indicates the default username.
	DbUserName pulumi.StringInput `pulumi:"dbUserName"`
	// Indicates the enterprise project id.
	EnterpriseProjectId pulumi.StringInput `pulumi:"enterpriseProjectId"`
	// Indicates the instance specifications.
	Flavor pulumi.StringInput `pulumi:"flavor"`
	// Indicates the node ID.
	Id pulumi.StringInput `pulumi:"id"`
	// Indicates the instance mode.
	Mode pulumi.StringInput `pulumi:"mode"`
	// Specifies the name of the instance.
	Name pulumi.StringInput `pulumi:"name"`
	// Indicates the count of the nodes.
	NodeNum pulumi.IntInput `pulumi:"nodeNum"`
	// Indicates the instance nodes information. Structure is documented below.
	Nodes GetCassandraInstancesInstanceNodeArrayInput `pulumi:"nodes"`
	// Indicates the database port.
	Port pulumi.IntInput `pulumi:"port"`
	// Indicates the list of private IP address of the nodes.
	PrivateIps pulumi.StringArrayInput `pulumi:"privateIps"`
	// The region in which to obtain the instance. If omitted, the provider-level region will
	// be used.
	Region pulumi.StringInput `pulumi:"region"`
	// Indicates the security group ID.
	SecurityGroupId pulumi.StringInput `pulumi:"securityGroupId"`
	// Indicates the node status.
	Status pulumi.StringInput `pulumi:"status"`
	// Specifies the network ID of a subnet.
	SubnetId pulumi.StringInput `pulumi:"subnetId"`
	// Indicates the key/value tags of the instance.
	Tags pulumi.StringMapInput `pulumi:"tags"`
	// Indicates the size of the volume.
	VolumeSize pulumi.IntInput `pulumi:"volumeSize"`
	// Specifies the VPC ID.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
}

func (GetCassandraInstancesInstanceArgs) ElementType

func (GetCassandraInstancesInstanceArgs) ToGetCassandraInstancesInstanceOutput

func (i GetCassandraInstancesInstanceArgs) ToGetCassandraInstancesInstanceOutput() GetCassandraInstancesInstanceOutput

func (GetCassandraInstancesInstanceArgs) ToGetCassandraInstancesInstanceOutputWithContext

func (i GetCassandraInstancesInstanceArgs) ToGetCassandraInstancesInstanceOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceOutput

type GetCassandraInstancesInstanceArray

type GetCassandraInstancesInstanceArray []GetCassandraInstancesInstanceInput

func (GetCassandraInstancesInstanceArray) ElementType

func (GetCassandraInstancesInstanceArray) ToGetCassandraInstancesInstanceArrayOutput

func (i GetCassandraInstancesInstanceArray) ToGetCassandraInstancesInstanceArrayOutput() GetCassandraInstancesInstanceArrayOutput

func (GetCassandraInstancesInstanceArray) ToGetCassandraInstancesInstanceArrayOutputWithContext

func (i GetCassandraInstancesInstanceArray) ToGetCassandraInstancesInstanceArrayOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceArrayOutput

type GetCassandraInstancesInstanceArrayInput

type GetCassandraInstancesInstanceArrayInput interface {
	pulumi.Input

	ToGetCassandraInstancesInstanceArrayOutput() GetCassandraInstancesInstanceArrayOutput
	ToGetCassandraInstancesInstanceArrayOutputWithContext(context.Context) GetCassandraInstancesInstanceArrayOutput
}

GetCassandraInstancesInstanceArrayInput is an input type that accepts GetCassandraInstancesInstanceArray and GetCassandraInstancesInstanceArrayOutput values. You can construct a concrete instance of `GetCassandraInstancesInstanceArrayInput` via:

GetCassandraInstancesInstanceArray{ GetCassandraInstancesInstanceArgs{...} }

type GetCassandraInstancesInstanceArrayOutput

type GetCassandraInstancesInstanceArrayOutput struct{ *pulumi.OutputState }

func (GetCassandraInstancesInstanceArrayOutput) ElementType

func (GetCassandraInstancesInstanceArrayOutput) Index

func (GetCassandraInstancesInstanceArrayOutput) ToGetCassandraInstancesInstanceArrayOutput

func (o GetCassandraInstancesInstanceArrayOutput) ToGetCassandraInstancesInstanceArrayOutput() GetCassandraInstancesInstanceArrayOutput

func (GetCassandraInstancesInstanceArrayOutput) ToGetCassandraInstancesInstanceArrayOutputWithContext

func (o GetCassandraInstancesInstanceArrayOutput) ToGetCassandraInstancesInstanceArrayOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceArrayOutput

type GetCassandraInstancesInstanceBackupStrategy

type GetCassandraInstancesInstanceBackupStrategy struct {
	// Indicates the number of days to retain the generated
	KeepDays int `pulumi:"keepDays"`
	// Indicates the backup time window.
	StartTime string `pulumi:"startTime"`
}

type GetCassandraInstancesInstanceBackupStrategyArgs

type GetCassandraInstancesInstanceBackupStrategyArgs struct {
	// Indicates the number of days to retain the generated
	KeepDays pulumi.IntInput `pulumi:"keepDays"`
	// Indicates the backup time window.
	StartTime pulumi.StringInput `pulumi:"startTime"`
}

func (GetCassandraInstancesInstanceBackupStrategyArgs) ElementType

func (GetCassandraInstancesInstanceBackupStrategyArgs) ToGetCassandraInstancesInstanceBackupStrategyOutput

func (i GetCassandraInstancesInstanceBackupStrategyArgs) ToGetCassandraInstancesInstanceBackupStrategyOutput() GetCassandraInstancesInstanceBackupStrategyOutput

func (GetCassandraInstancesInstanceBackupStrategyArgs) ToGetCassandraInstancesInstanceBackupStrategyOutputWithContext

func (i GetCassandraInstancesInstanceBackupStrategyArgs) ToGetCassandraInstancesInstanceBackupStrategyOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceBackupStrategyOutput

type GetCassandraInstancesInstanceBackupStrategyArray

type GetCassandraInstancesInstanceBackupStrategyArray []GetCassandraInstancesInstanceBackupStrategyInput

func (GetCassandraInstancesInstanceBackupStrategyArray) ElementType

func (GetCassandraInstancesInstanceBackupStrategyArray) ToGetCassandraInstancesInstanceBackupStrategyArrayOutput

func (i GetCassandraInstancesInstanceBackupStrategyArray) ToGetCassandraInstancesInstanceBackupStrategyArrayOutput() GetCassandraInstancesInstanceBackupStrategyArrayOutput

func (GetCassandraInstancesInstanceBackupStrategyArray) ToGetCassandraInstancesInstanceBackupStrategyArrayOutputWithContext

func (i GetCassandraInstancesInstanceBackupStrategyArray) ToGetCassandraInstancesInstanceBackupStrategyArrayOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceBackupStrategyArrayOutput

type GetCassandraInstancesInstanceBackupStrategyArrayInput

type GetCassandraInstancesInstanceBackupStrategyArrayInput interface {
	pulumi.Input

	ToGetCassandraInstancesInstanceBackupStrategyArrayOutput() GetCassandraInstancesInstanceBackupStrategyArrayOutput
	ToGetCassandraInstancesInstanceBackupStrategyArrayOutputWithContext(context.Context) GetCassandraInstancesInstanceBackupStrategyArrayOutput
}

GetCassandraInstancesInstanceBackupStrategyArrayInput is an input type that accepts GetCassandraInstancesInstanceBackupStrategyArray and GetCassandraInstancesInstanceBackupStrategyArrayOutput values. You can construct a concrete instance of `GetCassandraInstancesInstanceBackupStrategyArrayInput` via:

GetCassandraInstancesInstanceBackupStrategyArray{ GetCassandraInstancesInstanceBackupStrategyArgs{...} }

type GetCassandraInstancesInstanceBackupStrategyArrayOutput

type GetCassandraInstancesInstanceBackupStrategyArrayOutput struct{ *pulumi.OutputState }

func (GetCassandraInstancesInstanceBackupStrategyArrayOutput) ElementType

func (GetCassandraInstancesInstanceBackupStrategyArrayOutput) Index

func (GetCassandraInstancesInstanceBackupStrategyArrayOutput) ToGetCassandraInstancesInstanceBackupStrategyArrayOutput

func (GetCassandraInstancesInstanceBackupStrategyArrayOutput) ToGetCassandraInstancesInstanceBackupStrategyArrayOutputWithContext

func (o GetCassandraInstancesInstanceBackupStrategyArrayOutput) ToGetCassandraInstancesInstanceBackupStrategyArrayOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceBackupStrategyArrayOutput

type GetCassandraInstancesInstanceBackupStrategyInput

type GetCassandraInstancesInstanceBackupStrategyInput interface {
	pulumi.Input

	ToGetCassandraInstancesInstanceBackupStrategyOutput() GetCassandraInstancesInstanceBackupStrategyOutput
	ToGetCassandraInstancesInstanceBackupStrategyOutputWithContext(context.Context) GetCassandraInstancesInstanceBackupStrategyOutput
}

GetCassandraInstancesInstanceBackupStrategyInput is an input type that accepts GetCassandraInstancesInstanceBackupStrategyArgs and GetCassandraInstancesInstanceBackupStrategyOutput values. You can construct a concrete instance of `GetCassandraInstancesInstanceBackupStrategyInput` via:

GetCassandraInstancesInstanceBackupStrategyArgs{...}

type GetCassandraInstancesInstanceBackupStrategyOutput

type GetCassandraInstancesInstanceBackupStrategyOutput struct{ *pulumi.OutputState }

func (GetCassandraInstancesInstanceBackupStrategyOutput) ElementType

func (GetCassandraInstancesInstanceBackupStrategyOutput) KeepDays

Indicates the number of days to retain the generated

func (GetCassandraInstancesInstanceBackupStrategyOutput) StartTime

Indicates the backup time window.

func (GetCassandraInstancesInstanceBackupStrategyOutput) ToGetCassandraInstancesInstanceBackupStrategyOutput

func (o GetCassandraInstancesInstanceBackupStrategyOutput) ToGetCassandraInstancesInstanceBackupStrategyOutput() GetCassandraInstancesInstanceBackupStrategyOutput

func (GetCassandraInstancesInstanceBackupStrategyOutput) ToGetCassandraInstancesInstanceBackupStrategyOutputWithContext

func (o GetCassandraInstancesInstanceBackupStrategyOutput) ToGetCassandraInstancesInstanceBackupStrategyOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceBackupStrategyOutput

type GetCassandraInstancesInstanceDatastore

type GetCassandraInstancesInstanceDatastore struct {
	// Indicates the database engine.
	Engine string `pulumi:"engine"`
	// Indicates the database storage engine.
	StorageEngine string `pulumi:"storageEngine"`
	// Indicates the database version.
	Version string `pulumi:"version"`
}

type GetCassandraInstancesInstanceDatastoreArgs

type GetCassandraInstancesInstanceDatastoreArgs struct {
	// Indicates the database engine.
	Engine pulumi.StringInput `pulumi:"engine"`
	// Indicates the database storage engine.
	StorageEngine pulumi.StringInput `pulumi:"storageEngine"`
	// Indicates the database version.
	Version pulumi.StringInput `pulumi:"version"`
}

func (GetCassandraInstancesInstanceDatastoreArgs) ElementType

func (GetCassandraInstancesInstanceDatastoreArgs) ToGetCassandraInstancesInstanceDatastoreOutput

func (i GetCassandraInstancesInstanceDatastoreArgs) ToGetCassandraInstancesInstanceDatastoreOutput() GetCassandraInstancesInstanceDatastoreOutput

func (GetCassandraInstancesInstanceDatastoreArgs) ToGetCassandraInstancesInstanceDatastoreOutputWithContext

func (i GetCassandraInstancesInstanceDatastoreArgs) ToGetCassandraInstancesInstanceDatastoreOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceDatastoreOutput

type GetCassandraInstancesInstanceDatastoreArray

type GetCassandraInstancesInstanceDatastoreArray []GetCassandraInstancesInstanceDatastoreInput

func (GetCassandraInstancesInstanceDatastoreArray) ElementType

func (GetCassandraInstancesInstanceDatastoreArray) ToGetCassandraInstancesInstanceDatastoreArrayOutput

func (i GetCassandraInstancesInstanceDatastoreArray) ToGetCassandraInstancesInstanceDatastoreArrayOutput() GetCassandraInstancesInstanceDatastoreArrayOutput

func (GetCassandraInstancesInstanceDatastoreArray) ToGetCassandraInstancesInstanceDatastoreArrayOutputWithContext

func (i GetCassandraInstancesInstanceDatastoreArray) ToGetCassandraInstancesInstanceDatastoreArrayOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceDatastoreArrayOutput

type GetCassandraInstancesInstanceDatastoreArrayInput

type GetCassandraInstancesInstanceDatastoreArrayInput interface {
	pulumi.Input

	ToGetCassandraInstancesInstanceDatastoreArrayOutput() GetCassandraInstancesInstanceDatastoreArrayOutput
	ToGetCassandraInstancesInstanceDatastoreArrayOutputWithContext(context.Context) GetCassandraInstancesInstanceDatastoreArrayOutput
}

GetCassandraInstancesInstanceDatastoreArrayInput is an input type that accepts GetCassandraInstancesInstanceDatastoreArray and GetCassandraInstancesInstanceDatastoreArrayOutput values. You can construct a concrete instance of `GetCassandraInstancesInstanceDatastoreArrayInput` via:

GetCassandraInstancesInstanceDatastoreArray{ GetCassandraInstancesInstanceDatastoreArgs{...} }

type GetCassandraInstancesInstanceDatastoreArrayOutput

type GetCassandraInstancesInstanceDatastoreArrayOutput struct{ *pulumi.OutputState }

func (GetCassandraInstancesInstanceDatastoreArrayOutput) ElementType

func (GetCassandraInstancesInstanceDatastoreArrayOutput) Index

func (GetCassandraInstancesInstanceDatastoreArrayOutput) ToGetCassandraInstancesInstanceDatastoreArrayOutput

func (o GetCassandraInstancesInstanceDatastoreArrayOutput) ToGetCassandraInstancesInstanceDatastoreArrayOutput() GetCassandraInstancesInstanceDatastoreArrayOutput

func (GetCassandraInstancesInstanceDatastoreArrayOutput) ToGetCassandraInstancesInstanceDatastoreArrayOutputWithContext

func (o GetCassandraInstancesInstanceDatastoreArrayOutput) ToGetCassandraInstancesInstanceDatastoreArrayOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceDatastoreArrayOutput

type GetCassandraInstancesInstanceDatastoreInput

type GetCassandraInstancesInstanceDatastoreInput interface {
	pulumi.Input

	ToGetCassandraInstancesInstanceDatastoreOutput() GetCassandraInstancesInstanceDatastoreOutput
	ToGetCassandraInstancesInstanceDatastoreOutputWithContext(context.Context) GetCassandraInstancesInstanceDatastoreOutput
}

GetCassandraInstancesInstanceDatastoreInput is an input type that accepts GetCassandraInstancesInstanceDatastoreArgs and GetCassandraInstancesInstanceDatastoreOutput values. You can construct a concrete instance of `GetCassandraInstancesInstanceDatastoreInput` via:

GetCassandraInstancesInstanceDatastoreArgs{...}

type GetCassandraInstancesInstanceDatastoreOutput

type GetCassandraInstancesInstanceDatastoreOutput struct{ *pulumi.OutputState }

func (GetCassandraInstancesInstanceDatastoreOutput) ElementType

func (GetCassandraInstancesInstanceDatastoreOutput) Engine

Indicates the database engine.

func (GetCassandraInstancesInstanceDatastoreOutput) StorageEngine

Indicates the database storage engine.

func (GetCassandraInstancesInstanceDatastoreOutput) ToGetCassandraInstancesInstanceDatastoreOutput

func (o GetCassandraInstancesInstanceDatastoreOutput) ToGetCassandraInstancesInstanceDatastoreOutput() GetCassandraInstancesInstanceDatastoreOutput

func (GetCassandraInstancesInstanceDatastoreOutput) ToGetCassandraInstancesInstanceDatastoreOutputWithContext

func (o GetCassandraInstancesInstanceDatastoreOutput) ToGetCassandraInstancesInstanceDatastoreOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceDatastoreOutput

func (GetCassandraInstancesInstanceDatastoreOutput) Version

Indicates the database version.

type GetCassandraInstancesInstanceInput

type GetCassandraInstancesInstanceInput interface {
	pulumi.Input

	ToGetCassandraInstancesInstanceOutput() GetCassandraInstancesInstanceOutput
	ToGetCassandraInstancesInstanceOutputWithContext(context.Context) GetCassandraInstancesInstanceOutput
}

GetCassandraInstancesInstanceInput is an input type that accepts GetCassandraInstancesInstanceArgs and GetCassandraInstancesInstanceOutput values. You can construct a concrete instance of `GetCassandraInstancesInstanceInput` via:

GetCassandraInstancesInstanceArgs{...}

type GetCassandraInstancesInstanceNode

type GetCassandraInstancesInstanceNode struct {
	// Indicates the availability zone where the node resides.
	AvailabilityZone string `pulumi:"availabilityZone"`
	// Indicates the node ID.
	Id string `pulumi:"id"`
	// Specifies the name of the instance.
	Name string `pulumi:"name"`
	// Indicates the private IP address of a node.
	PrivateIp string `pulumi:"privateIp"`
	// Indicates the node status.
	Status string `pulumi:"status"`
	// Indicates whether the node support reduce.
	SupportReduce bool `pulumi:"supportReduce"`
}

type GetCassandraInstancesInstanceNodeArgs

type GetCassandraInstancesInstanceNodeArgs struct {
	// Indicates the availability zone where the node resides.
	AvailabilityZone pulumi.StringInput `pulumi:"availabilityZone"`
	// Indicates the node ID.
	Id pulumi.StringInput `pulumi:"id"`
	// Specifies the name of the instance.
	Name pulumi.StringInput `pulumi:"name"`
	// Indicates the private IP address of a node.
	PrivateIp pulumi.StringInput `pulumi:"privateIp"`
	// Indicates the node status.
	Status pulumi.StringInput `pulumi:"status"`
	// Indicates whether the node support reduce.
	SupportReduce pulumi.BoolInput `pulumi:"supportReduce"`
}

func (GetCassandraInstancesInstanceNodeArgs) ElementType

func (GetCassandraInstancesInstanceNodeArgs) ToGetCassandraInstancesInstanceNodeOutput

func (i GetCassandraInstancesInstanceNodeArgs) ToGetCassandraInstancesInstanceNodeOutput() GetCassandraInstancesInstanceNodeOutput

func (GetCassandraInstancesInstanceNodeArgs) ToGetCassandraInstancesInstanceNodeOutputWithContext

func (i GetCassandraInstancesInstanceNodeArgs) ToGetCassandraInstancesInstanceNodeOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceNodeOutput

type GetCassandraInstancesInstanceNodeArray

type GetCassandraInstancesInstanceNodeArray []GetCassandraInstancesInstanceNodeInput

func (GetCassandraInstancesInstanceNodeArray) ElementType

func (GetCassandraInstancesInstanceNodeArray) ToGetCassandraInstancesInstanceNodeArrayOutput

func (i GetCassandraInstancesInstanceNodeArray) ToGetCassandraInstancesInstanceNodeArrayOutput() GetCassandraInstancesInstanceNodeArrayOutput

func (GetCassandraInstancesInstanceNodeArray) ToGetCassandraInstancesInstanceNodeArrayOutputWithContext

func (i GetCassandraInstancesInstanceNodeArray) ToGetCassandraInstancesInstanceNodeArrayOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceNodeArrayOutput

type GetCassandraInstancesInstanceNodeArrayInput

type GetCassandraInstancesInstanceNodeArrayInput interface {
	pulumi.Input

	ToGetCassandraInstancesInstanceNodeArrayOutput() GetCassandraInstancesInstanceNodeArrayOutput
	ToGetCassandraInstancesInstanceNodeArrayOutputWithContext(context.Context) GetCassandraInstancesInstanceNodeArrayOutput
}

GetCassandraInstancesInstanceNodeArrayInput is an input type that accepts GetCassandraInstancesInstanceNodeArray and GetCassandraInstancesInstanceNodeArrayOutput values. You can construct a concrete instance of `GetCassandraInstancesInstanceNodeArrayInput` via:

GetCassandraInstancesInstanceNodeArray{ GetCassandraInstancesInstanceNodeArgs{...} }

type GetCassandraInstancesInstanceNodeArrayOutput

type GetCassandraInstancesInstanceNodeArrayOutput struct{ *pulumi.OutputState }

func (GetCassandraInstancesInstanceNodeArrayOutput) ElementType

func (GetCassandraInstancesInstanceNodeArrayOutput) Index

func (GetCassandraInstancesInstanceNodeArrayOutput) ToGetCassandraInstancesInstanceNodeArrayOutput

func (o GetCassandraInstancesInstanceNodeArrayOutput) ToGetCassandraInstancesInstanceNodeArrayOutput() GetCassandraInstancesInstanceNodeArrayOutput

func (GetCassandraInstancesInstanceNodeArrayOutput) ToGetCassandraInstancesInstanceNodeArrayOutputWithContext

func (o GetCassandraInstancesInstanceNodeArrayOutput) ToGetCassandraInstancesInstanceNodeArrayOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceNodeArrayOutput

type GetCassandraInstancesInstanceNodeInput

type GetCassandraInstancesInstanceNodeInput interface {
	pulumi.Input

	ToGetCassandraInstancesInstanceNodeOutput() GetCassandraInstancesInstanceNodeOutput
	ToGetCassandraInstancesInstanceNodeOutputWithContext(context.Context) GetCassandraInstancesInstanceNodeOutput
}

GetCassandraInstancesInstanceNodeInput is an input type that accepts GetCassandraInstancesInstanceNodeArgs and GetCassandraInstancesInstanceNodeOutput values. You can construct a concrete instance of `GetCassandraInstancesInstanceNodeInput` via:

GetCassandraInstancesInstanceNodeArgs{...}

type GetCassandraInstancesInstanceNodeOutput

type GetCassandraInstancesInstanceNodeOutput struct{ *pulumi.OutputState }

func (GetCassandraInstancesInstanceNodeOutput) AvailabilityZone

Indicates the availability zone where the node resides.

func (GetCassandraInstancesInstanceNodeOutput) ElementType

func (GetCassandraInstancesInstanceNodeOutput) Id

Indicates the node ID.

func (GetCassandraInstancesInstanceNodeOutput) Name

Specifies the name of the instance.

func (GetCassandraInstancesInstanceNodeOutput) PrivateIp

Indicates the private IP address of a node.

func (GetCassandraInstancesInstanceNodeOutput) Status

Indicates the node status.

func (GetCassandraInstancesInstanceNodeOutput) SupportReduce

Indicates whether the node support reduce.

func (GetCassandraInstancesInstanceNodeOutput) ToGetCassandraInstancesInstanceNodeOutput

func (o GetCassandraInstancesInstanceNodeOutput) ToGetCassandraInstancesInstanceNodeOutput() GetCassandraInstancesInstanceNodeOutput

func (GetCassandraInstancesInstanceNodeOutput) ToGetCassandraInstancesInstanceNodeOutputWithContext

func (o GetCassandraInstancesInstanceNodeOutput) ToGetCassandraInstancesInstanceNodeOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceNodeOutput

type GetCassandraInstancesInstanceOutput

type GetCassandraInstancesInstanceOutput struct{ *pulumi.OutputState }

func (GetCassandraInstancesInstanceOutput) AvailabilityZone

Indicates the availability zone where the node resides.

func (GetCassandraInstancesInstanceOutput) BackupStrategies

Indicates the advanced backup policy. Structure is documented below.

func (GetCassandraInstancesInstanceOutput) Datastores

Indicates the database information. Structure is documented below.

func (GetCassandraInstancesInstanceOutput) DbUserName

Indicates the default username.

func (GetCassandraInstancesInstanceOutput) ElementType

func (GetCassandraInstancesInstanceOutput) EnterpriseProjectId

Indicates the enterprise project id.

func (GetCassandraInstancesInstanceOutput) Flavor

Indicates the instance specifications.

func (GetCassandraInstancesInstanceOutput) Id

Indicates the node ID.

func (GetCassandraInstancesInstanceOutput) Mode

Indicates the instance mode.

func (GetCassandraInstancesInstanceOutput) Name

Specifies the name of the instance.

func (GetCassandraInstancesInstanceOutput) NodeNum

Indicates the count of the nodes.

func (GetCassandraInstancesInstanceOutput) Nodes

Indicates the instance nodes information. Structure is documented below.

func (GetCassandraInstancesInstanceOutput) Port

Indicates the database port.

func (GetCassandraInstancesInstanceOutput) PrivateIps

Indicates the list of private IP address of the nodes.

func (GetCassandraInstancesInstanceOutput) Region

The region in which to obtain the instance. If omitted, the provider-level region will be used.

func (GetCassandraInstancesInstanceOutput) SecurityGroupId

Indicates the security group ID.

func (GetCassandraInstancesInstanceOutput) Status

Indicates the node status.

func (GetCassandraInstancesInstanceOutput) SubnetId

Specifies the network ID of a subnet.

func (GetCassandraInstancesInstanceOutput) Tags

Indicates the key/value tags of the instance.

func (GetCassandraInstancesInstanceOutput) ToGetCassandraInstancesInstanceOutput

func (o GetCassandraInstancesInstanceOutput) ToGetCassandraInstancesInstanceOutput() GetCassandraInstancesInstanceOutput

func (GetCassandraInstancesInstanceOutput) ToGetCassandraInstancesInstanceOutputWithContext

func (o GetCassandraInstancesInstanceOutput) ToGetCassandraInstancesInstanceOutputWithContext(ctx context.Context) GetCassandraInstancesInstanceOutput

func (GetCassandraInstancesInstanceOutput) VolumeSize

Indicates the size of the volume.

func (GetCassandraInstancesInstanceOutput) VpcId

Specifies the VPC ID.

type GetCassandraInstancesOutputArgs

type GetCassandraInstancesOutputArgs struct {
	// Specifies the name of the instance.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The region in which to obtain the instance. If omitted, the provider-level region will
	// be used.
	Region pulumi.StringPtrInput `pulumi:"region"`
	// Specifies the network ID of a subnet.
	SubnetId pulumi.StringPtrInput `pulumi:"subnetId"`
	// Specifies the VPC ID.
	VpcId pulumi.StringPtrInput `pulumi:"vpcId"`
}

A collection of arguments for invoking getCassandraInstances.

func (GetCassandraInstancesOutputArgs) ElementType

type GetCassandraInstancesResult

type GetCassandraInstancesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// An array of available instances.
	Instances []GetCassandraInstancesInstance `pulumi:"instances"`
	// Indicates the node name.
	Name *string `pulumi:"name"`
	// The region of the instance.
	Region string `pulumi:"region"`
	// Indicates the network ID of a subnet.
	SubnetId *string `pulumi:"subnetId"`
	// Indicates the VPC ID.
	VpcId *string `pulumi:"vpcId"`
}

A collection of values returned by getCassandraInstances.

func GetCassandraInstances

func GetCassandraInstances(ctx *pulumi.Context, args *GetCassandraInstancesArgs, opts ...pulumi.InvokeOption) (*GetCassandraInstancesResult, error)

Use this data source to get available HuaweiCloud gaussdb cassandra instances.

## Example Usage

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL"
"github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := GaussDBforNoSQL.GetCassandraInstances(ctx, &gaussdbfornosql.GetCassandraInstancesArgs{
			Name: pulumi.StringRef("gaussdb-instance"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetCassandraInstancesResultOutput

type GetCassandraInstancesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCassandraInstances.

func (GetCassandraInstancesResultOutput) ElementType

func (GetCassandraInstancesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetCassandraInstancesResultOutput) Instances

An array of available instances.

func (GetCassandraInstancesResultOutput) Name

Indicates the node name.

func (GetCassandraInstancesResultOutput) Region

The region of the instance.

func (GetCassandraInstancesResultOutput) SubnetId

Indicates the network ID of a subnet.

func (GetCassandraInstancesResultOutput) ToGetCassandraInstancesResultOutput

func (o GetCassandraInstancesResultOutput) ToGetCassandraInstancesResultOutput() GetCassandraInstancesResultOutput

func (GetCassandraInstancesResultOutput) ToGetCassandraInstancesResultOutputWithContext

func (o GetCassandraInstancesResultOutput) ToGetCassandraInstancesResultOutputWithContext(ctx context.Context) GetCassandraInstancesResultOutput

func (GetCassandraInstancesResultOutput) VpcId

Indicates the VPC ID.

type GetNosqlFlavorsArgs

type GetNosqlFlavorsArgs struct {
	// Specifies the availability zone (AZ) of the GaussDB specifications.
	AvailabilityZone *string `pulumi:"availabilityZone"`
	// Specifies the type of the database engine. The valid values are as follows:
	// + **cassandra**: The default value and means to query GaussDB (for Cassandra) instance specifications.
	// + **redis**: Means to query GaussDB (for Redis) instance specifications.
	// + **mongodb**: Means to query GaussDB (for Mongo) instance specifications.
	// + **influxdb**: Means to query GaussDB (for Influx) instance specifications.
	Engine *string `pulumi:"engine"`
	// Specifies the version of the database engine.
	EngineVersion *string `pulumi:"engineVersion"`
	// Specifies the memory size in gigabytes (GB).
	Memory *int `pulumi:"memory"`
	// Specifies the region in which to obtain the GaussDB specifications.
	// If omitted, the provider-level region will be used.
	Region *string `pulumi:"region"`
	// Specifies the number of vCPUs.
	Vcpus *int `pulumi:"vcpus"`
}

A collection of arguments for invoking getNosqlFlavors.

type GetNosqlFlavorsFlavor

type GetNosqlFlavorsFlavor struct {
	// All available zones (on sale) for current flavor.
	AvailabilityZones []string `pulumi:"availabilityZones"`
	// Specifies the type of the database engine. The valid values are as follows:
	// + **cassandra**: The default value and means to query GaussDB (for Cassandra) instance specifications.
	// + **redis**: Means to query GaussDB (for Redis) instance specifications.
	// + **mongodb**: Means to query GaussDB (for Mongo) instance specifications.
	// + **influxdb**: Means to query GaussDB (for Influx) instance specifications.
	Engine string `pulumi:"engine"`
	// Specifies the version of the database engine.
	EngineVersion string `pulumi:"engineVersion"`
	// Specifies the memory size in gigabytes (GB).
	Memory string `pulumi:"memory"`
	// The spec code of the flavor.
	Name string `pulumi:"name"`
	// Specifies the number of vCPUs.
	Vcpus string `pulumi:"vcpus"`
}

type GetNosqlFlavorsFlavorArgs

type GetNosqlFlavorsFlavorArgs struct {
	// All available zones (on sale) for current flavor.
	AvailabilityZones pulumi.StringArrayInput `pulumi:"availabilityZones"`
	// Specifies the type of the database engine. The valid values are as follows:
	// + **cassandra**: The default value and means to query GaussDB (for Cassandra) instance specifications.
	// + **redis**: Means to query GaussDB (for Redis) instance specifications.
	// + **mongodb**: Means to query GaussDB (for Mongo) instance specifications.
	// + **influxdb**: Means to query GaussDB (for Influx) instance specifications.
	Engine pulumi.StringInput `pulumi:"engine"`
	// Specifies the version of the database engine.
	EngineVersion pulumi.StringInput `pulumi:"engineVersion"`
	// Specifies the memory size in gigabytes (GB).
	Memory pulumi.StringInput `pulumi:"memory"`
	// The spec code of the flavor.
	Name pulumi.StringInput `pulumi:"name"`
	// Specifies the number of vCPUs.
	Vcpus pulumi.StringInput `pulumi:"vcpus"`
}

func (GetNosqlFlavorsFlavorArgs) ElementType

func (GetNosqlFlavorsFlavorArgs) ElementType() reflect.Type

func (GetNosqlFlavorsFlavorArgs) ToGetNosqlFlavorsFlavorOutput

func (i GetNosqlFlavorsFlavorArgs) ToGetNosqlFlavorsFlavorOutput() GetNosqlFlavorsFlavorOutput

func (GetNosqlFlavorsFlavorArgs) ToGetNosqlFlavorsFlavorOutputWithContext

func (i GetNosqlFlavorsFlavorArgs) ToGetNosqlFlavorsFlavorOutputWithContext(ctx context.Context) GetNosqlFlavorsFlavorOutput

type GetNosqlFlavorsFlavorArray

type GetNosqlFlavorsFlavorArray []GetNosqlFlavorsFlavorInput

func (GetNosqlFlavorsFlavorArray) ElementType

func (GetNosqlFlavorsFlavorArray) ElementType() reflect.Type

func (GetNosqlFlavorsFlavorArray) ToGetNosqlFlavorsFlavorArrayOutput

func (i GetNosqlFlavorsFlavorArray) ToGetNosqlFlavorsFlavorArrayOutput() GetNosqlFlavorsFlavorArrayOutput

func (GetNosqlFlavorsFlavorArray) ToGetNosqlFlavorsFlavorArrayOutputWithContext

func (i GetNosqlFlavorsFlavorArray) ToGetNosqlFlavorsFlavorArrayOutputWithContext(ctx context.Context) GetNosqlFlavorsFlavorArrayOutput

type GetNosqlFlavorsFlavorArrayInput

type GetNosqlFlavorsFlavorArrayInput interface {
	pulumi.Input

	ToGetNosqlFlavorsFlavorArrayOutput() GetNosqlFlavorsFlavorArrayOutput
	ToGetNosqlFlavorsFlavorArrayOutputWithContext(context.Context) GetNosqlFlavorsFlavorArrayOutput
}

GetNosqlFlavorsFlavorArrayInput is an input type that accepts GetNosqlFlavorsFlavorArray and GetNosqlFlavorsFlavorArrayOutput values. You can construct a concrete instance of `GetNosqlFlavorsFlavorArrayInput` via:

GetNosqlFlavorsFlavorArray{ GetNosqlFlavorsFlavorArgs{...} }

type GetNosqlFlavorsFlavorArrayOutput

type GetNosqlFlavorsFlavorArrayOutput struct{ *pulumi.OutputState }

func (GetNosqlFlavorsFlavorArrayOutput) ElementType

func (GetNosqlFlavorsFlavorArrayOutput) Index

func (GetNosqlFlavorsFlavorArrayOutput) ToGetNosqlFlavorsFlavorArrayOutput

func (o GetNosqlFlavorsFlavorArrayOutput) ToGetNosqlFlavorsFlavorArrayOutput() GetNosqlFlavorsFlavorArrayOutput

func (GetNosqlFlavorsFlavorArrayOutput) ToGetNosqlFlavorsFlavorArrayOutputWithContext

func (o GetNosqlFlavorsFlavorArrayOutput) ToGetNosqlFlavorsFlavorArrayOutputWithContext(ctx context.Context) GetNosqlFlavorsFlavorArrayOutput

type GetNosqlFlavorsFlavorInput

type GetNosqlFlavorsFlavorInput interface {
	pulumi.Input

	ToGetNosqlFlavorsFlavorOutput() GetNosqlFlavorsFlavorOutput
	ToGetNosqlFlavorsFlavorOutputWithContext(context.Context) GetNosqlFlavorsFlavorOutput
}

GetNosqlFlavorsFlavorInput is an input type that accepts GetNosqlFlavorsFlavorArgs and GetNosqlFlavorsFlavorOutput values. You can construct a concrete instance of `GetNosqlFlavorsFlavorInput` via:

GetNosqlFlavorsFlavorArgs{...}

type GetNosqlFlavorsFlavorOutput

type GetNosqlFlavorsFlavorOutput struct{ *pulumi.OutputState }

func (GetNosqlFlavorsFlavorOutput) AvailabilityZones

All available zones (on sale) for current flavor.

func (GetNosqlFlavorsFlavorOutput) ElementType

func (GetNosqlFlavorsFlavorOutput) Engine

Specifies the type of the database engine. The valid values are as follows: + **cassandra**: The default value and means to query GaussDB (for Cassandra) instance specifications. + **redis**: Means to query GaussDB (for Redis) instance specifications. + **mongodb**: Means to query GaussDB (for Mongo) instance specifications. + **influxdb**: Means to query GaussDB (for Influx) instance specifications.

func (GetNosqlFlavorsFlavorOutput) EngineVersion

Specifies the version of the database engine.

func (GetNosqlFlavorsFlavorOutput) Memory

Specifies the memory size in gigabytes (GB).

func (GetNosqlFlavorsFlavorOutput) Name

The spec code of the flavor.

func (GetNosqlFlavorsFlavorOutput) ToGetNosqlFlavorsFlavorOutput

func (o GetNosqlFlavorsFlavorOutput) ToGetNosqlFlavorsFlavorOutput() GetNosqlFlavorsFlavorOutput

func (GetNosqlFlavorsFlavorOutput) ToGetNosqlFlavorsFlavorOutputWithContext

func (o GetNosqlFlavorsFlavorOutput) ToGetNosqlFlavorsFlavorOutputWithContext(ctx context.Context) GetNosqlFlavorsFlavorOutput

func (GetNosqlFlavorsFlavorOutput) Vcpus

Specifies the number of vCPUs.

type GetNosqlFlavorsOutputArgs

type GetNosqlFlavorsOutputArgs struct {
	// Specifies the availability zone (AZ) of the GaussDB specifications.
	AvailabilityZone pulumi.StringPtrInput `pulumi:"availabilityZone"`
	// Specifies the type of the database engine. The valid values are as follows:
	// + **cassandra**: The default value and means to query GaussDB (for Cassandra) instance specifications.
	// + **redis**: Means to query GaussDB (for Redis) instance specifications.
	// + **mongodb**: Means to query GaussDB (for Mongo) instance specifications.
	// + **influxdb**: Means to query GaussDB (for Influx) instance specifications.
	Engine pulumi.StringPtrInput `pulumi:"engine"`
	// Specifies the version of the database engine.
	EngineVersion pulumi.StringPtrInput `pulumi:"engineVersion"`
	// Specifies the memory size in gigabytes (GB).
	Memory pulumi.IntPtrInput `pulumi:"memory"`
	// Specifies the region in which to obtain the GaussDB specifications.
	// If omitted, the provider-level region will be used.
	Region pulumi.StringPtrInput `pulumi:"region"`
	// Specifies the number of vCPUs.
	Vcpus pulumi.IntPtrInput `pulumi:"vcpus"`
}

A collection of arguments for invoking getNosqlFlavors.

func (GetNosqlFlavorsOutputArgs) ElementType

func (GetNosqlFlavorsOutputArgs) ElementType() reflect.Type

type GetNosqlFlavorsResult

type GetNosqlFlavorsResult struct {
	AvailabilityZone *string `pulumi:"availabilityZone"`
	// The type of the database engine.
	Engine *string `pulumi:"engine"`
	// The version of the database engine.
	EngineVersion *string `pulumi:"engineVersion"`
	// The information of the GaussDB specifications. Structure is documented below.
	Flavors []GetNosqlFlavorsFlavor `pulumi:"flavors"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The memory size, in GB.
	Memory *int    `pulumi:"memory"`
	Region *string `pulumi:"region"`
	// The number of vCPUs.
	Vcpus *int `pulumi:"vcpus"`
}

A collection of values returned by getNosqlFlavors.

func GetNosqlFlavors

func GetNosqlFlavors(ctx *pulumi.Context, args *GetNosqlFlavorsArgs, opts ...pulumi.InvokeOption) (*GetNosqlFlavorsResult, error)

Use this data source to get available HuaweiCloud GaussDB (for NoSQL) flavors. This is an alternative to `GaussDBforNoSQL.getCassandraFlavors`

## Example Usage

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL"
"github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := GaussDBforNoSQL.GetNosqlFlavors(ctx, &gaussdbfornosql.GetNosqlFlavorsArgs{
			Memory: pulumi.IntRef(8),
			Vcpus:  pulumi.IntRef(4),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetNosqlFlavorsResultOutput

type GetNosqlFlavorsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getNosqlFlavors.

func (GetNosqlFlavorsResultOutput) AvailabilityZone

func (o GetNosqlFlavorsResultOutput) AvailabilityZone() pulumi.StringPtrOutput

func (GetNosqlFlavorsResultOutput) ElementType

func (GetNosqlFlavorsResultOutput) Engine

The type of the database engine.

func (GetNosqlFlavorsResultOutput) EngineVersion

The version of the database engine.

func (GetNosqlFlavorsResultOutput) Flavors

The information of the GaussDB specifications. Structure is documented below.

func (GetNosqlFlavorsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetNosqlFlavorsResultOutput) Memory

The memory size, in GB.

func (GetNosqlFlavorsResultOutput) Region

func (GetNosqlFlavorsResultOutput) ToGetNosqlFlavorsResultOutput

func (o GetNosqlFlavorsResultOutput) ToGetNosqlFlavorsResultOutput() GetNosqlFlavorsResultOutput

func (GetNosqlFlavorsResultOutput) ToGetNosqlFlavorsResultOutputWithContext

func (o GetNosqlFlavorsResultOutput) ToGetNosqlFlavorsResultOutputWithContext(ctx context.Context) GetNosqlFlavorsResultOutput

func (GetNosqlFlavorsResultOutput) Vcpus

The number of vCPUs.

type GetRedisInstanceBackupStrategy

type GetRedisInstanceBackupStrategy struct {
	// Indicates the number of days to retain the generated
	KeepDays int `pulumi:"keepDays"`
	// Indicates the backup time window.
	StartTime string `pulumi:"startTime"`
}

type GetRedisInstanceBackupStrategyArgs

type GetRedisInstanceBackupStrategyArgs struct {
	// Indicates the number of days to retain the generated
	KeepDays pulumi.IntInput `pulumi:"keepDays"`
	// Indicates the backup time window.
	StartTime pulumi.StringInput `pulumi:"startTime"`
}

func (GetRedisInstanceBackupStrategyArgs) ElementType

func (GetRedisInstanceBackupStrategyArgs) ToGetRedisInstanceBackupStrategyOutput

func (i GetRedisInstanceBackupStrategyArgs) ToGetRedisInstanceBackupStrategyOutput() GetRedisInstanceBackupStrategyOutput

func (GetRedisInstanceBackupStrategyArgs) ToGetRedisInstanceBackupStrategyOutputWithContext

func (i GetRedisInstanceBackupStrategyArgs) ToGetRedisInstanceBackupStrategyOutputWithContext(ctx context.Context) GetRedisInstanceBackupStrategyOutput

type GetRedisInstanceBackupStrategyArray

type GetRedisInstanceBackupStrategyArray []GetRedisInstanceBackupStrategyInput

func (GetRedisInstanceBackupStrategyArray) ElementType

func (GetRedisInstanceBackupStrategyArray) ToGetRedisInstanceBackupStrategyArrayOutput

func (i GetRedisInstanceBackupStrategyArray) ToGetRedisInstanceBackupStrategyArrayOutput() GetRedisInstanceBackupStrategyArrayOutput

func (GetRedisInstanceBackupStrategyArray) ToGetRedisInstanceBackupStrategyArrayOutputWithContext

func (i GetRedisInstanceBackupStrategyArray) ToGetRedisInstanceBackupStrategyArrayOutputWithContext(ctx context.Context) GetRedisInstanceBackupStrategyArrayOutput

type GetRedisInstanceBackupStrategyArrayInput

type GetRedisInstanceBackupStrategyArrayInput interface {
	pulumi.Input

	ToGetRedisInstanceBackupStrategyArrayOutput() GetRedisInstanceBackupStrategyArrayOutput
	ToGetRedisInstanceBackupStrategyArrayOutputWithContext(context.Context) GetRedisInstanceBackupStrategyArrayOutput
}

GetRedisInstanceBackupStrategyArrayInput is an input type that accepts GetRedisInstanceBackupStrategyArray and GetRedisInstanceBackupStrategyArrayOutput values. You can construct a concrete instance of `GetRedisInstanceBackupStrategyArrayInput` via:

GetRedisInstanceBackupStrategyArray{ GetRedisInstanceBackupStrategyArgs{...} }

type GetRedisInstanceBackupStrategyArrayOutput

type GetRedisInstanceBackupStrategyArrayOutput struct{ *pulumi.OutputState }

func (GetRedisInstanceBackupStrategyArrayOutput) ElementType

func (GetRedisInstanceBackupStrategyArrayOutput) Index

func (GetRedisInstanceBackupStrategyArrayOutput) ToGetRedisInstanceBackupStrategyArrayOutput

func (o GetRedisInstanceBackupStrategyArrayOutput) ToGetRedisInstanceBackupStrategyArrayOutput() GetRedisInstanceBackupStrategyArrayOutput

func (GetRedisInstanceBackupStrategyArrayOutput) ToGetRedisInstanceBackupStrategyArrayOutputWithContext

func (o GetRedisInstanceBackupStrategyArrayOutput) ToGetRedisInstanceBackupStrategyArrayOutputWithContext(ctx context.Context) GetRedisInstanceBackupStrategyArrayOutput

type GetRedisInstanceBackupStrategyInput

type GetRedisInstanceBackupStrategyInput interface {
	pulumi.Input

	ToGetRedisInstanceBackupStrategyOutput() GetRedisInstanceBackupStrategyOutput
	ToGetRedisInstanceBackupStrategyOutputWithContext(context.Context) GetRedisInstanceBackupStrategyOutput
}

GetRedisInstanceBackupStrategyInput is an input type that accepts GetRedisInstanceBackupStrategyArgs and GetRedisInstanceBackupStrategyOutput values. You can construct a concrete instance of `GetRedisInstanceBackupStrategyInput` via:

GetRedisInstanceBackupStrategyArgs{...}

type GetRedisInstanceBackupStrategyOutput

type GetRedisInstanceBackupStrategyOutput struct{ *pulumi.OutputState }

func (GetRedisInstanceBackupStrategyOutput) ElementType

func (GetRedisInstanceBackupStrategyOutput) KeepDays

Indicates the number of days to retain the generated

func (GetRedisInstanceBackupStrategyOutput) StartTime

Indicates the backup time window.

func (GetRedisInstanceBackupStrategyOutput) ToGetRedisInstanceBackupStrategyOutput

func (o GetRedisInstanceBackupStrategyOutput) ToGetRedisInstanceBackupStrategyOutput() GetRedisInstanceBackupStrategyOutput

func (GetRedisInstanceBackupStrategyOutput) ToGetRedisInstanceBackupStrategyOutputWithContext

func (o GetRedisInstanceBackupStrategyOutput) ToGetRedisInstanceBackupStrategyOutputWithContext(ctx context.Context) GetRedisInstanceBackupStrategyOutput

type GetRedisInstanceDatastore

type GetRedisInstanceDatastore struct {
	// Indicates the database engine.
	Engine string `pulumi:"engine"`
	// Indicates the database storage engine.
	StorageEngine string `pulumi:"storageEngine"`
	// Indicates the database version.
	Version string `pulumi:"version"`
}

type GetRedisInstanceDatastoreArgs

type GetRedisInstanceDatastoreArgs struct {
	// Indicates the database engine.
	Engine pulumi.StringInput `pulumi:"engine"`
	// Indicates the database storage engine.
	StorageEngine pulumi.StringInput `pulumi:"storageEngine"`
	// Indicates the database version.
	Version pulumi.StringInput `pulumi:"version"`
}

func (GetRedisInstanceDatastoreArgs) ElementType

func (GetRedisInstanceDatastoreArgs) ToGetRedisInstanceDatastoreOutput

func (i GetRedisInstanceDatastoreArgs) ToGetRedisInstanceDatastoreOutput() GetRedisInstanceDatastoreOutput

func (GetRedisInstanceDatastoreArgs) ToGetRedisInstanceDatastoreOutputWithContext

func (i GetRedisInstanceDatastoreArgs) ToGetRedisInstanceDatastoreOutputWithContext(ctx context.Context) GetRedisInstanceDatastoreOutput

type GetRedisInstanceDatastoreArray

type GetRedisInstanceDatastoreArray []GetRedisInstanceDatastoreInput

func (GetRedisInstanceDatastoreArray) ElementType

func (GetRedisInstanceDatastoreArray) ToGetRedisInstanceDatastoreArrayOutput

func (i GetRedisInstanceDatastoreArray) ToGetRedisInstanceDatastoreArrayOutput() GetRedisInstanceDatastoreArrayOutput

func (GetRedisInstanceDatastoreArray) ToGetRedisInstanceDatastoreArrayOutputWithContext

func (i GetRedisInstanceDatastoreArray) ToGetRedisInstanceDatastoreArrayOutputWithContext(ctx context.Context) GetRedisInstanceDatastoreArrayOutput

type GetRedisInstanceDatastoreArrayInput

type GetRedisInstanceDatastoreArrayInput interface {
	pulumi.Input

	ToGetRedisInstanceDatastoreArrayOutput() GetRedisInstanceDatastoreArrayOutput
	ToGetRedisInstanceDatastoreArrayOutputWithContext(context.Context) GetRedisInstanceDatastoreArrayOutput
}

GetRedisInstanceDatastoreArrayInput is an input type that accepts GetRedisInstanceDatastoreArray and GetRedisInstanceDatastoreArrayOutput values. You can construct a concrete instance of `GetRedisInstanceDatastoreArrayInput` via:

GetRedisInstanceDatastoreArray{ GetRedisInstanceDatastoreArgs{...} }

type GetRedisInstanceDatastoreArrayOutput

type GetRedisInstanceDatastoreArrayOutput struct{ *pulumi.OutputState }

func (GetRedisInstanceDatastoreArrayOutput) ElementType

func (GetRedisInstanceDatastoreArrayOutput) Index

func (GetRedisInstanceDatastoreArrayOutput) ToGetRedisInstanceDatastoreArrayOutput

func (o GetRedisInstanceDatastoreArrayOutput) ToGetRedisInstanceDatastoreArrayOutput() GetRedisInstanceDatastoreArrayOutput

func (GetRedisInstanceDatastoreArrayOutput) ToGetRedisInstanceDatastoreArrayOutputWithContext

func (o GetRedisInstanceDatastoreArrayOutput) ToGetRedisInstanceDatastoreArrayOutputWithContext(ctx context.Context) GetRedisInstanceDatastoreArrayOutput

type GetRedisInstanceDatastoreInput

type GetRedisInstanceDatastoreInput interface {
	pulumi.Input

	ToGetRedisInstanceDatastoreOutput() GetRedisInstanceDatastoreOutput
	ToGetRedisInstanceDatastoreOutputWithContext(context.Context) GetRedisInstanceDatastoreOutput
}

GetRedisInstanceDatastoreInput is an input type that accepts GetRedisInstanceDatastoreArgs and GetRedisInstanceDatastoreOutput values. You can construct a concrete instance of `GetRedisInstanceDatastoreInput` via:

GetRedisInstanceDatastoreArgs{...}

type GetRedisInstanceDatastoreOutput

type GetRedisInstanceDatastoreOutput struct{ *pulumi.OutputState }

func (GetRedisInstanceDatastoreOutput) ElementType

func (GetRedisInstanceDatastoreOutput) Engine

Indicates the database engine.

func (GetRedisInstanceDatastoreOutput) StorageEngine

Indicates the database storage engine.

func (GetRedisInstanceDatastoreOutput) ToGetRedisInstanceDatastoreOutput

func (o GetRedisInstanceDatastoreOutput) ToGetRedisInstanceDatastoreOutput() GetRedisInstanceDatastoreOutput

func (GetRedisInstanceDatastoreOutput) ToGetRedisInstanceDatastoreOutputWithContext

func (o GetRedisInstanceDatastoreOutput) ToGetRedisInstanceDatastoreOutputWithContext(ctx context.Context) GetRedisInstanceDatastoreOutput

func (GetRedisInstanceDatastoreOutput) Version

Indicates the database version.

type GetRedisInstanceNode

type GetRedisInstanceNode struct {
	// Indicates the availability zone where the node resides.
	AvailabilityZone string `pulumi:"availabilityZone"`
	// Indicates the node ID.
	Id string `pulumi:"id"`
	// Specifies the name of the instance.
	Name string `pulumi:"name"`
	// Indicates the private IP address of a node.
	PrivateIp string `pulumi:"privateIp"`
	// Indicates the node status.
	Status string `pulumi:"status"`
	// Indicates whether the node support reduce.
	SupportReduce bool `pulumi:"supportReduce"`
}

type GetRedisInstanceNodeArgs

type GetRedisInstanceNodeArgs struct {
	// Indicates the availability zone where the node resides.
	AvailabilityZone pulumi.StringInput `pulumi:"availabilityZone"`
	// Indicates the node ID.
	Id pulumi.StringInput `pulumi:"id"`
	// Specifies the name of the instance.
	Name pulumi.StringInput `pulumi:"name"`
	// Indicates the private IP address of a node.
	PrivateIp pulumi.StringInput `pulumi:"privateIp"`
	// Indicates the node status.
	Status pulumi.StringInput `pulumi:"status"`
	// Indicates whether the node support reduce.
	SupportReduce pulumi.BoolInput `pulumi:"supportReduce"`
}

func (GetRedisInstanceNodeArgs) ElementType

func (GetRedisInstanceNodeArgs) ElementType() reflect.Type

func (GetRedisInstanceNodeArgs) ToGetRedisInstanceNodeOutput

func (i GetRedisInstanceNodeArgs) ToGetRedisInstanceNodeOutput() GetRedisInstanceNodeOutput

func (GetRedisInstanceNodeArgs) ToGetRedisInstanceNodeOutputWithContext

func (i GetRedisInstanceNodeArgs) ToGetRedisInstanceNodeOutputWithContext(ctx context.Context) GetRedisInstanceNodeOutput

type GetRedisInstanceNodeArray

type GetRedisInstanceNodeArray []GetRedisInstanceNodeInput

func (GetRedisInstanceNodeArray) ElementType

func (GetRedisInstanceNodeArray) ElementType() reflect.Type

func (GetRedisInstanceNodeArray) ToGetRedisInstanceNodeArrayOutput

func (i GetRedisInstanceNodeArray) ToGetRedisInstanceNodeArrayOutput() GetRedisInstanceNodeArrayOutput

func (GetRedisInstanceNodeArray) ToGetRedisInstanceNodeArrayOutputWithContext

func (i GetRedisInstanceNodeArray) ToGetRedisInstanceNodeArrayOutputWithContext(ctx context.Context) GetRedisInstanceNodeArrayOutput

type GetRedisInstanceNodeArrayInput

type GetRedisInstanceNodeArrayInput interface {
	pulumi.Input

	ToGetRedisInstanceNodeArrayOutput() GetRedisInstanceNodeArrayOutput
	ToGetRedisInstanceNodeArrayOutputWithContext(context.Context) GetRedisInstanceNodeArrayOutput
}

GetRedisInstanceNodeArrayInput is an input type that accepts GetRedisInstanceNodeArray and GetRedisInstanceNodeArrayOutput values. You can construct a concrete instance of `GetRedisInstanceNodeArrayInput` via:

GetRedisInstanceNodeArray{ GetRedisInstanceNodeArgs{...} }

type GetRedisInstanceNodeArrayOutput

type GetRedisInstanceNodeArrayOutput struct{ *pulumi.OutputState }

func (GetRedisInstanceNodeArrayOutput) ElementType

func (GetRedisInstanceNodeArrayOutput) Index

func (GetRedisInstanceNodeArrayOutput) ToGetRedisInstanceNodeArrayOutput

func (o GetRedisInstanceNodeArrayOutput) ToGetRedisInstanceNodeArrayOutput() GetRedisInstanceNodeArrayOutput

func (GetRedisInstanceNodeArrayOutput) ToGetRedisInstanceNodeArrayOutputWithContext

func (o GetRedisInstanceNodeArrayOutput) ToGetRedisInstanceNodeArrayOutputWithContext(ctx context.Context) GetRedisInstanceNodeArrayOutput

type GetRedisInstanceNodeInput

type GetRedisInstanceNodeInput interface {
	pulumi.Input

	ToGetRedisInstanceNodeOutput() GetRedisInstanceNodeOutput
	ToGetRedisInstanceNodeOutputWithContext(context.Context) GetRedisInstanceNodeOutput
}

GetRedisInstanceNodeInput is an input type that accepts GetRedisInstanceNodeArgs and GetRedisInstanceNodeOutput values. You can construct a concrete instance of `GetRedisInstanceNodeInput` via:

GetRedisInstanceNodeArgs{...}

type GetRedisInstanceNodeOutput

type GetRedisInstanceNodeOutput struct{ *pulumi.OutputState }

func (GetRedisInstanceNodeOutput) AvailabilityZone

func (o GetRedisInstanceNodeOutput) AvailabilityZone() pulumi.StringOutput

Indicates the availability zone where the node resides.

func (GetRedisInstanceNodeOutput) ElementType

func (GetRedisInstanceNodeOutput) ElementType() reflect.Type

func (GetRedisInstanceNodeOutput) Id

Indicates the node ID.

func (GetRedisInstanceNodeOutput) Name

Specifies the name of the instance.

func (GetRedisInstanceNodeOutput) PrivateIp

Indicates the private IP address of a node.

func (GetRedisInstanceNodeOutput) Status

Indicates the node status.

func (GetRedisInstanceNodeOutput) SupportReduce

func (o GetRedisInstanceNodeOutput) SupportReduce() pulumi.BoolOutput

Indicates whether the node support reduce.

func (GetRedisInstanceNodeOutput) ToGetRedisInstanceNodeOutput

func (o GetRedisInstanceNodeOutput) ToGetRedisInstanceNodeOutput() GetRedisInstanceNodeOutput

func (GetRedisInstanceNodeOutput) ToGetRedisInstanceNodeOutputWithContext

func (o GetRedisInstanceNodeOutput) ToGetRedisInstanceNodeOutputWithContext(ctx context.Context) GetRedisInstanceNodeOutput

type InfluxInstance

type InfluxInstance struct {
	pulumi.CustomResourceState

	// Specifies whether auto renew is enabled.
	// Valid values are **true** and **false**.
	AutoRenew pulumi.StringPtrOutput `pulumi:"autoRenew"`
	// Specifies the AZ name. For a three-AZ deployment instance,
	// use commas (,) to separate the AZs, for example, `cn-north-4a,cn-north-4b,cn-north-4c`.
	// Changing this parameter will create a new resource.
	AvailabilityZone pulumi.StringOutput `pulumi:"availabilityZone"`
	// Specifies the advanced backup policy. Structure is documented below.
	BackupStrategy InfluxInstanceBackupStrategyOutput `pulumi:"backupStrategy"`
	// Specifies the charging mode of the instance. Valid values are **prePaid**
	// and **postPaid**, defaults to **postPaid**. Changing this will do nothing.
	ChargingMode pulumi.StringPtrOutput `pulumi:"chargingMode"`
	// Specifies the Parameter Template ID.
	ConfigurationId pulumi.StringOutput `pulumi:"configurationId"`
	// Specifies the database information. Structure is documented below. Changing
	// this parameter will create a new resource.
	Datastore InfluxInstanceDatastoreOutput `pulumi:"datastore"`
	// Indicates the default username.
	DbUserName pulumi.StringOutput `pulumi:"dbUserName"`
	// Specifies the dedicated resource ID. Changing this parameter
	// will create a new resource.
	DedicatedResourceId pulumi.StringOutput `pulumi:"dedicatedResourceId"`
	// Specifies the dedicated resource name. Changing this
	// parameter will create a new resource.
	DedicatedResourceName pulumi.StringOutput `pulumi:"dedicatedResourceName"`
	// Specifies the enterprise project id, Only valid for users who
	// have enabled the enterprise multi-project service. Changing this parameter will create a new resource.
	EnterpriseProjectId pulumi.StringPtrOutput `pulumi:"enterpriseProjectId"`
	// Specifies the instance specifications. For details,
	// see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/influxug-nosql/nosql_05_0045.html)
	// Changing this parameter will create a new resource.
	Flavor pulumi.StringOutput `pulumi:"flavor"`
	// If specified, try to import the instance instead of creating if the name already
	// existed.
	ForceImport pulumi.BoolPtrOutput `pulumi:"forceImport"`
	// Indicates the LB IP address of the db.
	LbIpAddress pulumi.StringOutput `pulumi:"lbIpAddress"`
	// Indicates the LB port of the db.
	LbPort pulumi.StringOutput `pulumi:"lbPort"`
	// Indicates the instance type.
	Mode pulumi.StringOutput `pulumi:"mode"`
	// Specifies the instance name, which can be the same as an existing instance name. The
	// value must be **4** to **64** characters in length and start with a letter. It is case-sensitive and can contain only
	// letters, digits, hyphens (-), and underscores (_).
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the number of nodes, ranges from **3** to **16**. Defaults to **3**.
	NodeNum pulumi.IntPtrOutput `pulumi:"nodeNum"`
	// Indicates the instance nodes information. Structure is documented below.
	Nodes InfluxInstanceNodeArrayOutput `pulumi:"nodes"`
	// Specifies the database password. The value must be **8** to **32** characters in
	// length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are
	// advised to enter a strong password to improve security, preventing security risks such as brute force cracking.
	Password pulumi.StringOutput `pulumi:"password"`
	// Specifies the charging period of the instance.
	// If `periodUnit` is set to **month** , the value ranges from **1** to **9**. If `periodUnit` is set to *year*, the
	// value ranges from **1** to **3**. This parameter is mandatory if `chargingMode` is set to **prePaid**. Changing this
	// will do nothing.
	Period pulumi.IntPtrOutput `pulumi:"period"`
	// Specifies the charging period unit of the instance.
	// Valid values are **month** and **year**. This parameter is mandatory if `chargingMode` is set to **prePaid**.
	// Changing this will do nothing.
	PeriodUnit pulumi.StringPtrOutput `pulumi:"periodUnit"`
	// Indicates the database port.
	Port pulumi.IntOutput `pulumi:"port"`
	// Indicates the IP address list of the db.
	PrivateIps pulumi.StringArrayOutput `pulumi:"privateIps"`
	// The region in which to create the influx instance resource. If omitted, the
	// provider-level region will be used. Changing this creates a new influx instance resource.
	Region pulumi.StringOutput `pulumi:"region"`
	// Specifies the security group ID. Required if the selected subnet doesn't
	// enable network ACL.
	SecurityGroupId pulumi.StringPtrOutput `pulumi:"securityGroupId"`
	// Specifies whether to enable or disable SSL. Defaults to **false**. Changing this
	// parameter will create a new resource.
	Ssl pulumi.BoolPtrOutput `pulumi:"ssl"`
	// Indicates the node status.
	Status pulumi.StringOutput `pulumi:"status"`
	// Specifies the network ID of a subnet. Changing this parameter will create
	// a new resource.
	SubnetId pulumi.StringOutput `pulumi:"subnetId"`
	// The key/value pairs to associate with the instance.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Specifies the storage space in GB. The value must be a multiple of **10**. For a
	// GaussDB influx instance, the minimum storage space is **100** GB, and the maximum storage space is related to the
	// instance performance specifications. For details,
	// see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/influxug-nosql/nosql_05_0045.html)
	VolumeSize pulumi.IntOutput `pulumi:"volumeSize"`
	// Specifies the VPC ID. Changing this parameter will create a new resource.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

GaussDB for influx instance management within HuaweiCoud.

## Example Usage ### create a gaussdb for influx instance with tags

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := GaussDBforNoSQL.NewInfluxInstance(ctx, "instance1", &GaussDBforNoSQL.InfluxInstanceArgs{
			Password:         pulumi.Any(_var.Password),
			Flavor:           pulumi.String("geminidb.influxdb.large.4"),
			VolumeSize:       pulumi.Int(100),
			VpcId:            pulumi.Any(_var.Vpc_id),
			SubnetId:         pulumi.Any(_var.Subnet_id),
			SecurityGroupId:  pulumi.Any(_var.Secgroup_id),
			AvailabilityZone: pulumi.Any(_var.Availability_zone),
			Tags: pulumi.StringMap{
				"foo": pulumi.String("bar"),
				"key": pulumi.String("value"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### create a gaussdb influx instance with backup strategy

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL"
"github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := GaussDBforNoSQL.NewInfluxInstance(ctx, "instance1", &GaussDBforNoSQL.InfluxInstanceArgs{
			Password:         pulumi.Any(_var.Password),
			Flavor:           pulumi.String("geminidb.influxdb.large.4"),
			VolumeSize:       pulumi.Int(100),
			VpcId:            pulumi.Any(_var.Vpc_id),
			SubnetId:         pulumi.Any(_var.Subnet_id),
			SecurityGroupId:  pulumi.Any(_var.Secgroup_id),
			AvailabilityZone: pulumi.Any(_var.Availability_zone),
			BackupStrategy: &gaussdbfornosql.InfluxInstanceBackupStrategyArgs{
				StartTime: pulumi.String("03:00-04:00"),
				KeepDays:  pulumi.Int(14),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

GaussDB influx instance can be imported using the `id`, e.g.

```sh

$ pulumi import huaweicloud:GaussDBforNoSQL/influxInstance:InfluxInstance instance_1 e6f6b1fde738489793ce09320d732037in13

```

func GetInfluxInstance

func GetInfluxInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InfluxInstanceState, opts ...pulumi.ResourceOption) (*InfluxInstance, error)

GetInfluxInstance gets an existing InfluxInstance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewInfluxInstance

func NewInfluxInstance(ctx *pulumi.Context,
	name string, args *InfluxInstanceArgs, opts ...pulumi.ResourceOption) (*InfluxInstance, error)

NewInfluxInstance registers a new resource with the given unique name, arguments, and options.

func (*InfluxInstance) ElementType

func (*InfluxInstance) ElementType() reflect.Type

func (*InfluxInstance) ToInfluxInstanceOutput

func (i *InfluxInstance) ToInfluxInstanceOutput() InfluxInstanceOutput

func (*InfluxInstance) ToInfluxInstanceOutputWithContext

func (i *InfluxInstance) ToInfluxInstanceOutputWithContext(ctx context.Context) InfluxInstanceOutput

type InfluxInstanceArgs

type InfluxInstanceArgs struct {
	// Specifies whether auto renew is enabled.
	// Valid values are **true** and **false**.
	AutoRenew pulumi.StringPtrInput
	// Specifies the AZ name. For a three-AZ deployment instance,
	// use commas (,) to separate the AZs, for example, `cn-north-4a,cn-north-4b,cn-north-4c`.
	// Changing this parameter will create a new resource.
	AvailabilityZone pulumi.StringInput
	// Specifies the advanced backup policy. Structure is documented below.
	BackupStrategy InfluxInstanceBackupStrategyPtrInput
	// Specifies the charging mode of the instance. Valid values are **prePaid**
	// and **postPaid**, defaults to **postPaid**. Changing this will do nothing.
	ChargingMode pulumi.StringPtrInput
	// Specifies the Parameter Template ID.
	ConfigurationId pulumi.StringPtrInput
	// Specifies the database information. Structure is documented below. Changing
	// this parameter will create a new resource.
	Datastore InfluxInstanceDatastorePtrInput
	// Specifies the dedicated resource ID. Changing this parameter
	// will create a new resource.
	DedicatedResourceId pulumi.StringPtrInput
	// Specifies the dedicated resource name. Changing this
	// parameter will create a new resource.
	DedicatedResourceName pulumi.StringPtrInput
	// Specifies the enterprise project id, Only valid for users who
	// have enabled the enterprise multi-project service. Changing this parameter will create a new resource.
	EnterpriseProjectId pulumi.StringPtrInput
	// Specifies the instance specifications. For details,
	// see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/influxug-nosql/nosql_05_0045.html)
	// Changing this parameter will create a new resource.
	Flavor pulumi.StringInput
	// If specified, try to import the instance instead of creating if the name already
	// existed.
	ForceImport pulumi.BoolPtrInput
	// Specifies the instance name, which can be the same as an existing instance name. The
	// value must be **4** to **64** characters in length and start with a letter. It is case-sensitive and can contain only
	// letters, digits, hyphens (-), and underscores (_).
	Name pulumi.StringPtrInput
	// Specifies the number of nodes, ranges from **3** to **16**. Defaults to **3**.
	NodeNum pulumi.IntPtrInput
	// Specifies the database password. The value must be **8** to **32** characters in
	// length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are
	// advised to enter a strong password to improve security, preventing security risks such as brute force cracking.
	Password pulumi.StringInput
	// Specifies the charging period of the instance.
	// If `periodUnit` is set to **month** , the value ranges from **1** to **9**. If `periodUnit` is set to *year*, the
	// value ranges from **1** to **3**. This parameter is mandatory if `chargingMode` is set to **prePaid**. Changing this
	// will do nothing.
	Period pulumi.IntPtrInput
	// Specifies the charging period unit of the instance.
	// Valid values are **month** and **year**. This parameter is mandatory if `chargingMode` is set to **prePaid**.
	// Changing this will do nothing.
	PeriodUnit pulumi.StringPtrInput
	// The region in which to create the influx instance resource. If omitted, the
	// provider-level region will be used. Changing this creates a new influx instance resource.
	Region pulumi.StringPtrInput
	// Specifies the security group ID. Required if the selected subnet doesn't
	// enable network ACL.
	SecurityGroupId pulumi.StringPtrInput
	// Specifies whether to enable or disable SSL. Defaults to **false**. Changing this
	// parameter will create a new resource.
	Ssl pulumi.BoolPtrInput
	// Specifies the network ID of a subnet. Changing this parameter will create
	// a new resource.
	SubnetId pulumi.StringInput
	// The key/value pairs to associate with the instance.
	Tags pulumi.StringMapInput
	// Specifies the storage space in GB. The value must be a multiple of **10**. For a
	// GaussDB influx instance, the minimum storage space is **100** GB, and the maximum storage space is related to the
	// instance performance specifications. For details,
	// see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/influxug-nosql/nosql_05_0045.html)
	VolumeSize pulumi.IntInput
	// Specifies the VPC ID. Changing this parameter will create a new resource.
	VpcId pulumi.StringInput
}

The set of arguments for constructing a InfluxInstance resource.

func (InfluxInstanceArgs) ElementType

func (InfluxInstanceArgs) ElementType() reflect.Type

type InfluxInstanceArray

type InfluxInstanceArray []InfluxInstanceInput

func (InfluxInstanceArray) ElementType

func (InfluxInstanceArray) ElementType() reflect.Type

func (InfluxInstanceArray) ToInfluxInstanceArrayOutput

func (i InfluxInstanceArray) ToInfluxInstanceArrayOutput() InfluxInstanceArrayOutput

func (InfluxInstanceArray) ToInfluxInstanceArrayOutputWithContext

func (i InfluxInstanceArray) ToInfluxInstanceArrayOutputWithContext(ctx context.Context) InfluxInstanceArrayOutput

type InfluxInstanceArrayInput

type InfluxInstanceArrayInput interface {
	pulumi.Input

	ToInfluxInstanceArrayOutput() InfluxInstanceArrayOutput
	ToInfluxInstanceArrayOutputWithContext(context.Context) InfluxInstanceArrayOutput
}

InfluxInstanceArrayInput is an input type that accepts InfluxInstanceArray and InfluxInstanceArrayOutput values. You can construct a concrete instance of `InfluxInstanceArrayInput` via:

InfluxInstanceArray{ InfluxInstanceArgs{...} }

type InfluxInstanceArrayOutput

type InfluxInstanceArrayOutput struct{ *pulumi.OutputState }

func (InfluxInstanceArrayOutput) ElementType

func (InfluxInstanceArrayOutput) ElementType() reflect.Type

func (InfluxInstanceArrayOutput) Index

func (InfluxInstanceArrayOutput) ToInfluxInstanceArrayOutput

func (o InfluxInstanceArrayOutput) ToInfluxInstanceArrayOutput() InfluxInstanceArrayOutput

func (InfluxInstanceArrayOutput) ToInfluxInstanceArrayOutputWithContext

func (o InfluxInstanceArrayOutput) ToInfluxInstanceArrayOutputWithContext(ctx context.Context) InfluxInstanceArrayOutput

type InfluxInstanceBackupStrategy

type InfluxInstanceBackupStrategy struct {
	// Specifies the number of days to retain the generated backup files. The value ranges from
	// **0** to **35**. If this parameter is set to **0**, the automated backup policy is not set. If this parameter is not
	// transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default.
	KeepDays *int `pulumi:"keepDays"`
	// Specifies the backup time window. Automated backups will be triggered during the
	// backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The
	// HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example
	// value: 08:00-09:00, 03:00-04:00.
	StartTime string `pulumi:"startTime"`
}

type InfluxInstanceBackupStrategyArgs

type InfluxInstanceBackupStrategyArgs struct {
	// Specifies the number of days to retain the generated backup files. The value ranges from
	// **0** to **35**. If this parameter is set to **0**, the automated backup policy is not set. If this parameter is not
	// transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default.
	KeepDays pulumi.IntPtrInput `pulumi:"keepDays"`
	// Specifies the backup time window. Automated backups will be triggered during the
	// backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The
	// HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example
	// value: 08:00-09:00, 03:00-04:00.
	StartTime pulumi.StringInput `pulumi:"startTime"`
}

func (InfluxInstanceBackupStrategyArgs) ElementType

func (InfluxInstanceBackupStrategyArgs) ToInfluxInstanceBackupStrategyOutput

func (i InfluxInstanceBackupStrategyArgs) ToInfluxInstanceBackupStrategyOutput() InfluxInstanceBackupStrategyOutput

func (InfluxInstanceBackupStrategyArgs) ToInfluxInstanceBackupStrategyOutputWithContext

func (i InfluxInstanceBackupStrategyArgs) ToInfluxInstanceBackupStrategyOutputWithContext(ctx context.Context) InfluxInstanceBackupStrategyOutput

func (InfluxInstanceBackupStrategyArgs) ToInfluxInstanceBackupStrategyPtrOutput

func (i InfluxInstanceBackupStrategyArgs) ToInfluxInstanceBackupStrategyPtrOutput() InfluxInstanceBackupStrategyPtrOutput

func (InfluxInstanceBackupStrategyArgs) ToInfluxInstanceBackupStrategyPtrOutputWithContext

func (i InfluxInstanceBackupStrategyArgs) ToInfluxInstanceBackupStrategyPtrOutputWithContext(ctx context.Context) InfluxInstanceBackupStrategyPtrOutput

type InfluxInstanceBackupStrategyInput

type InfluxInstanceBackupStrategyInput interface {
	pulumi.Input

	ToInfluxInstanceBackupStrategyOutput() InfluxInstanceBackupStrategyOutput
	ToInfluxInstanceBackupStrategyOutputWithContext(context.Context) InfluxInstanceBackupStrategyOutput
}

InfluxInstanceBackupStrategyInput is an input type that accepts InfluxInstanceBackupStrategyArgs and InfluxInstanceBackupStrategyOutput values. You can construct a concrete instance of `InfluxInstanceBackupStrategyInput` via:

InfluxInstanceBackupStrategyArgs{...}

type InfluxInstanceBackupStrategyOutput

type InfluxInstanceBackupStrategyOutput struct{ *pulumi.OutputState }

func (InfluxInstanceBackupStrategyOutput) ElementType

func (InfluxInstanceBackupStrategyOutput) KeepDays

Specifies the number of days to retain the generated backup files. The value ranges from **0** to **35**. If this parameter is set to **0**, the automated backup policy is not set. If this parameter is not transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default.

func (InfluxInstanceBackupStrategyOutput) StartTime

Specifies the backup time window. Automated backups will be triggered during the backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example value: 08:00-09:00, 03:00-04:00.

func (InfluxInstanceBackupStrategyOutput) ToInfluxInstanceBackupStrategyOutput

func (o InfluxInstanceBackupStrategyOutput) ToInfluxInstanceBackupStrategyOutput() InfluxInstanceBackupStrategyOutput

func (InfluxInstanceBackupStrategyOutput) ToInfluxInstanceBackupStrategyOutputWithContext

func (o InfluxInstanceBackupStrategyOutput) ToInfluxInstanceBackupStrategyOutputWithContext(ctx context.Context) InfluxInstanceBackupStrategyOutput

func (InfluxInstanceBackupStrategyOutput) ToInfluxInstanceBackupStrategyPtrOutput

func (o InfluxInstanceBackupStrategyOutput) ToInfluxInstanceBackupStrategyPtrOutput() InfluxInstanceBackupStrategyPtrOutput

func (InfluxInstanceBackupStrategyOutput) ToInfluxInstanceBackupStrategyPtrOutputWithContext

func (o InfluxInstanceBackupStrategyOutput) ToInfluxInstanceBackupStrategyPtrOutputWithContext(ctx context.Context) InfluxInstanceBackupStrategyPtrOutput

type InfluxInstanceBackupStrategyPtrInput

type InfluxInstanceBackupStrategyPtrInput interface {
	pulumi.Input

	ToInfluxInstanceBackupStrategyPtrOutput() InfluxInstanceBackupStrategyPtrOutput
	ToInfluxInstanceBackupStrategyPtrOutputWithContext(context.Context) InfluxInstanceBackupStrategyPtrOutput
}

InfluxInstanceBackupStrategyPtrInput is an input type that accepts InfluxInstanceBackupStrategyArgs, InfluxInstanceBackupStrategyPtr and InfluxInstanceBackupStrategyPtrOutput values. You can construct a concrete instance of `InfluxInstanceBackupStrategyPtrInput` via:

        InfluxInstanceBackupStrategyArgs{...}

or:

        nil

type InfluxInstanceBackupStrategyPtrOutput

type InfluxInstanceBackupStrategyPtrOutput struct{ *pulumi.OutputState }

func (InfluxInstanceBackupStrategyPtrOutput) Elem

func (InfluxInstanceBackupStrategyPtrOutput) ElementType

func (InfluxInstanceBackupStrategyPtrOutput) KeepDays

Specifies the number of days to retain the generated backup files. The value ranges from **0** to **35**. If this parameter is set to **0**, the automated backup policy is not set. If this parameter is not transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default.

func (InfluxInstanceBackupStrategyPtrOutput) StartTime

Specifies the backup time window. Automated backups will be triggered during the backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example value: 08:00-09:00, 03:00-04:00.

func (InfluxInstanceBackupStrategyPtrOutput) ToInfluxInstanceBackupStrategyPtrOutput

func (o InfluxInstanceBackupStrategyPtrOutput) ToInfluxInstanceBackupStrategyPtrOutput() InfluxInstanceBackupStrategyPtrOutput

func (InfluxInstanceBackupStrategyPtrOutput) ToInfluxInstanceBackupStrategyPtrOutputWithContext

func (o InfluxInstanceBackupStrategyPtrOutput) ToInfluxInstanceBackupStrategyPtrOutputWithContext(ctx context.Context) InfluxInstanceBackupStrategyPtrOutput

type InfluxInstanceDatastore

type InfluxInstanceDatastore struct {
	// Specifies the database engine. Only **influxdb** is supported now.
	// Changing this parameter will create a new resource.
	Engine string `pulumi:"engine"`
	// Specifies the storage engine. Only **rocksDB** is supported now.
	// Changing this parameter will create a new resource.
	StorageEngine string `pulumi:"storageEngine"`
	// Specifies the database version.
	// Changing this parameter will create a new resource.
	Version string `pulumi:"version"`
}

type InfluxInstanceDatastoreArgs

type InfluxInstanceDatastoreArgs struct {
	// Specifies the database engine. Only **influxdb** is supported now.
	// Changing this parameter will create a new resource.
	Engine pulumi.StringInput `pulumi:"engine"`
	// Specifies the storage engine. Only **rocksDB** is supported now.
	// Changing this parameter will create a new resource.
	StorageEngine pulumi.StringInput `pulumi:"storageEngine"`
	// Specifies the database version.
	// Changing this parameter will create a new resource.
	Version pulumi.StringInput `pulumi:"version"`
}

func (InfluxInstanceDatastoreArgs) ElementType

func (InfluxInstanceDatastoreArgs) ToInfluxInstanceDatastoreOutput

func (i InfluxInstanceDatastoreArgs) ToInfluxInstanceDatastoreOutput() InfluxInstanceDatastoreOutput

func (InfluxInstanceDatastoreArgs) ToInfluxInstanceDatastoreOutputWithContext

func (i InfluxInstanceDatastoreArgs) ToInfluxInstanceDatastoreOutputWithContext(ctx context.Context) InfluxInstanceDatastoreOutput

func (InfluxInstanceDatastoreArgs) ToInfluxInstanceDatastorePtrOutput

func (i InfluxInstanceDatastoreArgs) ToInfluxInstanceDatastorePtrOutput() InfluxInstanceDatastorePtrOutput

func (InfluxInstanceDatastoreArgs) ToInfluxInstanceDatastorePtrOutputWithContext

func (i InfluxInstanceDatastoreArgs) ToInfluxInstanceDatastorePtrOutputWithContext(ctx context.Context) InfluxInstanceDatastorePtrOutput

type InfluxInstanceDatastoreInput

type InfluxInstanceDatastoreInput interface {
	pulumi.Input

	ToInfluxInstanceDatastoreOutput() InfluxInstanceDatastoreOutput
	ToInfluxInstanceDatastoreOutputWithContext(context.Context) InfluxInstanceDatastoreOutput
}

InfluxInstanceDatastoreInput is an input type that accepts InfluxInstanceDatastoreArgs and InfluxInstanceDatastoreOutput values. You can construct a concrete instance of `InfluxInstanceDatastoreInput` via:

InfluxInstanceDatastoreArgs{...}

type InfluxInstanceDatastoreOutput

type InfluxInstanceDatastoreOutput struct{ *pulumi.OutputState }

func (InfluxInstanceDatastoreOutput) ElementType

func (InfluxInstanceDatastoreOutput) Engine

Specifies the database engine. Only **influxdb** is supported now. Changing this parameter will create a new resource.

func (InfluxInstanceDatastoreOutput) StorageEngine

Specifies the storage engine. Only **rocksDB** is supported now. Changing this parameter will create a new resource.

func (InfluxInstanceDatastoreOutput) ToInfluxInstanceDatastoreOutput

func (o InfluxInstanceDatastoreOutput) ToInfluxInstanceDatastoreOutput() InfluxInstanceDatastoreOutput

func (InfluxInstanceDatastoreOutput) ToInfluxInstanceDatastoreOutputWithContext

func (o InfluxInstanceDatastoreOutput) ToInfluxInstanceDatastoreOutputWithContext(ctx context.Context) InfluxInstanceDatastoreOutput

func (InfluxInstanceDatastoreOutput) ToInfluxInstanceDatastorePtrOutput

func (o InfluxInstanceDatastoreOutput) ToInfluxInstanceDatastorePtrOutput() InfluxInstanceDatastorePtrOutput

func (InfluxInstanceDatastoreOutput) ToInfluxInstanceDatastorePtrOutputWithContext

func (o InfluxInstanceDatastoreOutput) ToInfluxInstanceDatastorePtrOutputWithContext(ctx context.Context) InfluxInstanceDatastorePtrOutput

func (InfluxInstanceDatastoreOutput) Version

Specifies the database version. Changing this parameter will create a new resource.

type InfluxInstanceDatastorePtrInput

type InfluxInstanceDatastorePtrInput interface {
	pulumi.Input

	ToInfluxInstanceDatastorePtrOutput() InfluxInstanceDatastorePtrOutput
	ToInfluxInstanceDatastorePtrOutputWithContext(context.Context) InfluxInstanceDatastorePtrOutput
}

InfluxInstanceDatastorePtrInput is an input type that accepts InfluxInstanceDatastoreArgs, InfluxInstanceDatastorePtr and InfluxInstanceDatastorePtrOutput values. You can construct a concrete instance of `InfluxInstanceDatastorePtrInput` via:

        InfluxInstanceDatastoreArgs{...}

or:

        nil

type InfluxInstanceDatastorePtrOutput

type InfluxInstanceDatastorePtrOutput struct{ *pulumi.OutputState }

func (InfluxInstanceDatastorePtrOutput) Elem

func (InfluxInstanceDatastorePtrOutput) ElementType

func (InfluxInstanceDatastorePtrOutput) Engine

Specifies the database engine. Only **influxdb** is supported now. Changing this parameter will create a new resource.

func (InfluxInstanceDatastorePtrOutput) StorageEngine

Specifies the storage engine. Only **rocksDB** is supported now. Changing this parameter will create a new resource.

func (InfluxInstanceDatastorePtrOutput) ToInfluxInstanceDatastorePtrOutput

func (o InfluxInstanceDatastorePtrOutput) ToInfluxInstanceDatastorePtrOutput() InfluxInstanceDatastorePtrOutput

func (InfluxInstanceDatastorePtrOutput) ToInfluxInstanceDatastorePtrOutputWithContext

func (o InfluxInstanceDatastorePtrOutput) ToInfluxInstanceDatastorePtrOutputWithContext(ctx context.Context) InfluxInstanceDatastorePtrOutput

func (InfluxInstanceDatastorePtrOutput) Version

Specifies the database version. Changing this parameter will create a new resource.

type InfluxInstanceInput

type InfluxInstanceInput interface {
	pulumi.Input

	ToInfluxInstanceOutput() InfluxInstanceOutput
	ToInfluxInstanceOutputWithContext(ctx context.Context) InfluxInstanceOutput
}

type InfluxInstanceMap

type InfluxInstanceMap map[string]InfluxInstanceInput

func (InfluxInstanceMap) ElementType

func (InfluxInstanceMap) ElementType() reflect.Type

func (InfluxInstanceMap) ToInfluxInstanceMapOutput

func (i InfluxInstanceMap) ToInfluxInstanceMapOutput() InfluxInstanceMapOutput

func (InfluxInstanceMap) ToInfluxInstanceMapOutputWithContext

func (i InfluxInstanceMap) ToInfluxInstanceMapOutputWithContext(ctx context.Context) InfluxInstanceMapOutput

type InfluxInstanceMapInput

type InfluxInstanceMapInput interface {
	pulumi.Input

	ToInfluxInstanceMapOutput() InfluxInstanceMapOutput
	ToInfluxInstanceMapOutputWithContext(context.Context) InfluxInstanceMapOutput
}

InfluxInstanceMapInput is an input type that accepts InfluxInstanceMap and InfluxInstanceMapOutput values. You can construct a concrete instance of `InfluxInstanceMapInput` via:

InfluxInstanceMap{ "key": InfluxInstanceArgs{...} }

type InfluxInstanceMapOutput

type InfluxInstanceMapOutput struct{ *pulumi.OutputState }

func (InfluxInstanceMapOutput) ElementType

func (InfluxInstanceMapOutput) ElementType() reflect.Type

func (InfluxInstanceMapOutput) MapIndex

func (InfluxInstanceMapOutput) ToInfluxInstanceMapOutput

func (o InfluxInstanceMapOutput) ToInfluxInstanceMapOutput() InfluxInstanceMapOutput

func (InfluxInstanceMapOutput) ToInfluxInstanceMapOutputWithContext

func (o InfluxInstanceMapOutput) ToInfluxInstanceMapOutputWithContext(ctx context.Context) InfluxInstanceMapOutput

type InfluxInstanceNode

type InfluxInstanceNode struct {
	// Indicates the node ID.
	Id *string `pulumi:"id"`
	// Specifies the instance name, which can be the same as an existing instance name. The
	// value must be **4** to **64** characters in length and start with a letter. It is case-sensitive and can contain only
	// letters, digits, hyphens (-), and underscores (_).
	Name *string `pulumi:"name"`
	// Indicates the private IP address of a node.
	PrivateIp *string `pulumi:"privateIp"`
	// Indicates the node status.
	Status *string `pulumi:"status"`
	// Indicates whether the node support reduce or not.
	SupportReduce *bool `pulumi:"supportReduce"`
}

type InfluxInstanceNodeArgs

type InfluxInstanceNodeArgs struct {
	// Indicates the node ID.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// Specifies the instance name, which can be the same as an existing instance name. The
	// value must be **4** to **64** characters in length and start with a letter. It is case-sensitive and can contain only
	// letters, digits, hyphens (-), and underscores (_).
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Indicates the private IP address of a node.
	PrivateIp pulumi.StringPtrInput `pulumi:"privateIp"`
	// Indicates the node status.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// Indicates whether the node support reduce or not.
	SupportReduce pulumi.BoolPtrInput `pulumi:"supportReduce"`
}

func (InfluxInstanceNodeArgs) ElementType

func (InfluxInstanceNodeArgs) ElementType() reflect.Type

func (InfluxInstanceNodeArgs) ToInfluxInstanceNodeOutput

func (i InfluxInstanceNodeArgs) ToInfluxInstanceNodeOutput() InfluxInstanceNodeOutput

func (InfluxInstanceNodeArgs) ToInfluxInstanceNodeOutputWithContext

func (i InfluxInstanceNodeArgs) ToInfluxInstanceNodeOutputWithContext(ctx context.Context) InfluxInstanceNodeOutput

type InfluxInstanceNodeArray

type InfluxInstanceNodeArray []InfluxInstanceNodeInput

func (InfluxInstanceNodeArray) ElementType

func (InfluxInstanceNodeArray) ElementType() reflect.Type

func (InfluxInstanceNodeArray) ToInfluxInstanceNodeArrayOutput

func (i InfluxInstanceNodeArray) ToInfluxInstanceNodeArrayOutput() InfluxInstanceNodeArrayOutput

func (InfluxInstanceNodeArray) ToInfluxInstanceNodeArrayOutputWithContext

func (i InfluxInstanceNodeArray) ToInfluxInstanceNodeArrayOutputWithContext(ctx context.Context) InfluxInstanceNodeArrayOutput

type InfluxInstanceNodeArrayInput

type InfluxInstanceNodeArrayInput interface {
	pulumi.Input

	ToInfluxInstanceNodeArrayOutput() InfluxInstanceNodeArrayOutput
	ToInfluxInstanceNodeArrayOutputWithContext(context.Context) InfluxInstanceNodeArrayOutput
}

InfluxInstanceNodeArrayInput is an input type that accepts InfluxInstanceNodeArray and InfluxInstanceNodeArrayOutput values. You can construct a concrete instance of `InfluxInstanceNodeArrayInput` via:

InfluxInstanceNodeArray{ InfluxInstanceNodeArgs{...} }

type InfluxInstanceNodeArrayOutput

type InfluxInstanceNodeArrayOutput struct{ *pulumi.OutputState }

func (InfluxInstanceNodeArrayOutput) ElementType

func (InfluxInstanceNodeArrayOutput) Index

func (InfluxInstanceNodeArrayOutput) ToInfluxInstanceNodeArrayOutput

func (o InfluxInstanceNodeArrayOutput) ToInfluxInstanceNodeArrayOutput() InfluxInstanceNodeArrayOutput

func (InfluxInstanceNodeArrayOutput) ToInfluxInstanceNodeArrayOutputWithContext

func (o InfluxInstanceNodeArrayOutput) ToInfluxInstanceNodeArrayOutputWithContext(ctx context.Context) InfluxInstanceNodeArrayOutput

type InfluxInstanceNodeInput

type InfluxInstanceNodeInput interface {
	pulumi.Input

	ToInfluxInstanceNodeOutput() InfluxInstanceNodeOutput
	ToInfluxInstanceNodeOutputWithContext(context.Context) InfluxInstanceNodeOutput
}

InfluxInstanceNodeInput is an input type that accepts InfluxInstanceNodeArgs and InfluxInstanceNodeOutput values. You can construct a concrete instance of `InfluxInstanceNodeInput` via:

InfluxInstanceNodeArgs{...}

type InfluxInstanceNodeOutput

type InfluxInstanceNodeOutput struct{ *pulumi.OutputState }

func (InfluxInstanceNodeOutput) ElementType

func (InfluxInstanceNodeOutput) ElementType() reflect.Type

func (InfluxInstanceNodeOutput) Id

Indicates the node ID.

func (InfluxInstanceNodeOutput) Name

Specifies the instance name, which can be the same as an existing instance name. The value must be **4** to **64** characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).

func (InfluxInstanceNodeOutput) PrivateIp

Indicates the private IP address of a node.

func (InfluxInstanceNodeOutput) Status

Indicates the node status.

func (InfluxInstanceNodeOutput) SupportReduce

func (o InfluxInstanceNodeOutput) SupportReduce() pulumi.BoolPtrOutput

Indicates whether the node support reduce or not.

func (InfluxInstanceNodeOutput) ToInfluxInstanceNodeOutput

func (o InfluxInstanceNodeOutput) ToInfluxInstanceNodeOutput() InfluxInstanceNodeOutput

func (InfluxInstanceNodeOutput) ToInfluxInstanceNodeOutputWithContext

func (o InfluxInstanceNodeOutput) ToInfluxInstanceNodeOutputWithContext(ctx context.Context) InfluxInstanceNodeOutput

type InfluxInstanceOutput

type InfluxInstanceOutput struct{ *pulumi.OutputState }

func (InfluxInstanceOutput) AutoRenew

Specifies whether auto renew is enabled. Valid values are **true** and **false**.

func (InfluxInstanceOutput) AvailabilityZone

func (o InfluxInstanceOutput) AvailabilityZone() pulumi.StringOutput

Specifies the AZ name. For a three-AZ deployment instance, use commas (,) to separate the AZs, for example, `cn-north-4a,cn-north-4b,cn-north-4c`. Changing this parameter will create a new resource.

func (InfluxInstanceOutput) BackupStrategy

Specifies the advanced backup policy. Structure is documented below.

func (InfluxInstanceOutput) ChargingMode

func (o InfluxInstanceOutput) ChargingMode() pulumi.StringPtrOutput

Specifies the charging mode of the instance. Valid values are **prePaid** and **postPaid**, defaults to **postPaid**. Changing this will do nothing.

func (InfluxInstanceOutput) ConfigurationId

func (o InfluxInstanceOutput) ConfigurationId() pulumi.StringOutput

Specifies the Parameter Template ID.

func (InfluxInstanceOutput) Datastore

Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.

func (InfluxInstanceOutput) DbUserName

func (o InfluxInstanceOutput) DbUserName() pulumi.StringOutput

Indicates the default username.

func (InfluxInstanceOutput) DedicatedResourceId

func (o InfluxInstanceOutput) DedicatedResourceId() pulumi.StringOutput

Specifies the dedicated resource ID. Changing this parameter will create a new resource.

func (InfluxInstanceOutput) DedicatedResourceName

func (o InfluxInstanceOutput) DedicatedResourceName() pulumi.StringOutput

Specifies the dedicated resource name. Changing this parameter will create a new resource.

func (InfluxInstanceOutput) ElementType

func (InfluxInstanceOutput) ElementType() reflect.Type

func (InfluxInstanceOutput) EnterpriseProjectId

func (o InfluxInstanceOutput) EnterpriseProjectId() pulumi.StringPtrOutput

Specifies the enterprise project id, Only valid for users who have enabled the enterprise multi-project service. Changing this parameter will create a new resource.

func (InfluxInstanceOutput) Flavor

Specifies the instance specifications. For details, see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/influxug-nosql/nosql_05_0045.html) Changing this parameter will create a new resource.

func (InfluxInstanceOutput) ForceImport

func (o InfluxInstanceOutput) ForceImport() pulumi.BoolPtrOutput

If specified, try to import the instance instead of creating if the name already existed.

func (InfluxInstanceOutput) LbIpAddress added in v0.0.8

func (o InfluxInstanceOutput) LbIpAddress() pulumi.StringOutput

Indicates the LB IP address of the db.

func (InfluxInstanceOutput) LbPort added in v0.0.8

Indicates the LB port of the db.

func (InfluxInstanceOutput) Mode

Indicates the instance type.

func (InfluxInstanceOutput) Name

Specifies the instance name, which can be the same as an existing instance name. The value must be **4** to **64** characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).

func (InfluxInstanceOutput) NodeNum

Specifies the number of nodes, ranges from **3** to **16**. Defaults to **3**.

func (InfluxInstanceOutput) Nodes

Indicates the instance nodes information. Structure is documented below.

func (InfluxInstanceOutput) Password

Specifies the database password. The value must be **8** to **32** characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to enter a strong password to improve security, preventing security risks such as brute force cracking.

func (InfluxInstanceOutput) Period

Specifies the charging period of the instance. If `periodUnit` is set to **month** , the value ranges from **1** to **9**. If `periodUnit` is set to *year*, the value ranges from **1** to **3**. This parameter is mandatory if `chargingMode` is set to **prePaid**. Changing this will do nothing.

func (InfluxInstanceOutput) PeriodUnit

Specifies the charging period unit of the instance. Valid values are **month** and **year**. This parameter is mandatory if `chargingMode` is set to **prePaid**. Changing this will do nothing.

func (InfluxInstanceOutput) Port

Indicates the database port.

func (InfluxInstanceOutput) PrivateIps

Indicates the IP address list of the db.

func (InfluxInstanceOutput) Region

The region in which to create the influx instance resource. If omitted, the provider-level region will be used. Changing this creates a new influx instance resource.

func (InfluxInstanceOutput) SecurityGroupId

func (o InfluxInstanceOutput) SecurityGroupId() pulumi.StringPtrOutput

Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.

func (InfluxInstanceOutput) Ssl

Specifies whether to enable or disable SSL. Defaults to **false**. Changing this parameter will create a new resource.

func (InfluxInstanceOutput) Status

Indicates the node status.

func (InfluxInstanceOutput) SubnetId

Specifies the network ID of a subnet. Changing this parameter will create a new resource.

func (InfluxInstanceOutput) Tags

The key/value pairs to associate with the instance.

func (InfluxInstanceOutput) ToInfluxInstanceOutput

func (o InfluxInstanceOutput) ToInfluxInstanceOutput() InfluxInstanceOutput

func (InfluxInstanceOutput) ToInfluxInstanceOutputWithContext

func (o InfluxInstanceOutput) ToInfluxInstanceOutputWithContext(ctx context.Context) InfluxInstanceOutput

func (InfluxInstanceOutput) VolumeSize

func (o InfluxInstanceOutput) VolumeSize() pulumi.IntOutput

Specifies the storage space in GB. The value must be a multiple of **10**. For a GaussDB influx instance, the minimum storage space is **100** GB, and the maximum storage space is related to the instance performance specifications. For details, see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/influxug-nosql/nosql_05_0045.html)

func (InfluxInstanceOutput) VpcId

Specifies the VPC ID. Changing this parameter will create a new resource.

type InfluxInstanceState

type InfluxInstanceState struct {
	// Specifies whether auto renew is enabled.
	// Valid values are **true** and **false**.
	AutoRenew pulumi.StringPtrInput
	// Specifies the AZ name. For a three-AZ deployment instance,
	// use commas (,) to separate the AZs, for example, `cn-north-4a,cn-north-4b,cn-north-4c`.
	// Changing this parameter will create a new resource.
	AvailabilityZone pulumi.StringPtrInput
	// Specifies the advanced backup policy. Structure is documented below.
	BackupStrategy InfluxInstanceBackupStrategyPtrInput
	// Specifies the charging mode of the instance. Valid values are **prePaid**
	// and **postPaid**, defaults to **postPaid**. Changing this will do nothing.
	ChargingMode pulumi.StringPtrInput
	// Specifies the Parameter Template ID.
	ConfigurationId pulumi.StringPtrInput
	// Specifies the database information. Structure is documented below. Changing
	// this parameter will create a new resource.
	Datastore InfluxInstanceDatastorePtrInput
	// Indicates the default username.
	DbUserName pulumi.StringPtrInput
	// Specifies the dedicated resource ID. Changing this parameter
	// will create a new resource.
	DedicatedResourceId pulumi.StringPtrInput
	// Specifies the dedicated resource name. Changing this
	// parameter will create a new resource.
	DedicatedResourceName pulumi.StringPtrInput
	// Specifies the enterprise project id, Only valid for users who
	// have enabled the enterprise multi-project service. Changing this parameter will create a new resource.
	EnterpriseProjectId pulumi.StringPtrInput
	// Specifies the instance specifications. For details,
	// see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/influxug-nosql/nosql_05_0045.html)
	// Changing this parameter will create a new resource.
	Flavor pulumi.StringPtrInput
	// If specified, try to import the instance instead of creating if the name already
	// existed.
	ForceImport pulumi.BoolPtrInput
	// Indicates the LB IP address of the db.
	LbIpAddress pulumi.StringPtrInput
	// Indicates the LB port of the db.
	LbPort pulumi.StringPtrInput
	// Indicates the instance type.
	Mode pulumi.StringPtrInput
	// Specifies the instance name, which can be the same as an existing instance name. The
	// value must be **4** to **64** characters in length and start with a letter. It is case-sensitive and can contain only
	// letters, digits, hyphens (-), and underscores (_).
	Name pulumi.StringPtrInput
	// Specifies the number of nodes, ranges from **3** to **16**. Defaults to **3**.
	NodeNum pulumi.IntPtrInput
	// Indicates the instance nodes information. Structure is documented below.
	Nodes InfluxInstanceNodeArrayInput
	// Specifies the database password. The value must be **8** to **32** characters in
	// length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are
	// advised to enter a strong password to improve security, preventing security risks such as brute force cracking.
	Password pulumi.StringPtrInput
	// Specifies the charging period of the instance.
	// If `periodUnit` is set to **month** , the value ranges from **1** to **9**. If `periodUnit` is set to *year*, the
	// value ranges from **1** to **3**. This parameter is mandatory if `chargingMode` is set to **prePaid**. Changing this
	// will do nothing.
	Period pulumi.IntPtrInput
	// Specifies the charging period unit of the instance.
	// Valid values are **month** and **year**. This parameter is mandatory if `chargingMode` is set to **prePaid**.
	// Changing this will do nothing.
	PeriodUnit pulumi.StringPtrInput
	// Indicates the database port.
	Port pulumi.IntPtrInput
	// Indicates the IP address list of the db.
	PrivateIps pulumi.StringArrayInput
	// The region in which to create the influx instance resource. If omitted, the
	// provider-level region will be used. Changing this creates a new influx instance resource.
	Region pulumi.StringPtrInput
	// Specifies the security group ID. Required if the selected subnet doesn't
	// enable network ACL.
	SecurityGroupId pulumi.StringPtrInput
	// Specifies whether to enable or disable SSL. Defaults to **false**. Changing this
	// parameter will create a new resource.
	Ssl pulumi.BoolPtrInput
	// Indicates the node status.
	Status pulumi.StringPtrInput
	// Specifies the network ID of a subnet. Changing this parameter will create
	// a new resource.
	SubnetId pulumi.StringPtrInput
	// The key/value pairs to associate with the instance.
	Tags pulumi.StringMapInput
	// Specifies the storage space in GB. The value must be a multiple of **10**. For a
	// GaussDB influx instance, the minimum storage space is **100** GB, and the maximum storage space is related to the
	// instance performance specifications. For details,
	// see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/influxug-nosql/nosql_05_0045.html)
	VolumeSize pulumi.IntPtrInput
	// Specifies the VPC ID. Changing this parameter will create a new resource.
	VpcId pulumi.StringPtrInput
}

func (InfluxInstanceState) ElementType

func (InfluxInstanceState) ElementType() reflect.Type

type LookupCassandraInstanceArgs

type LookupCassandraInstanceArgs struct {
	// Specifies the name of the instance.
	Name *string `pulumi:"name"`
	// The region in which to obtain the instance. If omitted, the provider-level region will
	// be used.
	Region *string `pulumi:"region"`
	// Specifies the network ID of a subnet.
	SubnetId *string `pulumi:"subnetId"`
	// Specifies the VPC ID.
	VpcId *string `pulumi:"vpcId"`
}

A collection of arguments for invoking getCassandraInstance.

type LookupCassandraInstanceOutputArgs

type LookupCassandraInstanceOutputArgs struct {
	// Specifies the name of the instance.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The region in which to obtain the instance. If omitted, the provider-level region will
	// be used.
	Region pulumi.StringPtrInput `pulumi:"region"`
	// Specifies the network ID of a subnet.
	SubnetId pulumi.StringPtrInput `pulumi:"subnetId"`
	// Specifies the VPC ID.
	VpcId pulumi.StringPtrInput `pulumi:"vpcId"`
}

A collection of arguments for invoking getCassandraInstance.

func (LookupCassandraInstanceOutputArgs) ElementType

type LookupCassandraInstanceResult

type LookupCassandraInstanceResult struct {
	// Indicates the availability zone where the node resides.
	AvailabilityZone string `pulumi:"availabilityZone"`
	// Indicates the advanced backup policy. Structure is documented below.
	BackupStrategies []GetCassandraInstanceBackupStrategy `pulumi:"backupStrategies"`
	// Indicates the database information. Structure is documented below.
	Datastores []GetCassandraInstanceDatastore `pulumi:"datastores"`
	// Indicates the default username.
	DbUserName string `pulumi:"dbUserName"`
	// Indicates the enterprise project id.
	EnterpriseProjectId string `pulumi:"enterpriseProjectId"`
	// Indicates the instance specifications.
	Flavor string `pulumi:"flavor"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Indicates the instance mode.
	Mode string `pulumi:"mode"`
	// Indicates the node name.
	Name string `pulumi:"name"`
	// Indicates the count of the nodes.
	NodeNum int `pulumi:"nodeNum"`
	// Indicates the instance nodes information. Structure is documented below.
	Nodes []GetCassandraInstanceNode `pulumi:"nodes"`
	// Indicates the database port.
	Port int `pulumi:"port"`
	// Indicates the list of private IP address of the nodes.
	PrivateIps []string `pulumi:"privateIps"`
	Region     string   `pulumi:"region"`
	// Indicates the security group ID.
	SecurityGroupId string `pulumi:"securityGroupId"`
	// Indicates the node status.
	Status   string `pulumi:"status"`
	SubnetId string `pulumi:"subnetId"`
	// Indicates the key/value tags of the instance.
	Tags map[string]string `pulumi:"tags"`
	// Indicates the size of the volume.
	VolumeSize int    `pulumi:"volumeSize"`
	VpcId      string `pulumi:"vpcId"`
}

A collection of values returned by getCassandraInstance.

func LookupCassandraInstance

func LookupCassandraInstance(ctx *pulumi.Context, args *LookupCassandraInstanceArgs, opts ...pulumi.InvokeOption) (*LookupCassandraInstanceResult, error)

Use this data source to get available HuaweiCloud gaussdb cassandra instance.

## Example Usage

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL"
"github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := GaussDBforNoSQL.GetCassandraInstance(ctx, &gaussdbfornosql.GetCassandraInstanceArgs{
			Name: pulumi.StringRef("gaussdb-instance"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupCassandraInstanceResultOutput

type LookupCassandraInstanceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCassandraInstance.

func (LookupCassandraInstanceResultOutput) AvailabilityZone

Indicates the availability zone where the node resides.

func (LookupCassandraInstanceResultOutput) BackupStrategies

Indicates the advanced backup policy. Structure is documented below.

func (LookupCassandraInstanceResultOutput) Datastores

Indicates the database information. Structure is documented below.

func (LookupCassandraInstanceResultOutput) DbUserName

Indicates the default username.

func (LookupCassandraInstanceResultOutput) ElementType

func (LookupCassandraInstanceResultOutput) EnterpriseProjectId

Indicates the enterprise project id.

func (LookupCassandraInstanceResultOutput) Flavor

Indicates the instance specifications.

func (LookupCassandraInstanceResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupCassandraInstanceResultOutput) Mode

Indicates the instance mode.

func (LookupCassandraInstanceResultOutput) Name

Indicates the node name.

func (LookupCassandraInstanceResultOutput) NodeNum

Indicates the count of the nodes.

func (LookupCassandraInstanceResultOutput) Nodes

Indicates the instance nodes information. Structure is documented below.

func (LookupCassandraInstanceResultOutput) Port

Indicates the database port.

func (LookupCassandraInstanceResultOutput) PrivateIps

Indicates the list of private IP address of the nodes.

func (LookupCassandraInstanceResultOutput) Region

func (LookupCassandraInstanceResultOutput) SecurityGroupId

Indicates the security group ID.

func (LookupCassandraInstanceResultOutput) Status

Indicates the node status.

func (LookupCassandraInstanceResultOutput) SubnetId

func (LookupCassandraInstanceResultOutput) Tags

Indicates the key/value tags of the instance.

func (LookupCassandraInstanceResultOutput) ToLookupCassandraInstanceResultOutput

func (o LookupCassandraInstanceResultOutput) ToLookupCassandraInstanceResultOutput() LookupCassandraInstanceResultOutput

func (LookupCassandraInstanceResultOutput) ToLookupCassandraInstanceResultOutputWithContext

func (o LookupCassandraInstanceResultOutput) ToLookupCassandraInstanceResultOutputWithContext(ctx context.Context) LookupCassandraInstanceResultOutput

func (LookupCassandraInstanceResultOutput) VolumeSize

Indicates the size of the volume.

func (LookupCassandraInstanceResultOutput) VpcId

type LookupRedisInstanceArgs

type LookupRedisInstanceArgs struct {
	// Specifies the name of the instance.
	Name *string `pulumi:"name"`
	// The region in which to obtain the instance. If omitted, the provider-level region will
	// be used.
	Region *string `pulumi:"region"`
	// Specifies the network ID of a subnet.
	SubnetId *string `pulumi:"subnetId"`
	// Specifies the VPC ID.
	VpcId *string `pulumi:"vpcId"`
}

A collection of arguments for invoking getRedisInstance.

type LookupRedisInstanceOutputArgs

type LookupRedisInstanceOutputArgs struct {
	// Specifies the name of the instance.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The region in which to obtain the instance. If omitted, the provider-level region will
	// be used.
	Region pulumi.StringPtrInput `pulumi:"region"`
	// Specifies the network ID of a subnet.
	SubnetId pulumi.StringPtrInput `pulumi:"subnetId"`
	// Specifies the VPC ID.
	VpcId pulumi.StringPtrInput `pulumi:"vpcId"`
}

A collection of arguments for invoking getRedisInstance.

func (LookupRedisInstanceOutputArgs) ElementType

type LookupRedisInstanceResult

type LookupRedisInstanceResult struct {
	// Indicates the availability zone where the node resides.
	AvailabilityZone string `pulumi:"availabilityZone"`
	// Indicates the advanced backup policy. Structure is documented below.
	BackupStrategies []GetRedisInstanceBackupStrategy `pulumi:"backupStrategies"`
	// Indicates the database information. Structure is documented below.
	Datastores []GetRedisInstanceDatastore `pulumi:"datastores"`
	// Indicates the default username.
	DbUserName string `pulumi:"dbUserName"`
	// Indicates the enterprise project id.
	EnterpriseProjectId string `pulumi:"enterpriseProjectId"`
	// Indicates the instance specifications.
	Flavor string `pulumi:"flavor"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Indicates the instance mode.
	Mode string `pulumi:"mode"`
	// Indicates the node name.
	Name string `pulumi:"name"`
	// Indicates the count of the nodes.
	NodeNum int `pulumi:"nodeNum"`
	// Indicates the instance nodes information. Structure is documented below.
	Nodes []GetRedisInstanceNode `pulumi:"nodes"`
	// Indicates the database port.
	Port int `pulumi:"port"`
	// Indicates the list of private IP address of the nodes.
	PrivateIps []string `pulumi:"privateIps"`
	Region     string   `pulumi:"region"`
	// Indicates the security group ID.
	SecurityGroupId string `pulumi:"securityGroupId"`
	// Indicates the node status.
	Status   string `pulumi:"status"`
	SubnetId string `pulumi:"subnetId"`
	// Indicates the key/value tags of the instance.
	Tags map[string]string `pulumi:"tags"`
	// Indicates the size of the volume.
	VolumeSize int    `pulumi:"volumeSize"`
	VpcId      string `pulumi:"vpcId"`
}

A collection of values returned by getRedisInstance.

func LookupRedisInstance

func LookupRedisInstance(ctx *pulumi.Context, args *LookupRedisInstanceArgs, opts ...pulumi.InvokeOption) (*LookupRedisInstanceResult, error)

Use this data source to get available HuaweiCloud gaussdb redis instance.

## Example Usage

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL"
"github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := GaussDBforNoSQL.GetRedisInstance(ctx, &gaussdbfornosql.GetRedisInstanceArgs{
			Name: pulumi.StringRef("gaussdb-instance"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupRedisInstanceResultOutput

type LookupRedisInstanceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRedisInstance.

func (LookupRedisInstanceResultOutput) AvailabilityZone

Indicates the availability zone where the node resides.

func (LookupRedisInstanceResultOutput) BackupStrategies

Indicates the advanced backup policy. Structure is documented below.

func (LookupRedisInstanceResultOutput) Datastores

Indicates the database information. Structure is documented below.

func (LookupRedisInstanceResultOutput) DbUserName

Indicates the default username.

func (LookupRedisInstanceResultOutput) ElementType

func (LookupRedisInstanceResultOutput) EnterpriseProjectId

func (o LookupRedisInstanceResultOutput) EnterpriseProjectId() pulumi.StringOutput

Indicates the enterprise project id.

func (LookupRedisInstanceResultOutput) Flavor

Indicates the instance specifications.

func (LookupRedisInstanceResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupRedisInstanceResultOutput) Mode

Indicates the instance mode.

func (LookupRedisInstanceResultOutput) Name

Indicates the node name.

func (LookupRedisInstanceResultOutput) NodeNum

Indicates the count of the nodes.

func (LookupRedisInstanceResultOutput) Nodes

Indicates the instance nodes information. Structure is documented below.

func (LookupRedisInstanceResultOutput) Port

Indicates the database port.

func (LookupRedisInstanceResultOutput) PrivateIps

Indicates the list of private IP address of the nodes.

func (LookupRedisInstanceResultOutput) Region

func (LookupRedisInstanceResultOutput) SecurityGroupId

Indicates the security group ID.

func (LookupRedisInstanceResultOutput) Status

Indicates the node status.

func (LookupRedisInstanceResultOutput) SubnetId

func (LookupRedisInstanceResultOutput) Tags

Indicates the key/value tags of the instance.

func (LookupRedisInstanceResultOutput) ToLookupRedisInstanceResultOutput

func (o LookupRedisInstanceResultOutput) ToLookupRedisInstanceResultOutput() LookupRedisInstanceResultOutput

func (LookupRedisInstanceResultOutput) ToLookupRedisInstanceResultOutputWithContext

func (o LookupRedisInstanceResultOutput) ToLookupRedisInstanceResultOutputWithContext(ctx context.Context) LookupRedisInstanceResultOutput

func (LookupRedisInstanceResultOutput) VolumeSize

Indicates the size of the volume.

func (LookupRedisInstanceResultOutput) VpcId

type MongoInstance

type MongoInstance struct {
	pulumi.CustomResourceState

	// Specifies whether auto renew is enabled.
	// Valid values are **true** and **false**.
	AutoRenew pulumi.StringPtrOutput `pulumi:"autoRenew"`
	// Specifies the AZ name. For a three-AZ deployment instance,
	// use commas (,) to separate the AZs, for example, `cn-north-4a,cn-north-4b,cn-north-4c`.
	// Changing this parameter will create a new resource.
	AvailabilityZone pulumi.StringOutput `pulumi:"availabilityZone"`
	// Specifies the advanced backup policy. Structure is documented below.
	BackupStrategy MongoInstanceBackupStrategyOutput `pulumi:"backupStrategy"`
	// Specifies the charging mode of the instance. Valid values are **prePaid**
	// and **postPaid**, defaults to **postPaid**. Changing this will do nothing.
	ChargingMode pulumi.StringPtrOutput `pulumi:"chargingMode"`
	// Specifies the Parameter Template ID.
	ConfigurationId pulumi.StringOutput `pulumi:"configurationId"`
	// Specifies the database information. Structure is documented below. Changing
	// this parameter will create a new resource.
	Datastore MongoInstanceDatastoreOutput `pulumi:"datastore"`
	// Indicates the default username.
	DbUserName pulumi.StringOutput `pulumi:"dbUserName"`
	// Specifies the dedicated resource ID. Changing this parameter
	// will create a new resource.
	DedicatedResourceId pulumi.StringOutput `pulumi:"dedicatedResourceId"`
	// Specifies the dedicated resource name. Changing this
	// parameter will create a new resource.
	DedicatedResourceName pulumi.StringOutput `pulumi:"dedicatedResourceName"`
	// Specifies the enterprise project id, Only valid for users who
	// have enabled the enterprise multi-project service. Changing this parameter will create a new resource.
	EnterpriseProjectId pulumi.StringPtrOutput `pulumi:"enterpriseProjectId"`
	// Specifies the instance specifications. For details,
	// see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/mongoug-nosql/nosql_05_0029.html)
	// Changing this parameter will create a new resource.
	Flavor pulumi.StringOutput `pulumi:"flavor"`
	// If specified, try to import the instance instead of creating if the name already
	// existed.
	ForceImport pulumi.BoolPtrOutput `pulumi:"forceImport"`
	// Indicates the LB IP address of the db.
	LbIpAddress pulumi.StringOutput `pulumi:"lbIpAddress"`
	// Indicates the LB port of the db.
	LbPort pulumi.StringOutput `pulumi:"lbPort"`
	// Indicates the instance type.
	Mode pulumi.StringOutput `pulumi:"mode"`
	// Specifies the instance name, which can be the same as an existing instance name. The
	// value must be **4** to **64** characters in length and start with a letter. It is case-sensitive and can contain only
	// letters, digits, hyphens (-), and underscores (_).
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the number of nodes, only **3** is supported now. Defaults to **3**.
	// Changing this parameter will create a new resource.
	NodeNum pulumi.IntPtrOutput `pulumi:"nodeNum"`
	// Indicates the instance nodes information. Structure is documented below.
	Nodes MongoInstanceNodeArrayOutput `pulumi:"nodes"`
	// Specifies the database password. The value must be **8** to **32** characters in
	// length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are
	// advised to enter a strong password to improve security, preventing security risks such as brute force cracking.
	Password pulumi.StringOutput `pulumi:"password"`
	// Specifies the charging period of the instance.
	// If `periodUnit` is set to **month** , the value ranges from **1** to **9**. If `periodUnit` is set to **year**, the
	// value ranges from **1** to **3**. This parameter is mandatory if `chargingMode` is set to **prePaid**. Changing this
	// will do nothing.
	Period pulumi.IntPtrOutput `pulumi:"period"`
	// Specifies the charging period unit of the instance.
	// Valid values are **month** and **year**. This parameter is mandatory if `chargingMode` is set to **prePaid**.
	// Changing this will do nothing.
	PeriodUnit pulumi.StringPtrOutput `pulumi:"periodUnit"`
	// Indicates the database port.
	Port pulumi.IntOutput `pulumi:"port"`
	// Indicates the IP address list of the db.
	PrivateIps pulumi.StringArrayOutput `pulumi:"privateIps"`
	// The region in which to create the mongo instance resource. If omitted, the
	// provider-level region will be used. Changing this creates a new mongo instance resource.
	Region pulumi.StringOutput `pulumi:"region"`
	// Specifies the security group ID. Required if the selected subnet doesn't
	// enable network ACL.
	SecurityGroupId pulumi.StringPtrOutput `pulumi:"securityGroupId"`
	// Specifies whether to enable or disable SSL. Defaults to **false**. Changing this
	// parameter will create a new resource.
	Ssl pulumi.BoolPtrOutput `pulumi:"ssl"`
	// Indicates the node status.
	Status pulumi.StringOutput `pulumi:"status"`
	// Specifies the network ID of a subnet. Changing this parameter will create
	// a new resource.
	SubnetId pulumi.StringOutput `pulumi:"subnetId"`
	// The key/value pairs to associate with the instance.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Specifies the storage space in GB. The value must be a multiple of **10**. For a
	// GaussDB mongo DB instance, the minimum storage space is **100** GB, and the maximum storage space is related to the
	// instance performance specifications. For details,
	// see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/mongoug-nosql/nosql_05_0029.html)
	VolumeSize pulumi.IntOutput `pulumi:"volumeSize"`
	// Specifies the VPC ID. Changing this parameter will create a new resource.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

GaussDB for mongo instance management within HuaweiCoud.

## Example Usage ### create a gaussdb for mongo instance with tags

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := GaussDBforNoSQL.NewMongoInstance(ctx, "instance1", &GaussDBforNoSQL.MongoInstanceArgs{
			Password:         pulumi.Any(_var.Password),
			Flavor:           pulumi.String("geminidb.mongodb.repset.xlarge.4"),
			VolumeSize:       pulumi.Int(100),
			VpcId:            pulumi.Any(_var.Vpc_id),
			SubnetId:         pulumi.Any(_var.Subnet_id),
			SecurityGroupId:  pulumi.Any(_var.Secgroup_id),
			AvailabilityZone: pulumi.Any(_var.Availability_zone),
			Tags: pulumi.StringMap{
				"foo": pulumi.String("bar"),
				"key": pulumi.String("value"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### create a gaussdb mongo instance with backup strategy

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL"
"github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := GaussDBforNoSQL.NewMongoInstance(ctx, "instance1", &GaussDBforNoSQL.MongoInstanceArgs{
			Password:         pulumi.Any(_var.Password),
			Flavor:           pulumi.String("geminidb.mongodb.repset.xlarge.4"),
			VolumeSize:       pulumi.Int(100),
			VpcId:            pulumi.Any(_var.Vpc_id),
			SubnetId:         pulumi.Any(_var.Subnet_id),
			SecurityGroupId:  pulumi.Any(_var.Secgroup_id),
			AvailabilityZone: pulumi.Any(_var.Availability_zone),
			BackupStrategy: &gaussdbfornosql.MongoInstanceBackupStrategyArgs{
				StartTime: pulumi.String("03:00-04:00"),
				KeepDays:  pulumi.Int(14),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

GaussDB mongo instance can be imported using the `id`, e.g.

```sh

$ pulumi import huaweicloud:GaussDBforNoSQL/mongoInstance:MongoInstance instance_1 2d3cb29c73754417bbbf46b1f856b371in10

```

func GetMongoInstance

func GetMongoInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MongoInstanceState, opts ...pulumi.ResourceOption) (*MongoInstance, error)

GetMongoInstance gets an existing MongoInstance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewMongoInstance

func NewMongoInstance(ctx *pulumi.Context,
	name string, args *MongoInstanceArgs, opts ...pulumi.ResourceOption) (*MongoInstance, error)

NewMongoInstance registers a new resource with the given unique name, arguments, and options.

func (*MongoInstance) ElementType

func (*MongoInstance) ElementType() reflect.Type

func (*MongoInstance) ToMongoInstanceOutput

func (i *MongoInstance) ToMongoInstanceOutput() MongoInstanceOutput

func (*MongoInstance) ToMongoInstanceOutputWithContext

func (i *MongoInstance) ToMongoInstanceOutputWithContext(ctx context.Context) MongoInstanceOutput

type MongoInstanceArgs

type MongoInstanceArgs struct {
	// Specifies whether auto renew is enabled.
	// Valid values are **true** and **false**.
	AutoRenew pulumi.StringPtrInput
	// Specifies the AZ name. For a three-AZ deployment instance,
	// use commas (,) to separate the AZs, for example, `cn-north-4a,cn-north-4b,cn-north-4c`.
	// Changing this parameter will create a new resource.
	AvailabilityZone pulumi.StringInput
	// Specifies the advanced backup policy. Structure is documented below.
	BackupStrategy MongoInstanceBackupStrategyPtrInput
	// Specifies the charging mode of the instance. Valid values are **prePaid**
	// and **postPaid**, defaults to **postPaid**. Changing this will do nothing.
	ChargingMode pulumi.StringPtrInput
	// Specifies the Parameter Template ID.
	ConfigurationId pulumi.StringPtrInput
	// Specifies the database information. Structure is documented below. Changing
	// this parameter will create a new resource.
	Datastore MongoInstanceDatastorePtrInput
	// Specifies the dedicated resource ID. Changing this parameter
	// will create a new resource.
	DedicatedResourceId pulumi.StringPtrInput
	// Specifies the dedicated resource name. Changing this
	// parameter will create a new resource.
	DedicatedResourceName pulumi.StringPtrInput
	// Specifies the enterprise project id, Only valid for users who
	// have enabled the enterprise multi-project service. Changing this parameter will create a new resource.
	EnterpriseProjectId pulumi.StringPtrInput
	// Specifies the instance specifications. For details,
	// see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/mongoug-nosql/nosql_05_0029.html)
	// Changing this parameter will create a new resource.
	Flavor pulumi.StringInput
	// If specified, try to import the instance instead of creating if the name already
	// existed.
	ForceImport pulumi.BoolPtrInput
	// Specifies the instance name, which can be the same as an existing instance name. The
	// value must be **4** to **64** characters in length and start with a letter. It is case-sensitive and can contain only
	// letters, digits, hyphens (-), and underscores (_).
	Name pulumi.StringPtrInput
	// Specifies the number of nodes, only **3** is supported now. Defaults to **3**.
	// Changing this parameter will create a new resource.
	NodeNum pulumi.IntPtrInput
	// Specifies the database password. The value must be **8** to **32** characters in
	// length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are
	// advised to enter a strong password to improve security, preventing security risks such as brute force cracking.
	Password pulumi.StringInput
	// Specifies the charging period of the instance.
	// If `periodUnit` is set to **month** , the value ranges from **1** to **9**. If `periodUnit` is set to **year**, the
	// value ranges from **1** to **3**. This parameter is mandatory if `chargingMode` is set to **prePaid**. Changing this
	// will do nothing.
	Period pulumi.IntPtrInput
	// Specifies the charging period unit of the instance.
	// Valid values are **month** and **year**. This parameter is mandatory if `chargingMode` is set to **prePaid**.
	// Changing this will do nothing.
	PeriodUnit pulumi.StringPtrInput
	// The region in which to create the mongo instance resource. If omitted, the
	// provider-level region will be used. Changing this creates a new mongo instance resource.
	Region pulumi.StringPtrInput
	// Specifies the security group ID. Required if the selected subnet doesn't
	// enable network ACL.
	SecurityGroupId pulumi.StringPtrInput
	// Specifies whether to enable or disable SSL. Defaults to **false**. Changing this
	// parameter will create a new resource.
	Ssl pulumi.BoolPtrInput
	// Specifies the network ID of a subnet. Changing this parameter will create
	// a new resource.
	SubnetId pulumi.StringInput
	// The key/value pairs to associate with the instance.
	Tags pulumi.StringMapInput
	// Specifies the storage space in GB. The value must be a multiple of **10**. For a
	// GaussDB mongo DB instance, the minimum storage space is **100** GB, and the maximum storage space is related to the
	// instance performance specifications. For details,
	// see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/mongoug-nosql/nosql_05_0029.html)
	VolumeSize pulumi.IntInput
	// Specifies the VPC ID. Changing this parameter will create a new resource.
	VpcId pulumi.StringInput
}

The set of arguments for constructing a MongoInstance resource.

func (MongoInstanceArgs) ElementType

func (MongoInstanceArgs) ElementType() reflect.Type

type MongoInstanceArray

type MongoInstanceArray []MongoInstanceInput

func (MongoInstanceArray) ElementType

func (MongoInstanceArray) ElementType() reflect.Type

func (MongoInstanceArray) ToMongoInstanceArrayOutput

func (i MongoInstanceArray) ToMongoInstanceArrayOutput() MongoInstanceArrayOutput

func (MongoInstanceArray) ToMongoInstanceArrayOutputWithContext

func (i MongoInstanceArray) ToMongoInstanceArrayOutputWithContext(ctx context.Context) MongoInstanceArrayOutput

type MongoInstanceArrayInput

type MongoInstanceArrayInput interface {
	pulumi.Input

	ToMongoInstanceArrayOutput() MongoInstanceArrayOutput
	ToMongoInstanceArrayOutputWithContext(context.Context) MongoInstanceArrayOutput
}

MongoInstanceArrayInput is an input type that accepts MongoInstanceArray and MongoInstanceArrayOutput values. You can construct a concrete instance of `MongoInstanceArrayInput` via:

MongoInstanceArray{ MongoInstanceArgs{...} }

type MongoInstanceArrayOutput

type MongoInstanceArrayOutput struct{ *pulumi.OutputState }

func (MongoInstanceArrayOutput) ElementType

func (MongoInstanceArrayOutput) ElementType() reflect.Type

func (MongoInstanceArrayOutput) Index

func (MongoInstanceArrayOutput) ToMongoInstanceArrayOutput

func (o MongoInstanceArrayOutput) ToMongoInstanceArrayOutput() MongoInstanceArrayOutput

func (MongoInstanceArrayOutput) ToMongoInstanceArrayOutputWithContext

func (o MongoInstanceArrayOutput) ToMongoInstanceArrayOutputWithContext(ctx context.Context) MongoInstanceArrayOutput

type MongoInstanceBackupStrategy

type MongoInstanceBackupStrategy struct {
	// Specifies the number of days to retain the generated backup files. The value ranges from
	// **0** to **35**. If this parameter is set to **0**, the automated backup policy is not set. If this parameter is not
	// transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default.
	KeepDays *int `pulumi:"keepDays"`
	// Specifies the backup time window. Automated backups will be triggered during the
	// backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The
	// HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example
	// value: 08:00-09:00, 03:00-04:00.
	StartTime string `pulumi:"startTime"`
}

type MongoInstanceBackupStrategyArgs

type MongoInstanceBackupStrategyArgs struct {
	// Specifies the number of days to retain the generated backup files. The value ranges from
	// **0** to **35**. If this parameter is set to **0**, the automated backup policy is not set. If this parameter is not
	// transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default.
	KeepDays pulumi.IntPtrInput `pulumi:"keepDays"`
	// Specifies the backup time window. Automated backups will be triggered during the
	// backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The
	// HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example
	// value: 08:00-09:00, 03:00-04:00.
	StartTime pulumi.StringInput `pulumi:"startTime"`
}

func (MongoInstanceBackupStrategyArgs) ElementType

func (MongoInstanceBackupStrategyArgs) ToMongoInstanceBackupStrategyOutput

func (i MongoInstanceBackupStrategyArgs) ToMongoInstanceBackupStrategyOutput() MongoInstanceBackupStrategyOutput

func (MongoInstanceBackupStrategyArgs) ToMongoInstanceBackupStrategyOutputWithContext

func (i MongoInstanceBackupStrategyArgs) ToMongoInstanceBackupStrategyOutputWithContext(ctx context.Context) MongoInstanceBackupStrategyOutput

func (MongoInstanceBackupStrategyArgs) ToMongoInstanceBackupStrategyPtrOutput

func (i MongoInstanceBackupStrategyArgs) ToMongoInstanceBackupStrategyPtrOutput() MongoInstanceBackupStrategyPtrOutput

func (MongoInstanceBackupStrategyArgs) ToMongoInstanceBackupStrategyPtrOutputWithContext

func (i MongoInstanceBackupStrategyArgs) ToMongoInstanceBackupStrategyPtrOutputWithContext(ctx context.Context) MongoInstanceBackupStrategyPtrOutput

type MongoInstanceBackupStrategyInput

type MongoInstanceBackupStrategyInput interface {
	pulumi.Input

	ToMongoInstanceBackupStrategyOutput() MongoInstanceBackupStrategyOutput
	ToMongoInstanceBackupStrategyOutputWithContext(context.Context) MongoInstanceBackupStrategyOutput
}

MongoInstanceBackupStrategyInput is an input type that accepts MongoInstanceBackupStrategyArgs and MongoInstanceBackupStrategyOutput values. You can construct a concrete instance of `MongoInstanceBackupStrategyInput` via:

MongoInstanceBackupStrategyArgs{...}

type MongoInstanceBackupStrategyOutput

type MongoInstanceBackupStrategyOutput struct{ *pulumi.OutputState }

func (MongoInstanceBackupStrategyOutput) ElementType

func (MongoInstanceBackupStrategyOutput) KeepDays

Specifies the number of days to retain the generated backup files. The value ranges from **0** to **35**. If this parameter is set to **0**, the automated backup policy is not set. If this parameter is not transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default.

func (MongoInstanceBackupStrategyOutput) StartTime

Specifies the backup time window. Automated backups will be triggered during the backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example value: 08:00-09:00, 03:00-04:00.

func (MongoInstanceBackupStrategyOutput) ToMongoInstanceBackupStrategyOutput

func (o MongoInstanceBackupStrategyOutput) ToMongoInstanceBackupStrategyOutput() MongoInstanceBackupStrategyOutput

func (MongoInstanceBackupStrategyOutput) ToMongoInstanceBackupStrategyOutputWithContext

func (o MongoInstanceBackupStrategyOutput) ToMongoInstanceBackupStrategyOutputWithContext(ctx context.Context) MongoInstanceBackupStrategyOutput

func (MongoInstanceBackupStrategyOutput) ToMongoInstanceBackupStrategyPtrOutput

func (o MongoInstanceBackupStrategyOutput) ToMongoInstanceBackupStrategyPtrOutput() MongoInstanceBackupStrategyPtrOutput

func (MongoInstanceBackupStrategyOutput) ToMongoInstanceBackupStrategyPtrOutputWithContext

func (o MongoInstanceBackupStrategyOutput) ToMongoInstanceBackupStrategyPtrOutputWithContext(ctx context.Context) MongoInstanceBackupStrategyPtrOutput

type MongoInstanceBackupStrategyPtrInput

type MongoInstanceBackupStrategyPtrInput interface {
	pulumi.Input

	ToMongoInstanceBackupStrategyPtrOutput() MongoInstanceBackupStrategyPtrOutput
	ToMongoInstanceBackupStrategyPtrOutputWithContext(context.Context) MongoInstanceBackupStrategyPtrOutput
}

MongoInstanceBackupStrategyPtrInput is an input type that accepts MongoInstanceBackupStrategyArgs, MongoInstanceBackupStrategyPtr and MongoInstanceBackupStrategyPtrOutput values. You can construct a concrete instance of `MongoInstanceBackupStrategyPtrInput` via:

        MongoInstanceBackupStrategyArgs{...}

or:

        nil

type MongoInstanceBackupStrategyPtrOutput

type MongoInstanceBackupStrategyPtrOutput struct{ *pulumi.OutputState }

func (MongoInstanceBackupStrategyPtrOutput) Elem

func (MongoInstanceBackupStrategyPtrOutput) ElementType

func (MongoInstanceBackupStrategyPtrOutput) KeepDays

Specifies the number of days to retain the generated backup files. The value ranges from **0** to **35**. If this parameter is set to **0**, the automated backup policy is not set. If this parameter is not transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default.

func (MongoInstanceBackupStrategyPtrOutput) StartTime

Specifies the backup time window. Automated backups will be triggered during the backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example value: 08:00-09:00, 03:00-04:00.

func (MongoInstanceBackupStrategyPtrOutput) ToMongoInstanceBackupStrategyPtrOutput

func (o MongoInstanceBackupStrategyPtrOutput) ToMongoInstanceBackupStrategyPtrOutput() MongoInstanceBackupStrategyPtrOutput

func (MongoInstanceBackupStrategyPtrOutput) ToMongoInstanceBackupStrategyPtrOutputWithContext

func (o MongoInstanceBackupStrategyPtrOutput) ToMongoInstanceBackupStrategyPtrOutputWithContext(ctx context.Context) MongoInstanceBackupStrategyPtrOutput

type MongoInstanceDatastore

type MongoInstanceDatastore struct {
	// Specifies the database engine. Only **mongodb** is supported now.
	Engine string `pulumi:"engine"`
	// Specifies the storage engine. Only **rocksDB** is supported now.
	StorageEngine string `pulumi:"storageEngine"`
	// Specifies the database version.
	Version string `pulumi:"version"`
}

type MongoInstanceDatastoreArgs

type MongoInstanceDatastoreArgs struct {
	// Specifies the database engine. Only **mongodb** is supported now.
	Engine pulumi.StringInput `pulumi:"engine"`
	// Specifies the storage engine. Only **rocksDB** is supported now.
	StorageEngine pulumi.StringInput `pulumi:"storageEngine"`
	// Specifies the database version.
	Version pulumi.StringInput `pulumi:"version"`
}

func (MongoInstanceDatastoreArgs) ElementType

func (MongoInstanceDatastoreArgs) ElementType() reflect.Type

func (MongoInstanceDatastoreArgs) ToMongoInstanceDatastoreOutput

func (i MongoInstanceDatastoreArgs) ToMongoInstanceDatastoreOutput() MongoInstanceDatastoreOutput

func (MongoInstanceDatastoreArgs) ToMongoInstanceDatastoreOutputWithContext

func (i MongoInstanceDatastoreArgs) ToMongoInstanceDatastoreOutputWithContext(ctx context.Context) MongoInstanceDatastoreOutput

func (MongoInstanceDatastoreArgs) ToMongoInstanceDatastorePtrOutput

func (i MongoInstanceDatastoreArgs) ToMongoInstanceDatastorePtrOutput() MongoInstanceDatastorePtrOutput

func (MongoInstanceDatastoreArgs) ToMongoInstanceDatastorePtrOutputWithContext

func (i MongoInstanceDatastoreArgs) ToMongoInstanceDatastorePtrOutputWithContext(ctx context.Context) MongoInstanceDatastorePtrOutput

type MongoInstanceDatastoreInput

type MongoInstanceDatastoreInput interface {
	pulumi.Input

	ToMongoInstanceDatastoreOutput() MongoInstanceDatastoreOutput
	ToMongoInstanceDatastoreOutputWithContext(context.Context) MongoInstanceDatastoreOutput
}

MongoInstanceDatastoreInput is an input type that accepts MongoInstanceDatastoreArgs and MongoInstanceDatastoreOutput values. You can construct a concrete instance of `MongoInstanceDatastoreInput` via:

MongoInstanceDatastoreArgs{...}

type MongoInstanceDatastoreOutput

type MongoInstanceDatastoreOutput struct{ *pulumi.OutputState }

func (MongoInstanceDatastoreOutput) ElementType

func (MongoInstanceDatastoreOutput) Engine

Specifies the database engine. Only **mongodb** is supported now.

func (MongoInstanceDatastoreOutput) StorageEngine

Specifies the storage engine. Only **rocksDB** is supported now.

func (MongoInstanceDatastoreOutput) ToMongoInstanceDatastoreOutput

func (o MongoInstanceDatastoreOutput) ToMongoInstanceDatastoreOutput() MongoInstanceDatastoreOutput

func (MongoInstanceDatastoreOutput) ToMongoInstanceDatastoreOutputWithContext

func (o MongoInstanceDatastoreOutput) ToMongoInstanceDatastoreOutputWithContext(ctx context.Context) MongoInstanceDatastoreOutput

func (MongoInstanceDatastoreOutput) ToMongoInstanceDatastorePtrOutput

func (o MongoInstanceDatastoreOutput) ToMongoInstanceDatastorePtrOutput() MongoInstanceDatastorePtrOutput

func (MongoInstanceDatastoreOutput) ToMongoInstanceDatastorePtrOutputWithContext

func (o MongoInstanceDatastoreOutput) ToMongoInstanceDatastorePtrOutputWithContext(ctx context.Context) MongoInstanceDatastorePtrOutput

func (MongoInstanceDatastoreOutput) Version

Specifies the database version.

type MongoInstanceDatastorePtrInput

type MongoInstanceDatastorePtrInput interface {
	pulumi.Input

	ToMongoInstanceDatastorePtrOutput() MongoInstanceDatastorePtrOutput
	ToMongoInstanceDatastorePtrOutputWithContext(context.Context) MongoInstanceDatastorePtrOutput
}

MongoInstanceDatastorePtrInput is an input type that accepts MongoInstanceDatastoreArgs, MongoInstanceDatastorePtr and MongoInstanceDatastorePtrOutput values. You can construct a concrete instance of `MongoInstanceDatastorePtrInput` via:

        MongoInstanceDatastoreArgs{...}

or:

        nil

type MongoInstanceDatastorePtrOutput

type MongoInstanceDatastorePtrOutput struct{ *pulumi.OutputState }

func (MongoInstanceDatastorePtrOutput) Elem

func (MongoInstanceDatastorePtrOutput) ElementType

func (MongoInstanceDatastorePtrOutput) Engine

Specifies the database engine. Only **mongodb** is supported now.

func (MongoInstanceDatastorePtrOutput) StorageEngine

Specifies the storage engine. Only **rocksDB** is supported now.

func (MongoInstanceDatastorePtrOutput) ToMongoInstanceDatastorePtrOutput

func (o MongoInstanceDatastorePtrOutput) ToMongoInstanceDatastorePtrOutput() MongoInstanceDatastorePtrOutput

func (MongoInstanceDatastorePtrOutput) ToMongoInstanceDatastorePtrOutputWithContext

func (o MongoInstanceDatastorePtrOutput) ToMongoInstanceDatastorePtrOutputWithContext(ctx context.Context) MongoInstanceDatastorePtrOutput

func (MongoInstanceDatastorePtrOutput) Version

Specifies the database version.

type MongoInstanceInput

type MongoInstanceInput interface {
	pulumi.Input

	ToMongoInstanceOutput() MongoInstanceOutput
	ToMongoInstanceOutputWithContext(ctx context.Context) MongoInstanceOutput
}

type MongoInstanceMap

type MongoInstanceMap map[string]MongoInstanceInput

func (MongoInstanceMap) ElementType

func (MongoInstanceMap) ElementType() reflect.Type

func (MongoInstanceMap) ToMongoInstanceMapOutput

func (i MongoInstanceMap) ToMongoInstanceMapOutput() MongoInstanceMapOutput

func (MongoInstanceMap) ToMongoInstanceMapOutputWithContext

func (i MongoInstanceMap) ToMongoInstanceMapOutputWithContext(ctx context.Context) MongoInstanceMapOutput

type MongoInstanceMapInput

type MongoInstanceMapInput interface {
	pulumi.Input

	ToMongoInstanceMapOutput() MongoInstanceMapOutput
	ToMongoInstanceMapOutputWithContext(context.Context) MongoInstanceMapOutput
}

MongoInstanceMapInput is an input type that accepts MongoInstanceMap and MongoInstanceMapOutput values. You can construct a concrete instance of `MongoInstanceMapInput` via:

MongoInstanceMap{ "key": MongoInstanceArgs{...} }

type MongoInstanceMapOutput

type MongoInstanceMapOutput struct{ *pulumi.OutputState }

func (MongoInstanceMapOutput) ElementType

func (MongoInstanceMapOutput) ElementType() reflect.Type

func (MongoInstanceMapOutput) MapIndex

func (MongoInstanceMapOutput) ToMongoInstanceMapOutput

func (o MongoInstanceMapOutput) ToMongoInstanceMapOutput() MongoInstanceMapOutput

func (MongoInstanceMapOutput) ToMongoInstanceMapOutputWithContext

func (o MongoInstanceMapOutput) ToMongoInstanceMapOutputWithContext(ctx context.Context) MongoInstanceMapOutput

type MongoInstanceNode

type MongoInstanceNode struct {
	// Indicates the node ID.
	Id *string `pulumi:"id"`
	// Specifies the instance name, which can be the same as an existing instance name. The
	// value must be **4** to **64** characters in length and start with a letter. It is case-sensitive and can contain only
	// letters, digits, hyphens (-), and underscores (_).
	Name *string `pulumi:"name"`
	// Indicates the private IP address of a node.
	PrivateIp *string `pulumi:"privateIp"`
	// Indicates the node status.
	Status *string `pulumi:"status"`
	// Indicates whether the node support reduce or not.
	SupportReduce *bool `pulumi:"supportReduce"`
}

type MongoInstanceNodeArgs

type MongoInstanceNodeArgs struct {
	// Indicates the node ID.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// Specifies the instance name, which can be the same as an existing instance name. The
	// value must be **4** to **64** characters in length and start with a letter. It is case-sensitive and can contain only
	// letters, digits, hyphens (-), and underscores (_).
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Indicates the private IP address of a node.
	PrivateIp pulumi.StringPtrInput `pulumi:"privateIp"`
	// Indicates the node status.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// Indicates whether the node support reduce or not.
	SupportReduce pulumi.BoolPtrInput `pulumi:"supportReduce"`
}

func (MongoInstanceNodeArgs) ElementType

func (MongoInstanceNodeArgs) ElementType() reflect.Type

func (MongoInstanceNodeArgs) ToMongoInstanceNodeOutput

func (i MongoInstanceNodeArgs) ToMongoInstanceNodeOutput() MongoInstanceNodeOutput

func (MongoInstanceNodeArgs) ToMongoInstanceNodeOutputWithContext

func (i MongoInstanceNodeArgs) ToMongoInstanceNodeOutputWithContext(ctx context.Context) MongoInstanceNodeOutput

type MongoInstanceNodeArray

type MongoInstanceNodeArray []MongoInstanceNodeInput

func (MongoInstanceNodeArray) ElementType

func (MongoInstanceNodeArray) ElementType() reflect.Type

func (MongoInstanceNodeArray) ToMongoInstanceNodeArrayOutput

func (i MongoInstanceNodeArray) ToMongoInstanceNodeArrayOutput() MongoInstanceNodeArrayOutput

func (MongoInstanceNodeArray) ToMongoInstanceNodeArrayOutputWithContext

func (i MongoInstanceNodeArray) ToMongoInstanceNodeArrayOutputWithContext(ctx context.Context) MongoInstanceNodeArrayOutput

type MongoInstanceNodeArrayInput

type MongoInstanceNodeArrayInput interface {
	pulumi.Input

	ToMongoInstanceNodeArrayOutput() MongoInstanceNodeArrayOutput
	ToMongoInstanceNodeArrayOutputWithContext(context.Context) MongoInstanceNodeArrayOutput
}

MongoInstanceNodeArrayInput is an input type that accepts MongoInstanceNodeArray and MongoInstanceNodeArrayOutput values. You can construct a concrete instance of `MongoInstanceNodeArrayInput` via:

MongoInstanceNodeArray{ MongoInstanceNodeArgs{...} }

type MongoInstanceNodeArrayOutput

type MongoInstanceNodeArrayOutput struct{ *pulumi.OutputState }

func (MongoInstanceNodeArrayOutput) ElementType

func (MongoInstanceNodeArrayOutput) Index

func (MongoInstanceNodeArrayOutput) ToMongoInstanceNodeArrayOutput

func (o MongoInstanceNodeArrayOutput) ToMongoInstanceNodeArrayOutput() MongoInstanceNodeArrayOutput

func (MongoInstanceNodeArrayOutput) ToMongoInstanceNodeArrayOutputWithContext

func (o MongoInstanceNodeArrayOutput) ToMongoInstanceNodeArrayOutputWithContext(ctx context.Context) MongoInstanceNodeArrayOutput

type MongoInstanceNodeInput

type MongoInstanceNodeInput interface {
	pulumi.Input

	ToMongoInstanceNodeOutput() MongoInstanceNodeOutput
	ToMongoInstanceNodeOutputWithContext(context.Context) MongoInstanceNodeOutput
}

MongoInstanceNodeInput is an input type that accepts MongoInstanceNodeArgs and MongoInstanceNodeOutput values. You can construct a concrete instance of `MongoInstanceNodeInput` via:

MongoInstanceNodeArgs{...}

type MongoInstanceNodeOutput

type MongoInstanceNodeOutput struct{ *pulumi.OutputState }

func (MongoInstanceNodeOutput) ElementType

func (MongoInstanceNodeOutput) ElementType() reflect.Type

func (MongoInstanceNodeOutput) Id

Indicates the node ID.

func (MongoInstanceNodeOutput) Name

Specifies the instance name, which can be the same as an existing instance name. The value must be **4** to **64** characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).

func (MongoInstanceNodeOutput) PrivateIp

Indicates the private IP address of a node.

func (MongoInstanceNodeOutput) Status

Indicates the node status.

func (MongoInstanceNodeOutput) SupportReduce

func (o MongoInstanceNodeOutput) SupportReduce() pulumi.BoolPtrOutput

Indicates whether the node support reduce or not.

func (MongoInstanceNodeOutput) ToMongoInstanceNodeOutput

func (o MongoInstanceNodeOutput) ToMongoInstanceNodeOutput() MongoInstanceNodeOutput

func (MongoInstanceNodeOutput) ToMongoInstanceNodeOutputWithContext

func (o MongoInstanceNodeOutput) ToMongoInstanceNodeOutputWithContext(ctx context.Context) MongoInstanceNodeOutput

type MongoInstanceOutput

type MongoInstanceOutput struct{ *pulumi.OutputState }

func (MongoInstanceOutput) AutoRenew

Specifies whether auto renew is enabled. Valid values are **true** and **false**.

func (MongoInstanceOutput) AvailabilityZone

func (o MongoInstanceOutput) AvailabilityZone() pulumi.StringOutput

Specifies the AZ name. For a three-AZ deployment instance, use commas (,) to separate the AZs, for example, `cn-north-4a,cn-north-4b,cn-north-4c`. Changing this parameter will create a new resource.

func (MongoInstanceOutput) BackupStrategy

Specifies the advanced backup policy. Structure is documented below.

func (MongoInstanceOutput) ChargingMode

func (o MongoInstanceOutput) ChargingMode() pulumi.StringPtrOutput

Specifies the charging mode of the instance. Valid values are **prePaid** and **postPaid**, defaults to **postPaid**. Changing this will do nothing.

func (MongoInstanceOutput) ConfigurationId

func (o MongoInstanceOutput) ConfigurationId() pulumi.StringOutput

Specifies the Parameter Template ID.

func (MongoInstanceOutput) Datastore

Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.

func (MongoInstanceOutput) DbUserName

func (o MongoInstanceOutput) DbUserName() pulumi.StringOutput

Indicates the default username.

func (MongoInstanceOutput) DedicatedResourceId

func (o MongoInstanceOutput) DedicatedResourceId() pulumi.StringOutput

Specifies the dedicated resource ID. Changing this parameter will create a new resource.

func (MongoInstanceOutput) DedicatedResourceName

func (o MongoInstanceOutput) DedicatedResourceName() pulumi.StringOutput

Specifies the dedicated resource name. Changing this parameter will create a new resource.

func (MongoInstanceOutput) ElementType

func (MongoInstanceOutput) ElementType() reflect.Type

func (MongoInstanceOutput) EnterpriseProjectId

func (o MongoInstanceOutput) EnterpriseProjectId() pulumi.StringPtrOutput

Specifies the enterprise project id, Only valid for users who have enabled the enterprise multi-project service. Changing this parameter will create a new resource.

func (MongoInstanceOutput) Flavor

Specifies the instance specifications. For details, see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/mongoug-nosql/nosql_05_0029.html) Changing this parameter will create a new resource.

func (MongoInstanceOutput) ForceImport

func (o MongoInstanceOutput) ForceImport() pulumi.BoolPtrOutput

If specified, try to import the instance instead of creating if the name already existed.

func (MongoInstanceOutput) LbIpAddress added in v0.0.8

func (o MongoInstanceOutput) LbIpAddress() pulumi.StringOutput

Indicates the LB IP address of the db.

func (MongoInstanceOutput) LbPort added in v0.0.8

Indicates the LB port of the db.

func (MongoInstanceOutput) Mode

Indicates the instance type.

func (MongoInstanceOutput) Name

Specifies the instance name, which can be the same as an existing instance name. The value must be **4** to **64** characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).

func (MongoInstanceOutput) NodeNum

Specifies the number of nodes, only **3** is supported now. Defaults to **3**. Changing this parameter will create a new resource.

func (MongoInstanceOutput) Nodes

Indicates the instance nodes information. Structure is documented below.

func (MongoInstanceOutput) Password

Specifies the database password. The value must be **8** to **32** characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to enter a strong password to improve security, preventing security risks such as brute force cracking.

func (MongoInstanceOutput) Period

Specifies the charging period of the instance. If `periodUnit` is set to **month** , the value ranges from **1** to **9**. If `periodUnit` is set to **year**, the value ranges from **1** to **3**. This parameter is mandatory if `chargingMode` is set to **prePaid**. Changing this will do nothing.

func (MongoInstanceOutput) PeriodUnit

Specifies the charging period unit of the instance. Valid values are **month** and **year**. This parameter is mandatory if `chargingMode` is set to **prePaid**. Changing this will do nothing.

func (MongoInstanceOutput) Port

Indicates the database port.

func (MongoInstanceOutput) PrivateIps

Indicates the IP address list of the db.

func (MongoInstanceOutput) Region

The region in which to create the mongo instance resource. If omitted, the provider-level region will be used. Changing this creates a new mongo instance resource.

func (MongoInstanceOutput) SecurityGroupId

func (o MongoInstanceOutput) SecurityGroupId() pulumi.StringPtrOutput

Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.

func (MongoInstanceOutput) Ssl

Specifies whether to enable or disable SSL. Defaults to **false**. Changing this parameter will create a new resource.

func (MongoInstanceOutput) Status

Indicates the node status.

func (MongoInstanceOutput) SubnetId

Specifies the network ID of a subnet. Changing this parameter will create a new resource.

func (MongoInstanceOutput) Tags

The key/value pairs to associate with the instance.

func (MongoInstanceOutput) ToMongoInstanceOutput

func (o MongoInstanceOutput) ToMongoInstanceOutput() MongoInstanceOutput

func (MongoInstanceOutput) ToMongoInstanceOutputWithContext

func (o MongoInstanceOutput) ToMongoInstanceOutputWithContext(ctx context.Context) MongoInstanceOutput

func (MongoInstanceOutput) VolumeSize

func (o MongoInstanceOutput) VolumeSize() pulumi.IntOutput

Specifies the storage space in GB. The value must be a multiple of **10**. For a GaussDB mongo DB instance, the minimum storage space is **100** GB, and the maximum storage space is related to the instance performance specifications. For details, see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/mongoug-nosql/nosql_05_0029.html)

func (MongoInstanceOutput) VpcId

Specifies the VPC ID. Changing this parameter will create a new resource.

type MongoInstanceState

type MongoInstanceState struct {
	// Specifies whether auto renew is enabled.
	// Valid values are **true** and **false**.
	AutoRenew pulumi.StringPtrInput
	// Specifies the AZ name. For a three-AZ deployment instance,
	// use commas (,) to separate the AZs, for example, `cn-north-4a,cn-north-4b,cn-north-4c`.
	// Changing this parameter will create a new resource.
	AvailabilityZone pulumi.StringPtrInput
	// Specifies the advanced backup policy. Structure is documented below.
	BackupStrategy MongoInstanceBackupStrategyPtrInput
	// Specifies the charging mode of the instance. Valid values are **prePaid**
	// and **postPaid**, defaults to **postPaid**. Changing this will do nothing.
	ChargingMode pulumi.StringPtrInput
	// Specifies the Parameter Template ID.
	ConfigurationId pulumi.StringPtrInput
	// Specifies the database information. Structure is documented below. Changing
	// this parameter will create a new resource.
	Datastore MongoInstanceDatastorePtrInput
	// Indicates the default username.
	DbUserName pulumi.StringPtrInput
	// Specifies the dedicated resource ID. Changing this parameter
	// will create a new resource.
	DedicatedResourceId pulumi.StringPtrInput
	// Specifies the dedicated resource name. Changing this
	// parameter will create a new resource.
	DedicatedResourceName pulumi.StringPtrInput
	// Specifies the enterprise project id, Only valid for users who
	// have enabled the enterprise multi-project service. Changing this parameter will create a new resource.
	EnterpriseProjectId pulumi.StringPtrInput
	// Specifies the instance specifications. For details,
	// see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/mongoug-nosql/nosql_05_0029.html)
	// Changing this parameter will create a new resource.
	Flavor pulumi.StringPtrInput
	// If specified, try to import the instance instead of creating if the name already
	// existed.
	ForceImport pulumi.BoolPtrInput
	// Indicates the LB IP address of the db.
	LbIpAddress pulumi.StringPtrInput
	// Indicates the LB port of the db.
	LbPort pulumi.StringPtrInput
	// Indicates the instance type.
	Mode pulumi.StringPtrInput
	// Specifies the instance name, which can be the same as an existing instance name. The
	// value must be **4** to **64** characters in length and start with a letter. It is case-sensitive and can contain only
	// letters, digits, hyphens (-), and underscores (_).
	Name pulumi.StringPtrInput
	// Specifies the number of nodes, only **3** is supported now. Defaults to **3**.
	// Changing this parameter will create a new resource.
	NodeNum pulumi.IntPtrInput
	// Indicates the instance nodes information. Structure is documented below.
	Nodes MongoInstanceNodeArrayInput
	// Specifies the database password. The value must be **8** to **32** characters in
	// length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are
	// advised to enter a strong password to improve security, preventing security risks such as brute force cracking.
	Password pulumi.StringPtrInput
	// Specifies the charging period of the instance.
	// If `periodUnit` is set to **month** , the value ranges from **1** to **9**. If `periodUnit` is set to **year**, the
	// value ranges from **1** to **3**. This parameter is mandatory if `chargingMode` is set to **prePaid**. Changing this
	// will do nothing.
	Period pulumi.IntPtrInput
	// Specifies the charging period unit of the instance.
	// Valid values are **month** and **year**. This parameter is mandatory if `chargingMode` is set to **prePaid**.
	// Changing this will do nothing.
	PeriodUnit pulumi.StringPtrInput
	// Indicates the database port.
	Port pulumi.IntPtrInput
	// Indicates the IP address list of the db.
	PrivateIps pulumi.StringArrayInput
	// The region in which to create the mongo instance resource. If omitted, the
	// provider-level region will be used. Changing this creates a new mongo instance resource.
	Region pulumi.StringPtrInput
	// Specifies the security group ID. Required if the selected subnet doesn't
	// enable network ACL.
	SecurityGroupId pulumi.StringPtrInput
	// Specifies whether to enable or disable SSL. Defaults to **false**. Changing this
	// parameter will create a new resource.
	Ssl pulumi.BoolPtrInput
	// Indicates the node status.
	Status pulumi.StringPtrInput
	// Specifies the network ID of a subnet. Changing this parameter will create
	// a new resource.
	SubnetId pulumi.StringPtrInput
	// The key/value pairs to associate with the instance.
	Tags pulumi.StringMapInput
	// Specifies the storage space in GB. The value must be a multiple of **10**. For a
	// GaussDB mongo DB instance, the minimum storage space is **100** GB, and the maximum storage space is related to the
	// instance performance specifications. For details,
	// see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/mongoug-nosql/nosql_05_0029.html)
	VolumeSize pulumi.IntPtrInput
	// Specifies the VPC ID. Changing this parameter will create a new resource.
	VpcId pulumi.StringPtrInput
}

func (MongoInstanceState) ElementType

func (MongoInstanceState) ElementType() reflect.Type

type RedisInstance

type RedisInstance struct {
	pulumi.CustomResourceState

	AutoPay pulumi.StringPtrOutput `pulumi:"autoPay"`
	// Specifies whether auto renew is enabled. Valid values are "true" and "false".
	AutoRenew pulumi.StringPtrOutput `pulumi:"autoRenew"`
	// Specifies the AZ name.
	// See [Region and Endpoints](https://developer.huaweicloud.com/intl/en-us/endpoint?GaussDB%20NoSQL) for more detail.
	// For a three-AZ deployment instance, use commas (,) to separate the AZs, for example, `cn-north-4a,cn-north-4b,cn-north-4c`.
	// Changing this parameter will create a new resource.
	AvailabilityZone pulumi.StringOutput `pulumi:"availabilityZone"`
	// Specifies the advanced backup policy. Structure is documented below. Do nothing
	// in update method if change this parameter.
	BackupStrategy RedisInstanceBackupStrategyOutput `pulumi:"backupStrategy"`
	// Specifies the charging mode of the GaussDB for Redis instance. Valid values are
	// *prePaid* and *postPaid*, defaults to *postPaid*. Do nothing in update method if change this parameter.
	ChargingMode pulumi.StringPtrOutput `pulumi:"chargingMode"`
	// Specifies the database information. Structure is documented below. Changing
	// this parameter will create a new resource.
	Datastore RedisInstanceDatastoreOutput `pulumi:"datastore"`
	// Indicates the default username.
	DbUserName pulumi.StringOutput `pulumi:"dbUserName"`
	// Specifies the enterprise project id, Only valid for users who
	// have enabled the enterprise multi-project service. Changing this parameter will create a new resource.
	EnterpriseProjectId pulumi.StringPtrOutput `pulumi:"enterpriseProjectId"`
	// Specifies the instance specifications. For details,
	// see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/redisug-nosql/nosql_05_0059.html).
	Flavor pulumi.StringOutput `pulumi:"flavor"`
	// If specified, try to import the instance instead of creating if the name already
	// existed.
	ForceImport pulumi.BoolPtrOutput `pulumi:"forceImport"`
	// Indicates the LB IP address of the db.
	LbIpAddress pulumi.StringOutput `pulumi:"lbIpAddress"`
	// Indicates the LB port of the db.
	LbPort pulumi.StringOutput `pulumi:"lbPort"`
	// Indicates the instance type.
	Mode pulumi.StringOutput `pulumi:"mode"`
	// Specifies the instance name, which can be the same as an existing instance name. The value
	// must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters,
	// digits, hyphens (-), and underscores (_). Chinese characters must be in UTF-8 or Unicode format.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the number of nodes, ranges from 2 to 12. Defaults to 3.
	NodeNum pulumi.IntPtrOutput `pulumi:"nodeNum"`
	// Indicates the instance nodes information. Structure is documented below.
	Nodes RedisInstanceNodeArrayOutput `pulumi:"nodes"`
	// Specifies the database password. The value must be 8 to 32 characters in length,
	// including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to
	// enter a strong password to improve security, preventing security risks such as brute force cracking.
	Password pulumi.StringOutput `pulumi:"password"`
	// Specifies the charging period of the GaussDB for Redis instance. If `periodUnit` is set
	// to *month*, the value ranges from 1 to 9. If `periodUnit` is set to *year*, the value ranges from 1 to 3. This
	// parameter is mandatory if `chargingMode` is set to *prePaid*. Do nothing in update method if change this parameter.
	Period pulumi.IntPtrOutput `pulumi:"period"`
	// Specifies the charging period unit of the GaussDB for Redis instance. Valid values
	// are *month* and *year*. This parameter is mandatory if `chargingMode` is set to *prePaid*. Do nothing in update
	// method if change this parameter.
	PeriodUnit pulumi.StringPtrOutput `pulumi:"periodUnit"`
	// Specifies the port number for accessing the instance. You can specify a port number
	// based on your requirements. The port number ranges from **1024** to **65535**, excluding **2180**, **2887**, **3887**,
	// **6377**, **6378**, **6380**, **8018**, **8079**, **8091**, **8479**, **8484**, **8999**, **12017**, **12333**, and
	// **50069**. Defaults to **6379**.
	// If you want to use this instance for dual-active DR, set the port to **8635**.
	Port pulumi.IntOutput `pulumi:"port"`
	// Indicates the IP address list of the db.
	PrivateIps pulumi.StringArrayOutput `pulumi:"privateIps"`
	// The region in which to create the Redis instance resource.
	// See [Region and Endpoints](https://developer.huaweicloud.com/intl/en-us/endpoint?GaussDB%20NoSQL) for more detail. If
	// omitted, the provider-level region will be used. Changing this creates a new Redis instance resource.
	Region pulumi.StringOutput `pulumi:"region"`
	// Specifies the security group ID. Required if the selected subnet doesn't
	// enable network ACL.
	SecurityGroupId pulumi.StringPtrOutput `pulumi:"securityGroupId"`
	// Specifies whether SSL is enabled. Defaults to **false**.
	Ssl pulumi.BoolPtrOutput `pulumi:"ssl"`
	// Indicates the node status.
	Status pulumi.StringOutput `pulumi:"status"`
	// Specifies the network ID of a subnet. Changing this parameter will create a
	// new resource.
	SubnetId pulumi.StringOutput `pulumi:"subnetId"`
	// The key/value pairs to associate with the instance.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Specifies the storage space in GB. For a GaussDB for Redis instance, the minimum and
	// maximum storage space depends on the flavor and nodes_num. For details,
	// see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/redisug-nosql/nosql_05_0059.html)
	VolumeSize pulumi.IntOutput `pulumi:"volumeSize"`
	// Specifies the VPC ID. Changing this parameter will create a new resource.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

GaussDB for Redis instance management within HuaweiCoud.

## Example Usage ### create a gaussdb for redis instance with tags

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := GaussDBforNoSQL.NewRedisInstance(ctx, "test", &GaussDBforNoSQL.RedisInstanceArgs{
			Password:         pulumi.Any(_var.Password),
			Flavor:           pulumi.String("geminidb.redis.xlarge.4"),
			VolumeSize:       pulumi.Int(100),
			VpcId:            pulumi.Any(_var.Vpc_id),
			SubnetId:         pulumi.Any(_var.Subnet_id),
			SecurityGroupId:  pulumi.Any(_var.Secgroup_id),
			AvailabilityZone: pulumi.Any(_var.Availability_zone),
			Tags: pulumi.StringMap{
				"foo": pulumi.String("bar"),
				"key": pulumi.String("value"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### create a gaussdb redis instance with backup strategy

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL"
"github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/GaussDBforNoSQL"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := GaussDBforNoSQL.NewRedisInstance(ctx, "test", &GaussDBforNoSQL.RedisInstanceArgs{
			Password:         pulumi.Any(_var.Password),
			Flavor:           pulumi.String("geminidb.redis.xlarge.4"),
			VolumeSize:       pulumi.Int(100),
			VpcId:            pulumi.Any(_var.Vpc_id),
			SubnetId:         pulumi.Any(_var.Subnet_id),
			SecurityGroupId:  pulumi.Any(_var.Secgroup_id),
			AvailabilityZone: pulumi.Any(_var.Availability_zone),
			BackupStrategy: &gaussdbfornosql.RedisInstanceBackupStrategyArgs{
				StartTime: pulumi.String("03:00-04:00"),
				KeepDays:  pulumi.Int(14),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

GaussDB Redis instance can be imported using the `id`, e.g.

```sh

$ pulumi import huaweicloud:GaussDBforNoSQL/redisInstance:RedisInstance instance_1 d54b21f037ed447aad4bfd20927711c6in12

```

func GetRedisInstance

func GetRedisInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RedisInstanceState, opts ...pulumi.ResourceOption) (*RedisInstance, error)

GetRedisInstance gets an existing RedisInstance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRedisInstance

func NewRedisInstance(ctx *pulumi.Context,
	name string, args *RedisInstanceArgs, opts ...pulumi.ResourceOption) (*RedisInstance, error)

NewRedisInstance registers a new resource with the given unique name, arguments, and options.

func (*RedisInstance) ElementType

func (*RedisInstance) ElementType() reflect.Type

func (*RedisInstance) ToRedisInstanceOutput

func (i *RedisInstance) ToRedisInstanceOutput() RedisInstanceOutput

func (*RedisInstance) ToRedisInstanceOutputWithContext

func (i *RedisInstance) ToRedisInstanceOutputWithContext(ctx context.Context) RedisInstanceOutput

type RedisInstanceArgs

type RedisInstanceArgs struct {
	AutoPay pulumi.StringPtrInput
	// Specifies whether auto renew is enabled. Valid values are "true" and "false".
	AutoRenew pulumi.StringPtrInput
	// Specifies the AZ name.
	// See [Region and Endpoints](https://developer.huaweicloud.com/intl/en-us/endpoint?GaussDB%20NoSQL) for more detail.
	// For a three-AZ deployment instance, use commas (,) to separate the AZs, for example, `cn-north-4a,cn-north-4b,cn-north-4c`.
	// Changing this parameter will create a new resource.
	AvailabilityZone pulumi.StringInput
	// Specifies the advanced backup policy. Structure is documented below. Do nothing
	// in update method if change this parameter.
	BackupStrategy RedisInstanceBackupStrategyPtrInput
	// Specifies the charging mode of the GaussDB for Redis instance. Valid values are
	// *prePaid* and *postPaid*, defaults to *postPaid*. Do nothing in update method if change this parameter.
	ChargingMode pulumi.StringPtrInput
	// Specifies the database information. Structure is documented below. Changing
	// this parameter will create a new resource.
	Datastore RedisInstanceDatastorePtrInput
	// Specifies the enterprise project id, Only valid for users who
	// have enabled the enterprise multi-project service. Changing this parameter will create a new resource.
	EnterpriseProjectId pulumi.StringPtrInput
	// Specifies the instance specifications. For details,
	// see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/redisug-nosql/nosql_05_0059.html).
	Flavor pulumi.StringInput
	// If specified, try to import the instance instead of creating if the name already
	// existed.
	ForceImport pulumi.BoolPtrInput
	// Specifies the instance name, which can be the same as an existing instance name. The value
	// must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters,
	// digits, hyphens (-), and underscores (_). Chinese characters must be in UTF-8 or Unicode format.
	Name pulumi.StringPtrInput
	// Specifies the number of nodes, ranges from 2 to 12. Defaults to 3.
	NodeNum pulumi.IntPtrInput
	// Specifies the database password. The value must be 8 to 32 characters in length,
	// including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to
	// enter a strong password to improve security, preventing security risks such as brute force cracking.
	Password pulumi.StringInput
	// Specifies the charging period of the GaussDB for Redis instance. If `periodUnit` is set
	// to *month*, the value ranges from 1 to 9. If `periodUnit` is set to *year*, the value ranges from 1 to 3. This
	// parameter is mandatory if `chargingMode` is set to *prePaid*. Do nothing in update method if change this parameter.
	Period pulumi.IntPtrInput
	// Specifies the charging period unit of the GaussDB for Redis instance. Valid values
	// are *month* and *year*. This parameter is mandatory if `chargingMode` is set to *prePaid*. Do nothing in update
	// method if change this parameter.
	PeriodUnit pulumi.StringPtrInput
	// Specifies the port number for accessing the instance. You can specify a port number
	// based on your requirements. The port number ranges from **1024** to **65535**, excluding **2180**, **2887**, **3887**,
	// **6377**, **6378**, **6380**, **8018**, **8079**, **8091**, **8479**, **8484**, **8999**, **12017**, **12333**, and
	// **50069**. Defaults to **6379**.
	// If you want to use this instance for dual-active DR, set the port to **8635**.
	Port pulumi.IntPtrInput
	// The region in which to create the Redis instance resource.
	// See [Region and Endpoints](https://developer.huaweicloud.com/intl/en-us/endpoint?GaussDB%20NoSQL) for more detail. If
	// omitted, the provider-level region will be used. Changing this creates a new Redis instance resource.
	Region pulumi.StringPtrInput
	// Specifies the security group ID. Required if the selected subnet doesn't
	// enable network ACL.
	SecurityGroupId pulumi.StringPtrInput
	// Specifies whether SSL is enabled. Defaults to **false**.
	Ssl pulumi.BoolPtrInput
	// Specifies the network ID of a subnet. Changing this parameter will create a
	// new resource.
	SubnetId pulumi.StringInput
	// The key/value pairs to associate with the instance.
	Tags pulumi.StringMapInput
	// Specifies the storage space in GB. For a GaussDB for Redis instance, the minimum and
	// maximum storage space depends on the flavor and nodes_num. For details,
	// see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/redisug-nosql/nosql_05_0059.html)
	VolumeSize pulumi.IntInput
	// Specifies the VPC ID. Changing this parameter will create a new resource.
	VpcId pulumi.StringInput
}

The set of arguments for constructing a RedisInstance resource.

func (RedisInstanceArgs) ElementType

func (RedisInstanceArgs) ElementType() reflect.Type

type RedisInstanceArray

type RedisInstanceArray []RedisInstanceInput

func (RedisInstanceArray) ElementType

func (RedisInstanceArray) ElementType() reflect.Type

func (RedisInstanceArray) ToRedisInstanceArrayOutput

func (i RedisInstanceArray) ToRedisInstanceArrayOutput() RedisInstanceArrayOutput

func (RedisInstanceArray) ToRedisInstanceArrayOutputWithContext

func (i RedisInstanceArray) ToRedisInstanceArrayOutputWithContext(ctx context.Context) RedisInstanceArrayOutput

type RedisInstanceArrayInput

type RedisInstanceArrayInput interface {
	pulumi.Input

	ToRedisInstanceArrayOutput() RedisInstanceArrayOutput
	ToRedisInstanceArrayOutputWithContext(context.Context) RedisInstanceArrayOutput
}

RedisInstanceArrayInput is an input type that accepts RedisInstanceArray and RedisInstanceArrayOutput values. You can construct a concrete instance of `RedisInstanceArrayInput` via:

RedisInstanceArray{ RedisInstanceArgs{...} }

type RedisInstanceArrayOutput

type RedisInstanceArrayOutput struct{ *pulumi.OutputState }

func (RedisInstanceArrayOutput) ElementType

func (RedisInstanceArrayOutput) ElementType() reflect.Type

func (RedisInstanceArrayOutput) Index

func (RedisInstanceArrayOutput) ToRedisInstanceArrayOutput

func (o RedisInstanceArrayOutput) ToRedisInstanceArrayOutput() RedisInstanceArrayOutput

func (RedisInstanceArrayOutput) ToRedisInstanceArrayOutputWithContext

func (o RedisInstanceArrayOutput) ToRedisInstanceArrayOutputWithContext(ctx context.Context) RedisInstanceArrayOutput

type RedisInstanceBackupStrategy

type RedisInstanceBackupStrategy struct {
	// Specifies the number of days to retain the generated backup files. The value ranges from
	// 0 to 35. If this parameter is set to 0, the automated backup policy is not set. If this parameter is not transferred,
	// the automated backup policy is enabled by default. Backup files are stored for seven days by default.
	KeepDays *int `pulumi:"keepDays"`
	// Specifies the backup time window. Automated backups will be triggered during the
	// backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The
	// HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example
	// value: 08:00-09:00, 03:00-04:00.
	StartTime string `pulumi:"startTime"`
}

type RedisInstanceBackupStrategyArgs

type RedisInstanceBackupStrategyArgs struct {
	// Specifies the number of days to retain the generated backup files. The value ranges from
	// 0 to 35. If this parameter is set to 0, the automated backup policy is not set. If this parameter is not transferred,
	// the automated backup policy is enabled by default. Backup files are stored for seven days by default.
	KeepDays pulumi.IntPtrInput `pulumi:"keepDays"`
	// Specifies the backup time window. Automated backups will be triggered during the
	// backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The
	// HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example
	// value: 08:00-09:00, 03:00-04:00.
	StartTime pulumi.StringInput `pulumi:"startTime"`
}

func (RedisInstanceBackupStrategyArgs) ElementType

func (RedisInstanceBackupStrategyArgs) ToRedisInstanceBackupStrategyOutput

func (i RedisInstanceBackupStrategyArgs) ToRedisInstanceBackupStrategyOutput() RedisInstanceBackupStrategyOutput

func (RedisInstanceBackupStrategyArgs) ToRedisInstanceBackupStrategyOutputWithContext

func (i RedisInstanceBackupStrategyArgs) ToRedisInstanceBackupStrategyOutputWithContext(ctx context.Context) RedisInstanceBackupStrategyOutput

func (RedisInstanceBackupStrategyArgs) ToRedisInstanceBackupStrategyPtrOutput

func (i RedisInstanceBackupStrategyArgs) ToRedisInstanceBackupStrategyPtrOutput() RedisInstanceBackupStrategyPtrOutput

func (RedisInstanceBackupStrategyArgs) ToRedisInstanceBackupStrategyPtrOutputWithContext

func (i RedisInstanceBackupStrategyArgs) ToRedisInstanceBackupStrategyPtrOutputWithContext(ctx context.Context) RedisInstanceBackupStrategyPtrOutput

type RedisInstanceBackupStrategyInput

type RedisInstanceBackupStrategyInput interface {
	pulumi.Input

	ToRedisInstanceBackupStrategyOutput() RedisInstanceBackupStrategyOutput
	ToRedisInstanceBackupStrategyOutputWithContext(context.Context) RedisInstanceBackupStrategyOutput
}

RedisInstanceBackupStrategyInput is an input type that accepts RedisInstanceBackupStrategyArgs and RedisInstanceBackupStrategyOutput values. You can construct a concrete instance of `RedisInstanceBackupStrategyInput` via:

RedisInstanceBackupStrategyArgs{...}

type RedisInstanceBackupStrategyOutput

type RedisInstanceBackupStrategyOutput struct{ *pulumi.OutputState }

func (RedisInstanceBackupStrategyOutput) ElementType

func (RedisInstanceBackupStrategyOutput) KeepDays

Specifies the number of days to retain the generated backup files. The value ranges from 0 to 35. If this parameter is set to 0, the automated backup policy is not set. If this parameter is not transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default.

func (RedisInstanceBackupStrategyOutput) StartTime

Specifies the backup time window. Automated backups will be triggered during the backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example value: 08:00-09:00, 03:00-04:00.

func (RedisInstanceBackupStrategyOutput) ToRedisInstanceBackupStrategyOutput

func (o RedisInstanceBackupStrategyOutput) ToRedisInstanceBackupStrategyOutput() RedisInstanceBackupStrategyOutput

func (RedisInstanceBackupStrategyOutput) ToRedisInstanceBackupStrategyOutputWithContext

func (o RedisInstanceBackupStrategyOutput) ToRedisInstanceBackupStrategyOutputWithContext(ctx context.Context) RedisInstanceBackupStrategyOutput

func (RedisInstanceBackupStrategyOutput) ToRedisInstanceBackupStrategyPtrOutput

func (o RedisInstanceBackupStrategyOutput) ToRedisInstanceBackupStrategyPtrOutput() RedisInstanceBackupStrategyPtrOutput

func (RedisInstanceBackupStrategyOutput) ToRedisInstanceBackupStrategyPtrOutputWithContext

func (o RedisInstanceBackupStrategyOutput) ToRedisInstanceBackupStrategyPtrOutputWithContext(ctx context.Context) RedisInstanceBackupStrategyPtrOutput

type RedisInstanceBackupStrategyPtrInput

type RedisInstanceBackupStrategyPtrInput interface {
	pulumi.Input

	ToRedisInstanceBackupStrategyPtrOutput() RedisInstanceBackupStrategyPtrOutput
	ToRedisInstanceBackupStrategyPtrOutputWithContext(context.Context) RedisInstanceBackupStrategyPtrOutput
}

RedisInstanceBackupStrategyPtrInput is an input type that accepts RedisInstanceBackupStrategyArgs, RedisInstanceBackupStrategyPtr and RedisInstanceBackupStrategyPtrOutput values. You can construct a concrete instance of `RedisInstanceBackupStrategyPtrInput` via:

        RedisInstanceBackupStrategyArgs{...}

or:

        nil

type RedisInstanceBackupStrategyPtrOutput

type RedisInstanceBackupStrategyPtrOutput struct{ *pulumi.OutputState }

func (RedisInstanceBackupStrategyPtrOutput) Elem

func (RedisInstanceBackupStrategyPtrOutput) ElementType

func (RedisInstanceBackupStrategyPtrOutput) KeepDays

Specifies the number of days to retain the generated backup files. The value ranges from 0 to 35. If this parameter is set to 0, the automated backup policy is not set. If this parameter is not transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default.

func (RedisInstanceBackupStrategyPtrOutput) StartTime

Specifies the backup time window. Automated backups will be triggered during the backup time window. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. The HH value must be 1 greater than the hh value. The values of mm and MM must be the same and must be set to 00. Example value: 08:00-09:00, 03:00-04:00.

func (RedisInstanceBackupStrategyPtrOutput) ToRedisInstanceBackupStrategyPtrOutput

func (o RedisInstanceBackupStrategyPtrOutput) ToRedisInstanceBackupStrategyPtrOutput() RedisInstanceBackupStrategyPtrOutput

func (RedisInstanceBackupStrategyPtrOutput) ToRedisInstanceBackupStrategyPtrOutputWithContext

func (o RedisInstanceBackupStrategyPtrOutput) ToRedisInstanceBackupStrategyPtrOutputWithContext(ctx context.Context) RedisInstanceBackupStrategyPtrOutput

type RedisInstanceDatastore

type RedisInstanceDatastore struct {
	// Specifies the database engine. Only "redis" is supported now.
	// Changing this parameter will create a new resource.
	Engine string `pulumi:"engine"`
	// Specifies the storage engine. Only "rocksDB" is supported now.
	// Changing this parameter will create a new resource.
	StorageEngine string `pulumi:"storageEngine"`
	// Specifies the database version. Only "5.0" is supported now.
	// Changing this parameter will create a new resource.
	Version string `pulumi:"version"`
}

type RedisInstanceDatastoreArgs

type RedisInstanceDatastoreArgs struct {
	// Specifies the database engine. Only "redis" is supported now.
	// Changing this parameter will create a new resource.
	Engine pulumi.StringInput `pulumi:"engine"`
	// Specifies the storage engine. Only "rocksDB" is supported now.
	// Changing this parameter will create a new resource.
	StorageEngine pulumi.StringInput `pulumi:"storageEngine"`
	// Specifies the database version. Only "5.0" is supported now.
	// Changing this parameter will create a new resource.
	Version pulumi.StringInput `pulumi:"version"`
}

func (RedisInstanceDatastoreArgs) ElementType

func (RedisInstanceDatastoreArgs) ElementType() reflect.Type

func (RedisInstanceDatastoreArgs) ToRedisInstanceDatastoreOutput

func (i RedisInstanceDatastoreArgs) ToRedisInstanceDatastoreOutput() RedisInstanceDatastoreOutput

func (RedisInstanceDatastoreArgs) ToRedisInstanceDatastoreOutputWithContext

func (i RedisInstanceDatastoreArgs) ToRedisInstanceDatastoreOutputWithContext(ctx context.Context) RedisInstanceDatastoreOutput

func (RedisInstanceDatastoreArgs) ToRedisInstanceDatastorePtrOutput

func (i RedisInstanceDatastoreArgs) ToRedisInstanceDatastorePtrOutput() RedisInstanceDatastorePtrOutput

func (RedisInstanceDatastoreArgs) ToRedisInstanceDatastorePtrOutputWithContext

func (i RedisInstanceDatastoreArgs) ToRedisInstanceDatastorePtrOutputWithContext(ctx context.Context) RedisInstanceDatastorePtrOutput

type RedisInstanceDatastoreInput

type RedisInstanceDatastoreInput interface {
	pulumi.Input

	ToRedisInstanceDatastoreOutput() RedisInstanceDatastoreOutput
	ToRedisInstanceDatastoreOutputWithContext(context.Context) RedisInstanceDatastoreOutput
}

RedisInstanceDatastoreInput is an input type that accepts RedisInstanceDatastoreArgs and RedisInstanceDatastoreOutput values. You can construct a concrete instance of `RedisInstanceDatastoreInput` via:

RedisInstanceDatastoreArgs{...}

type RedisInstanceDatastoreOutput

type RedisInstanceDatastoreOutput struct{ *pulumi.OutputState }

func (RedisInstanceDatastoreOutput) ElementType

func (RedisInstanceDatastoreOutput) Engine

Specifies the database engine. Only "redis" is supported now. Changing this parameter will create a new resource.

func (RedisInstanceDatastoreOutput) StorageEngine

Specifies the storage engine. Only "rocksDB" is supported now. Changing this parameter will create a new resource.

func (RedisInstanceDatastoreOutput) ToRedisInstanceDatastoreOutput

func (o RedisInstanceDatastoreOutput) ToRedisInstanceDatastoreOutput() RedisInstanceDatastoreOutput

func (RedisInstanceDatastoreOutput) ToRedisInstanceDatastoreOutputWithContext

func (o RedisInstanceDatastoreOutput) ToRedisInstanceDatastoreOutputWithContext(ctx context.Context) RedisInstanceDatastoreOutput

func (RedisInstanceDatastoreOutput) ToRedisInstanceDatastorePtrOutput

func (o RedisInstanceDatastoreOutput) ToRedisInstanceDatastorePtrOutput() RedisInstanceDatastorePtrOutput

func (RedisInstanceDatastoreOutput) ToRedisInstanceDatastorePtrOutputWithContext

func (o RedisInstanceDatastoreOutput) ToRedisInstanceDatastorePtrOutputWithContext(ctx context.Context) RedisInstanceDatastorePtrOutput

func (RedisInstanceDatastoreOutput) Version

Specifies the database version. Only "5.0" is supported now. Changing this parameter will create a new resource.

type RedisInstanceDatastorePtrInput

type RedisInstanceDatastorePtrInput interface {
	pulumi.Input

	ToRedisInstanceDatastorePtrOutput() RedisInstanceDatastorePtrOutput
	ToRedisInstanceDatastorePtrOutputWithContext(context.Context) RedisInstanceDatastorePtrOutput
}

RedisInstanceDatastorePtrInput is an input type that accepts RedisInstanceDatastoreArgs, RedisInstanceDatastorePtr and RedisInstanceDatastorePtrOutput values. You can construct a concrete instance of `RedisInstanceDatastorePtrInput` via:

        RedisInstanceDatastoreArgs{...}

or:

        nil

type RedisInstanceDatastorePtrOutput

type RedisInstanceDatastorePtrOutput struct{ *pulumi.OutputState }

func (RedisInstanceDatastorePtrOutput) Elem

func (RedisInstanceDatastorePtrOutput) ElementType

func (RedisInstanceDatastorePtrOutput) Engine

Specifies the database engine. Only "redis" is supported now. Changing this parameter will create a new resource.

func (RedisInstanceDatastorePtrOutput) StorageEngine

Specifies the storage engine. Only "rocksDB" is supported now. Changing this parameter will create a new resource.

func (RedisInstanceDatastorePtrOutput) ToRedisInstanceDatastorePtrOutput

func (o RedisInstanceDatastorePtrOutput) ToRedisInstanceDatastorePtrOutput() RedisInstanceDatastorePtrOutput

func (RedisInstanceDatastorePtrOutput) ToRedisInstanceDatastorePtrOutputWithContext

func (o RedisInstanceDatastorePtrOutput) ToRedisInstanceDatastorePtrOutputWithContext(ctx context.Context) RedisInstanceDatastorePtrOutput

func (RedisInstanceDatastorePtrOutput) Version

Specifies the database version. Only "5.0" is supported now. Changing this parameter will create a new resource.

type RedisInstanceInput

type RedisInstanceInput interface {
	pulumi.Input

	ToRedisInstanceOutput() RedisInstanceOutput
	ToRedisInstanceOutputWithContext(ctx context.Context) RedisInstanceOutput
}

type RedisInstanceMap

type RedisInstanceMap map[string]RedisInstanceInput

func (RedisInstanceMap) ElementType

func (RedisInstanceMap) ElementType() reflect.Type

func (RedisInstanceMap) ToRedisInstanceMapOutput

func (i RedisInstanceMap) ToRedisInstanceMapOutput() RedisInstanceMapOutput

func (RedisInstanceMap) ToRedisInstanceMapOutputWithContext

func (i RedisInstanceMap) ToRedisInstanceMapOutputWithContext(ctx context.Context) RedisInstanceMapOutput

type RedisInstanceMapInput

type RedisInstanceMapInput interface {
	pulumi.Input

	ToRedisInstanceMapOutput() RedisInstanceMapOutput
	ToRedisInstanceMapOutputWithContext(context.Context) RedisInstanceMapOutput
}

RedisInstanceMapInput is an input type that accepts RedisInstanceMap and RedisInstanceMapOutput values. You can construct a concrete instance of `RedisInstanceMapInput` via:

RedisInstanceMap{ "key": RedisInstanceArgs{...} }

type RedisInstanceMapOutput

type RedisInstanceMapOutput struct{ *pulumi.OutputState }

func (RedisInstanceMapOutput) ElementType

func (RedisInstanceMapOutput) ElementType() reflect.Type

func (RedisInstanceMapOutput) MapIndex

func (RedisInstanceMapOutput) ToRedisInstanceMapOutput

func (o RedisInstanceMapOutput) ToRedisInstanceMapOutput() RedisInstanceMapOutput

func (RedisInstanceMapOutput) ToRedisInstanceMapOutputWithContext

func (o RedisInstanceMapOutput) ToRedisInstanceMapOutputWithContext(ctx context.Context) RedisInstanceMapOutput

type RedisInstanceNode

type RedisInstanceNode struct {
	// Indicates the node ID.
	Id *string `pulumi:"id"`
	// Specifies the instance name, which can be the same as an existing instance name. The value
	// must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters,
	// digits, hyphens (-), and underscores (_). Chinese characters must be in UTF-8 or Unicode format.
	Name *string `pulumi:"name"`
	// Indicates the private IP address of a node.
	PrivateIp *string `pulumi:"privateIp"`
	// Indicates the public IP address of a node.
	PublicIp *string `pulumi:"publicIp"`
	// Indicates the node status.
	Status *string `pulumi:"status"`
	// Indicates whether the node support reduce or not.
	SupportReduce *bool `pulumi:"supportReduce"`
}

type RedisInstanceNodeArgs

type RedisInstanceNodeArgs struct {
	// Indicates the node ID.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// Specifies the instance name, which can be the same as an existing instance name. The value
	// must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters,
	// digits, hyphens (-), and underscores (_). Chinese characters must be in UTF-8 or Unicode format.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Indicates the private IP address of a node.
	PrivateIp pulumi.StringPtrInput `pulumi:"privateIp"`
	// Indicates the public IP address of a node.
	PublicIp pulumi.StringPtrInput `pulumi:"publicIp"`
	// Indicates the node status.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// Indicates whether the node support reduce or not.
	SupportReduce pulumi.BoolPtrInput `pulumi:"supportReduce"`
}

func (RedisInstanceNodeArgs) ElementType

func (RedisInstanceNodeArgs) ElementType() reflect.Type

func (RedisInstanceNodeArgs) ToRedisInstanceNodeOutput

func (i RedisInstanceNodeArgs) ToRedisInstanceNodeOutput() RedisInstanceNodeOutput

func (RedisInstanceNodeArgs) ToRedisInstanceNodeOutputWithContext

func (i RedisInstanceNodeArgs) ToRedisInstanceNodeOutputWithContext(ctx context.Context) RedisInstanceNodeOutput

type RedisInstanceNodeArray

type RedisInstanceNodeArray []RedisInstanceNodeInput

func (RedisInstanceNodeArray) ElementType

func (RedisInstanceNodeArray) ElementType() reflect.Type

func (RedisInstanceNodeArray) ToRedisInstanceNodeArrayOutput

func (i RedisInstanceNodeArray) ToRedisInstanceNodeArrayOutput() RedisInstanceNodeArrayOutput

func (RedisInstanceNodeArray) ToRedisInstanceNodeArrayOutputWithContext

func (i RedisInstanceNodeArray) ToRedisInstanceNodeArrayOutputWithContext(ctx context.Context) RedisInstanceNodeArrayOutput

type RedisInstanceNodeArrayInput

type RedisInstanceNodeArrayInput interface {
	pulumi.Input

	ToRedisInstanceNodeArrayOutput() RedisInstanceNodeArrayOutput
	ToRedisInstanceNodeArrayOutputWithContext(context.Context) RedisInstanceNodeArrayOutput
}

RedisInstanceNodeArrayInput is an input type that accepts RedisInstanceNodeArray and RedisInstanceNodeArrayOutput values. You can construct a concrete instance of `RedisInstanceNodeArrayInput` via:

RedisInstanceNodeArray{ RedisInstanceNodeArgs{...} }

type RedisInstanceNodeArrayOutput

type RedisInstanceNodeArrayOutput struct{ *pulumi.OutputState }

func (RedisInstanceNodeArrayOutput) ElementType

func (RedisInstanceNodeArrayOutput) Index

func (RedisInstanceNodeArrayOutput) ToRedisInstanceNodeArrayOutput

func (o RedisInstanceNodeArrayOutput) ToRedisInstanceNodeArrayOutput() RedisInstanceNodeArrayOutput

func (RedisInstanceNodeArrayOutput) ToRedisInstanceNodeArrayOutputWithContext

func (o RedisInstanceNodeArrayOutput) ToRedisInstanceNodeArrayOutputWithContext(ctx context.Context) RedisInstanceNodeArrayOutput

type RedisInstanceNodeInput

type RedisInstanceNodeInput interface {
	pulumi.Input

	ToRedisInstanceNodeOutput() RedisInstanceNodeOutput
	ToRedisInstanceNodeOutputWithContext(context.Context) RedisInstanceNodeOutput
}

RedisInstanceNodeInput is an input type that accepts RedisInstanceNodeArgs and RedisInstanceNodeOutput values. You can construct a concrete instance of `RedisInstanceNodeInput` via:

RedisInstanceNodeArgs{...}

type RedisInstanceNodeOutput

type RedisInstanceNodeOutput struct{ *pulumi.OutputState }

func (RedisInstanceNodeOutput) ElementType

func (RedisInstanceNodeOutput) ElementType() reflect.Type

func (RedisInstanceNodeOutput) Id

Indicates the node ID.

func (RedisInstanceNodeOutput) Name

Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_). Chinese characters must be in UTF-8 or Unicode format.

func (RedisInstanceNodeOutput) PrivateIp

Indicates the private IP address of a node.

func (RedisInstanceNodeOutput) PublicIp added in v0.0.8

Indicates the public IP address of a node.

func (RedisInstanceNodeOutput) Status

Indicates the node status.

func (RedisInstanceNodeOutput) SupportReduce

func (o RedisInstanceNodeOutput) SupportReduce() pulumi.BoolPtrOutput

Indicates whether the node support reduce or not.

func (RedisInstanceNodeOutput) ToRedisInstanceNodeOutput

func (o RedisInstanceNodeOutput) ToRedisInstanceNodeOutput() RedisInstanceNodeOutput

func (RedisInstanceNodeOutput) ToRedisInstanceNodeOutputWithContext

func (o RedisInstanceNodeOutput) ToRedisInstanceNodeOutputWithContext(ctx context.Context) RedisInstanceNodeOutput

type RedisInstanceOutput

type RedisInstanceOutput struct{ *pulumi.OutputState }

func (RedisInstanceOutput) AutoPay

func (RedisInstanceOutput) AutoRenew

Specifies whether auto renew is enabled. Valid values are "true" and "false".

func (RedisInstanceOutput) AvailabilityZone

func (o RedisInstanceOutput) AvailabilityZone() pulumi.StringOutput

Specifies the AZ name. See [Region and Endpoints](https://developer.huaweicloud.com/intl/en-us/endpoint?GaussDB%20NoSQL) for more detail. For a three-AZ deployment instance, use commas (,) to separate the AZs, for example, `cn-north-4a,cn-north-4b,cn-north-4c`. Changing this parameter will create a new resource.

func (RedisInstanceOutput) BackupStrategy

Specifies the advanced backup policy. Structure is documented below. Do nothing in update method if change this parameter.

func (RedisInstanceOutput) ChargingMode

func (o RedisInstanceOutput) ChargingMode() pulumi.StringPtrOutput

Specifies the charging mode of the GaussDB for Redis instance. Valid values are *prePaid* and *postPaid*, defaults to *postPaid*. Do nothing in update method if change this parameter.

func (RedisInstanceOutput) Datastore

Specifies the database information. Structure is documented below. Changing this parameter will create a new resource.

func (RedisInstanceOutput) DbUserName

func (o RedisInstanceOutput) DbUserName() pulumi.StringOutput

Indicates the default username.

func (RedisInstanceOutput) ElementType

func (RedisInstanceOutput) ElementType() reflect.Type

func (RedisInstanceOutput) EnterpriseProjectId

func (o RedisInstanceOutput) EnterpriseProjectId() pulumi.StringPtrOutput

Specifies the enterprise project id, Only valid for users who have enabled the enterprise multi-project service. Changing this parameter will create a new resource.

func (RedisInstanceOutput) Flavor

Specifies the instance specifications. For details, see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/redisug-nosql/nosql_05_0059.html).

func (RedisInstanceOutput) ForceImport

func (o RedisInstanceOutput) ForceImport() pulumi.BoolPtrOutput

If specified, try to import the instance instead of creating if the name already existed.

func (RedisInstanceOutput) LbIpAddress added in v0.0.8

func (o RedisInstanceOutput) LbIpAddress() pulumi.StringOutput

Indicates the LB IP address of the db.

func (RedisInstanceOutput) LbPort added in v0.0.8

Indicates the LB port of the db.

func (RedisInstanceOutput) Mode

Indicates the instance type.

func (RedisInstanceOutput) Name

Specifies the instance name, which can be the same as an existing instance name. The value must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_). Chinese characters must be in UTF-8 or Unicode format.

func (RedisInstanceOutput) NodeNum

Specifies the number of nodes, ranges from 2 to 12. Defaults to 3.

func (RedisInstanceOutput) Nodes

Indicates the instance nodes information. Structure is documented below.

func (RedisInstanceOutput) Password

Specifies the database password. The value must be 8 to 32 characters in length, including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to enter a strong password to improve security, preventing security risks such as brute force cracking.

func (RedisInstanceOutput) Period

Specifies the charging period of the GaussDB for Redis instance. If `periodUnit` is set to *month*, the value ranges from 1 to 9. If `periodUnit` is set to *year*, the value ranges from 1 to 3. This parameter is mandatory if `chargingMode` is set to *prePaid*. Do nothing in update method if change this parameter.

func (RedisInstanceOutput) PeriodUnit

Specifies the charging period unit of the GaussDB for Redis instance. Valid values are *month* and *year*. This parameter is mandatory if `chargingMode` is set to *prePaid*. Do nothing in update method if change this parameter.

func (RedisInstanceOutput) Port

Specifies the port number for accessing the instance. You can specify a port number based on your requirements. The port number ranges from **1024** to **65535**, excluding **2180**, **2887**, **3887**, **6377**, **6378**, **6380**, **8018**, **8079**, **8091**, **8479**, **8484**, **8999**, **12017**, **12333**, and **50069**. Defaults to **6379**. If you want to use this instance for dual-active DR, set the port to **8635**.

func (RedisInstanceOutput) PrivateIps

Indicates the IP address list of the db.

func (RedisInstanceOutput) Region

The region in which to create the Redis instance resource. See [Region and Endpoints](https://developer.huaweicloud.com/intl/en-us/endpoint?GaussDB%20NoSQL) for more detail. If omitted, the provider-level region will be used. Changing this creates a new Redis instance resource.

func (RedisInstanceOutput) SecurityGroupId

func (o RedisInstanceOutput) SecurityGroupId() pulumi.StringPtrOutput

Specifies the security group ID. Required if the selected subnet doesn't enable network ACL.

func (RedisInstanceOutput) Ssl added in v0.0.8

Specifies whether SSL is enabled. Defaults to **false**.

func (RedisInstanceOutput) Status

Indicates the node status.

func (RedisInstanceOutput) SubnetId

Specifies the network ID of a subnet. Changing this parameter will create a new resource.

func (RedisInstanceOutput) Tags

The key/value pairs to associate with the instance.

func (RedisInstanceOutput) ToRedisInstanceOutput

func (o RedisInstanceOutput) ToRedisInstanceOutput() RedisInstanceOutput

func (RedisInstanceOutput) ToRedisInstanceOutputWithContext

func (o RedisInstanceOutput) ToRedisInstanceOutputWithContext(ctx context.Context) RedisInstanceOutput

func (RedisInstanceOutput) VolumeSize

func (o RedisInstanceOutput) VolumeSize() pulumi.IntOutput

Specifies the storage space in GB. For a GaussDB for Redis instance, the minimum and maximum storage space depends on the flavor and nodes_num. For details, see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/redisug-nosql/nosql_05_0059.html)

func (RedisInstanceOutput) VpcId

Specifies the VPC ID. Changing this parameter will create a new resource.

type RedisInstanceState

type RedisInstanceState struct {
	AutoPay pulumi.StringPtrInput
	// Specifies whether auto renew is enabled. Valid values are "true" and "false".
	AutoRenew pulumi.StringPtrInput
	// Specifies the AZ name.
	// See [Region and Endpoints](https://developer.huaweicloud.com/intl/en-us/endpoint?GaussDB%20NoSQL) for more detail.
	// For a three-AZ deployment instance, use commas (,) to separate the AZs, for example, `cn-north-4a,cn-north-4b,cn-north-4c`.
	// Changing this parameter will create a new resource.
	AvailabilityZone pulumi.StringPtrInput
	// Specifies the advanced backup policy. Structure is documented below. Do nothing
	// in update method if change this parameter.
	BackupStrategy RedisInstanceBackupStrategyPtrInput
	// Specifies the charging mode of the GaussDB for Redis instance. Valid values are
	// *prePaid* and *postPaid*, defaults to *postPaid*. Do nothing in update method if change this parameter.
	ChargingMode pulumi.StringPtrInput
	// Specifies the database information. Structure is documented below. Changing
	// this parameter will create a new resource.
	Datastore RedisInstanceDatastorePtrInput
	// Indicates the default username.
	DbUserName pulumi.StringPtrInput
	// Specifies the enterprise project id, Only valid for users who
	// have enabled the enterprise multi-project service. Changing this parameter will create a new resource.
	EnterpriseProjectId pulumi.StringPtrInput
	// Specifies the instance specifications. For details,
	// see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/redisug-nosql/nosql_05_0059.html).
	Flavor pulumi.StringPtrInput
	// If specified, try to import the instance instead of creating if the name already
	// existed.
	ForceImport pulumi.BoolPtrInput
	// Indicates the LB IP address of the db.
	LbIpAddress pulumi.StringPtrInput
	// Indicates the LB port of the db.
	LbPort pulumi.StringPtrInput
	// Indicates the instance type.
	Mode pulumi.StringPtrInput
	// Specifies the instance name, which can be the same as an existing instance name. The value
	// must be 4 to 64 characters in length and start with a letter. It is case-sensitive and can contain only letters,
	// digits, hyphens (-), and underscores (_). Chinese characters must be in UTF-8 or Unicode format.
	Name pulumi.StringPtrInput
	// Specifies the number of nodes, ranges from 2 to 12. Defaults to 3.
	NodeNum pulumi.IntPtrInput
	// Indicates the instance nodes information. Structure is documented below.
	Nodes RedisInstanceNodeArrayInput
	// Specifies the database password. The value must be 8 to 32 characters in length,
	// including uppercase and lowercase letters, digits, and special characters, such as ~!@#%^*-_=+? You are advised to
	// enter a strong password to improve security, preventing security risks such as brute force cracking.
	Password pulumi.StringPtrInput
	// Specifies the charging period of the GaussDB for Redis instance. If `periodUnit` is set
	// to *month*, the value ranges from 1 to 9. If `periodUnit` is set to *year*, the value ranges from 1 to 3. This
	// parameter is mandatory if `chargingMode` is set to *prePaid*. Do nothing in update method if change this parameter.
	Period pulumi.IntPtrInput
	// Specifies the charging period unit of the GaussDB for Redis instance. Valid values
	// are *month* and *year*. This parameter is mandatory if `chargingMode` is set to *prePaid*. Do nothing in update
	// method if change this parameter.
	PeriodUnit pulumi.StringPtrInput
	// Specifies the port number for accessing the instance. You can specify a port number
	// based on your requirements. The port number ranges from **1024** to **65535**, excluding **2180**, **2887**, **3887**,
	// **6377**, **6378**, **6380**, **8018**, **8079**, **8091**, **8479**, **8484**, **8999**, **12017**, **12333**, and
	// **50069**. Defaults to **6379**.
	// If you want to use this instance for dual-active DR, set the port to **8635**.
	Port pulumi.IntPtrInput
	// Indicates the IP address list of the db.
	PrivateIps pulumi.StringArrayInput
	// The region in which to create the Redis instance resource.
	// See [Region and Endpoints](https://developer.huaweicloud.com/intl/en-us/endpoint?GaussDB%20NoSQL) for more detail. If
	// omitted, the provider-level region will be used. Changing this creates a new Redis instance resource.
	Region pulumi.StringPtrInput
	// Specifies the security group ID. Required if the selected subnet doesn't
	// enable network ACL.
	SecurityGroupId pulumi.StringPtrInput
	// Specifies whether SSL is enabled. Defaults to **false**.
	Ssl pulumi.BoolPtrInput
	// Indicates the node status.
	Status pulumi.StringPtrInput
	// Specifies the network ID of a subnet. Changing this parameter will create a
	// new resource.
	SubnetId pulumi.StringPtrInput
	// The key/value pairs to associate with the instance.
	Tags pulumi.StringMapInput
	// Specifies the storage space in GB. For a GaussDB for Redis instance, the minimum and
	// maximum storage space depends on the flavor and nodes_num. For details,
	// see [DB Instance Specifications](https://support.huaweicloud.com/intl/en-us/redisug-nosql/nosql_05_0059.html)
	VolumeSize pulumi.IntPtrInput
	// Specifies the VPC ID. Changing this parameter will create a new resource.
	VpcId pulumi.StringPtrInput
}

func (RedisInstanceState) ElementType

func (RedisInstanceState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL