# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetCluster gets an existing Cluster resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
Use this data source to get available flavors of HuaweiCloud CSS node instance.
No description provided by the author
GetSnapshot gets an existing Snapshot resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
GetThesaurus gets an existing Thesaurus resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
NewCluster registers a new resource with the given unique name, arguments, and options.
NewSnapshot registers a new resource with the given unique name, arguments, and options.
NewThesaurus registers a new resource with the given unique name, arguments, and options.
PkgVersion uses reflection to determine the version of the current package.
# Structs
Manages CSS cluster resource within HuaweiCloud
## Example Usage ### create a cluster
```go package main
import (
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Css" "github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/Css" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") availabilityZone := cfg.RequireObject("availabilityZone") vpcId := cfg.RequireObject("vpcId") subnetId := cfg.RequireObject("subnetId") secgroupId := cfg.RequireObject("secgroupId") _, err := Css.NewCluster(ctx, "cluster", &Css.ClusterArgs{ EngineVersion: pulumi.String("7.10.2"), EssNodeConfig: &css.ClusterEssNodeConfigArgs{ Flavor: pulumi.String("ess.spec-4u8g"), InstanceNumber: pulumi.Int(1), Volume: &css.ClusterEssNodeConfigVolumeArgs{ VolumeType: pulumi.String("HIGH"), Size: pulumi.Int(40), }, }, AvailabilityZone: pulumi.Any(availabilityZone), VpcId: pulumi.Any(vpcId), SubnetId: pulumi.Any(subnetId), SecurityGroupId: pulumi.Any(secgroupId), }) if err != nil { return err } return nil }) }
``` ### create a cluster with ess-data node and master node
```go package main
import (
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Css" "github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/Css" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") availabilityZone := cfg.RequireObject("availabilityZone") vpcId := cfg.RequireObject("vpcId") subnetId := cfg.RequireObject("subnetId") secgroupId := cfg.RequireObject("secgroupId") _, err := Css.NewCluster(ctx, "cluster", &Css.ClusterArgs{ EngineVersion: pulumi.String("7.10.2"), EssNodeConfig: &css.ClusterEssNodeConfigArgs{ Flavor: pulumi.String("ess.spec-4u8g"), InstanceNumber: pulumi.Int(1), Volume: &css.ClusterEssNodeConfigVolumeArgs{ VolumeType: pulumi.String("HIGH"), Size: pulumi.Int(40), }, }, MasterNodeConfig: &css.ClusterMasterNodeConfigArgs{ Flavor: pulumi.String("ess.spec-4u8g"), InstanceNumber: pulumi.Int(3), Volume: &css.ClusterMasterNodeConfigVolumeArgs{ VolumeType: pulumi.String("HIGH"), Size: pulumi.Int(40), }, }, AvailabilityZone: pulumi.Any(availabilityZone), VpcId: pulumi.Any(vpcId), SubnetId: pulumi.Any(subnetId), SecurityGroupId: pulumi.Any(secgroupId), }) if err != nil { return err } return nil }) }
``` ### create a cluster with ess-data node and cold node use local disk
```go package main
import (
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Css" "github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/Css" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") availabilityZone := cfg.RequireObject("availabilityZone") vpcId := cfg.RequireObject("vpcId") subnetId := cfg.RequireObject("subnetId") secgroupId := cfg.RequireObject("secgroupId") _, err := Css.NewCluster(ctx, "cluster", &Css.ClusterArgs{ EngineVersion: pulumi.String("7.10.2"), EssNodeConfig: &css.ClusterEssNodeConfigArgs{ Flavor: pulumi.String("ess.spec-ds.xlarge.8"), InstanceNumber: pulumi.Int(1), }, ColdNodeConfig: &css.ClusterColdNodeConfigArgs{ Flavor: pulumi.String("ess.spec-ds.2xlarge.8"), InstanceNumber: pulumi.Int(2), }, AvailabilityZone: pulumi.Any(availabilityZone), VpcId: pulumi.Any(vpcId), SubnetId: pulumi.Any(subnetId), SecurityGroupId: pulumi.Any(secgroupId), }) if err != nil { return err } return nil }) }
```
## Import
CSS cluster can be imported by `id`.
The set of arguments for constructing a Cluster resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
A collection of arguments for invoking getFlavors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
A collection of arguments for invoking getFlavors.
A collection of values returned by getFlavors.
A collection of values returned by getFlavors.
CSS cluster snapshot management
## Example Usage ### Create a snapshot
```go package main
import (
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Css" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Css.NewSnapshot(ctx, "snapshot", &Css.SnapshotArgs{ Description: pulumi.String("a snapshot created by manual"), ClusterId: pulumi.Any(_var.Css_cluster_id), }) if err != nil { return err } return nil }) }
```
## Import
This resource can be imported by specifying the CSS cluster ID and snapshot ID separated by a slash, e.g.
The set of arguments for constructing a Snapshot resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Manages CSS thesaurus resource within HuaweiCloud
> Only one thesaurus resource can be created for the specified cluster
## Example Usage
## Import
CSS thesaurus can be imported by `id`.
The set of arguments for constructing a Thesaurus resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
ClusterArrayInput is an input type that accepts ClusterArray and ClusterArrayOutput values.
ClusterBackupStrategyInput is an input type that accepts ClusterBackupStrategyArgs and ClusterBackupStrategyOutput values.
ClusterBackupStrategyPtrInput is an input type that accepts ClusterBackupStrategyArgs, ClusterBackupStrategyPtr and ClusterBackupStrategyPtrOutput values.
ClusterClientNodeConfigInput is an input type that accepts ClusterClientNodeConfigArgs and ClusterClientNodeConfigOutput values.
ClusterClientNodeConfigPtrInput is an input type that accepts ClusterClientNodeConfigArgs, ClusterClientNodeConfigPtr and ClusterClientNodeConfigPtrOutput values.
ClusterClientNodeConfigVolumeInput is an input type that accepts ClusterClientNodeConfigVolumeArgs and ClusterClientNodeConfigVolumeOutput values.
ClusterClientNodeConfigVolumePtrInput is an input type that accepts ClusterClientNodeConfigVolumeArgs, ClusterClientNodeConfigVolumePtr and ClusterClientNodeConfigVolumePtrOutput values.
ClusterColdNodeConfigInput is an input type that accepts ClusterColdNodeConfigArgs and ClusterColdNodeConfigOutput values.
ClusterColdNodeConfigPtrInput is an input type that accepts ClusterColdNodeConfigArgs, ClusterColdNodeConfigPtr and ClusterColdNodeConfigPtrOutput values.
ClusterColdNodeConfigVolumeInput is an input type that accepts ClusterColdNodeConfigVolumeArgs and ClusterColdNodeConfigVolumeOutput values.
ClusterColdNodeConfigVolumePtrInput is an input type that accepts ClusterColdNodeConfigVolumeArgs, ClusterColdNodeConfigVolumePtr and ClusterColdNodeConfigVolumePtrOutput values.
ClusterEssNodeConfigInput is an input type that accepts ClusterEssNodeConfigArgs and ClusterEssNodeConfigOutput values.
ClusterEssNodeConfigPtrInput is an input type that accepts ClusterEssNodeConfigArgs, ClusterEssNodeConfigPtr and ClusterEssNodeConfigPtrOutput values.
ClusterEssNodeConfigVolumeInput is an input type that accepts ClusterEssNodeConfigVolumeArgs and ClusterEssNodeConfigVolumeOutput values.
ClusterEssNodeConfigVolumePtrInput is an input type that accepts ClusterEssNodeConfigVolumeArgs, ClusterEssNodeConfigVolumePtr and ClusterEssNodeConfigVolumePtrOutput values.
No description provided by the author
ClusterKibanaPublicAccessInput is an input type that accepts ClusterKibanaPublicAccessArgs and ClusterKibanaPublicAccessOutput values.
ClusterKibanaPublicAccessPtrInput is an input type that accepts ClusterKibanaPublicAccessArgs, ClusterKibanaPublicAccessPtr and ClusterKibanaPublicAccessPtrOutput values.
ClusterMapInput is an input type that accepts ClusterMap and ClusterMapOutput values.
ClusterMasterNodeConfigInput is an input type that accepts ClusterMasterNodeConfigArgs and ClusterMasterNodeConfigOutput values.
ClusterMasterNodeConfigPtrInput is an input type that accepts ClusterMasterNodeConfigArgs, ClusterMasterNodeConfigPtr and ClusterMasterNodeConfigPtrOutput values.
ClusterMasterNodeConfigVolumeInput is an input type that accepts ClusterMasterNodeConfigVolumeArgs and ClusterMasterNodeConfigVolumeOutput values.
ClusterMasterNodeConfigVolumePtrInput is an input type that accepts ClusterMasterNodeConfigVolumeArgs, ClusterMasterNodeConfigVolumePtr and ClusterMasterNodeConfigVolumePtrOutput values.
ClusterNodeArrayInput is an input type that accepts ClusterNodeArray and ClusterNodeArrayOutput values.
ClusterNodeConfigInput is an input type that accepts ClusterNodeConfigArgs and ClusterNodeConfigOutput values.
ClusterNodeConfigNetworkInfoInput is an input type that accepts ClusterNodeConfigNetworkInfoArgs and ClusterNodeConfigNetworkInfoOutput values.
ClusterNodeConfigNetworkInfoPtrInput is an input type that accepts ClusterNodeConfigNetworkInfoArgs, ClusterNodeConfigNetworkInfoPtr and ClusterNodeConfigNetworkInfoPtrOutput values.
ClusterNodeConfigPtrInput is an input type that accepts ClusterNodeConfigArgs, ClusterNodeConfigPtr and ClusterNodeConfigPtrOutput values.
ClusterNodeConfigVolumeInput is an input type that accepts ClusterNodeConfigVolumeArgs and ClusterNodeConfigVolumeOutput values.
ClusterNodeConfigVolumePtrInput is an input type that accepts ClusterNodeConfigVolumeArgs, ClusterNodeConfigVolumePtr and ClusterNodeConfigVolumePtrOutput values.
ClusterNodeInput is an input type that accepts ClusterNodeArgs and ClusterNodeOutput values.
ClusterPublicAccessInput is an input type that accepts ClusterPublicAccessArgs and ClusterPublicAccessOutput values.
ClusterPublicAccessPtrInput is an input type that accepts ClusterPublicAccessArgs, ClusterPublicAccessPtr and ClusterPublicAccessPtrOutput values.
ClusterVpcepEndpointInput is an input type that accepts ClusterVpcepEndpointArgs and ClusterVpcepEndpointOutput values.
ClusterVpcepEndpointPtrInput is an input type that accepts ClusterVpcepEndpointArgs, ClusterVpcepEndpointPtr and ClusterVpcepEndpointPtrOutput values.
GetFlavorsFlavorArrayInput is an input type that accepts GetFlavorsFlavorArray and GetFlavorsFlavorArrayOutput values.
GetFlavorsFlavorInput is an input type that accepts GetFlavorsFlavorArgs and GetFlavorsFlavorOutput values.
SnapshotArrayInput is an input type that accepts SnapshotArray and SnapshotArrayOutput values.
No description provided by the author
SnapshotMapInput is an input type that accepts SnapshotMap and SnapshotMapOutput values.
ThesaurusArrayInput is an input type that accepts ThesaurusArray and ThesaurusArrayOutput values.
No description provided by the author
ThesaurusMapInput is an input type that accepts ThesaurusMap and ThesaurusMapOutput values.
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author