cce

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 Addon

type Addon struct {
	pulumi.CustomResourceState

	// Specifies the cluster ID.
	// Changing this parameter will create a new resource.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// Description of add-on instance.
	Description pulumi.StringOutput `pulumi:"description"`
	// Specifies the region in which to create the CCE add-on resource.
	// If omitted, the provider-level region will be used. Changing this creates a new CCE add-on resource.
	Region pulumi.StringOutput `pulumi:"region"`
	// Add-on status information.
	Status pulumi.StringOutput `pulumi:"status"`
	// Specifies the name of the add-on template.
	// Changing this parameter will create a new resource.
	TemplateName pulumi.StringOutput `pulumi:"templateName"`
	// Specifies the add-on template installation parameters.
	// These parameters vary depending on the add-on. Structure is documented below.
	Values AddonValuesPtrOutput `pulumi:"values"`
	// Specifies the version of the add-on.
	Version pulumi.StringOutput `pulumi:"version"`
}

Provides a CCE add-on resource within HuaweiCloud.

## Example Usage

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Cce"
"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, "")
		clusterId := cfg.RequireObject("clusterId")
		_, err := Cce.NewAddon(ctx, "addonTest", &Cce.AddonArgs{
			ClusterId:    pulumi.Any(clusterId),
			TemplateName: pulumi.String("metrics-server"),
			Version:      pulumi.String("1.0.0"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

CCE add-on can be imported using the cluster ID and add-on ID separated by a slash, e.g.

```sh

$ pulumi import huaweicloud:Cce/addon:Addon my_addon bb6923e4-b16e-11eb-b0cd-0255ac101da1/c7ecb230-b16f-11eb-b3b6-0255ac1015a3

```

func GetAddon

func GetAddon(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AddonState, opts ...pulumi.ResourceOption) (*Addon, error)

GetAddon gets an existing Addon 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 NewAddon

func NewAddon(ctx *pulumi.Context,
	name string, args *AddonArgs, opts ...pulumi.ResourceOption) (*Addon, error)

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

func (*Addon) ElementType

func (*Addon) ElementType() reflect.Type

func (*Addon) ToAddonOutput

func (i *Addon) ToAddonOutput() AddonOutput

func (*Addon) ToAddonOutputWithContext

func (i *Addon) ToAddonOutputWithContext(ctx context.Context) AddonOutput

type AddonArgs

type AddonArgs struct {
	// Specifies the cluster ID.
	// Changing this parameter will create a new resource.
	ClusterId pulumi.StringInput
	// Specifies the region in which to create the CCE add-on resource.
	// If omitted, the provider-level region will be used. Changing this creates a new CCE add-on resource.
	Region pulumi.StringPtrInput
	// Specifies the name of the add-on template.
	// Changing this parameter will create a new resource.
	TemplateName pulumi.StringInput
	// Specifies the add-on template installation parameters.
	// These parameters vary depending on the add-on. Structure is documented below.
	Values AddonValuesPtrInput
	// Specifies the version of the add-on.
	Version pulumi.StringPtrInput
}

The set of arguments for constructing a Addon resource.

func (AddonArgs) ElementType

func (AddonArgs) ElementType() reflect.Type

type AddonArray

type AddonArray []AddonInput

func (AddonArray) ElementType

func (AddonArray) ElementType() reflect.Type

func (AddonArray) ToAddonArrayOutput

func (i AddonArray) ToAddonArrayOutput() AddonArrayOutput

func (AddonArray) ToAddonArrayOutputWithContext

func (i AddonArray) ToAddonArrayOutputWithContext(ctx context.Context) AddonArrayOutput

type AddonArrayInput

type AddonArrayInput interface {
	pulumi.Input

	ToAddonArrayOutput() AddonArrayOutput
	ToAddonArrayOutputWithContext(context.Context) AddonArrayOutput
}

AddonArrayInput is an input type that accepts AddonArray and AddonArrayOutput values. You can construct a concrete instance of `AddonArrayInput` via:

AddonArray{ AddonArgs{...} }

type AddonArrayOutput

type AddonArrayOutput struct{ *pulumi.OutputState }

func (AddonArrayOutput) ElementType

func (AddonArrayOutput) ElementType() reflect.Type

func (AddonArrayOutput) Index

func (AddonArrayOutput) ToAddonArrayOutput

func (o AddonArrayOutput) ToAddonArrayOutput() AddonArrayOutput

func (AddonArrayOutput) ToAddonArrayOutputWithContext

func (o AddonArrayOutput) ToAddonArrayOutputWithContext(ctx context.Context) AddonArrayOutput

type AddonInput

type AddonInput interface {
	pulumi.Input

	ToAddonOutput() AddonOutput
	ToAddonOutputWithContext(ctx context.Context) AddonOutput
}

type AddonMap

type AddonMap map[string]AddonInput

func (AddonMap) ElementType

func (AddonMap) ElementType() reflect.Type

func (AddonMap) ToAddonMapOutput

func (i AddonMap) ToAddonMapOutput() AddonMapOutput

func (AddonMap) ToAddonMapOutputWithContext

func (i AddonMap) ToAddonMapOutputWithContext(ctx context.Context) AddonMapOutput

type AddonMapInput

type AddonMapInput interface {
	pulumi.Input

	ToAddonMapOutput() AddonMapOutput
	ToAddonMapOutputWithContext(context.Context) AddonMapOutput
}

AddonMapInput is an input type that accepts AddonMap and AddonMapOutput values. You can construct a concrete instance of `AddonMapInput` via:

AddonMap{ "key": AddonArgs{...} }

type AddonMapOutput

type AddonMapOutput struct{ *pulumi.OutputState }

func (AddonMapOutput) ElementType

func (AddonMapOutput) ElementType() reflect.Type

func (AddonMapOutput) MapIndex

func (AddonMapOutput) ToAddonMapOutput

func (o AddonMapOutput) ToAddonMapOutput() AddonMapOutput

func (AddonMapOutput) ToAddonMapOutputWithContext

func (o AddonMapOutput) ToAddonMapOutputWithContext(ctx context.Context) AddonMapOutput

type AddonOutput

type AddonOutput struct{ *pulumi.OutputState }

func (AddonOutput) ClusterId

func (o AddonOutput) ClusterId() pulumi.StringOutput

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

func (AddonOutput) Description

func (o AddonOutput) Description() pulumi.StringOutput

Description of add-on instance.

func (AddonOutput) ElementType

func (AddonOutput) ElementType() reflect.Type

func (AddonOutput) Region

func (o AddonOutput) Region() pulumi.StringOutput

Specifies the region in which to create the CCE add-on resource. If omitted, the provider-level region will be used. Changing this creates a new CCE add-on resource.

func (AddonOutput) Status

func (o AddonOutput) Status() pulumi.StringOutput

Add-on status information.

func (AddonOutput) TemplateName

func (o AddonOutput) TemplateName() pulumi.StringOutput

Specifies the name of the add-on template. Changing this parameter will create a new resource.

func (AddonOutput) ToAddonOutput

func (o AddonOutput) ToAddonOutput() AddonOutput

func (AddonOutput) ToAddonOutputWithContext

func (o AddonOutput) ToAddonOutputWithContext(ctx context.Context) AddonOutput

func (AddonOutput) Values

func (o AddonOutput) Values() AddonValuesPtrOutput

Specifies the add-on template installation parameters. These parameters vary depending on the add-on. Structure is documented below.

func (AddonOutput) Version

func (o AddonOutput) Version() pulumi.StringOutput

Specifies the version of the add-on.

type AddonState

type AddonState struct {
	// Specifies the cluster ID.
	// Changing this parameter will create a new resource.
	ClusterId pulumi.StringPtrInput
	// Description of add-on instance.
	Description pulumi.StringPtrInput
	// Specifies the region in which to create the CCE add-on resource.
	// If omitted, the provider-level region will be used. Changing this creates a new CCE add-on resource.
	Region pulumi.StringPtrInput
	// Add-on status information.
	Status pulumi.StringPtrInput
	// Specifies the name of the add-on template.
	// Changing this parameter will create a new resource.
	TemplateName pulumi.StringPtrInput
	// Specifies the add-on template installation parameters.
	// These parameters vary depending on the add-on. Structure is documented below.
	Values AddonValuesPtrInput
	// Specifies the version of the add-on.
	Version pulumi.StringPtrInput
}

func (AddonState) ElementType

func (AddonState) ElementType() reflect.Type

type AddonValues

type AddonValues struct {
	// Specifies the key/value pairs vary depending on the add-on.
	// Only supports non-nested structure and only supports string type elements.
	// This is an alternative to `basicJson`, but it is not recommended.
	Basic map[string]string `pulumi:"basic"`
	// Specifies the json string vary depending on the add-on.
	BasicJson *string `pulumi:"basicJson"`
	// Specifies the key/value pairs vary depending on the add-on.
	// Only supports non-nested structure and only supports string type elements.
	// This is an alternative to `customJson`, but it is not recommended.
	Custom map[string]string `pulumi:"custom"`
	// Specifies the json string vary depending on the add-on.
	CustomJson *string `pulumi:"customJson"`
	// Specifies the key/value pairs vary depending on the add-on.
	// Only supports non-nested structure and only supports string type elements.
	// This is an alternative to `flavorJson`, but it is not recommended.
	Flavor map[string]string `pulumi:"flavor"`
	// Specifies the json string vary depending on the add-on.
	FlavorJson *string `pulumi:"flavorJson"`
}

type AddonValuesArgs

type AddonValuesArgs struct {
	// Specifies the key/value pairs vary depending on the add-on.
	// Only supports non-nested structure and only supports string type elements.
	// This is an alternative to `basicJson`, but it is not recommended.
	Basic pulumi.StringMapInput `pulumi:"basic"`
	// Specifies the json string vary depending on the add-on.
	BasicJson pulumi.StringPtrInput `pulumi:"basicJson"`
	// Specifies the key/value pairs vary depending on the add-on.
	// Only supports non-nested structure and only supports string type elements.
	// This is an alternative to `customJson`, but it is not recommended.
	Custom pulumi.StringMapInput `pulumi:"custom"`
	// Specifies the json string vary depending on the add-on.
	CustomJson pulumi.StringPtrInput `pulumi:"customJson"`
	// Specifies the key/value pairs vary depending on the add-on.
	// Only supports non-nested structure and only supports string type elements.
	// This is an alternative to `flavorJson`, but it is not recommended.
	Flavor pulumi.StringMapInput `pulumi:"flavor"`
	// Specifies the json string vary depending on the add-on.
	FlavorJson pulumi.StringPtrInput `pulumi:"flavorJson"`
}

func (AddonValuesArgs) ElementType

func (AddonValuesArgs) ElementType() reflect.Type

func (AddonValuesArgs) ToAddonValuesOutput

func (i AddonValuesArgs) ToAddonValuesOutput() AddonValuesOutput

func (AddonValuesArgs) ToAddonValuesOutputWithContext

func (i AddonValuesArgs) ToAddonValuesOutputWithContext(ctx context.Context) AddonValuesOutput

func (AddonValuesArgs) ToAddonValuesPtrOutput

func (i AddonValuesArgs) ToAddonValuesPtrOutput() AddonValuesPtrOutput

func (AddonValuesArgs) ToAddonValuesPtrOutputWithContext

func (i AddonValuesArgs) ToAddonValuesPtrOutputWithContext(ctx context.Context) AddonValuesPtrOutput

type AddonValuesInput

type AddonValuesInput interface {
	pulumi.Input

	ToAddonValuesOutput() AddonValuesOutput
	ToAddonValuesOutputWithContext(context.Context) AddonValuesOutput
}

AddonValuesInput is an input type that accepts AddonValuesArgs and AddonValuesOutput values. You can construct a concrete instance of `AddonValuesInput` via:

AddonValuesArgs{...}

type AddonValuesOutput

type AddonValuesOutput struct{ *pulumi.OutputState }

func (AddonValuesOutput) Basic

Specifies the key/value pairs vary depending on the add-on. Only supports non-nested structure and only supports string type elements. This is an alternative to `basicJson`, but it is not recommended.

func (AddonValuesOutput) BasicJson

Specifies the json string vary depending on the add-on.

func (AddonValuesOutput) Custom

Specifies the key/value pairs vary depending on the add-on. Only supports non-nested structure and only supports string type elements. This is an alternative to `customJson`, but it is not recommended.

func (AddonValuesOutput) CustomJson

func (o AddonValuesOutput) CustomJson() pulumi.StringPtrOutput

Specifies the json string vary depending on the add-on.

func (AddonValuesOutput) ElementType

func (AddonValuesOutput) ElementType() reflect.Type

func (AddonValuesOutput) Flavor

Specifies the key/value pairs vary depending on the add-on. Only supports non-nested structure and only supports string type elements. This is an alternative to `flavorJson`, but it is not recommended.

func (AddonValuesOutput) FlavorJson

func (o AddonValuesOutput) FlavorJson() pulumi.StringPtrOutput

Specifies the json string vary depending on the add-on.

func (AddonValuesOutput) ToAddonValuesOutput

func (o AddonValuesOutput) ToAddonValuesOutput() AddonValuesOutput

func (AddonValuesOutput) ToAddonValuesOutputWithContext

func (o AddonValuesOutput) ToAddonValuesOutputWithContext(ctx context.Context) AddonValuesOutput

func (AddonValuesOutput) ToAddonValuesPtrOutput

func (o AddonValuesOutput) ToAddonValuesPtrOutput() AddonValuesPtrOutput

func (AddonValuesOutput) ToAddonValuesPtrOutputWithContext

func (o AddonValuesOutput) ToAddonValuesPtrOutputWithContext(ctx context.Context) AddonValuesPtrOutput

type AddonValuesPtrInput

type AddonValuesPtrInput interface {
	pulumi.Input

	ToAddonValuesPtrOutput() AddonValuesPtrOutput
	ToAddonValuesPtrOutputWithContext(context.Context) AddonValuesPtrOutput
}

AddonValuesPtrInput is an input type that accepts AddonValuesArgs, AddonValuesPtr and AddonValuesPtrOutput values. You can construct a concrete instance of `AddonValuesPtrInput` via:

        AddonValuesArgs{...}

or:

        nil

func AddonValuesPtr

func AddonValuesPtr(v *AddonValuesArgs) AddonValuesPtrInput

type AddonValuesPtrOutput

type AddonValuesPtrOutput struct{ *pulumi.OutputState }

func (AddonValuesPtrOutput) Basic

Specifies the key/value pairs vary depending on the add-on. Only supports non-nested structure and only supports string type elements. This is an alternative to `basicJson`, but it is not recommended.

func (AddonValuesPtrOutput) BasicJson

Specifies the json string vary depending on the add-on.

func (AddonValuesPtrOutput) Custom

Specifies the key/value pairs vary depending on the add-on. Only supports non-nested structure and only supports string type elements. This is an alternative to `customJson`, but it is not recommended.

func (AddonValuesPtrOutput) CustomJson

Specifies the json string vary depending on the add-on.

func (AddonValuesPtrOutput) Elem

func (AddonValuesPtrOutput) ElementType

func (AddonValuesPtrOutput) ElementType() reflect.Type

func (AddonValuesPtrOutput) Flavor

Specifies the key/value pairs vary depending on the add-on. Only supports non-nested structure and only supports string type elements. This is an alternative to `flavorJson`, but it is not recommended.

func (AddonValuesPtrOutput) FlavorJson

Specifies the json string vary depending on the add-on.

func (AddonValuesPtrOutput) ToAddonValuesPtrOutput

func (o AddonValuesPtrOutput) ToAddonValuesPtrOutput() AddonValuesPtrOutput

func (AddonValuesPtrOutput) ToAddonValuesPtrOutputWithContext

func (o AddonValuesPtrOutput) ToAddonValuesPtrOutputWithContext(ctx context.Context) AddonValuesPtrOutput

type Cluster

type Cluster struct {
	pulumi.CustomResourceState

	// schema: Internal
	Annotations pulumi.StringMapOutput `pulumi:"annotations"`
	// Specifies the CA root certificate provided in the
	// **authenticating_proxy** mode. The input value can be a Base64 encoded string or not.
	// Changing this parameter will create a new cluster resource.
	AuthenticatingProxyCa pulumi.StringPtrOutput `pulumi:"authenticatingProxyCa"`
	// Specifies the Client certificate provided in the
	// **authenticating_proxy** mode. The input value can be a Base64 encoded string or not.
	// Changing this parameter will create a new cluster resource.
	AuthenticatingProxyCert pulumi.StringPtrOutput `pulumi:"authenticatingProxyCert"`
	// Specifies the private key of the client certificate
	// provided in the **authenticating_proxy** mode. The input value can be a Base64 encoded string or not.
	// Changing this parameter will create a new cluster resource.
	AuthenticatingProxyPrivateKey pulumi.StringPtrOutput `pulumi:"authenticatingProxyPrivateKey"`
	// Specifies the authentication mode of the cluster, possible values
	// are **rbac** and **authenticating_proxy**. Defaults to **rbac**.
	// Changing this parameter will create a new cluster resource.
	AuthenticationMode pulumi.StringPtrOutput `pulumi:"authenticationMode"`
	// Deprecated: Deprecated
	AutoPay pulumi.StringPtrOutput `pulumi:"autoPay"`
	// Specifies whether auto renew is enabled. Valid values are **true** and **false**.
	AutoRenew pulumi.StringPtrOutput `pulumi:"autoRenew"`
	// Deprecated: use charging_mode instead
	BillingMode pulumi.IntOutput `pulumi:"billingMode"`
	// The certificate clusters. Structure is documented below.
	CertificateClusters ClusterCertificateClusterArrayOutput `pulumi:"certificateClusters"`
	// The certificate users. Structure is documented below.
	CertificateUsers ClusterCertificateUserArrayOutput `pulumi:"certificateUsers"`
	// Specifies the charging mode of the CCE cluster.
	// Valid values are **prePaid** and **postPaid**, defaults to **postPaid**.
	// Changing this parameter will create a new cluster resource.
	ChargingMode pulumi.StringOutput `pulumi:"chargingMode"`
	// Specifies the cluster Type, possible values are **VirtualMachine** and
	// **ARM64**. Defaults to **VirtualMachine**. Changing this parameter will create a new cluster resource.
	ClusterType pulumi.StringPtrOutput `pulumi:"clusterType"`
	// Specifies the cluster version, defaults to the latest supported
	// version. Changing this parameter will create a new cluster resource.
	ClusterVersion pulumi.StringOutput `pulumi:"clusterVersion"`
	// Specifies the container network segments.
	// In clusters of v1.21 and later, when the `containerNetworkType` is **vpc-router**, you can add multiple container
	// segments, separated with comma (,). In other situations, only the first segment takes effect.
	// Changing this parameter will create a new cluster resource.
	ContainerNetworkCidr pulumi.StringOutput `pulumi:"containerNetworkCidr"`
	// Specifies the container network type.
	// Changing this parameter will create a new cluster resource. Possible values:
	// + **overlay_l2**: An overlayL2 network built for containers by using Open vSwitch(OVS).
	// + **vpc-router**: An vpc-router network built for containers by using ipvlan and custom VPC routes.
	// + **eni**: A Yangtse network built for CCE Turbo cluster. The container network deeply integrates the native ENI
	//   capability of VPC, uses the VPC CIDR block to allocate container addresses, and supports direct connections between
	//   ELB and containers to provide high performance.
	ContainerNetworkType pulumi.StringOutput `pulumi:"containerNetworkType"`
	// Specified whether to delete all associated storage resources when deleting the CCE
	// cluster. valid values are **true**, **try** and **false**. Default is **false**.
	DeleteAll pulumi.StringPtrOutput `pulumi:"deleteAll"`
	// Specified whether to unbind associated SFS Turbo file systems when deleting the CCE
	// cluster. valid values are **true**, **try** and **false**. Default is **false**.
	DeleteEfs pulumi.StringPtrOutput `pulumi:"deleteEfs"`
	// schema: Internal
	DeleteEni pulumi.StringPtrOutput `pulumi:"deleteEni"`
	// Specified whether to delete associated EVS disks when deleting the CCE cluster.
	// valid values are **true**, **try** and **false**. Default is **false**.
	DeleteEvs pulumi.StringPtrOutput `pulumi:"deleteEvs"`
	// schema: Internal
	DeleteNet pulumi.StringPtrOutput `pulumi:"deleteNet"`
	// Specified whether to delete associated OBS buckets when deleting the CCE cluster.
	// valid values are **true**, **try** and **false**. Default is **false**.
	DeleteObs pulumi.StringPtrOutput `pulumi:"deleteObs"`
	// Specified whether to delete associated SFS file systems when deleting the CCE
	// cluster. valid values are **true**, **try** and **false**. Default is **false**.
	DeleteSfs pulumi.StringPtrOutput `pulumi:"deleteSfs"`
	// Specifies the cluster description.
	Description pulumi.StringOutput `pulumi:"description"`
	// Specifies the EIP address of the cluster.
	Eip pulumi.StringPtrOutput `pulumi:"eip"`
	// schema: Internal
	EnableDistributeManagement pulumi.BoolPtrOutput `pulumi:"enableDistributeManagement"`
	// The ENI network segment. This value is valid when only one eniSubnetId is specified.
	EniSubnetCidr pulumi.StringOutput `pulumi:"eniSubnetCidr"`
	// Specifies the **IPv4 subnet ID** of the subnet where the ENI resides.
	// Specified when creating a CCE Turbo cluster. You can add multiple IPv4 subnet ID, separated with comma (,).
	// Only adding subnets is allowed, removing subnets is not allowed.
	EniSubnetId pulumi.StringOutput `pulumi:"eniSubnetId"`
	// The enterprise project ID of the CCE cluster.
	// Changing this parameter will create a new cluster resource.
	EnterpriseProjectId pulumi.StringOutput `pulumi:"enterpriseProjectId"`
	// Specifies the extended parameter.
	// Changing this parameter will create a new cluster resource.
	ExtendParam pulumi.StringMapOutput `pulumi:"extendParam"`
	// Specifies the cluster specifications.
	// Changing this parameter will create a new cluster resource.
	// Possible values:
	// + **cce.s1.small**: small-scale single cluster (up to 50 nodes).
	// + **cce.s1.medium**: medium-scale single cluster (up to 200 nodes).
	// + **cce.s2.small**: small-scale HA cluster (up to 50 nodes).
	// + **cce.s2.medium**: medium-scale HA cluster (up to 200 nodes).
	// + **cce.s2.large**: large-scale HA cluster (up to 1000 nodes).
	// + **cce.s2.xlarge**: large-scale HA cluster (up to 2000 nodes).
	FlavorId pulumi.StringOutput `pulumi:"flavorId"`
	// Specifies whether to hibernate the CCE cluster. Defaults to **false**. After a cluster is
	// hibernated, resources such as workloads cannot be created or managed in the cluster, and the cluster cannot be
	// deleted.
	Hibernate pulumi.BoolPtrOutput `pulumi:"hibernate"`
	// schema: Internal
	HighwaySubnetId pulumi.StringOutput `pulumi:"highwaySubnetId"`
	// Raw Kubernetes config to be used by kubectl and other compatible tools.
	KubeConfigRaw pulumi.StringOutput `pulumi:"kubeConfigRaw"`
	// Specifies the service forwarding mode.
	// Changing this parameter will create a new cluster resource. Two modes are available:
	KubeProxyMode pulumi.StringPtrOutput `pulumi:"kubeProxyMode"`
	// schema: Internal
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// Specifies the advanced configuration of master nodes.
	// The object structure is documented below.
	// This parameter and `multiAz` are alternative. Changing this parameter will create a new cluster resource.
	Masters ClusterMasterArrayOutput `pulumi:"masters"`
	// Specifies whether to enable multiple AZs for the cluster, only when using HA
	// flavors. Changing this parameter will create a new cluster resource. This parameter and `masters` are alternative.
	MultiAz pulumi.BoolPtrOutput `pulumi:"multiAz"`
	// Specifies the cluster name.
	// Changing this parameter will create a new cluster resource.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the charging period of the CCE cluster.
	// 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 parameter will create a new cluster resource.
	Period pulumi.IntPtrOutput `pulumi:"period"`
	// Specifies the charging period unit of the CCE cluster.
	// Valid values are **month** and **year**. This parameter is mandatory if `chargingMode` is set to **prePaid**.
	// Changing this parameter will create a new cluster resource.
	PeriodUnit pulumi.StringPtrOutput `pulumi:"periodUnit"`
	// Specifies the region in which to create the CCE cluster resource.
	// If omitted, the provider-level region will be used. Changing this parameter will create a new cluster resource.
	Region pulumi.StringOutput `pulumi:"region"`
	// Specifies the default worker node security group ID of the cluster.
	// If left empty, the system will automatically create a default worker node security group for you.
	// The default worker node security group needs to allow access from certain ports to ensure normal communications.
	// For details, see [documentation](https://support.huaweicloud.com/intl/en-us/cce_faq/cce_faq_00265.html).
	// If updated, the modified security group will only be applied to nodes newly created or accepted.
	// For existing nodes, you need to manually modify the security group rules for them.
	SecurityGroupId pulumi.StringOutput `pulumi:"securityGroupId"`
	// Specifies the service network segment.
	// Changing this parameter will create a new cluster resource.
	ServiceNetworkCidr pulumi.StringOutput `pulumi:"serviceNetworkCidr"`
	// Cluster status information.
	Status pulumi.StringOutput `pulumi:"status"`
	// Specifies the ID of the subnet used to create the node which should be
	// configured with a *DNS address*. Changing this parameter will create a new cluster resource.
	SubnetId pulumi.StringOutput `pulumi:"subnetId"`
	// Specifies the tags of the CCE cluster, key/value pair format.
	// Changing this parameter will create a new cluster resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Specifies the ID of the VPC used to create the node.
	// Changing this parameter will create a new cluster resource.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

Provides a CCE cluster resource.

## Basic Usage

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Cce"
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		myvpc, err := Vpc.NewVpc(ctx, "myvpc", &Vpc.VpcArgs{
			Cidr: pulumi.String("192.168.0.0/16"),
		})
		if err != nil {
			return err
		}
		mysubnet, err := Vpc.NewSubnet(ctx, "mysubnet", &Vpc.SubnetArgs{
			Cidr:         pulumi.String("192.168.0.0/16"),
			GatewayIp:    pulumi.String("192.168.0.1"),
			PrimaryDns:   pulumi.String("100.125.1.250"),
			SecondaryDns: pulumi.String("100.125.21.250"),
			VpcId:        myvpc.ID(),
		})
		if err != nil {
			return err
		}
		_, err = Cce.NewCluster(ctx, "cluster", &Cce.ClusterArgs{
			FlavorId:             pulumi.String("cce.s1.small"),
			VpcId:                myvpc.ID(),
			SubnetId:             mysubnet.ID(),
			ContainerNetworkType: pulumi.String("overlay_l2"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Cluster With Eip

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Cce"
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Vpc"
"github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/Vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		myvpc, err := Vpc.NewVpc(ctx, "myvpc", &Vpc.VpcArgs{
			Cidr: pulumi.String("192.168.0.0/16"),
		})
		if err != nil {
			return err
		}
		mysubnet, err := Vpc.NewSubnet(ctx, "mysubnet", &Vpc.SubnetArgs{
			Cidr:         pulumi.String("192.168.0.0/16"),
			GatewayIp:    pulumi.String("192.168.0.1"),
			PrimaryDns:   pulumi.String("100.125.1.250"),
			SecondaryDns: pulumi.String("100.125.21.250"),
			VpcId:        myvpc.ID(),
		})
		if err != nil {
			return err
		}
		myeip, err := Vpc.NewEip(ctx, "myeip", &Vpc.EipArgs{
			Publicip: &vpc.EipPublicipArgs{
				Type: pulumi.String("5_bgp"),
			},
			Bandwidth: &vpc.EipBandwidthArgs{
				Name:       pulumi.String("test"),
				Size:       pulumi.Int(8),
				ShareType:  pulumi.String("PER"),
				ChargeMode: pulumi.String("traffic"),
			},
		})
		if err != nil {
			return err
		}
		_, err = Cce.NewCluster(ctx, "cluster", &Cce.ClusterArgs{
			ClusterType:          pulumi.String("VirtualMachine"),
			FlavorId:             pulumi.String("cce.s1.small"),
			VpcId:                myvpc.ID(),
			SubnetId:             mysubnet.ID(),
			ContainerNetworkType: pulumi.String("overlay_l2"),
			AuthenticationMode:   pulumi.String("rbac"),
			Eip:                  myeip.Address,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Cluster can be imported using the cluster ID, e.g.

```sh

$ pulumi import huaweicloud:Cce/cluster:Cluster huaweicloud_cce_cluster.cluster_1 4779ab1c-7c1a-44b1-a02e-93dfc361b32d

```

Note that the imported state may not be identical to your resource definition, due to some attributes missing from the API response, security or some other reason. The missing attributes include`delete_efs`, `delete_eni`, `delete_evs`, `delete_net`, `delete_obs`, `delete_sfs` and `delete_all`. It is generally recommended running `terraform plan` after importing an CCE cluster. You can then decide if changes should be applied to the cluster, or the resource definition should be updated to align with the cluster. Also you can ignore changes as below. resource "huaweicloud_cce_cluster" "cluster_1" {

...

lifecycle {

ignore_changes = [

delete_efs, delete_obs,

]

} }

func GetCluster

func GetCluster(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ClusterState, opts ...pulumi.ResourceOption) (*Cluster, error)

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).

func NewCluster

func NewCluster(ctx *pulumi.Context,
	name string, args *ClusterArgs, opts ...pulumi.ResourceOption) (*Cluster, error)

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

func (*Cluster) ElementType

func (*Cluster) ElementType() reflect.Type

func (*Cluster) ToClusterOutput

func (i *Cluster) ToClusterOutput() ClusterOutput

func (*Cluster) ToClusterOutputWithContext

func (i *Cluster) ToClusterOutputWithContext(ctx context.Context) ClusterOutput

type ClusterArgs

type ClusterArgs struct {
	// schema: Internal
	Annotations pulumi.StringMapInput
	// Specifies the CA root certificate provided in the
	// **authenticating_proxy** mode. The input value can be a Base64 encoded string or not.
	// Changing this parameter will create a new cluster resource.
	AuthenticatingProxyCa pulumi.StringPtrInput
	// Specifies the Client certificate provided in the
	// **authenticating_proxy** mode. The input value can be a Base64 encoded string or not.
	// Changing this parameter will create a new cluster resource.
	AuthenticatingProxyCert pulumi.StringPtrInput
	// Specifies the private key of the client certificate
	// provided in the **authenticating_proxy** mode. The input value can be a Base64 encoded string or not.
	// Changing this parameter will create a new cluster resource.
	AuthenticatingProxyPrivateKey pulumi.StringPtrInput
	// Specifies the authentication mode of the cluster, possible values
	// are **rbac** and **authenticating_proxy**. Defaults to **rbac**.
	// Changing this parameter will create a new cluster resource.
	AuthenticationMode pulumi.StringPtrInput
	// Deprecated: Deprecated
	AutoPay pulumi.StringPtrInput
	// Specifies whether auto renew is enabled. Valid values are **true** and **false**.
	AutoRenew pulumi.StringPtrInput
	// Deprecated: use charging_mode instead
	BillingMode pulumi.IntPtrInput
	// Specifies the charging mode of the CCE cluster.
	// Valid values are **prePaid** and **postPaid**, defaults to **postPaid**.
	// Changing this parameter will create a new cluster resource.
	ChargingMode pulumi.StringPtrInput
	// Specifies the cluster Type, possible values are **VirtualMachine** and
	// **ARM64**. Defaults to **VirtualMachine**. Changing this parameter will create a new cluster resource.
	ClusterType pulumi.StringPtrInput
	// Specifies the cluster version, defaults to the latest supported
	// version. Changing this parameter will create a new cluster resource.
	ClusterVersion pulumi.StringPtrInput
	// Specifies the container network segments.
	// In clusters of v1.21 and later, when the `containerNetworkType` is **vpc-router**, you can add multiple container
	// segments, separated with comma (,). In other situations, only the first segment takes effect.
	// Changing this parameter will create a new cluster resource.
	ContainerNetworkCidr pulumi.StringPtrInput
	// Specifies the container network type.
	// Changing this parameter will create a new cluster resource. Possible values:
	// + **overlay_l2**: An overlayL2 network built for containers by using Open vSwitch(OVS).
	// + **vpc-router**: An vpc-router network built for containers by using ipvlan and custom VPC routes.
	// + **eni**: A Yangtse network built for CCE Turbo cluster. The container network deeply integrates the native ENI
	//   capability of VPC, uses the VPC CIDR block to allocate container addresses, and supports direct connections between
	//   ELB and containers to provide high performance.
	ContainerNetworkType pulumi.StringInput
	// Specified whether to delete all associated storage resources when deleting the CCE
	// cluster. valid values are **true**, **try** and **false**. Default is **false**.
	DeleteAll pulumi.StringPtrInput
	// Specified whether to unbind associated SFS Turbo file systems when deleting the CCE
	// cluster. valid values are **true**, **try** and **false**. Default is **false**.
	DeleteEfs pulumi.StringPtrInput
	// schema: Internal
	DeleteEni pulumi.StringPtrInput
	// Specified whether to delete associated EVS disks when deleting the CCE cluster.
	// valid values are **true**, **try** and **false**. Default is **false**.
	DeleteEvs pulumi.StringPtrInput
	// schema: Internal
	DeleteNet pulumi.StringPtrInput
	// Specified whether to delete associated OBS buckets when deleting the CCE cluster.
	// valid values are **true**, **try** and **false**. Default is **false**.
	DeleteObs pulumi.StringPtrInput
	// Specified whether to delete associated SFS file systems when deleting the CCE
	// cluster. valid values are **true**, **try** and **false**. Default is **false**.
	DeleteSfs pulumi.StringPtrInput
	// Specifies the cluster description.
	Description pulumi.StringPtrInput
	// Specifies the EIP address of the cluster.
	Eip pulumi.StringPtrInput
	// schema: Internal
	EnableDistributeManagement pulumi.BoolPtrInput
	// The ENI network segment. This value is valid when only one eniSubnetId is specified.
	EniSubnetCidr pulumi.StringPtrInput
	// Specifies the **IPv4 subnet ID** of the subnet where the ENI resides.
	// Specified when creating a CCE Turbo cluster. You can add multiple IPv4 subnet ID, separated with comma (,).
	// Only adding subnets is allowed, removing subnets is not allowed.
	EniSubnetId pulumi.StringPtrInput
	// The enterprise project ID of the CCE cluster.
	// Changing this parameter will create a new cluster resource.
	EnterpriseProjectId pulumi.StringPtrInput
	// Specifies the extended parameter.
	// Changing this parameter will create a new cluster resource.
	ExtendParam pulumi.StringMapInput
	// Specifies the cluster specifications.
	// Changing this parameter will create a new cluster resource.
	// Possible values:
	// + **cce.s1.small**: small-scale single cluster (up to 50 nodes).
	// + **cce.s1.medium**: medium-scale single cluster (up to 200 nodes).
	// + **cce.s2.small**: small-scale HA cluster (up to 50 nodes).
	// + **cce.s2.medium**: medium-scale HA cluster (up to 200 nodes).
	// + **cce.s2.large**: large-scale HA cluster (up to 1000 nodes).
	// + **cce.s2.xlarge**: large-scale HA cluster (up to 2000 nodes).
	FlavorId pulumi.StringInput
	// Specifies whether to hibernate the CCE cluster. Defaults to **false**. After a cluster is
	// hibernated, resources such as workloads cannot be created or managed in the cluster, and the cluster cannot be
	// deleted.
	Hibernate pulumi.BoolPtrInput
	// schema: Internal
	HighwaySubnetId pulumi.StringPtrInput
	// Specifies the service forwarding mode.
	// Changing this parameter will create a new cluster resource. Two modes are available:
	KubeProxyMode pulumi.StringPtrInput
	// schema: Internal
	Labels pulumi.StringMapInput
	// Specifies the advanced configuration of master nodes.
	// The object structure is documented below.
	// This parameter and `multiAz` are alternative. Changing this parameter will create a new cluster resource.
	Masters ClusterMasterArrayInput
	// Specifies whether to enable multiple AZs for the cluster, only when using HA
	// flavors. Changing this parameter will create a new cluster resource. This parameter and `masters` are alternative.
	MultiAz pulumi.BoolPtrInput
	// Specifies the cluster name.
	// Changing this parameter will create a new cluster resource.
	Name pulumi.StringPtrInput
	// Specifies the charging period of the CCE cluster.
	// 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 parameter will create a new cluster resource.
	Period pulumi.IntPtrInput
	// Specifies the charging period unit of the CCE cluster.
	// Valid values are **month** and **year**. This parameter is mandatory if `chargingMode` is set to **prePaid**.
	// Changing this parameter will create a new cluster resource.
	PeriodUnit pulumi.StringPtrInput
	// Specifies the region in which to create the CCE cluster resource.
	// If omitted, the provider-level region will be used. Changing this parameter will create a new cluster resource.
	Region pulumi.StringPtrInput
	// Specifies the default worker node security group ID of the cluster.
	// If left empty, the system will automatically create a default worker node security group for you.
	// The default worker node security group needs to allow access from certain ports to ensure normal communications.
	// For details, see [documentation](https://support.huaweicloud.com/intl/en-us/cce_faq/cce_faq_00265.html).
	// If updated, the modified security group will only be applied to nodes newly created or accepted.
	// For existing nodes, you need to manually modify the security group rules for them.
	SecurityGroupId pulumi.StringPtrInput
	// Specifies the service network segment.
	// Changing this parameter will create a new cluster resource.
	ServiceNetworkCidr pulumi.StringPtrInput
	// Specifies the ID of the subnet used to create the node which should be
	// configured with a *DNS address*. Changing this parameter will create a new cluster resource.
	SubnetId pulumi.StringInput
	// Specifies the tags of the CCE cluster, key/value pair format.
	// Changing this parameter will create a new cluster resource.
	Tags pulumi.StringMapInput
	// Specifies the ID of the VPC used to create the node.
	// Changing this parameter will create a new cluster resource.
	VpcId pulumi.StringInput
}

The set of arguments for constructing a Cluster resource.

func (ClusterArgs) ElementType

func (ClusterArgs) ElementType() reflect.Type

type ClusterArray

type ClusterArray []ClusterInput

func (ClusterArray) ElementType

func (ClusterArray) ElementType() reflect.Type

func (ClusterArray) ToClusterArrayOutput

func (i ClusterArray) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArray) ToClusterArrayOutputWithContext

func (i ClusterArray) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput

type ClusterArrayInput

type ClusterArrayInput interface {
	pulumi.Input

	ToClusterArrayOutput() ClusterArrayOutput
	ToClusterArrayOutputWithContext(context.Context) ClusterArrayOutput
}

ClusterArrayInput is an input type that accepts ClusterArray and ClusterArrayOutput values. You can construct a concrete instance of `ClusterArrayInput` via:

ClusterArray{ ClusterArgs{...} }

type ClusterArrayOutput

type ClusterArrayOutput struct{ *pulumi.OutputState }

func (ClusterArrayOutput) ElementType

func (ClusterArrayOutput) ElementType() reflect.Type

func (ClusterArrayOutput) Index

func (ClusterArrayOutput) ToClusterArrayOutput

func (o ClusterArrayOutput) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArrayOutput) ToClusterArrayOutputWithContext

func (o ClusterArrayOutput) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput

type ClusterCertificateCluster

type ClusterCertificateCluster struct {
	// The certificate data.
	CertificateAuthorityData *string `pulumi:"certificateAuthorityData"`
	// Specifies the cluster name.
	// Changing this parameter will create a new cluster resource.
	Name *string `pulumi:"name"`
	// The server IP address.
	Server *string `pulumi:"server"`
}

type ClusterCertificateClusterArgs

type ClusterCertificateClusterArgs struct {
	// The certificate data.
	CertificateAuthorityData pulumi.StringPtrInput `pulumi:"certificateAuthorityData"`
	// Specifies the cluster name.
	// Changing this parameter will create a new cluster resource.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The server IP address.
	Server pulumi.StringPtrInput `pulumi:"server"`
}

func (ClusterCertificateClusterArgs) ElementType

func (ClusterCertificateClusterArgs) ToClusterCertificateClusterOutput

func (i ClusterCertificateClusterArgs) ToClusterCertificateClusterOutput() ClusterCertificateClusterOutput

func (ClusterCertificateClusterArgs) ToClusterCertificateClusterOutputWithContext

func (i ClusterCertificateClusterArgs) ToClusterCertificateClusterOutputWithContext(ctx context.Context) ClusterCertificateClusterOutput

type ClusterCertificateClusterArray

type ClusterCertificateClusterArray []ClusterCertificateClusterInput

func (ClusterCertificateClusterArray) ElementType

func (ClusterCertificateClusterArray) ToClusterCertificateClusterArrayOutput

func (i ClusterCertificateClusterArray) ToClusterCertificateClusterArrayOutput() ClusterCertificateClusterArrayOutput

func (ClusterCertificateClusterArray) ToClusterCertificateClusterArrayOutputWithContext

func (i ClusterCertificateClusterArray) ToClusterCertificateClusterArrayOutputWithContext(ctx context.Context) ClusterCertificateClusterArrayOutput

type ClusterCertificateClusterArrayInput

type ClusterCertificateClusterArrayInput interface {
	pulumi.Input

	ToClusterCertificateClusterArrayOutput() ClusterCertificateClusterArrayOutput
	ToClusterCertificateClusterArrayOutputWithContext(context.Context) ClusterCertificateClusterArrayOutput
}

ClusterCertificateClusterArrayInput is an input type that accepts ClusterCertificateClusterArray and ClusterCertificateClusterArrayOutput values. You can construct a concrete instance of `ClusterCertificateClusterArrayInput` via:

ClusterCertificateClusterArray{ ClusterCertificateClusterArgs{...} }

type ClusterCertificateClusterArrayOutput

type ClusterCertificateClusterArrayOutput struct{ *pulumi.OutputState }

func (ClusterCertificateClusterArrayOutput) ElementType

func (ClusterCertificateClusterArrayOutput) Index

func (ClusterCertificateClusterArrayOutput) ToClusterCertificateClusterArrayOutput

func (o ClusterCertificateClusterArrayOutput) ToClusterCertificateClusterArrayOutput() ClusterCertificateClusterArrayOutput

func (ClusterCertificateClusterArrayOutput) ToClusterCertificateClusterArrayOutputWithContext

func (o ClusterCertificateClusterArrayOutput) ToClusterCertificateClusterArrayOutputWithContext(ctx context.Context) ClusterCertificateClusterArrayOutput

type ClusterCertificateClusterInput

type ClusterCertificateClusterInput interface {
	pulumi.Input

	ToClusterCertificateClusterOutput() ClusterCertificateClusterOutput
	ToClusterCertificateClusterOutputWithContext(context.Context) ClusterCertificateClusterOutput
}

ClusterCertificateClusterInput is an input type that accepts ClusterCertificateClusterArgs and ClusterCertificateClusterOutput values. You can construct a concrete instance of `ClusterCertificateClusterInput` via:

ClusterCertificateClusterArgs{...}

type ClusterCertificateClusterOutput

type ClusterCertificateClusterOutput struct{ *pulumi.OutputState }

func (ClusterCertificateClusterOutput) CertificateAuthorityData

func (o ClusterCertificateClusterOutput) CertificateAuthorityData() pulumi.StringPtrOutput

The certificate data.

func (ClusterCertificateClusterOutput) ElementType

func (ClusterCertificateClusterOutput) Name

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

func (ClusterCertificateClusterOutput) Server

The server IP address.

func (ClusterCertificateClusterOutput) ToClusterCertificateClusterOutput

func (o ClusterCertificateClusterOutput) ToClusterCertificateClusterOutput() ClusterCertificateClusterOutput

func (ClusterCertificateClusterOutput) ToClusterCertificateClusterOutputWithContext

func (o ClusterCertificateClusterOutput) ToClusterCertificateClusterOutputWithContext(ctx context.Context) ClusterCertificateClusterOutput

type ClusterCertificateUser

type ClusterCertificateUser struct {
	// The client certificate data.
	ClientCertificateData *string `pulumi:"clientCertificateData"`
	// The client key data.
	ClientKeyData *string `pulumi:"clientKeyData"`
	// Specifies the cluster name.
	// Changing this parameter will create a new cluster resource.
	Name *string `pulumi:"name"`
}

type ClusterCertificateUserArgs

type ClusterCertificateUserArgs struct {
	// The client certificate data.
	ClientCertificateData pulumi.StringPtrInput `pulumi:"clientCertificateData"`
	// The client key data.
	ClientKeyData pulumi.StringPtrInput `pulumi:"clientKeyData"`
	// Specifies the cluster name.
	// Changing this parameter will create a new cluster resource.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

func (ClusterCertificateUserArgs) ElementType

func (ClusterCertificateUserArgs) ElementType() reflect.Type

func (ClusterCertificateUserArgs) ToClusterCertificateUserOutput

func (i ClusterCertificateUserArgs) ToClusterCertificateUserOutput() ClusterCertificateUserOutput

func (ClusterCertificateUserArgs) ToClusterCertificateUserOutputWithContext

func (i ClusterCertificateUserArgs) ToClusterCertificateUserOutputWithContext(ctx context.Context) ClusterCertificateUserOutput

type ClusterCertificateUserArray

type ClusterCertificateUserArray []ClusterCertificateUserInput

func (ClusterCertificateUserArray) ElementType

func (ClusterCertificateUserArray) ToClusterCertificateUserArrayOutput

func (i ClusterCertificateUserArray) ToClusterCertificateUserArrayOutput() ClusterCertificateUserArrayOutput

func (ClusterCertificateUserArray) ToClusterCertificateUserArrayOutputWithContext

func (i ClusterCertificateUserArray) ToClusterCertificateUserArrayOutputWithContext(ctx context.Context) ClusterCertificateUserArrayOutput

type ClusterCertificateUserArrayInput

type ClusterCertificateUserArrayInput interface {
	pulumi.Input

	ToClusterCertificateUserArrayOutput() ClusterCertificateUserArrayOutput
	ToClusterCertificateUserArrayOutputWithContext(context.Context) ClusterCertificateUserArrayOutput
}

ClusterCertificateUserArrayInput is an input type that accepts ClusterCertificateUserArray and ClusterCertificateUserArrayOutput values. You can construct a concrete instance of `ClusterCertificateUserArrayInput` via:

ClusterCertificateUserArray{ ClusterCertificateUserArgs{...} }

type ClusterCertificateUserArrayOutput

type ClusterCertificateUserArrayOutput struct{ *pulumi.OutputState }

func (ClusterCertificateUserArrayOutput) ElementType

func (ClusterCertificateUserArrayOutput) Index

func (ClusterCertificateUserArrayOutput) ToClusterCertificateUserArrayOutput

func (o ClusterCertificateUserArrayOutput) ToClusterCertificateUserArrayOutput() ClusterCertificateUserArrayOutput

func (ClusterCertificateUserArrayOutput) ToClusterCertificateUserArrayOutputWithContext

func (o ClusterCertificateUserArrayOutput) ToClusterCertificateUserArrayOutputWithContext(ctx context.Context) ClusterCertificateUserArrayOutput

type ClusterCertificateUserInput

type ClusterCertificateUserInput interface {
	pulumi.Input

	ToClusterCertificateUserOutput() ClusterCertificateUserOutput
	ToClusterCertificateUserOutputWithContext(context.Context) ClusterCertificateUserOutput
}

ClusterCertificateUserInput is an input type that accepts ClusterCertificateUserArgs and ClusterCertificateUserOutput values. You can construct a concrete instance of `ClusterCertificateUserInput` via:

ClusterCertificateUserArgs{...}

type ClusterCertificateUserOutput

type ClusterCertificateUserOutput struct{ *pulumi.OutputState }

func (ClusterCertificateUserOutput) ClientCertificateData

func (o ClusterCertificateUserOutput) ClientCertificateData() pulumi.StringPtrOutput

The client certificate data.

func (ClusterCertificateUserOutput) ClientKeyData

The client key data.

func (ClusterCertificateUserOutput) ElementType

func (ClusterCertificateUserOutput) Name

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

func (ClusterCertificateUserOutput) ToClusterCertificateUserOutput

func (o ClusterCertificateUserOutput) ToClusterCertificateUserOutput() ClusterCertificateUserOutput

func (ClusterCertificateUserOutput) ToClusterCertificateUserOutputWithContext

func (o ClusterCertificateUserOutput) ToClusterCertificateUserOutputWithContext(ctx context.Context) ClusterCertificateUserOutput

type ClusterInput

type ClusterInput interface {
	pulumi.Input

	ToClusterOutput() ClusterOutput
	ToClusterOutputWithContext(ctx context.Context) ClusterOutput
}

type ClusterMap

type ClusterMap map[string]ClusterInput

func (ClusterMap) ElementType

func (ClusterMap) ElementType() reflect.Type

func (ClusterMap) ToClusterMapOutput

func (i ClusterMap) ToClusterMapOutput() ClusterMapOutput

func (ClusterMap) ToClusterMapOutputWithContext

func (i ClusterMap) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput

type ClusterMapInput

type ClusterMapInput interface {
	pulumi.Input

	ToClusterMapOutput() ClusterMapOutput
	ToClusterMapOutputWithContext(context.Context) ClusterMapOutput
}

ClusterMapInput is an input type that accepts ClusterMap and ClusterMapOutput values. You can construct a concrete instance of `ClusterMapInput` via:

ClusterMap{ "key": ClusterArgs{...} }

type ClusterMapOutput

type ClusterMapOutput struct{ *pulumi.OutputState }

func (ClusterMapOutput) ElementType

func (ClusterMapOutput) ElementType() reflect.Type

func (ClusterMapOutput) MapIndex

func (ClusterMapOutput) ToClusterMapOutput

func (o ClusterMapOutput) ToClusterMapOutput() ClusterMapOutput

func (ClusterMapOutput) ToClusterMapOutputWithContext

func (o ClusterMapOutput) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput

type ClusterMaster

type ClusterMaster struct {
	// Specifies the availability zone of the master node.
	// Changing this parameter will create a new cluster resource.
	AvailabilityZone *string `pulumi:"availabilityZone"`
}

type ClusterMasterArgs

type ClusterMasterArgs struct {
	// Specifies the availability zone of the master node.
	// Changing this parameter will create a new cluster resource.
	AvailabilityZone pulumi.StringPtrInput `pulumi:"availabilityZone"`
}

func (ClusterMasterArgs) ElementType

func (ClusterMasterArgs) ElementType() reflect.Type

func (ClusterMasterArgs) ToClusterMasterOutput

func (i ClusterMasterArgs) ToClusterMasterOutput() ClusterMasterOutput

func (ClusterMasterArgs) ToClusterMasterOutputWithContext

func (i ClusterMasterArgs) ToClusterMasterOutputWithContext(ctx context.Context) ClusterMasterOutput

type ClusterMasterArray

type ClusterMasterArray []ClusterMasterInput

func (ClusterMasterArray) ElementType

func (ClusterMasterArray) ElementType() reflect.Type

func (ClusterMasterArray) ToClusterMasterArrayOutput

func (i ClusterMasterArray) ToClusterMasterArrayOutput() ClusterMasterArrayOutput

func (ClusterMasterArray) ToClusterMasterArrayOutputWithContext

func (i ClusterMasterArray) ToClusterMasterArrayOutputWithContext(ctx context.Context) ClusterMasterArrayOutput

type ClusterMasterArrayInput

type ClusterMasterArrayInput interface {
	pulumi.Input

	ToClusterMasterArrayOutput() ClusterMasterArrayOutput
	ToClusterMasterArrayOutputWithContext(context.Context) ClusterMasterArrayOutput
}

ClusterMasterArrayInput is an input type that accepts ClusterMasterArray and ClusterMasterArrayOutput values. You can construct a concrete instance of `ClusterMasterArrayInput` via:

ClusterMasterArray{ ClusterMasterArgs{...} }

type ClusterMasterArrayOutput

type ClusterMasterArrayOutput struct{ *pulumi.OutputState }

func (ClusterMasterArrayOutput) ElementType

func (ClusterMasterArrayOutput) ElementType() reflect.Type

func (ClusterMasterArrayOutput) Index

func (ClusterMasterArrayOutput) ToClusterMasterArrayOutput

func (o ClusterMasterArrayOutput) ToClusterMasterArrayOutput() ClusterMasterArrayOutput

func (ClusterMasterArrayOutput) ToClusterMasterArrayOutputWithContext

func (o ClusterMasterArrayOutput) ToClusterMasterArrayOutputWithContext(ctx context.Context) ClusterMasterArrayOutput

type ClusterMasterInput

type ClusterMasterInput interface {
	pulumi.Input

	ToClusterMasterOutput() ClusterMasterOutput
	ToClusterMasterOutputWithContext(context.Context) ClusterMasterOutput
}

ClusterMasterInput is an input type that accepts ClusterMasterArgs and ClusterMasterOutput values. You can construct a concrete instance of `ClusterMasterInput` via:

ClusterMasterArgs{...}

type ClusterMasterOutput

type ClusterMasterOutput struct{ *pulumi.OutputState }

func (ClusterMasterOutput) AvailabilityZone

func (o ClusterMasterOutput) AvailabilityZone() pulumi.StringPtrOutput

Specifies the availability zone of the master node. Changing this parameter will create a new cluster resource.

func (ClusterMasterOutput) ElementType

func (ClusterMasterOutput) ElementType() reflect.Type

func (ClusterMasterOutput) ToClusterMasterOutput

func (o ClusterMasterOutput) ToClusterMasterOutput() ClusterMasterOutput

func (ClusterMasterOutput) ToClusterMasterOutputWithContext

func (o ClusterMasterOutput) ToClusterMasterOutputWithContext(ctx context.Context) ClusterMasterOutput

type ClusterOutput

type ClusterOutput struct{ *pulumi.OutputState }

func (ClusterOutput) Annotations

func (o ClusterOutput) Annotations() pulumi.StringMapOutput

schema: Internal

func (ClusterOutput) AuthenticatingProxyCa

func (o ClusterOutput) AuthenticatingProxyCa() pulumi.StringPtrOutput

Specifies the CA root certificate provided in the **authenticating_proxy** mode. The input value can be a Base64 encoded string or not. Changing this parameter will create a new cluster resource.

func (ClusterOutput) AuthenticatingProxyCert

func (o ClusterOutput) AuthenticatingProxyCert() pulumi.StringPtrOutput

Specifies the Client certificate provided in the **authenticating_proxy** mode. The input value can be a Base64 encoded string or not. Changing this parameter will create a new cluster resource.

func (ClusterOutput) AuthenticatingProxyPrivateKey

func (o ClusterOutput) AuthenticatingProxyPrivateKey() pulumi.StringPtrOutput

Specifies the private key of the client certificate provided in the **authenticating_proxy** mode. The input value can be a Base64 encoded string or not. Changing this parameter will create a new cluster resource.

func (ClusterOutput) AuthenticationMode

func (o ClusterOutput) AuthenticationMode() pulumi.StringPtrOutput

Specifies the authentication mode of the cluster, possible values are **rbac** and **authenticating_proxy**. Defaults to **rbac**. Changing this parameter will create a new cluster resource.

func (ClusterOutput) AutoPay deprecated

func (o ClusterOutput) AutoPay() pulumi.StringPtrOutput

Deprecated: Deprecated

func (ClusterOutput) AutoRenew

func (o ClusterOutput) AutoRenew() pulumi.StringPtrOutput

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

func (ClusterOutput) BillingMode deprecated

func (o ClusterOutput) BillingMode() pulumi.IntOutput

Deprecated: use charging_mode instead

func (ClusterOutput) CertificateClusters

func (o ClusterOutput) CertificateClusters() ClusterCertificateClusterArrayOutput

The certificate clusters. Structure is documented below.

func (ClusterOutput) CertificateUsers

func (o ClusterOutput) CertificateUsers() ClusterCertificateUserArrayOutput

The certificate users. Structure is documented below.

func (ClusterOutput) ChargingMode

func (o ClusterOutput) ChargingMode() pulumi.StringOutput

Specifies the charging mode of the CCE cluster. Valid values are **prePaid** and **postPaid**, defaults to **postPaid**. Changing this parameter will create a new cluster resource.

func (ClusterOutput) ClusterType

func (o ClusterOutput) ClusterType() pulumi.StringPtrOutput

Specifies the cluster Type, possible values are **VirtualMachine** and **ARM64**. Defaults to **VirtualMachine**. Changing this parameter will create a new cluster resource.

func (ClusterOutput) ClusterVersion

func (o ClusterOutput) ClusterVersion() pulumi.StringOutput

Specifies the cluster version, defaults to the latest supported version. Changing this parameter will create a new cluster resource.

func (ClusterOutput) ContainerNetworkCidr

func (o ClusterOutput) ContainerNetworkCidr() pulumi.StringOutput

Specifies the container network segments. In clusters of v1.21 and later, when the `containerNetworkType` is **vpc-router**, you can add multiple container segments, separated with comma (,). In other situations, only the first segment takes effect. Changing this parameter will create a new cluster resource.

func (ClusterOutput) ContainerNetworkType

func (o ClusterOutput) ContainerNetworkType() pulumi.StringOutput

Specifies the container network type. Changing this parameter will create a new cluster resource. Possible values:

  • **overlay_l2**: An overlayL2 network built for containers by using Open vSwitch(OVS).
  • **vpc-router**: An vpc-router network built for containers by using ipvlan and custom VPC routes.
  • **eni**: A Yangtse network built for CCE Turbo cluster. The container network deeply integrates the native ENI capability of VPC, uses the VPC CIDR block to allocate container addresses, and supports direct connections between ELB and containers to provide high performance.

func (ClusterOutput) DeleteAll

func (o ClusterOutput) DeleteAll() pulumi.StringPtrOutput

Specified whether to delete all associated storage resources when deleting the CCE cluster. valid values are **true**, **try** and **false**. Default is **false**.

func (ClusterOutput) DeleteEfs

func (o ClusterOutput) DeleteEfs() pulumi.StringPtrOutput

Specified whether to unbind associated SFS Turbo file systems when deleting the CCE cluster. valid values are **true**, **try** and **false**. Default is **false**.

func (ClusterOutput) DeleteEni

func (o ClusterOutput) DeleteEni() pulumi.StringPtrOutput

schema: Internal

func (ClusterOutput) DeleteEvs

func (o ClusterOutput) DeleteEvs() pulumi.StringPtrOutput

Specified whether to delete associated EVS disks when deleting the CCE cluster. valid values are **true**, **try** and **false**. Default is **false**.

func (ClusterOutput) DeleteNet

func (o ClusterOutput) DeleteNet() pulumi.StringPtrOutput

schema: Internal

func (ClusterOutput) DeleteObs

func (o ClusterOutput) DeleteObs() pulumi.StringPtrOutput

Specified whether to delete associated OBS buckets when deleting the CCE cluster. valid values are **true**, **try** and **false**. Default is **false**.

func (ClusterOutput) DeleteSfs

func (o ClusterOutput) DeleteSfs() pulumi.StringPtrOutput

Specified whether to delete associated SFS file systems when deleting the CCE cluster. valid values are **true**, **try** and **false**. Default is **false**.

func (ClusterOutput) Description

func (o ClusterOutput) Description() pulumi.StringOutput

Specifies the cluster description.

func (ClusterOutput) Eip

Specifies the EIP address of the cluster.

func (ClusterOutput) ElementType

func (ClusterOutput) ElementType() reflect.Type

func (ClusterOutput) EnableDistributeManagement added in v0.0.8

func (o ClusterOutput) EnableDistributeManagement() pulumi.BoolPtrOutput

schema: Internal

func (ClusterOutput) EniSubnetCidr

func (o ClusterOutput) EniSubnetCidr() pulumi.StringOutput

The ENI network segment. This value is valid when only one eniSubnetId is specified.

func (ClusterOutput) EniSubnetId

func (o ClusterOutput) EniSubnetId() pulumi.StringOutput

Specifies the **IPv4 subnet ID** of the subnet where the ENI resides. Specified when creating a CCE Turbo cluster. You can add multiple IPv4 subnet ID, separated with comma (,). Only adding subnets is allowed, removing subnets is not allowed.

func (ClusterOutput) EnterpriseProjectId

func (o ClusterOutput) EnterpriseProjectId() pulumi.StringOutput

The enterprise project ID of the CCE cluster. Changing this parameter will create a new cluster resource.

func (ClusterOutput) ExtendParam

func (o ClusterOutput) ExtendParam() pulumi.StringMapOutput

Specifies the extended parameter. Changing this parameter will create a new cluster resource.

func (ClusterOutput) FlavorId

func (o ClusterOutput) FlavorId() pulumi.StringOutput

Specifies the cluster specifications. Changing this parameter will create a new cluster resource. Possible values: + **cce.s1.small**: small-scale single cluster (up to 50 nodes). + **cce.s1.medium**: medium-scale single cluster (up to 200 nodes). + **cce.s2.small**: small-scale HA cluster (up to 50 nodes). + **cce.s2.medium**: medium-scale HA cluster (up to 200 nodes). + **cce.s2.large**: large-scale HA cluster (up to 1000 nodes). + **cce.s2.xlarge**: large-scale HA cluster (up to 2000 nodes).

func (ClusterOutput) Hibernate

func (o ClusterOutput) Hibernate() pulumi.BoolPtrOutput

Specifies whether to hibernate the CCE cluster. Defaults to **false**. After a cluster is hibernated, resources such as workloads cannot be created or managed in the cluster, and the cluster cannot be deleted.

func (ClusterOutput) HighwaySubnetId

func (o ClusterOutput) HighwaySubnetId() pulumi.StringOutput

schema: Internal

func (ClusterOutput) KubeConfigRaw

func (o ClusterOutput) KubeConfigRaw() pulumi.StringOutput

Raw Kubernetes config to be used by kubectl and other compatible tools.

func (ClusterOutput) KubeProxyMode

func (o ClusterOutput) KubeProxyMode() pulumi.StringPtrOutput

Specifies the service forwarding mode. Changing this parameter will create a new cluster resource. Two modes are available:

func (ClusterOutput) Labels

schema: Internal

func (ClusterOutput) Masters

Specifies the advanced configuration of master nodes. The object structure is documented below. This parameter and `multiAz` are alternative. Changing this parameter will create a new cluster resource.

func (ClusterOutput) MultiAz

func (o ClusterOutput) MultiAz() pulumi.BoolPtrOutput

Specifies whether to enable multiple AZs for the cluster, only when using HA flavors. Changing this parameter will create a new cluster resource. This parameter and `masters` are alternative.

func (ClusterOutput) Name

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

func (ClusterOutput) Period

func (o ClusterOutput) Period() pulumi.IntPtrOutput

Specifies the charging period of the CCE cluster. 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 parameter will create a new cluster resource.

func (ClusterOutput) PeriodUnit

func (o ClusterOutput) PeriodUnit() pulumi.StringPtrOutput

Specifies the charging period unit of the CCE cluster. Valid values are **month** and **year**. This parameter is mandatory if `chargingMode` is set to **prePaid**. Changing this parameter will create a new cluster resource.

func (ClusterOutput) Region

func (o ClusterOutput) Region() pulumi.StringOutput

Specifies the region in which to create the CCE cluster resource. If omitted, the provider-level region will be used. Changing this parameter will create a new cluster resource.

func (ClusterOutput) SecurityGroupId

func (o ClusterOutput) SecurityGroupId() pulumi.StringOutput

Specifies the default worker node security group ID of the cluster. If left empty, the system will automatically create a default worker node security group for you. The default worker node security group needs to allow access from certain ports to ensure normal communications. For details, see [documentation](https://support.huaweicloud.com/intl/en-us/cce_faq/cce_faq_00265.html). If updated, the modified security group will only be applied to nodes newly created or accepted. For existing nodes, you need to manually modify the security group rules for them.

func (ClusterOutput) ServiceNetworkCidr

func (o ClusterOutput) ServiceNetworkCidr() pulumi.StringOutput

Specifies the service network segment. Changing this parameter will create a new cluster resource.

func (ClusterOutput) Status

func (o ClusterOutput) Status() pulumi.StringOutput

Cluster status information.

func (ClusterOutput) SubnetId

func (o ClusterOutput) SubnetId() pulumi.StringOutput

Specifies the ID of the subnet used to create the node which should be configured with a *DNS address*. Changing this parameter will create a new cluster resource.

func (ClusterOutput) Tags

Specifies the tags of the CCE cluster, key/value pair format. Changing this parameter will create a new cluster resource.

func (ClusterOutput) ToClusterOutput

func (o ClusterOutput) ToClusterOutput() ClusterOutput

func (ClusterOutput) ToClusterOutputWithContext

func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput

func (ClusterOutput) VpcId

func (o ClusterOutput) VpcId() pulumi.StringOutput

Specifies the ID of the VPC used to create the node. Changing this parameter will create a new cluster resource.

type ClusterState

type ClusterState struct {
	// schema: Internal
	Annotations pulumi.StringMapInput
	// Specifies the CA root certificate provided in the
	// **authenticating_proxy** mode. The input value can be a Base64 encoded string or not.
	// Changing this parameter will create a new cluster resource.
	AuthenticatingProxyCa pulumi.StringPtrInput
	// Specifies the Client certificate provided in the
	// **authenticating_proxy** mode. The input value can be a Base64 encoded string or not.
	// Changing this parameter will create a new cluster resource.
	AuthenticatingProxyCert pulumi.StringPtrInput
	// Specifies the private key of the client certificate
	// provided in the **authenticating_proxy** mode. The input value can be a Base64 encoded string or not.
	// Changing this parameter will create a new cluster resource.
	AuthenticatingProxyPrivateKey pulumi.StringPtrInput
	// Specifies the authentication mode of the cluster, possible values
	// are **rbac** and **authenticating_proxy**. Defaults to **rbac**.
	// Changing this parameter will create a new cluster resource.
	AuthenticationMode pulumi.StringPtrInput
	// Deprecated: Deprecated
	AutoPay pulumi.StringPtrInput
	// Specifies whether auto renew is enabled. Valid values are **true** and **false**.
	AutoRenew pulumi.StringPtrInput
	// Deprecated: use charging_mode instead
	BillingMode pulumi.IntPtrInput
	// The certificate clusters. Structure is documented below.
	CertificateClusters ClusterCertificateClusterArrayInput
	// The certificate users. Structure is documented below.
	CertificateUsers ClusterCertificateUserArrayInput
	// Specifies the charging mode of the CCE cluster.
	// Valid values are **prePaid** and **postPaid**, defaults to **postPaid**.
	// Changing this parameter will create a new cluster resource.
	ChargingMode pulumi.StringPtrInput
	// Specifies the cluster Type, possible values are **VirtualMachine** and
	// **ARM64**. Defaults to **VirtualMachine**. Changing this parameter will create a new cluster resource.
	ClusterType pulumi.StringPtrInput
	// Specifies the cluster version, defaults to the latest supported
	// version. Changing this parameter will create a new cluster resource.
	ClusterVersion pulumi.StringPtrInput
	// Specifies the container network segments.
	// In clusters of v1.21 and later, when the `containerNetworkType` is **vpc-router**, you can add multiple container
	// segments, separated with comma (,). In other situations, only the first segment takes effect.
	// Changing this parameter will create a new cluster resource.
	ContainerNetworkCidr pulumi.StringPtrInput
	// Specifies the container network type.
	// Changing this parameter will create a new cluster resource. Possible values:
	// + **overlay_l2**: An overlayL2 network built for containers by using Open vSwitch(OVS).
	// + **vpc-router**: An vpc-router network built for containers by using ipvlan and custom VPC routes.
	// + **eni**: A Yangtse network built for CCE Turbo cluster. The container network deeply integrates the native ENI
	//   capability of VPC, uses the VPC CIDR block to allocate container addresses, and supports direct connections between
	//   ELB and containers to provide high performance.
	ContainerNetworkType pulumi.StringPtrInput
	// Specified whether to delete all associated storage resources when deleting the CCE
	// cluster. valid values are **true**, **try** and **false**. Default is **false**.
	DeleteAll pulumi.StringPtrInput
	// Specified whether to unbind associated SFS Turbo file systems when deleting the CCE
	// cluster. valid values are **true**, **try** and **false**. Default is **false**.
	DeleteEfs pulumi.StringPtrInput
	// schema: Internal
	DeleteEni pulumi.StringPtrInput
	// Specified whether to delete associated EVS disks when deleting the CCE cluster.
	// valid values are **true**, **try** and **false**. Default is **false**.
	DeleteEvs pulumi.StringPtrInput
	// schema: Internal
	DeleteNet pulumi.StringPtrInput
	// Specified whether to delete associated OBS buckets when deleting the CCE cluster.
	// valid values are **true**, **try** and **false**. Default is **false**.
	DeleteObs pulumi.StringPtrInput
	// Specified whether to delete associated SFS file systems when deleting the CCE
	// cluster. valid values are **true**, **try** and **false**. Default is **false**.
	DeleteSfs pulumi.StringPtrInput
	// Specifies the cluster description.
	Description pulumi.StringPtrInput
	// Specifies the EIP address of the cluster.
	Eip pulumi.StringPtrInput
	// schema: Internal
	EnableDistributeManagement pulumi.BoolPtrInput
	// The ENI network segment. This value is valid when only one eniSubnetId is specified.
	EniSubnetCidr pulumi.StringPtrInput
	// Specifies the **IPv4 subnet ID** of the subnet where the ENI resides.
	// Specified when creating a CCE Turbo cluster. You can add multiple IPv4 subnet ID, separated with comma (,).
	// Only adding subnets is allowed, removing subnets is not allowed.
	EniSubnetId pulumi.StringPtrInput
	// The enterprise project ID of the CCE cluster.
	// Changing this parameter will create a new cluster resource.
	EnterpriseProjectId pulumi.StringPtrInput
	// Specifies the extended parameter.
	// Changing this parameter will create a new cluster resource.
	ExtendParam pulumi.StringMapInput
	// Specifies the cluster specifications.
	// Changing this parameter will create a new cluster resource.
	// Possible values:
	// + **cce.s1.small**: small-scale single cluster (up to 50 nodes).
	// + **cce.s1.medium**: medium-scale single cluster (up to 200 nodes).
	// + **cce.s2.small**: small-scale HA cluster (up to 50 nodes).
	// + **cce.s2.medium**: medium-scale HA cluster (up to 200 nodes).
	// + **cce.s2.large**: large-scale HA cluster (up to 1000 nodes).
	// + **cce.s2.xlarge**: large-scale HA cluster (up to 2000 nodes).
	FlavorId pulumi.StringPtrInput
	// Specifies whether to hibernate the CCE cluster. Defaults to **false**. After a cluster is
	// hibernated, resources such as workloads cannot be created or managed in the cluster, and the cluster cannot be
	// deleted.
	Hibernate pulumi.BoolPtrInput
	// schema: Internal
	HighwaySubnetId pulumi.StringPtrInput
	// Raw Kubernetes config to be used by kubectl and other compatible tools.
	KubeConfigRaw pulumi.StringPtrInput
	// Specifies the service forwarding mode.
	// Changing this parameter will create a new cluster resource. Two modes are available:
	KubeProxyMode pulumi.StringPtrInput
	// schema: Internal
	Labels pulumi.StringMapInput
	// Specifies the advanced configuration of master nodes.
	// The object structure is documented below.
	// This parameter and `multiAz` are alternative. Changing this parameter will create a new cluster resource.
	Masters ClusterMasterArrayInput
	// Specifies whether to enable multiple AZs for the cluster, only when using HA
	// flavors. Changing this parameter will create a new cluster resource. This parameter and `masters` are alternative.
	MultiAz pulumi.BoolPtrInput
	// Specifies the cluster name.
	// Changing this parameter will create a new cluster resource.
	Name pulumi.StringPtrInput
	// Specifies the charging period of the CCE cluster.
	// 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 parameter will create a new cluster resource.
	Period pulumi.IntPtrInput
	// Specifies the charging period unit of the CCE cluster.
	// Valid values are **month** and **year**. This parameter is mandatory if `chargingMode` is set to **prePaid**.
	// Changing this parameter will create a new cluster resource.
	PeriodUnit pulumi.StringPtrInput
	// Specifies the region in which to create the CCE cluster resource.
	// If omitted, the provider-level region will be used. Changing this parameter will create a new cluster resource.
	Region pulumi.StringPtrInput
	// Specifies the default worker node security group ID of the cluster.
	// If left empty, the system will automatically create a default worker node security group for you.
	// The default worker node security group needs to allow access from certain ports to ensure normal communications.
	// For details, see [documentation](https://support.huaweicloud.com/intl/en-us/cce_faq/cce_faq_00265.html).
	// If updated, the modified security group will only be applied to nodes newly created or accepted.
	// For existing nodes, you need to manually modify the security group rules for them.
	SecurityGroupId pulumi.StringPtrInput
	// Specifies the service network segment.
	// Changing this parameter will create a new cluster resource.
	ServiceNetworkCidr pulumi.StringPtrInput
	// Cluster status information.
	Status pulumi.StringPtrInput
	// Specifies the ID of the subnet used to create the node which should be
	// configured with a *DNS address*. Changing this parameter will create a new cluster resource.
	SubnetId pulumi.StringPtrInput
	// Specifies the tags of the CCE cluster, key/value pair format.
	// Changing this parameter will create a new cluster resource.
	Tags pulumi.StringMapInput
	// Specifies the ID of the VPC used to create the node.
	// Changing this parameter will create a new cluster resource.
	VpcId pulumi.StringPtrInput
}

func (ClusterState) ElementType

func (ClusterState) ElementType() reflect.Type

type GetAddonTemplateArgs

type GetAddonTemplateArgs struct {
	// Specifies the ID of container cluster.
	ClusterId string `pulumi:"clusterId"`
	// Specifies the add-on name.
	Name string `pulumi:"name"`
	// Specifies the region in which to obtain the CCE add-ons. If omitted, the provider-level
	// region will be used.
	Region *string `pulumi:"region"`
	// Specifies the add-on version.
	Version string `pulumi:"version"`
}

A collection of arguments for invoking getAddonTemplate.

type GetAddonTemplateOutputArgs

type GetAddonTemplateOutputArgs struct {
	// Specifies the ID of container cluster.
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// Specifies the add-on name.
	Name pulumi.StringInput `pulumi:"name"`
	// Specifies the region in which to obtain the CCE add-ons. If omitted, the provider-level
	// region will be used.
	Region pulumi.StringPtrInput `pulumi:"region"`
	// Specifies the add-on version.
	Version pulumi.StringInput `pulumi:"version"`
}

A collection of arguments for invoking getAddonTemplate.

func (GetAddonTemplateOutputArgs) ElementType

func (GetAddonTemplateOutputArgs) ElementType() reflect.Type

type GetAddonTemplateResult

type GetAddonTemplateResult struct {
	ClusterId string `pulumi:"clusterId"`
	// The description of the add-on.
	Description string `pulumi:"description"`
	// The provider-assigned unique ID for this managed resource.
	Id     string `pulumi:"id"`
	Name   string `pulumi:"name"`
	Region string `pulumi:"region"`
	// The detail configuration of the add-on template.
	Spec string `pulumi:"spec"`
	// Whether the add-on template is a stable version.
	Stable bool `pulumi:"stable"`
	// The cluster information.
	SupportVersions []GetAddonTemplateSupportVersion `pulumi:"supportVersions"`
	Version         string                           `pulumi:"version"`
}

A collection of values returned by getAddonTemplate.

func GetAddonTemplate

func GetAddonTemplate(ctx *pulumi.Context, args *GetAddonTemplateArgs, opts ...pulumi.InvokeOption) (*GetAddonTemplateResult, error)

Use this data source to get available HuaweiCloud CCE add-on template.

## Example Usage

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Cce"
"github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/Cce"
"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, "")
		clusterId := cfg.RequireObject("clusterId")
		addonName := cfg.RequireObject("addonName")
		addonVersion := cfg.RequireObject("addonVersion")
		_, err := Cce.GetAddonTemplate(ctx, &cce.GetAddonTemplateArgs{
			ClusterId: clusterId,
			Name:      addonName,
			Version:   addonVersion,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetAddonTemplateResultOutput

type GetAddonTemplateResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAddonTemplate.

func (GetAddonTemplateResultOutput) ClusterId

func (GetAddonTemplateResultOutput) Description

The description of the add-on.

func (GetAddonTemplateResultOutput) ElementType

func (GetAddonTemplateResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetAddonTemplateResultOutput) Name

func (GetAddonTemplateResultOutput) Region

func (GetAddonTemplateResultOutput) Spec

The detail configuration of the add-on template.

func (GetAddonTemplateResultOutput) Stable

Whether the add-on template is a stable version.

func (GetAddonTemplateResultOutput) SupportVersions

The cluster information.

func (GetAddonTemplateResultOutput) ToGetAddonTemplateResultOutput

func (o GetAddonTemplateResultOutput) ToGetAddonTemplateResultOutput() GetAddonTemplateResultOutput

func (GetAddonTemplateResultOutput) ToGetAddonTemplateResultOutputWithContext

func (o GetAddonTemplateResultOutput) ToGetAddonTemplateResultOutputWithContext(ctx context.Context) GetAddonTemplateResultOutput

func (GetAddonTemplateResultOutput) Version

type GetAddonTemplateSupportVersion

type GetAddonTemplateSupportVersion struct {
	// The cluster (Bare Metal) version that the add-on template supported.
	BareMetals []string `pulumi:"bareMetals"`
	// The cluster (Virtual Machine) version that the add-on template supported.
	VirtualMachines []string `pulumi:"virtualMachines"`
}

type GetAddonTemplateSupportVersionArgs

type GetAddonTemplateSupportVersionArgs struct {
	// The cluster (Bare Metal) version that the add-on template supported.
	BareMetals pulumi.StringArrayInput `pulumi:"bareMetals"`
	// The cluster (Virtual Machine) version that the add-on template supported.
	VirtualMachines pulumi.StringArrayInput `pulumi:"virtualMachines"`
}

func (GetAddonTemplateSupportVersionArgs) ElementType

func (GetAddonTemplateSupportVersionArgs) ToGetAddonTemplateSupportVersionOutput

func (i GetAddonTemplateSupportVersionArgs) ToGetAddonTemplateSupportVersionOutput() GetAddonTemplateSupportVersionOutput

func (GetAddonTemplateSupportVersionArgs) ToGetAddonTemplateSupportVersionOutputWithContext

func (i GetAddonTemplateSupportVersionArgs) ToGetAddonTemplateSupportVersionOutputWithContext(ctx context.Context) GetAddonTemplateSupportVersionOutput

type GetAddonTemplateSupportVersionArray

type GetAddonTemplateSupportVersionArray []GetAddonTemplateSupportVersionInput

func (GetAddonTemplateSupportVersionArray) ElementType

func (GetAddonTemplateSupportVersionArray) ToGetAddonTemplateSupportVersionArrayOutput

func (i GetAddonTemplateSupportVersionArray) ToGetAddonTemplateSupportVersionArrayOutput() GetAddonTemplateSupportVersionArrayOutput

func (GetAddonTemplateSupportVersionArray) ToGetAddonTemplateSupportVersionArrayOutputWithContext

func (i GetAddonTemplateSupportVersionArray) ToGetAddonTemplateSupportVersionArrayOutputWithContext(ctx context.Context) GetAddonTemplateSupportVersionArrayOutput

type GetAddonTemplateSupportVersionArrayInput

type GetAddonTemplateSupportVersionArrayInput interface {
	pulumi.Input

	ToGetAddonTemplateSupportVersionArrayOutput() GetAddonTemplateSupportVersionArrayOutput
	ToGetAddonTemplateSupportVersionArrayOutputWithContext(context.Context) GetAddonTemplateSupportVersionArrayOutput
}

GetAddonTemplateSupportVersionArrayInput is an input type that accepts GetAddonTemplateSupportVersionArray and GetAddonTemplateSupportVersionArrayOutput values. You can construct a concrete instance of `GetAddonTemplateSupportVersionArrayInput` via:

GetAddonTemplateSupportVersionArray{ GetAddonTemplateSupportVersionArgs{...} }

type GetAddonTemplateSupportVersionArrayOutput

type GetAddonTemplateSupportVersionArrayOutput struct{ *pulumi.OutputState }

func (GetAddonTemplateSupportVersionArrayOutput) ElementType

func (GetAddonTemplateSupportVersionArrayOutput) Index

func (GetAddonTemplateSupportVersionArrayOutput) ToGetAddonTemplateSupportVersionArrayOutput

func (o GetAddonTemplateSupportVersionArrayOutput) ToGetAddonTemplateSupportVersionArrayOutput() GetAddonTemplateSupportVersionArrayOutput

func (GetAddonTemplateSupportVersionArrayOutput) ToGetAddonTemplateSupportVersionArrayOutputWithContext

func (o GetAddonTemplateSupportVersionArrayOutput) ToGetAddonTemplateSupportVersionArrayOutputWithContext(ctx context.Context) GetAddonTemplateSupportVersionArrayOutput

type GetAddonTemplateSupportVersionInput

type GetAddonTemplateSupportVersionInput interface {
	pulumi.Input

	ToGetAddonTemplateSupportVersionOutput() GetAddonTemplateSupportVersionOutput
	ToGetAddonTemplateSupportVersionOutputWithContext(context.Context) GetAddonTemplateSupportVersionOutput
}

GetAddonTemplateSupportVersionInput is an input type that accepts GetAddonTemplateSupportVersionArgs and GetAddonTemplateSupportVersionOutput values. You can construct a concrete instance of `GetAddonTemplateSupportVersionInput` via:

GetAddonTemplateSupportVersionArgs{...}

type GetAddonTemplateSupportVersionOutput

type GetAddonTemplateSupportVersionOutput struct{ *pulumi.OutputState }

func (GetAddonTemplateSupportVersionOutput) BareMetals

The cluster (Bare Metal) version that the add-on template supported.

func (GetAddonTemplateSupportVersionOutput) ElementType

func (GetAddonTemplateSupportVersionOutput) ToGetAddonTemplateSupportVersionOutput

func (o GetAddonTemplateSupportVersionOutput) ToGetAddonTemplateSupportVersionOutput() GetAddonTemplateSupportVersionOutput

func (GetAddonTemplateSupportVersionOutput) ToGetAddonTemplateSupportVersionOutputWithContext

func (o GetAddonTemplateSupportVersionOutput) ToGetAddonTemplateSupportVersionOutputWithContext(ctx context.Context) GetAddonTemplateSupportVersionOutput

func (GetAddonTemplateSupportVersionOutput) VirtualMachines

The cluster (Virtual Machine) version that the add-on template supported.

type GetClusterCertificateCluster

type GetClusterCertificateCluster struct {
	// The certificate data.
	CertificateAuthorityData string `pulumi:"certificateAuthorityData"`
	// Specifies the name of the cluster.
	Name string `pulumi:"name"`
	// The server IP address.
	Server string `pulumi:"server"`
}

type GetClusterCertificateClusterArgs

type GetClusterCertificateClusterArgs struct {
	// The certificate data.
	CertificateAuthorityData pulumi.StringInput `pulumi:"certificateAuthorityData"`
	// Specifies the name of the cluster.
	Name pulumi.StringInput `pulumi:"name"`
	// The server IP address.
	Server pulumi.StringInput `pulumi:"server"`
}

func (GetClusterCertificateClusterArgs) ElementType

func (GetClusterCertificateClusterArgs) ToGetClusterCertificateClusterOutput

func (i GetClusterCertificateClusterArgs) ToGetClusterCertificateClusterOutput() GetClusterCertificateClusterOutput

func (GetClusterCertificateClusterArgs) ToGetClusterCertificateClusterOutputWithContext

func (i GetClusterCertificateClusterArgs) ToGetClusterCertificateClusterOutputWithContext(ctx context.Context) GetClusterCertificateClusterOutput

type GetClusterCertificateClusterArray

type GetClusterCertificateClusterArray []GetClusterCertificateClusterInput

func (GetClusterCertificateClusterArray) ElementType

func (GetClusterCertificateClusterArray) ToGetClusterCertificateClusterArrayOutput

func (i GetClusterCertificateClusterArray) ToGetClusterCertificateClusterArrayOutput() GetClusterCertificateClusterArrayOutput

func (GetClusterCertificateClusterArray) ToGetClusterCertificateClusterArrayOutputWithContext

func (i GetClusterCertificateClusterArray) ToGetClusterCertificateClusterArrayOutputWithContext(ctx context.Context) GetClusterCertificateClusterArrayOutput

type GetClusterCertificateClusterArrayInput

type GetClusterCertificateClusterArrayInput interface {
	pulumi.Input

	ToGetClusterCertificateClusterArrayOutput() GetClusterCertificateClusterArrayOutput
	ToGetClusterCertificateClusterArrayOutputWithContext(context.Context) GetClusterCertificateClusterArrayOutput
}

GetClusterCertificateClusterArrayInput is an input type that accepts GetClusterCertificateClusterArray and GetClusterCertificateClusterArrayOutput values. You can construct a concrete instance of `GetClusterCertificateClusterArrayInput` via:

GetClusterCertificateClusterArray{ GetClusterCertificateClusterArgs{...} }

type GetClusterCertificateClusterArrayOutput

type GetClusterCertificateClusterArrayOutput struct{ *pulumi.OutputState }

func (GetClusterCertificateClusterArrayOutput) ElementType

func (GetClusterCertificateClusterArrayOutput) Index

func (GetClusterCertificateClusterArrayOutput) ToGetClusterCertificateClusterArrayOutput

func (o GetClusterCertificateClusterArrayOutput) ToGetClusterCertificateClusterArrayOutput() GetClusterCertificateClusterArrayOutput

func (GetClusterCertificateClusterArrayOutput) ToGetClusterCertificateClusterArrayOutputWithContext

func (o GetClusterCertificateClusterArrayOutput) ToGetClusterCertificateClusterArrayOutputWithContext(ctx context.Context) GetClusterCertificateClusterArrayOutput

type GetClusterCertificateClusterInput

type GetClusterCertificateClusterInput interface {
	pulumi.Input

	ToGetClusterCertificateClusterOutput() GetClusterCertificateClusterOutput
	ToGetClusterCertificateClusterOutputWithContext(context.Context) GetClusterCertificateClusterOutput
}

GetClusterCertificateClusterInput is an input type that accepts GetClusterCertificateClusterArgs and GetClusterCertificateClusterOutput values. You can construct a concrete instance of `GetClusterCertificateClusterInput` via:

GetClusterCertificateClusterArgs{...}

type GetClusterCertificateClusterOutput

type GetClusterCertificateClusterOutput struct{ *pulumi.OutputState }

func (GetClusterCertificateClusterOutput) CertificateAuthorityData

func (o GetClusterCertificateClusterOutput) CertificateAuthorityData() pulumi.StringOutput

The certificate data.

func (GetClusterCertificateClusterOutput) ElementType

func (GetClusterCertificateClusterOutput) Name

Specifies the name of the cluster.

func (GetClusterCertificateClusterOutput) Server

The server IP address.

func (GetClusterCertificateClusterOutput) ToGetClusterCertificateClusterOutput

func (o GetClusterCertificateClusterOutput) ToGetClusterCertificateClusterOutput() GetClusterCertificateClusterOutput

func (GetClusterCertificateClusterOutput) ToGetClusterCertificateClusterOutputWithContext

func (o GetClusterCertificateClusterOutput) ToGetClusterCertificateClusterOutputWithContext(ctx context.Context) GetClusterCertificateClusterOutput

type GetClusterCertificateUser

type GetClusterCertificateUser struct {
	// The client certificate data.
	ClientCertificateData string `pulumi:"clientCertificateData"`
	// The client key data.
	ClientKeyData string `pulumi:"clientKeyData"`
	// Specifies the name of the cluster.
	Name string `pulumi:"name"`
}

type GetClusterCertificateUserArgs

type GetClusterCertificateUserArgs struct {
	// The client certificate data.
	ClientCertificateData pulumi.StringInput `pulumi:"clientCertificateData"`
	// The client key data.
	ClientKeyData pulumi.StringInput `pulumi:"clientKeyData"`
	// Specifies the name of the cluster.
	Name pulumi.StringInput `pulumi:"name"`
}

func (GetClusterCertificateUserArgs) ElementType

func (GetClusterCertificateUserArgs) ToGetClusterCertificateUserOutput

func (i GetClusterCertificateUserArgs) ToGetClusterCertificateUserOutput() GetClusterCertificateUserOutput

func (GetClusterCertificateUserArgs) ToGetClusterCertificateUserOutputWithContext

func (i GetClusterCertificateUserArgs) ToGetClusterCertificateUserOutputWithContext(ctx context.Context) GetClusterCertificateUserOutput

type GetClusterCertificateUserArray

type GetClusterCertificateUserArray []GetClusterCertificateUserInput

func (GetClusterCertificateUserArray) ElementType

func (GetClusterCertificateUserArray) ToGetClusterCertificateUserArrayOutput

func (i GetClusterCertificateUserArray) ToGetClusterCertificateUserArrayOutput() GetClusterCertificateUserArrayOutput

func (GetClusterCertificateUserArray) ToGetClusterCertificateUserArrayOutputWithContext

func (i GetClusterCertificateUserArray) ToGetClusterCertificateUserArrayOutputWithContext(ctx context.Context) GetClusterCertificateUserArrayOutput

type GetClusterCertificateUserArrayInput

type GetClusterCertificateUserArrayInput interface {
	pulumi.Input

	ToGetClusterCertificateUserArrayOutput() GetClusterCertificateUserArrayOutput
	ToGetClusterCertificateUserArrayOutputWithContext(context.Context) GetClusterCertificateUserArrayOutput
}

GetClusterCertificateUserArrayInput is an input type that accepts GetClusterCertificateUserArray and GetClusterCertificateUserArrayOutput values. You can construct a concrete instance of `GetClusterCertificateUserArrayInput` via:

GetClusterCertificateUserArray{ GetClusterCertificateUserArgs{...} }

type GetClusterCertificateUserArrayOutput

type GetClusterCertificateUserArrayOutput struct{ *pulumi.OutputState }

func (GetClusterCertificateUserArrayOutput) ElementType

func (GetClusterCertificateUserArrayOutput) Index

func (GetClusterCertificateUserArrayOutput) ToGetClusterCertificateUserArrayOutput

func (o GetClusterCertificateUserArrayOutput) ToGetClusterCertificateUserArrayOutput() GetClusterCertificateUserArrayOutput

func (GetClusterCertificateUserArrayOutput) ToGetClusterCertificateUserArrayOutputWithContext

func (o GetClusterCertificateUserArrayOutput) ToGetClusterCertificateUserArrayOutputWithContext(ctx context.Context) GetClusterCertificateUserArrayOutput

type GetClusterCertificateUserInput

type GetClusterCertificateUserInput interface {
	pulumi.Input

	ToGetClusterCertificateUserOutput() GetClusterCertificateUserOutput
	ToGetClusterCertificateUserOutputWithContext(context.Context) GetClusterCertificateUserOutput
}

GetClusterCertificateUserInput is an input type that accepts GetClusterCertificateUserArgs and GetClusterCertificateUserOutput values. You can construct a concrete instance of `GetClusterCertificateUserInput` via:

GetClusterCertificateUserArgs{...}

type GetClusterCertificateUserOutput

type GetClusterCertificateUserOutput struct{ *pulumi.OutputState }

func (GetClusterCertificateUserOutput) ClientCertificateData

func (o GetClusterCertificateUserOutput) ClientCertificateData() pulumi.StringOutput

The client certificate data.

func (GetClusterCertificateUserOutput) ClientKeyData

The client key data.

func (GetClusterCertificateUserOutput) ElementType

func (GetClusterCertificateUserOutput) Name

Specifies the name of the cluster.

func (GetClusterCertificateUserOutput) ToGetClusterCertificateUserOutput

func (o GetClusterCertificateUserOutput) ToGetClusterCertificateUserOutput() GetClusterCertificateUserOutput

func (GetClusterCertificateUserOutput) ToGetClusterCertificateUserOutputWithContext

func (o GetClusterCertificateUserOutput) ToGetClusterCertificateUserOutputWithContext(ctx context.Context) GetClusterCertificateUserOutput

type GetClusterEndpoint

type GetClusterEndpoint struct {
	// The type of the cluster access address.
	// + **Internal**: The user's subnet access address.
	// + **External**: The public network access address.
	Type string `pulumi:"type"`
	// The URL of the cluster access address.
	Url string `pulumi:"url"`
}

type GetClusterEndpointArgs

type GetClusterEndpointArgs struct {
	// The type of the cluster access address.
	// + **Internal**: The user's subnet access address.
	// + **External**: The public network access address.
	Type pulumi.StringInput `pulumi:"type"`
	// The URL of the cluster access address.
	Url pulumi.StringInput `pulumi:"url"`
}

func (GetClusterEndpointArgs) ElementType

func (GetClusterEndpointArgs) ElementType() reflect.Type

func (GetClusterEndpointArgs) ToGetClusterEndpointOutput

func (i GetClusterEndpointArgs) ToGetClusterEndpointOutput() GetClusterEndpointOutput

func (GetClusterEndpointArgs) ToGetClusterEndpointOutputWithContext

func (i GetClusterEndpointArgs) ToGetClusterEndpointOutputWithContext(ctx context.Context) GetClusterEndpointOutput

type GetClusterEndpointArray

type GetClusterEndpointArray []GetClusterEndpointInput

func (GetClusterEndpointArray) ElementType

func (GetClusterEndpointArray) ElementType() reflect.Type

func (GetClusterEndpointArray) ToGetClusterEndpointArrayOutput

func (i GetClusterEndpointArray) ToGetClusterEndpointArrayOutput() GetClusterEndpointArrayOutput

func (GetClusterEndpointArray) ToGetClusterEndpointArrayOutputWithContext

func (i GetClusterEndpointArray) ToGetClusterEndpointArrayOutputWithContext(ctx context.Context) GetClusterEndpointArrayOutput

type GetClusterEndpointArrayInput

type GetClusterEndpointArrayInput interface {
	pulumi.Input

	ToGetClusterEndpointArrayOutput() GetClusterEndpointArrayOutput
	ToGetClusterEndpointArrayOutputWithContext(context.Context) GetClusterEndpointArrayOutput
}

GetClusterEndpointArrayInput is an input type that accepts GetClusterEndpointArray and GetClusterEndpointArrayOutput values. You can construct a concrete instance of `GetClusterEndpointArrayInput` via:

GetClusterEndpointArray{ GetClusterEndpointArgs{...} }

type GetClusterEndpointArrayOutput

type GetClusterEndpointArrayOutput struct{ *pulumi.OutputState }

func (GetClusterEndpointArrayOutput) ElementType

func (GetClusterEndpointArrayOutput) Index

func (GetClusterEndpointArrayOutput) ToGetClusterEndpointArrayOutput

func (o GetClusterEndpointArrayOutput) ToGetClusterEndpointArrayOutput() GetClusterEndpointArrayOutput

func (GetClusterEndpointArrayOutput) ToGetClusterEndpointArrayOutputWithContext

func (o GetClusterEndpointArrayOutput) ToGetClusterEndpointArrayOutputWithContext(ctx context.Context) GetClusterEndpointArrayOutput

type GetClusterEndpointInput

type GetClusterEndpointInput interface {
	pulumi.Input

	ToGetClusterEndpointOutput() GetClusterEndpointOutput
	ToGetClusterEndpointOutputWithContext(context.Context) GetClusterEndpointOutput
}

GetClusterEndpointInput is an input type that accepts GetClusterEndpointArgs and GetClusterEndpointOutput values. You can construct a concrete instance of `GetClusterEndpointInput` via:

GetClusterEndpointArgs{...}

type GetClusterEndpointOutput

type GetClusterEndpointOutput struct{ *pulumi.OutputState }

func (GetClusterEndpointOutput) ElementType

func (GetClusterEndpointOutput) ElementType() reflect.Type

func (GetClusterEndpointOutput) ToGetClusterEndpointOutput

func (o GetClusterEndpointOutput) ToGetClusterEndpointOutput() GetClusterEndpointOutput

func (GetClusterEndpointOutput) ToGetClusterEndpointOutputWithContext

func (o GetClusterEndpointOutput) ToGetClusterEndpointOutputWithContext(ctx context.Context) GetClusterEndpointOutput

func (GetClusterEndpointOutput) Type

The type of the cluster access address. + **Internal**: The user's subnet access address. + **External**: The public network access address.

func (GetClusterEndpointOutput) Url

The URL of the cluster access address.

type GetClusterMaster

type GetClusterMaster struct {
	// The availability zone (AZ) of the master node.
	AvailabilityZone string `pulumi:"availabilityZone"`
}

type GetClusterMasterArgs

type GetClusterMasterArgs struct {
	// The availability zone (AZ) of the master node.
	AvailabilityZone pulumi.StringInput `pulumi:"availabilityZone"`
}

func (GetClusterMasterArgs) ElementType

func (GetClusterMasterArgs) ElementType() reflect.Type

func (GetClusterMasterArgs) ToGetClusterMasterOutput

func (i GetClusterMasterArgs) ToGetClusterMasterOutput() GetClusterMasterOutput

func (GetClusterMasterArgs) ToGetClusterMasterOutputWithContext

func (i GetClusterMasterArgs) ToGetClusterMasterOutputWithContext(ctx context.Context) GetClusterMasterOutput

type GetClusterMasterArray

type GetClusterMasterArray []GetClusterMasterInput

func (GetClusterMasterArray) ElementType

func (GetClusterMasterArray) ElementType() reflect.Type

func (GetClusterMasterArray) ToGetClusterMasterArrayOutput

func (i GetClusterMasterArray) ToGetClusterMasterArrayOutput() GetClusterMasterArrayOutput

func (GetClusterMasterArray) ToGetClusterMasterArrayOutputWithContext

func (i GetClusterMasterArray) ToGetClusterMasterArrayOutputWithContext(ctx context.Context) GetClusterMasterArrayOutput

type GetClusterMasterArrayInput

type GetClusterMasterArrayInput interface {
	pulumi.Input

	ToGetClusterMasterArrayOutput() GetClusterMasterArrayOutput
	ToGetClusterMasterArrayOutputWithContext(context.Context) GetClusterMasterArrayOutput
}

GetClusterMasterArrayInput is an input type that accepts GetClusterMasterArray and GetClusterMasterArrayOutput values. You can construct a concrete instance of `GetClusterMasterArrayInput` via:

GetClusterMasterArray{ GetClusterMasterArgs{...} }

type GetClusterMasterArrayOutput

type GetClusterMasterArrayOutput struct{ *pulumi.OutputState }

func (GetClusterMasterArrayOutput) ElementType

func (GetClusterMasterArrayOutput) Index

func (GetClusterMasterArrayOutput) ToGetClusterMasterArrayOutput

func (o GetClusterMasterArrayOutput) ToGetClusterMasterArrayOutput() GetClusterMasterArrayOutput

func (GetClusterMasterArrayOutput) ToGetClusterMasterArrayOutputWithContext

func (o GetClusterMasterArrayOutput) ToGetClusterMasterArrayOutputWithContext(ctx context.Context) GetClusterMasterArrayOutput

type GetClusterMasterInput

type GetClusterMasterInput interface {
	pulumi.Input

	ToGetClusterMasterOutput() GetClusterMasterOutput
	ToGetClusterMasterOutputWithContext(context.Context) GetClusterMasterOutput
}

GetClusterMasterInput is an input type that accepts GetClusterMasterArgs and GetClusterMasterOutput values. You can construct a concrete instance of `GetClusterMasterInput` via:

GetClusterMasterArgs{...}

type GetClusterMasterOutput

type GetClusterMasterOutput struct{ *pulumi.OutputState }

func (GetClusterMasterOutput) AvailabilityZone

func (o GetClusterMasterOutput) AvailabilityZone() pulumi.StringOutput

The availability zone (AZ) of the master node.

func (GetClusterMasterOutput) ElementType

func (GetClusterMasterOutput) ElementType() reflect.Type

func (GetClusterMasterOutput) ToGetClusterMasterOutput

func (o GetClusterMasterOutput) ToGetClusterMasterOutput() GetClusterMasterOutput

func (GetClusterMasterOutput) ToGetClusterMasterOutputWithContext

func (o GetClusterMasterOutput) ToGetClusterMasterOutputWithContext(ctx context.Context) GetClusterMasterOutput

type GetClustersArgs

type GetClustersArgs struct {
	// Specifies the ID of the cluster.
	ClusterId *string `pulumi:"clusterId"`
	// Specifies the type of the cluster. Possible values: **VirtualMachine**, **BareMetal**.
	ClusterType *string `pulumi:"clusterType"`
	// Specifies the enterprise project ID of the cluster.
	EnterpriseProjectId *string `pulumi:"enterpriseProjectId"`
	// Specifies the name of the cluster.
	Name *string `pulumi:"name"`
	// Specifies the region in which to obtain the CCE clusters. If omitted, the
	// provider-level region will be used.
	Region *string `pulumi:"region"`
	// Specifies the status of the cluster.
	Status *string `pulumi:"status"`
	// Specifies the VPC ID to which the cluster belongs.
	VpcId *string `pulumi:"vpcId"`
}

A collection of arguments for invoking getClusters.

type GetClustersCluster

type GetClustersCluster struct {
	// The authentication mode of the cluster, possible values are x509 and rbac. Defaults to **rbac**.
	AuthenticationMode string `pulumi:"authenticationMode"`
	// The charging mode of the cluster.
	BillingMode int `pulumi:"billingMode"`
	// The certificate clusters. Structure is documented below.
	CertificateClusters []GetClustersClusterCertificateCluster `pulumi:"certificateClusters"`
	// The certificate users. Structure is documented below.
	CertificateUsers []GetClustersClusterCertificateUser `pulumi:"certificateUsers"`
	// Specifies the type of the cluster. Possible values: **VirtualMachine**, **BareMetal**.
	ClusterType string `pulumi:"clusterType"`
	// The version of the cluster.
	ClusterVersion string `pulumi:"clusterVersion"`
	// The container network segment.
	ContainerNetworkCidr string `pulumi:"containerNetworkCidr"`
	// The container network type: **overlay_l2** , **underlay_ipvlan**, **vpc-router** or **eni**.
	ContainerNetworkType string `pulumi:"containerNetworkType"`
	// The description of the cluster.
	Description string `pulumi:"description"`
	// The access addresses of kube-apiserver in the cluster. Structure is documented below.
	Endpoints []GetClustersClusterEndpoint `pulumi:"endpoints"`
	// The ENI network segment.
	EniSubnetCidr string `pulumi:"eniSubnetCidr"`
	// The **IPv4 subnet ID** of the subnet where the ENI resides.
	EniSubnetId string `pulumi:"eniSubnetId"`
	// Specifies the enterprise project ID of the cluster.
	EnterpriseProjectId string `pulumi:"enterpriseProjectId"`
	// The specification of the cluster.
	FlavorId string `pulumi:"flavorId"`
	// The ID of the cluster.
	Id string `pulumi:"id"`
	// The raw Kubernetes config to be used by kubectl and other compatible tools.
	KubeConfigRaw string `pulumi:"kubeConfigRaw"`
	// The advanced configuration of master nodes. Structure is documented below.
	Masters []GetClustersClusterMaster `pulumi:"masters"`
	// Specifies the name of the cluster.
	Name string `pulumi:"name"`
	// The security group ID of the cluster.
	SecurityGroupId string `pulumi:"securityGroupId"`
	// The service network segment.
	ServiceNetworkCidr string `pulumi:"serviceNetworkCidr"`
	// Specifies the status of the cluster.
	Status string `pulumi:"status"`
	// The ID of the subnet used to create the node.
	SubnetId string `pulumi:"subnetId"`
	// Specifies the VPC ID to which the cluster belongs.
	VpcId string `pulumi:"vpcId"`
}

type GetClustersClusterArgs

type GetClustersClusterArgs struct {
	// The authentication mode of the cluster, possible values are x509 and rbac. Defaults to **rbac**.
	AuthenticationMode pulumi.StringInput `pulumi:"authenticationMode"`
	// The charging mode of the cluster.
	BillingMode pulumi.IntInput `pulumi:"billingMode"`
	// The certificate clusters. Structure is documented below.
	CertificateClusters GetClustersClusterCertificateClusterArrayInput `pulumi:"certificateClusters"`
	// The certificate users. Structure is documented below.
	CertificateUsers GetClustersClusterCertificateUserArrayInput `pulumi:"certificateUsers"`
	// Specifies the type of the cluster. Possible values: **VirtualMachine**, **BareMetal**.
	ClusterType pulumi.StringInput `pulumi:"clusterType"`
	// The version of the cluster.
	ClusterVersion pulumi.StringInput `pulumi:"clusterVersion"`
	// The container network segment.
	ContainerNetworkCidr pulumi.StringInput `pulumi:"containerNetworkCidr"`
	// The container network type: **overlay_l2** , **underlay_ipvlan**, **vpc-router** or **eni**.
	ContainerNetworkType pulumi.StringInput `pulumi:"containerNetworkType"`
	// The description of the cluster.
	Description pulumi.StringInput `pulumi:"description"`
	// The access addresses of kube-apiserver in the cluster. Structure is documented below.
	Endpoints GetClustersClusterEndpointArrayInput `pulumi:"endpoints"`
	// The ENI network segment.
	EniSubnetCidr pulumi.StringInput `pulumi:"eniSubnetCidr"`
	// The **IPv4 subnet ID** of the subnet where the ENI resides.
	EniSubnetId pulumi.StringInput `pulumi:"eniSubnetId"`
	// Specifies the enterprise project ID of the cluster.
	EnterpriseProjectId pulumi.StringInput `pulumi:"enterpriseProjectId"`
	// The specification of the cluster.
	FlavorId pulumi.StringInput `pulumi:"flavorId"`
	// The ID of the cluster.
	Id pulumi.StringInput `pulumi:"id"`
	// The raw Kubernetes config to be used by kubectl and other compatible tools.
	KubeConfigRaw pulumi.StringInput `pulumi:"kubeConfigRaw"`
	// The advanced configuration of master nodes. Structure is documented below.
	Masters GetClustersClusterMasterArrayInput `pulumi:"masters"`
	// Specifies the name of the cluster.
	Name pulumi.StringInput `pulumi:"name"`
	// The security group ID of the cluster.
	SecurityGroupId pulumi.StringInput `pulumi:"securityGroupId"`
	// The service network segment.
	ServiceNetworkCidr pulumi.StringInput `pulumi:"serviceNetworkCidr"`
	// Specifies the status of the cluster.
	Status pulumi.StringInput `pulumi:"status"`
	// The ID of the subnet used to create the node.
	SubnetId pulumi.StringInput `pulumi:"subnetId"`
	// Specifies the VPC ID to which the cluster belongs.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
}

func (GetClustersClusterArgs) ElementType

func (GetClustersClusterArgs) ElementType() reflect.Type

func (GetClustersClusterArgs) ToGetClustersClusterOutput

func (i GetClustersClusterArgs) ToGetClustersClusterOutput() GetClustersClusterOutput

func (GetClustersClusterArgs) ToGetClustersClusterOutputWithContext

func (i GetClustersClusterArgs) ToGetClustersClusterOutputWithContext(ctx context.Context) GetClustersClusterOutput

type GetClustersClusterArray

type GetClustersClusterArray []GetClustersClusterInput

func (GetClustersClusterArray) ElementType

func (GetClustersClusterArray) ElementType() reflect.Type

func (GetClustersClusterArray) ToGetClustersClusterArrayOutput

func (i GetClustersClusterArray) ToGetClustersClusterArrayOutput() GetClustersClusterArrayOutput

func (GetClustersClusterArray) ToGetClustersClusterArrayOutputWithContext

func (i GetClustersClusterArray) ToGetClustersClusterArrayOutputWithContext(ctx context.Context) GetClustersClusterArrayOutput

type GetClustersClusterArrayInput

type GetClustersClusterArrayInput interface {
	pulumi.Input

	ToGetClustersClusterArrayOutput() GetClustersClusterArrayOutput
	ToGetClustersClusterArrayOutputWithContext(context.Context) GetClustersClusterArrayOutput
}

GetClustersClusterArrayInput is an input type that accepts GetClustersClusterArray and GetClustersClusterArrayOutput values. You can construct a concrete instance of `GetClustersClusterArrayInput` via:

GetClustersClusterArray{ GetClustersClusterArgs{...} }

type GetClustersClusterArrayOutput

type GetClustersClusterArrayOutput struct{ *pulumi.OutputState }

func (GetClustersClusterArrayOutput) ElementType

func (GetClustersClusterArrayOutput) Index

func (GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutput

func (o GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutput() GetClustersClusterArrayOutput

func (GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutputWithContext

func (o GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutputWithContext(ctx context.Context) GetClustersClusterArrayOutput

type GetClustersClusterCertificateCluster

type GetClustersClusterCertificateCluster struct {
	// The certificate data.
	CertificateAuthorityData string `pulumi:"certificateAuthorityData"`
	// Specifies the name of the cluster.
	Name string `pulumi:"name"`
	// The server IP address.
	Server string `pulumi:"server"`
}

type GetClustersClusterCertificateClusterArgs

type GetClustersClusterCertificateClusterArgs struct {
	// The certificate data.
	CertificateAuthorityData pulumi.StringInput `pulumi:"certificateAuthorityData"`
	// Specifies the name of the cluster.
	Name pulumi.StringInput `pulumi:"name"`
	// The server IP address.
	Server pulumi.StringInput `pulumi:"server"`
}

func (GetClustersClusterCertificateClusterArgs) ElementType

func (GetClustersClusterCertificateClusterArgs) ToGetClustersClusterCertificateClusterOutput

func (i GetClustersClusterCertificateClusterArgs) ToGetClustersClusterCertificateClusterOutput() GetClustersClusterCertificateClusterOutput

func (GetClustersClusterCertificateClusterArgs) ToGetClustersClusterCertificateClusterOutputWithContext

func (i GetClustersClusterCertificateClusterArgs) ToGetClustersClusterCertificateClusterOutputWithContext(ctx context.Context) GetClustersClusterCertificateClusterOutput

type GetClustersClusterCertificateClusterArray

type GetClustersClusterCertificateClusterArray []GetClustersClusterCertificateClusterInput

func (GetClustersClusterCertificateClusterArray) ElementType

func (GetClustersClusterCertificateClusterArray) ToGetClustersClusterCertificateClusterArrayOutput

func (i GetClustersClusterCertificateClusterArray) ToGetClustersClusterCertificateClusterArrayOutput() GetClustersClusterCertificateClusterArrayOutput

func (GetClustersClusterCertificateClusterArray) ToGetClustersClusterCertificateClusterArrayOutputWithContext

func (i GetClustersClusterCertificateClusterArray) ToGetClustersClusterCertificateClusterArrayOutputWithContext(ctx context.Context) GetClustersClusterCertificateClusterArrayOutput

type GetClustersClusterCertificateClusterArrayInput

type GetClustersClusterCertificateClusterArrayInput interface {
	pulumi.Input

	ToGetClustersClusterCertificateClusterArrayOutput() GetClustersClusterCertificateClusterArrayOutput
	ToGetClustersClusterCertificateClusterArrayOutputWithContext(context.Context) GetClustersClusterCertificateClusterArrayOutput
}

GetClustersClusterCertificateClusterArrayInput is an input type that accepts GetClustersClusterCertificateClusterArray and GetClustersClusterCertificateClusterArrayOutput values. You can construct a concrete instance of `GetClustersClusterCertificateClusterArrayInput` via:

GetClustersClusterCertificateClusterArray{ GetClustersClusterCertificateClusterArgs{...} }

type GetClustersClusterCertificateClusterArrayOutput

type GetClustersClusterCertificateClusterArrayOutput struct{ *pulumi.OutputState }

func (GetClustersClusterCertificateClusterArrayOutput) ElementType

func (GetClustersClusterCertificateClusterArrayOutput) Index

func (GetClustersClusterCertificateClusterArrayOutput) ToGetClustersClusterCertificateClusterArrayOutput

func (o GetClustersClusterCertificateClusterArrayOutput) ToGetClustersClusterCertificateClusterArrayOutput() GetClustersClusterCertificateClusterArrayOutput

func (GetClustersClusterCertificateClusterArrayOutput) ToGetClustersClusterCertificateClusterArrayOutputWithContext

func (o GetClustersClusterCertificateClusterArrayOutput) ToGetClustersClusterCertificateClusterArrayOutputWithContext(ctx context.Context) GetClustersClusterCertificateClusterArrayOutput

type GetClustersClusterCertificateClusterInput

type GetClustersClusterCertificateClusterInput interface {
	pulumi.Input

	ToGetClustersClusterCertificateClusterOutput() GetClustersClusterCertificateClusterOutput
	ToGetClustersClusterCertificateClusterOutputWithContext(context.Context) GetClustersClusterCertificateClusterOutput
}

GetClustersClusterCertificateClusterInput is an input type that accepts GetClustersClusterCertificateClusterArgs and GetClustersClusterCertificateClusterOutput values. You can construct a concrete instance of `GetClustersClusterCertificateClusterInput` via:

GetClustersClusterCertificateClusterArgs{...}

type GetClustersClusterCertificateClusterOutput

type GetClustersClusterCertificateClusterOutput struct{ *pulumi.OutputState }

func (GetClustersClusterCertificateClusterOutput) CertificateAuthorityData

func (o GetClustersClusterCertificateClusterOutput) CertificateAuthorityData() pulumi.StringOutput

The certificate data.

func (GetClustersClusterCertificateClusterOutput) ElementType

func (GetClustersClusterCertificateClusterOutput) Name

Specifies the name of the cluster.

func (GetClustersClusterCertificateClusterOutput) Server

The server IP address.

func (GetClustersClusterCertificateClusterOutput) ToGetClustersClusterCertificateClusterOutput

func (o GetClustersClusterCertificateClusterOutput) ToGetClustersClusterCertificateClusterOutput() GetClustersClusterCertificateClusterOutput

func (GetClustersClusterCertificateClusterOutput) ToGetClustersClusterCertificateClusterOutputWithContext

func (o GetClustersClusterCertificateClusterOutput) ToGetClustersClusterCertificateClusterOutputWithContext(ctx context.Context) GetClustersClusterCertificateClusterOutput

type GetClustersClusterCertificateUser

type GetClustersClusterCertificateUser struct {
	// The client certificate data.
	ClientCertificateData string `pulumi:"clientCertificateData"`
	// The client key data.
	ClientKeyData string `pulumi:"clientKeyData"`
	// Specifies the name of the cluster.
	Name string `pulumi:"name"`
}

type GetClustersClusterCertificateUserArgs

type GetClustersClusterCertificateUserArgs struct {
	// The client certificate data.
	ClientCertificateData pulumi.StringInput `pulumi:"clientCertificateData"`
	// The client key data.
	ClientKeyData pulumi.StringInput `pulumi:"clientKeyData"`
	// Specifies the name of the cluster.
	Name pulumi.StringInput `pulumi:"name"`
}

func (GetClustersClusterCertificateUserArgs) ElementType

func (GetClustersClusterCertificateUserArgs) ToGetClustersClusterCertificateUserOutput

func (i GetClustersClusterCertificateUserArgs) ToGetClustersClusterCertificateUserOutput() GetClustersClusterCertificateUserOutput

func (GetClustersClusterCertificateUserArgs) ToGetClustersClusterCertificateUserOutputWithContext

func (i GetClustersClusterCertificateUserArgs) ToGetClustersClusterCertificateUserOutputWithContext(ctx context.Context) GetClustersClusterCertificateUserOutput

type GetClustersClusterCertificateUserArray

type GetClustersClusterCertificateUserArray []GetClustersClusterCertificateUserInput

func (GetClustersClusterCertificateUserArray) ElementType

func (GetClustersClusterCertificateUserArray) ToGetClustersClusterCertificateUserArrayOutput

func (i GetClustersClusterCertificateUserArray) ToGetClustersClusterCertificateUserArrayOutput() GetClustersClusterCertificateUserArrayOutput

func (GetClustersClusterCertificateUserArray) ToGetClustersClusterCertificateUserArrayOutputWithContext

func (i GetClustersClusterCertificateUserArray) ToGetClustersClusterCertificateUserArrayOutputWithContext(ctx context.Context) GetClustersClusterCertificateUserArrayOutput

type GetClustersClusterCertificateUserArrayInput

type GetClustersClusterCertificateUserArrayInput interface {
	pulumi.Input

	ToGetClustersClusterCertificateUserArrayOutput() GetClustersClusterCertificateUserArrayOutput
	ToGetClustersClusterCertificateUserArrayOutputWithContext(context.Context) GetClustersClusterCertificateUserArrayOutput
}

GetClustersClusterCertificateUserArrayInput is an input type that accepts GetClustersClusterCertificateUserArray and GetClustersClusterCertificateUserArrayOutput values. You can construct a concrete instance of `GetClustersClusterCertificateUserArrayInput` via:

GetClustersClusterCertificateUserArray{ GetClustersClusterCertificateUserArgs{...} }

type GetClustersClusterCertificateUserArrayOutput

type GetClustersClusterCertificateUserArrayOutput struct{ *pulumi.OutputState }

func (GetClustersClusterCertificateUserArrayOutput) ElementType

func (GetClustersClusterCertificateUserArrayOutput) Index

func (GetClustersClusterCertificateUserArrayOutput) ToGetClustersClusterCertificateUserArrayOutput

func (o GetClustersClusterCertificateUserArrayOutput) ToGetClustersClusterCertificateUserArrayOutput() GetClustersClusterCertificateUserArrayOutput

func (GetClustersClusterCertificateUserArrayOutput) ToGetClustersClusterCertificateUserArrayOutputWithContext

func (o GetClustersClusterCertificateUserArrayOutput) ToGetClustersClusterCertificateUserArrayOutputWithContext(ctx context.Context) GetClustersClusterCertificateUserArrayOutput

type GetClustersClusterCertificateUserInput

type GetClustersClusterCertificateUserInput interface {
	pulumi.Input

	ToGetClustersClusterCertificateUserOutput() GetClustersClusterCertificateUserOutput
	ToGetClustersClusterCertificateUserOutputWithContext(context.Context) GetClustersClusterCertificateUserOutput
}

GetClustersClusterCertificateUserInput is an input type that accepts GetClustersClusterCertificateUserArgs and GetClustersClusterCertificateUserOutput values. You can construct a concrete instance of `GetClustersClusterCertificateUserInput` via:

GetClustersClusterCertificateUserArgs{...}

type GetClustersClusterCertificateUserOutput

type GetClustersClusterCertificateUserOutput struct{ *pulumi.OutputState }

func (GetClustersClusterCertificateUserOutput) ClientCertificateData

The client certificate data.

func (GetClustersClusterCertificateUserOutput) ClientKeyData

The client key data.

func (GetClustersClusterCertificateUserOutput) ElementType

func (GetClustersClusterCertificateUserOutput) Name

Specifies the name of the cluster.

func (GetClustersClusterCertificateUserOutput) ToGetClustersClusterCertificateUserOutput

func (o GetClustersClusterCertificateUserOutput) ToGetClustersClusterCertificateUserOutput() GetClustersClusterCertificateUserOutput

func (GetClustersClusterCertificateUserOutput) ToGetClustersClusterCertificateUserOutputWithContext

func (o GetClustersClusterCertificateUserOutput) ToGetClustersClusterCertificateUserOutputWithContext(ctx context.Context) GetClustersClusterCertificateUserOutput

type GetClustersClusterEndpoint

type GetClustersClusterEndpoint struct {
	// The type of the cluster access address.
	// + **Internal**: The user's subnet access address.
	// + **External**: The public network access address.
	Type string `pulumi:"type"`
	// The URL of the cluster access address.
	Url string `pulumi:"url"`
}

type GetClustersClusterEndpointArgs

type GetClustersClusterEndpointArgs struct {
	// The type of the cluster access address.
	// + **Internal**: The user's subnet access address.
	// + **External**: The public network access address.
	Type pulumi.StringInput `pulumi:"type"`
	// The URL of the cluster access address.
	Url pulumi.StringInput `pulumi:"url"`
}

func (GetClustersClusterEndpointArgs) ElementType

func (GetClustersClusterEndpointArgs) ToGetClustersClusterEndpointOutput

func (i GetClustersClusterEndpointArgs) ToGetClustersClusterEndpointOutput() GetClustersClusterEndpointOutput

func (GetClustersClusterEndpointArgs) ToGetClustersClusterEndpointOutputWithContext

func (i GetClustersClusterEndpointArgs) ToGetClustersClusterEndpointOutputWithContext(ctx context.Context) GetClustersClusterEndpointOutput

type GetClustersClusterEndpointArray

type GetClustersClusterEndpointArray []GetClustersClusterEndpointInput

func (GetClustersClusterEndpointArray) ElementType

func (GetClustersClusterEndpointArray) ToGetClustersClusterEndpointArrayOutput

func (i GetClustersClusterEndpointArray) ToGetClustersClusterEndpointArrayOutput() GetClustersClusterEndpointArrayOutput

func (GetClustersClusterEndpointArray) ToGetClustersClusterEndpointArrayOutputWithContext

func (i GetClustersClusterEndpointArray) ToGetClustersClusterEndpointArrayOutputWithContext(ctx context.Context) GetClustersClusterEndpointArrayOutput

type GetClustersClusterEndpointArrayInput

type GetClustersClusterEndpointArrayInput interface {
	pulumi.Input

	ToGetClustersClusterEndpointArrayOutput() GetClustersClusterEndpointArrayOutput
	ToGetClustersClusterEndpointArrayOutputWithContext(context.Context) GetClustersClusterEndpointArrayOutput
}

GetClustersClusterEndpointArrayInput is an input type that accepts GetClustersClusterEndpointArray and GetClustersClusterEndpointArrayOutput values. You can construct a concrete instance of `GetClustersClusterEndpointArrayInput` via:

GetClustersClusterEndpointArray{ GetClustersClusterEndpointArgs{...} }

type GetClustersClusterEndpointArrayOutput

type GetClustersClusterEndpointArrayOutput struct{ *pulumi.OutputState }

func (GetClustersClusterEndpointArrayOutput) ElementType

func (GetClustersClusterEndpointArrayOutput) Index

func (GetClustersClusterEndpointArrayOutput) ToGetClustersClusterEndpointArrayOutput

func (o GetClustersClusterEndpointArrayOutput) ToGetClustersClusterEndpointArrayOutput() GetClustersClusterEndpointArrayOutput

func (GetClustersClusterEndpointArrayOutput) ToGetClustersClusterEndpointArrayOutputWithContext

func (o GetClustersClusterEndpointArrayOutput) ToGetClustersClusterEndpointArrayOutputWithContext(ctx context.Context) GetClustersClusterEndpointArrayOutput

type GetClustersClusterEndpointInput

type GetClustersClusterEndpointInput interface {
	pulumi.Input

	ToGetClustersClusterEndpointOutput() GetClustersClusterEndpointOutput
	ToGetClustersClusterEndpointOutputWithContext(context.Context) GetClustersClusterEndpointOutput
}

GetClustersClusterEndpointInput is an input type that accepts GetClustersClusterEndpointArgs and GetClustersClusterEndpointOutput values. You can construct a concrete instance of `GetClustersClusterEndpointInput` via:

GetClustersClusterEndpointArgs{...}

type GetClustersClusterEndpointOutput

type GetClustersClusterEndpointOutput struct{ *pulumi.OutputState }

func (GetClustersClusterEndpointOutput) ElementType

func (GetClustersClusterEndpointOutput) ToGetClustersClusterEndpointOutput

func (o GetClustersClusterEndpointOutput) ToGetClustersClusterEndpointOutput() GetClustersClusterEndpointOutput

func (GetClustersClusterEndpointOutput) ToGetClustersClusterEndpointOutputWithContext

func (o GetClustersClusterEndpointOutput) ToGetClustersClusterEndpointOutputWithContext(ctx context.Context) GetClustersClusterEndpointOutput

func (GetClustersClusterEndpointOutput) Type

The type of the cluster access address. + **Internal**: The user's subnet access address. + **External**: The public network access address.

func (GetClustersClusterEndpointOutput) Url

The URL of the cluster access address.

type GetClustersClusterInput

type GetClustersClusterInput interface {
	pulumi.Input

	ToGetClustersClusterOutput() GetClustersClusterOutput
	ToGetClustersClusterOutputWithContext(context.Context) GetClustersClusterOutput
}

GetClustersClusterInput is an input type that accepts GetClustersClusterArgs and GetClustersClusterOutput values. You can construct a concrete instance of `GetClustersClusterInput` via:

GetClustersClusterArgs{...}

type GetClustersClusterMaster

type GetClustersClusterMaster struct {
	// The availability zone (AZ) of the master node.
	AvailabilityZone string `pulumi:"availabilityZone"`
}

type GetClustersClusterMasterArgs

type GetClustersClusterMasterArgs struct {
	// The availability zone (AZ) of the master node.
	AvailabilityZone pulumi.StringInput `pulumi:"availabilityZone"`
}

func (GetClustersClusterMasterArgs) ElementType

func (GetClustersClusterMasterArgs) ToGetClustersClusterMasterOutput

func (i GetClustersClusterMasterArgs) ToGetClustersClusterMasterOutput() GetClustersClusterMasterOutput

func (GetClustersClusterMasterArgs) ToGetClustersClusterMasterOutputWithContext

func (i GetClustersClusterMasterArgs) ToGetClustersClusterMasterOutputWithContext(ctx context.Context) GetClustersClusterMasterOutput

type GetClustersClusterMasterArray

type GetClustersClusterMasterArray []GetClustersClusterMasterInput

func (GetClustersClusterMasterArray) ElementType

func (GetClustersClusterMasterArray) ToGetClustersClusterMasterArrayOutput

func (i GetClustersClusterMasterArray) ToGetClustersClusterMasterArrayOutput() GetClustersClusterMasterArrayOutput

func (GetClustersClusterMasterArray) ToGetClustersClusterMasterArrayOutputWithContext

func (i GetClustersClusterMasterArray) ToGetClustersClusterMasterArrayOutputWithContext(ctx context.Context) GetClustersClusterMasterArrayOutput

type GetClustersClusterMasterArrayInput

type GetClustersClusterMasterArrayInput interface {
	pulumi.Input

	ToGetClustersClusterMasterArrayOutput() GetClustersClusterMasterArrayOutput
	ToGetClustersClusterMasterArrayOutputWithContext(context.Context) GetClustersClusterMasterArrayOutput
}

GetClustersClusterMasterArrayInput is an input type that accepts GetClustersClusterMasterArray and GetClustersClusterMasterArrayOutput values. You can construct a concrete instance of `GetClustersClusterMasterArrayInput` via:

GetClustersClusterMasterArray{ GetClustersClusterMasterArgs{...} }

type GetClustersClusterMasterArrayOutput

type GetClustersClusterMasterArrayOutput struct{ *pulumi.OutputState }

func (GetClustersClusterMasterArrayOutput) ElementType

func (GetClustersClusterMasterArrayOutput) Index

func (GetClustersClusterMasterArrayOutput) ToGetClustersClusterMasterArrayOutput

func (o GetClustersClusterMasterArrayOutput) ToGetClustersClusterMasterArrayOutput() GetClustersClusterMasterArrayOutput

func (GetClustersClusterMasterArrayOutput) ToGetClustersClusterMasterArrayOutputWithContext

func (o GetClustersClusterMasterArrayOutput) ToGetClustersClusterMasterArrayOutputWithContext(ctx context.Context) GetClustersClusterMasterArrayOutput

type GetClustersClusterMasterInput

type GetClustersClusterMasterInput interface {
	pulumi.Input

	ToGetClustersClusterMasterOutput() GetClustersClusterMasterOutput
	ToGetClustersClusterMasterOutputWithContext(context.Context) GetClustersClusterMasterOutput
}

GetClustersClusterMasterInput is an input type that accepts GetClustersClusterMasterArgs and GetClustersClusterMasterOutput values. You can construct a concrete instance of `GetClustersClusterMasterInput` via:

GetClustersClusterMasterArgs{...}

type GetClustersClusterMasterOutput

type GetClustersClusterMasterOutput struct{ *pulumi.OutputState }

func (GetClustersClusterMasterOutput) AvailabilityZone

func (o GetClustersClusterMasterOutput) AvailabilityZone() pulumi.StringOutput

The availability zone (AZ) of the master node.

func (GetClustersClusterMasterOutput) ElementType

func (GetClustersClusterMasterOutput) ToGetClustersClusterMasterOutput

func (o GetClustersClusterMasterOutput) ToGetClustersClusterMasterOutput() GetClustersClusterMasterOutput

func (GetClustersClusterMasterOutput) ToGetClustersClusterMasterOutputWithContext

func (o GetClustersClusterMasterOutput) ToGetClustersClusterMasterOutputWithContext(ctx context.Context) GetClustersClusterMasterOutput

type GetClustersClusterOutput

type GetClustersClusterOutput struct{ *pulumi.OutputState }

func (GetClustersClusterOutput) AuthenticationMode

func (o GetClustersClusterOutput) AuthenticationMode() pulumi.StringOutput

The authentication mode of the cluster, possible values are x509 and rbac. Defaults to **rbac**.

func (GetClustersClusterOutput) BillingMode

func (o GetClustersClusterOutput) BillingMode() pulumi.IntOutput

The charging mode of the cluster.

func (GetClustersClusterOutput) CertificateClusters

The certificate clusters. Structure is documented below.

func (GetClustersClusterOutput) CertificateUsers

The certificate users. Structure is documented below.

func (GetClustersClusterOutput) ClusterType

Specifies the type of the cluster. Possible values: **VirtualMachine**, **BareMetal**.

func (GetClustersClusterOutput) ClusterVersion

func (o GetClustersClusterOutput) ClusterVersion() pulumi.StringOutput

The version of the cluster.

func (GetClustersClusterOutput) ContainerNetworkCidr

func (o GetClustersClusterOutput) ContainerNetworkCidr() pulumi.StringOutput

The container network segment.

func (GetClustersClusterOutput) ContainerNetworkType

func (o GetClustersClusterOutput) ContainerNetworkType() pulumi.StringOutput

The container network type: **overlay_l2** , **underlay_ipvlan**, **vpc-router** or **eni**.

func (GetClustersClusterOutput) Description

The description of the cluster.

func (GetClustersClusterOutput) ElementType

func (GetClustersClusterOutput) ElementType() reflect.Type

func (GetClustersClusterOutput) Endpoints

The access addresses of kube-apiserver in the cluster. Structure is documented below.

func (GetClustersClusterOutput) EniSubnetCidr

func (o GetClustersClusterOutput) EniSubnetCidr() pulumi.StringOutput

The ENI network segment.

func (GetClustersClusterOutput) EniSubnetId

The **IPv4 subnet ID** of the subnet where the ENI resides.

func (GetClustersClusterOutput) EnterpriseProjectId

func (o GetClustersClusterOutput) EnterpriseProjectId() pulumi.StringOutput

Specifies the enterprise project ID of the cluster.

func (GetClustersClusterOutput) FlavorId

The specification of the cluster.

func (GetClustersClusterOutput) Id

The ID of the cluster.

func (GetClustersClusterOutput) KubeConfigRaw

func (o GetClustersClusterOutput) KubeConfigRaw() pulumi.StringOutput

The raw Kubernetes config to be used by kubectl and other compatible tools.

func (GetClustersClusterOutput) Masters

The advanced configuration of master nodes. Structure is documented below.

func (GetClustersClusterOutput) Name

Specifies the name of the cluster.

func (GetClustersClusterOutput) SecurityGroupId

func (o GetClustersClusterOutput) SecurityGroupId() pulumi.StringOutput

The security group ID of the cluster.

func (GetClustersClusterOutput) ServiceNetworkCidr

func (o GetClustersClusterOutput) ServiceNetworkCidr() pulumi.StringOutput

The service network segment.

func (GetClustersClusterOutput) Status

Specifies the status of the cluster.

func (GetClustersClusterOutput) SubnetId

The ID of the subnet used to create the node.

func (GetClustersClusterOutput) ToGetClustersClusterOutput

func (o GetClustersClusterOutput) ToGetClustersClusterOutput() GetClustersClusterOutput

func (GetClustersClusterOutput) ToGetClustersClusterOutputWithContext

func (o GetClustersClusterOutput) ToGetClustersClusterOutputWithContext(ctx context.Context) GetClustersClusterOutput

func (GetClustersClusterOutput) VpcId

Specifies the VPC ID to which the cluster belongs.

type GetClustersOutputArgs

type GetClustersOutputArgs struct {
	// Specifies the ID of the cluster.
	ClusterId pulumi.StringPtrInput `pulumi:"clusterId"`
	// Specifies the type of the cluster. Possible values: **VirtualMachine**, **BareMetal**.
	ClusterType pulumi.StringPtrInput `pulumi:"clusterType"`
	// Specifies the enterprise project ID of the cluster.
	EnterpriseProjectId pulumi.StringPtrInput `pulumi:"enterpriseProjectId"`
	// Specifies the name of the cluster.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Specifies the region in which to obtain the CCE clusters. If omitted, the
	// provider-level region will be used.
	Region pulumi.StringPtrInput `pulumi:"region"`
	// Specifies the status of the cluster.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// Specifies the VPC ID to which the cluster belongs.
	VpcId pulumi.StringPtrInput `pulumi:"vpcId"`
}

A collection of arguments for invoking getClusters.

func (GetClustersOutputArgs) ElementType

func (GetClustersOutputArgs) ElementType() reflect.Type

type GetClustersResult

type GetClustersResult struct {
	ClusterId *string `pulumi:"clusterId"`
	// The type of the cluster. Possible values: **VirtualMachine**, **ARM64**.
	ClusterType *string `pulumi:"clusterType"`
	// Indicates a list of CCE clusters found. Structure is documented below.
	Clusters []GetClustersCluster `pulumi:"clusters"`
	// The enterprise project ID of the CCE cluster.
	EnterpriseProjectId *string `pulumi:"enterpriseProjectId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Indicates a list of IDs of all CCE clusters found.
	Ids []string `pulumi:"ids"`
	// The user name.
	Name   *string `pulumi:"name"`
	Region string  `pulumi:"region"`
	// The status of the cluster.
	Status *string `pulumi:"status"`
	// The vpc ID of the cluster.
	VpcId *string `pulumi:"vpcId"`
}

A collection of values returned by getClusters.

func GetClusters

func GetClusters(ctx *pulumi.Context, args *GetClustersArgs, opts ...pulumi.InvokeOption) (*GetClustersResult, error)

Use this data source to get a list of CCE clusters.

## Example Usage

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Cce"
"github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/Cce"
"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, "")
		clusterName := cfg.RequireObject("clusterName")
		_, err := Cce.GetClusters(ctx, &cce.GetClustersArgs{
			Name:   pulumi.StringRef(clusterName),
			Status: pulumi.StringRef("Available"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetClustersResultOutput

type GetClustersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getClusters.

func (GetClustersResultOutput) ClusterId

func (GetClustersResultOutput) ClusterType

The type of the cluster. Possible values: **VirtualMachine**, **ARM64**.

func (GetClustersResultOutput) Clusters

Indicates a list of CCE clusters found. Structure is documented below.

func (GetClustersResultOutput) ElementType

func (GetClustersResultOutput) ElementType() reflect.Type

func (GetClustersResultOutput) EnterpriseProjectId

func (o GetClustersResultOutput) EnterpriseProjectId() pulumi.StringPtrOutput

The enterprise project ID of the CCE cluster.

func (GetClustersResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetClustersResultOutput) Ids

Indicates a list of IDs of all CCE clusters found.

func (GetClustersResultOutput) Name

The user name.

func (GetClustersResultOutput) Region

func (GetClustersResultOutput) Status

The status of the cluster.

func (GetClustersResultOutput) ToGetClustersResultOutput

func (o GetClustersResultOutput) ToGetClustersResultOutput() GetClustersResultOutput

func (GetClustersResultOutput) ToGetClustersResultOutputWithContext

func (o GetClustersResultOutput) ToGetClustersResultOutputWithContext(ctx context.Context) GetClustersResultOutput

func (GetClustersResultOutput) VpcId

The vpc ID of the cluster.

type GetNodeDataVolume

type GetNodeDataVolume struct {
	// Disk expansion parameters.
	ExtendParams map[string]string `pulumi:"extendParams"`
	// Disk size in GB.
	Size int `pulumi:"size"`
	// Disk type.
	Volumetype string `pulumi:"volumetype"`
}

type GetNodeDataVolumeArgs

type GetNodeDataVolumeArgs struct {
	// Disk expansion parameters.
	ExtendParams pulumi.StringMapInput `pulumi:"extendParams"`
	// Disk size in GB.
	Size pulumi.IntInput `pulumi:"size"`
	// Disk type.
	Volumetype pulumi.StringInput `pulumi:"volumetype"`
}

func (GetNodeDataVolumeArgs) ElementType

func (GetNodeDataVolumeArgs) ElementType() reflect.Type

func (GetNodeDataVolumeArgs) ToGetNodeDataVolumeOutput

func (i GetNodeDataVolumeArgs) ToGetNodeDataVolumeOutput() GetNodeDataVolumeOutput

func (GetNodeDataVolumeArgs) ToGetNodeDataVolumeOutputWithContext

func (i GetNodeDataVolumeArgs) ToGetNodeDataVolumeOutputWithContext(ctx context.Context) GetNodeDataVolumeOutput

type GetNodeDataVolumeArray

type GetNodeDataVolumeArray []GetNodeDataVolumeInput

func (GetNodeDataVolumeArray) ElementType

func (GetNodeDataVolumeArray) ElementType() reflect.Type

func (GetNodeDataVolumeArray) ToGetNodeDataVolumeArrayOutput

func (i GetNodeDataVolumeArray) ToGetNodeDataVolumeArrayOutput() GetNodeDataVolumeArrayOutput

func (GetNodeDataVolumeArray) ToGetNodeDataVolumeArrayOutputWithContext

func (i GetNodeDataVolumeArray) ToGetNodeDataVolumeArrayOutputWithContext(ctx context.Context) GetNodeDataVolumeArrayOutput

type GetNodeDataVolumeArrayInput

type GetNodeDataVolumeArrayInput interface {
	pulumi.Input

	ToGetNodeDataVolumeArrayOutput() GetNodeDataVolumeArrayOutput
	ToGetNodeDataVolumeArrayOutputWithContext(context.Context) GetNodeDataVolumeArrayOutput
}

GetNodeDataVolumeArrayInput is an input type that accepts GetNodeDataVolumeArray and GetNodeDataVolumeArrayOutput values. You can construct a concrete instance of `GetNodeDataVolumeArrayInput` via:

GetNodeDataVolumeArray{ GetNodeDataVolumeArgs{...} }

type GetNodeDataVolumeArrayOutput

type GetNodeDataVolumeArrayOutput struct{ *pulumi.OutputState }

func (GetNodeDataVolumeArrayOutput) ElementType

func (GetNodeDataVolumeArrayOutput) Index

func (GetNodeDataVolumeArrayOutput) ToGetNodeDataVolumeArrayOutput

func (o GetNodeDataVolumeArrayOutput) ToGetNodeDataVolumeArrayOutput() GetNodeDataVolumeArrayOutput

func (GetNodeDataVolumeArrayOutput) ToGetNodeDataVolumeArrayOutputWithContext

func (o GetNodeDataVolumeArrayOutput) ToGetNodeDataVolumeArrayOutputWithContext(ctx context.Context) GetNodeDataVolumeArrayOutput

type GetNodeDataVolumeInput

type GetNodeDataVolumeInput interface {
	pulumi.Input

	ToGetNodeDataVolumeOutput() GetNodeDataVolumeOutput
	ToGetNodeDataVolumeOutputWithContext(context.Context) GetNodeDataVolumeOutput
}

GetNodeDataVolumeInput is an input type that accepts GetNodeDataVolumeArgs and GetNodeDataVolumeOutput values. You can construct a concrete instance of `GetNodeDataVolumeInput` via:

GetNodeDataVolumeArgs{...}

type GetNodeDataVolumeOutput

type GetNodeDataVolumeOutput struct{ *pulumi.OutputState }

func (GetNodeDataVolumeOutput) ElementType

func (GetNodeDataVolumeOutput) ElementType() reflect.Type

func (GetNodeDataVolumeOutput) ExtendParams

Disk expansion parameters.

func (GetNodeDataVolumeOutput) Size

Disk size in GB.

func (GetNodeDataVolumeOutput) ToGetNodeDataVolumeOutput

func (o GetNodeDataVolumeOutput) ToGetNodeDataVolumeOutput() GetNodeDataVolumeOutput

func (GetNodeDataVolumeOutput) ToGetNodeDataVolumeOutputWithContext

func (o GetNodeDataVolumeOutput) ToGetNodeDataVolumeOutputWithContext(ctx context.Context) GetNodeDataVolumeOutput

func (GetNodeDataVolumeOutput) Volumetype

Disk type.

type GetNodePoolDataVolume

type GetNodePoolDataVolume struct {
	// Disk expansion parameters.
	ExtendParams map[string]string `pulumi:"extendParams"`
	// Disk size in GB.
	Size int `pulumi:"size"`
	// Disk type.
	Volumetype string `pulumi:"volumetype"`
}

type GetNodePoolDataVolumeArgs

type GetNodePoolDataVolumeArgs struct {
	// Disk expansion parameters.
	ExtendParams pulumi.StringMapInput `pulumi:"extendParams"`
	// Disk size in GB.
	Size pulumi.IntInput `pulumi:"size"`
	// Disk type.
	Volumetype pulumi.StringInput `pulumi:"volumetype"`
}

func (GetNodePoolDataVolumeArgs) ElementType

func (GetNodePoolDataVolumeArgs) ElementType() reflect.Type

func (GetNodePoolDataVolumeArgs) ToGetNodePoolDataVolumeOutput

func (i GetNodePoolDataVolumeArgs) ToGetNodePoolDataVolumeOutput() GetNodePoolDataVolumeOutput

func (GetNodePoolDataVolumeArgs) ToGetNodePoolDataVolumeOutputWithContext

func (i GetNodePoolDataVolumeArgs) ToGetNodePoolDataVolumeOutputWithContext(ctx context.Context) GetNodePoolDataVolumeOutput

type GetNodePoolDataVolumeArray

type GetNodePoolDataVolumeArray []GetNodePoolDataVolumeInput

func (GetNodePoolDataVolumeArray) ElementType

func (GetNodePoolDataVolumeArray) ElementType() reflect.Type

func (GetNodePoolDataVolumeArray) ToGetNodePoolDataVolumeArrayOutput

func (i GetNodePoolDataVolumeArray) ToGetNodePoolDataVolumeArrayOutput() GetNodePoolDataVolumeArrayOutput

func (GetNodePoolDataVolumeArray) ToGetNodePoolDataVolumeArrayOutputWithContext

func (i GetNodePoolDataVolumeArray) ToGetNodePoolDataVolumeArrayOutputWithContext(ctx context.Context) GetNodePoolDataVolumeArrayOutput

type GetNodePoolDataVolumeArrayInput

type GetNodePoolDataVolumeArrayInput interface {
	pulumi.Input

	ToGetNodePoolDataVolumeArrayOutput() GetNodePoolDataVolumeArrayOutput
	ToGetNodePoolDataVolumeArrayOutputWithContext(context.Context) GetNodePoolDataVolumeArrayOutput
}

GetNodePoolDataVolumeArrayInput is an input type that accepts GetNodePoolDataVolumeArray and GetNodePoolDataVolumeArrayOutput values. You can construct a concrete instance of `GetNodePoolDataVolumeArrayInput` via:

GetNodePoolDataVolumeArray{ GetNodePoolDataVolumeArgs{...} }

type GetNodePoolDataVolumeArrayOutput

type GetNodePoolDataVolumeArrayOutput struct{ *pulumi.OutputState }

func (GetNodePoolDataVolumeArrayOutput) ElementType

func (GetNodePoolDataVolumeArrayOutput) Index

func (GetNodePoolDataVolumeArrayOutput) ToGetNodePoolDataVolumeArrayOutput

func (o GetNodePoolDataVolumeArrayOutput) ToGetNodePoolDataVolumeArrayOutput() GetNodePoolDataVolumeArrayOutput

func (GetNodePoolDataVolumeArrayOutput) ToGetNodePoolDataVolumeArrayOutputWithContext

func (o GetNodePoolDataVolumeArrayOutput) ToGetNodePoolDataVolumeArrayOutputWithContext(ctx context.Context) GetNodePoolDataVolumeArrayOutput

type GetNodePoolDataVolumeInput

type GetNodePoolDataVolumeInput interface {
	pulumi.Input

	ToGetNodePoolDataVolumeOutput() GetNodePoolDataVolumeOutput
	ToGetNodePoolDataVolumeOutputWithContext(context.Context) GetNodePoolDataVolumeOutput
}

GetNodePoolDataVolumeInput is an input type that accepts GetNodePoolDataVolumeArgs and GetNodePoolDataVolumeOutput values. You can construct a concrete instance of `GetNodePoolDataVolumeInput` via:

GetNodePoolDataVolumeArgs{...}

type GetNodePoolDataVolumeOutput

type GetNodePoolDataVolumeOutput struct{ *pulumi.OutputState }

func (GetNodePoolDataVolumeOutput) ElementType

func (GetNodePoolDataVolumeOutput) ExtendParams

Disk expansion parameters.

func (GetNodePoolDataVolumeOutput) Size

Disk size in GB.

func (GetNodePoolDataVolumeOutput) ToGetNodePoolDataVolumeOutput

func (o GetNodePoolDataVolumeOutput) ToGetNodePoolDataVolumeOutput() GetNodePoolDataVolumeOutput

func (GetNodePoolDataVolumeOutput) ToGetNodePoolDataVolumeOutputWithContext

func (o GetNodePoolDataVolumeOutput) ToGetNodePoolDataVolumeOutputWithContext(ctx context.Context) GetNodePoolDataVolumeOutput

func (GetNodePoolDataVolumeOutput) Volumetype

Disk type.

type GetNodePoolRootVolume

type GetNodePoolRootVolume struct {
	// Disk expansion parameters.
	ExtendParams map[string]string `pulumi:"extendParams"`
	// Disk size in GB.
	Size int `pulumi:"size"`
	// Disk type.
	Volumetype string `pulumi:"volumetype"`
}

type GetNodePoolRootVolumeArgs

type GetNodePoolRootVolumeArgs struct {
	// Disk expansion parameters.
	ExtendParams pulumi.StringMapInput `pulumi:"extendParams"`
	// Disk size in GB.
	Size pulumi.IntInput `pulumi:"size"`
	// Disk type.
	Volumetype pulumi.StringInput `pulumi:"volumetype"`
}

func (GetNodePoolRootVolumeArgs) ElementType

func (GetNodePoolRootVolumeArgs) ElementType() reflect.Type

func (GetNodePoolRootVolumeArgs) ToGetNodePoolRootVolumeOutput

func (i GetNodePoolRootVolumeArgs) ToGetNodePoolRootVolumeOutput() GetNodePoolRootVolumeOutput

func (GetNodePoolRootVolumeArgs) ToGetNodePoolRootVolumeOutputWithContext

func (i GetNodePoolRootVolumeArgs) ToGetNodePoolRootVolumeOutputWithContext(ctx context.Context) GetNodePoolRootVolumeOutput

type GetNodePoolRootVolumeArray

type GetNodePoolRootVolumeArray []GetNodePoolRootVolumeInput

func (GetNodePoolRootVolumeArray) ElementType

func (GetNodePoolRootVolumeArray) ElementType() reflect.Type

func (GetNodePoolRootVolumeArray) ToGetNodePoolRootVolumeArrayOutput

func (i GetNodePoolRootVolumeArray) ToGetNodePoolRootVolumeArrayOutput() GetNodePoolRootVolumeArrayOutput

func (GetNodePoolRootVolumeArray) ToGetNodePoolRootVolumeArrayOutputWithContext

func (i GetNodePoolRootVolumeArray) ToGetNodePoolRootVolumeArrayOutputWithContext(ctx context.Context) GetNodePoolRootVolumeArrayOutput

type GetNodePoolRootVolumeArrayInput

type GetNodePoolRootVolumeArrayInput interface {
	pulumi.Input

	ToGetNodePoolRootVolumeArrayOutput() GetNodePoolRootVolumeArrayOutput
	ToGetNodePoolRootVolumeArrayOutputWithContext(context.Context) GetNodePoolRootVolumeArrayOutput
}

GetNodePoolRootVolumeArrayInput is an input type that accepts GetNodePoolRootVolumeArray and GetNodePoolRootVolumeArrayOutput values. You can construct a concrete instance of `GetNodePoolRootVolumeArrayInput` via:

GetNodePoolRootVolumeArray{ GetNodePoolRootVolumeArgs{...} }

type GetNodePoolRootVolumeArrayOutput

type GetNodePoolRootVolumeArrayOutput struct{ *pulumi.OutputState }

func (GetNodePoolRootVolumeArrayOutput) ElementType

func (GetNodePoolRootVolumeArrayOutput) Index

func (GetNodePoolRootVolumeArrayOutput) ToGetNodePoolRootVolumeArrayOutput

func (o GetNodePoolRootVolumeArrayOutput) ToGetNodePoolRootVolumeArrayOutput() GetNodePoolRootVolumeArrayOutput

func (GetNodePoolRootVolumeArrayOutput) ToGetNodePoolRootVolumeArrayOutputWithContext

func (o GetNodePoolRootVolumeArrayOutput) ToGetNodePoolRootVolumeArrayOutputWithContext(ctx context.Context) GetNodePoolRootVolumeArrayOutput

type GetNodePoolRootVolumeInput

type GetNodePoolRootVolumeInput interface {
	pulumi.Input

	ToGetNodePoolRootVolumeOutput() GetNodePoolRootVolumeOutput
	ToGetNodePoolRootVolumeOutputWithContext(context.Context) GetNodePoolRootVolumeOutput
}

GetNodePoolRootVolumeInput is an input type that accepts GetNodePoolRootVolumeArgs and GetNodePoolRootVolumeOutput values. You can construct a concrete instance of `GetNodePoolRootVolumeInput` via:

GetNodePoolRootVolumeArgs{...}

type GetNodePoolRootVolumeOutput

type GetNodePoolRootVolumeOutput struct{ *pulumi.OutputState }

func (GetNodePoolRootVolumeOutput) ElementType

func (GetNodePoolRootVolumeOutput) ExtendParams

Disk expansion parameters.

func (GetNodePoolRootVolumeOutput) Size

Disk size in GB.

func (GetNodePoolRootVolumeOutput) ToGetNodePoolRootVolumeOutput

func (o GetNodePoolRootVolumeOutput) ToGetNodePoolRootVolumeOutput() GetNodePoolRootVolumeOutput

func (GetNodePoolRootVolumeOutput) ToGetNodePoolRootVolumeOutputWithContext

func (o GetNodePoolRootVolumeOutput) ToGetNodePoolRootVolumeOutputWithContext(ctx context.Context) GetNodePoolRootVolumeOutput

func (GetNodePoolRootVolumeOutput) Volumetype

Disk type.

type GetNodeRootVolume

type GetNodeRootVolume struct {
	// Disk expansion parameters.
	ExtendParams map[string]string `pulumi:"extendParams"`
	// Disk size in GB.
	Size int `pulumi:"size"`
	// Disk type.
	Volumetype string `pulumi:"volumetype"`
}

type GetNodeRootVolumeArgs

type GetNodeRootVolumeArgs struct {
	// Disk expansion parameters.
	ExtendParams pulumi.StringMapInput `pulumi:"extendParams"`
	// Disk size in GB.
	Size pulumi.IntInput `pulumi:"size"`
	// Disk type.
	Volumetype pulumi.StringInput `pulumi:"volumetype"`
}

func (GetNodeRootVolumeArgs) ElementType

func (GetNodeRootVolumeArgs) ElementType() reflect.Type

func (GetNodeRootVolumeArgs) ToGetNodeRootVolumeOutput

func (i GetNodeRootVolumeArgs) ToGetNodeRootVolumeOutput() GetNodeRootVolumeOutput

func (GetNodeRootVolumeArgs) ToGetNodeRootVolumeOutputWithContext

func (i GetNodeRootVolumeArgs) ToGetNodeRootVolumeOutputWithContext(ctx context.Context) GetNodeRootVolumeOutput

type GetNodeRootVolumeArray

type GetNodeRootVolumeArray []GetNodeRootVolumeInput

func (GetNodeRootVolumeArray) ElementType

func (GetNodeRootVolumeArray) ElementType() reflect.Type

func (GetNodeRootVolumeArray) ToGetNodeRootVolumeArrayOutput

func (i GetNodeRootVolumeArray) ToGetNodeRootVolumeArrayOutput() GetNodeRootVolumeArrayOutput

func (GetNodeRootVolumeArray) ToGetNodeRootVolumeArrayOutputWithContext

func (i GetNodeRootVolumeArray) ToGetNodeRootVolumeArrayOutputWithContext(ctx context.Context) GetNodeRootVolumeArrayOutput

type GetNodeRootVolumeArrayInput

type GetNodeRootVolumeArrayInput interface {
	pulumi.Input

	ToGetNodeRootVolumeArrayOutput() GetNodeRootVolumeArrayOutput
	ToGetNodeRootVolumeArrayOutputWithContext(context.Context) GetNodeRootVolumeArrayOutput
}

GetNodeRootVolumeArrayInput is an input type that accepts GetNodeRootVolumeArray and GetNodeRootVolumeArrayOutput values. You can construct a concrete instance of `GetNodeRootVolumeArrayInput` via:

GetNodeRootVolumeArray{ GetNodeRootVolumeArgs{...} }

type GetNodeRootVolumeArrayOutput

type GetNodeRootVolumeArrayOutput struct{ *pulumi.OutputState }

func (GetNodeRootVolumeArrayOutput) ElementType

func (GetNodeRootVolumeArrayOutput) Index

func (GetNodeRootVolumeArrayOutput) ToGetNodeRootVolumeArrayOutput

func (o GetNodeRootVolumeArrayOutput) ToGetNodeRootVolumeArrayOutput() GetNodeRootVolumeArrayOutput

func (GetNodeRootVolumeArrayOutput) ToGetNodeRootVolumeArrayOutputWithContext

func (o GetNodeRootVolumeArrayOutput) ToGetNodeRootVolumeArrayOutputWithContext(ctx context.Context) GetNodeRootVolumeArrayOutput

type GetNodeRootVolumeInput

type GetNodeRootVolumeInput interface {
	pulumi.Input

	ToGetNodeRootVolumeOutput() GetNodeRootVolumeOutput
	ToGetNodeRootVolumeOutputWithContext(context.Context) GetNodeRootVolumeOutput
}

GetNodeRootVolumeInput is an input type that accepts GetNodeRootVolumeArgs and GetNodeRootVolumeOutput values. You can construct a concrete instance of `GetNodeRootVolumeInput` via:

GetNodeRootVolumeArgs{...}

type GetNodeRootVolumeOutput

type GetNodeRootVolumeOutput struct{ *pulumi.OutputState }

func (GetNodeRootVolumeOutput) ElementType

func (GetNodeRootVolumeOutput) ElementType() reflect.Type

func (GetNodeRootVolumeOutput) ExtendParams

Disk expansion parameters.

func (GetNodeRootVolumeOutput) Size

Disk size in GB.

func (GetNodeRootVolumeOutput) ToGetNodeRootVolumeOutput

func (o GetNodeRootVolumeOutput) ToGetNodeRootVolumeOutput() GetNodeRootVolumeOutput

func (GetNodeRootVolumeOutput) ToGetNodeRootVolumeOutputWithContext

func (o GetNodeRootVolumeOutput) ToGetNodeRootVolumeOutputWithContext(ctx context.Context) GetNodeRootVolumeOutput

func (GetNodeRootVolumeOutput) Volumetype

Disk type.

type GetNodesArgs

type GetNodesArgs struct {
	// Specifies the ID of CCE cluster.
	ClusterId string `pulumi:"clusterId"`
	// Specifies the of the node.
	Name *string `pulumi:"name"`
	// Specifies the ID of the node.
	NodeId *string `pulumi:"nodeId"`
	// Specifies the region in which to obtain the CCE nodes. If omitted, the provider-level
	// region will be used.
	Region *string `pulumi:"region"`
	// Specifies the status of the node.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getNodes.

type GetNodesNode

type GetNodesNode struct {
	// The available partitions where the node is located.
	AvailabilityZone string `pulumi:"availabilityZone"`
	// The node's billing mode: The value is 0 (on demand).
	BillingMode int `pulumi:"billingMode"`
	// The data related configuration. Structure is documented below.
	DataVolumes []GetNodesNodeDataVolume `pulumi:"dataVolumes"`
	// The ID of ECS group to which the node belongs.
	EcsGroupId string `pulumi:"ecsGroupId"`
	// The flavor ID to be used.
	FlavorId string `pulumi:"flavorId"`
	// The ID of the node.
	Id string `pulumi:"id"`
	// The key pair name when logging in to select the key pair mode.
	KeyPair string `pulumi:"keyPair"`
	// Specifies the of the node.
	Name string `pulumi:"name"`
	// The operating System of the node.
	Os string `pulumi:"os"`
	// The private IP of the node.
	PrivateIp string `pulumi:"privateIp"`
	// The elastic IP parameters of the node.
	PublicIp string `pulumi:"publicIp"`
	// The system disk related configuration. Structure is documented below.
	RootVolumes []GetNodesNodeRootVolume `pulumi:"rootVolumes"`
	// The node's virtual machine ID in ECS.
	ServerId string `pulumi:"serverId"`
	// Specifies the status of the node.
	Status string `pulumi:"status"`
	// The ID of the subnet to which the NIC belongs.
	SubnetId string `pulumi:"subnetId"`
	// The tags of a VM node, key/value pair format.
	Tags map[string]string `pulumi:"tags"`
}

type GetNodesNodeArgs

type GetNodesNodeArgs struct {
	// The available partitions where the node is located.
	AvailabilityZone pulumi.StringInput `pulumi:"availabilityZone"`
	// The node's billing mode: The value is 0 (on demand).
	BillingMode pulumi.IntInput `pulumi:"billingMode"`
	// The data related configuration. Structure is documented below.
	DataVolumes GetNodesNodeDataVolumeArrayInput `pulumi:"dataVolumes"`
	// The ID of ECS group to which the node belongs.
	EcsGroupId pulumi.StringInput `pulumi:"ecsGroupId"`
	// The flavor ID to be used.
	FlavorId pulumi.StringInput `pulumi:"flavorId"`
	// The ID of the node.
	Id pulumi.StringInput `pulumi:"id"`
	// The key pair name when logging in to select the key pair mode.
	KeyPair pulumi.StringInput `pulumi:"keyPair"`
	// Specifies the of the node.
	Name pulumi.StringInput `pulumi:"name"`
	// The operating System of the node.
	Os pulumi.StringInput `pulumi:"os"`
	// The private IP of the node.
	PrivateIp pulumi.StringInput `pulumi:"privateIp"`
	// The elastic IP parameters of the node.
	PublicIp pulumi.StringInput `pulumi:"publicIp"`
	// The system disk related configuration. Structure is documented below.
	RootVolumes GetNodesNodeRootVolumeArrayInput `pulumi:"rootVolumes"`
	// The node's virtual machine ID in ECS.
	ServerId pulumi.StringInput `pulumi:"serverId"`
	// Specifies the status of the node.
	Status pulumi.StringInput `pulumi:"status"`
	// The ID of the subnet to which the NIC belongs.
	SubnetId pulumi.StringInput `pulumi:"subnetId"`
	// The tags of a VM node, key/value pair format.
	Tags pulumi.StringMapInput `pulumi:"tags"`
}

func (GetNodesNodeArgs) ElementType

func (GetNodesNodeArgs) ElementType() reflect.Type

func (GetNodesNodeArgs) ToGetNodesNodeOutput

func (i GetNodesNodeArgs) ToGetNodesNodeOutput() GetNodesNodeOutput

func (GetNodesNodeArgs) ToGetNodesNodeOutputWithContext

func (i GetNodesNodeArgs) ToGetNodesNodeOutputWithContext(ctx context.Context) GetNodesNodeOutput

type GetNodesNodeArray

type GetNodesNodeArray []GetNodesNodeInput

func (GetNodesNodeArray) ElementType

func (GetNodesNodeArray) ElementType() reflect.Type

func (GetNodesNodeArray) ToGetNodesNodeArrayOutput

func (i GetNodesNodeArray) ToGetNodesNodeArrayOutput() GetNodesNodeArrayOutput

func (GetNodesNodeArray) ToGetNodesNodeArrayOutputWithContext

func (i GetNodesNodeArray) ToGetNodesNodeArrayOutputWithContext(ctx context.Context) GetNodesNodeArrayOutput

type GetNodesNodeArrayInput

type GetNodesNodeArrayInput interface {
	pulumi.Input

	ToGetNodesNodeArrayOutput() GetNodesNodeArrayOutput
	ToGetNodesNodeArrayOutputWithContext(context.Context) GetNodesNodeArrayOutput
}

GetNodesNodeArrayInput is an input type that accepts GetNodesNodeArray and GetNodesNodeArrayOutput values. You can construct a concrete instance of `GetNodesNodeArrayInput` via:

GetNodesNodeArray{ GetNodesNodeArgs{...} }

type GetNodesNodeArrayOutput

type GetNodesNodeArrayOutput struct{ *pulumi.OutputState }

func (GetNodesNodeArrayOutput) ElementType

func (GetNodesNodeArrayOutput) ElementType() reflect.Type

func (GetNodesNodeArrayOutput) Index

func (GetNodesNodeArrayOutput) ToGetNodesNodeArrayOutput

func (o GetNodesNodeArrayOutput) ToGetNodesNodeArrayOutput() GetNodesNodeArrayOutput

func (GetNodesNodeArrayOutput) ToGetNodesNodeArrayOutputWithContext

func (o GetNodesNodeArrayOutput) ToGetNodesNodeArrayOutputWithContext(ctx context.Context) GetNodesNodeArrayOutput

type GetNodesNodeDataVolume

type GetNodesNodeDataVolume struct {
	// Disk expansion parameters.
	ExtendParams map[string]string `pulumi:"extendParams"`
	// Disk size in GB.
	Size int `pulumi:"size"`
	// Disk type.
	Volumetype string `pulumi:"volumetype"`
}

type GetNodesNodeDataVolumeArgs

type GetNodesNodeDataVolumeArgs struct {
	// Disk expansion parameters.
	ExtendParams pulumi.StringMapInput `pulumi:"extendParams"`
	// Disk size in GB.
	Size pulumi.IntInput `pulumi:"size"`
	// Disk type.
	Volumetype pulumi.StringInput `pulumi:"volumetype"`
}

func (GetNodesNodeDataVolumeArgs) ElementType

func (GetNodesNodeDataVolumeArgs) ElementType() reflect.Type

func (GetNodesNodeDataVolumeArgs) ToGetNodesNodeDataVolumeOutput

func (i GetNodesNodeDataVolumeArgs) ToGetNodesNodeDataVolumeOutput() GetNodesNodeDataVolumeOutput

func (GetNodesNodeDataVolumeArgs) ToGetNodesNodeDataVolumeOutputWithContext

func (i GetNodesNodeDataVolumeArgs) ToGetNodesNodeDataVolumeOutputWithContext(ctx context.Context) GetNodesNodeDataVolumeOutput

type GetNodesNodeDataVolumeArray

type GetNodesNodeDataVolumeArray []GetNodesNodeDataVolumeInput

func (GetNodesNodeDataVolumeArray) ElementType

func (GetNodesNodeDataVolumeArray) ToGetNodesNodeDataVolumeArrayOutput

func (i GetNodesNodeDataVolumeArray) ToGetNodesNodeDataVolumeArrayOutput() GetNodesNodeDataVolumeArrayOutput

func (GetNodesNodeDataVolumeArray) ToGetNodesNodeDataVolumeArrayOutputWithContext

func (i GetNodesNodeDataVolumeArray) ToGetNodesNodeDataVolumeArrayOutputWithContext(ctx context.Context) GetNodesNodeDataVolumeArrayOutput

type GetNodesNodeDataVolumeArrayInput

type GetNodesNodeDataVolumeArrayInput interface {
	pulumi.Input

	ToGetNodesNodeDataVolumeArrayOutput() GetNodesNodeDataVolumeArrayOutput
	ToGetNodesNodeDataVolumeArrayOutputWithContext(context.Context) GetNodesNodeDataVolumeArrayOutput
}

GetNodesNodeDataVolumeArrayInput is an input type that accepts GetNodesNodeDataVolumeArray and GetNodesNodeDataVolumeArrayOutput values. You can construct a concrete instance of `GetNodesNodeDataVolumeArrayInput` via:

GetNodesNodeDataVolumeArray{ GetNodesNodeDataVolumeArgs{...} }

type GetNodesNodeDataVolumeArrayOutput

type GetNodesNodeDataVolumeArrayOutput struct{ *pulumi.OutputState }

func (GetNodesNodeDataVolumeArrayOutput) ElementType

func (GetNodesNodeDataVolumeArrayOutput) Index

func (GetNodesNodeDataVolumeArrayOutput) ToGetNodesNodeDataVolumeArrayOutput

func (o GetNodesNodeDataVolumeArrayOutput) ToGetNodesNodeDataVolumeArrayOutput() GetNodesNodeDataVolumeArrayOutput

func (GetNodesNodeDataVolumeArrayOutput) ToGetNodesNodeDataVolumeArrayOutputWithContext

func (o GetNodesNodeDataVolumeArrayOutput) ToGetNodesNodeDataVolumeArrayOutputWithContext(ctx context.Context) GetNodesNodeDataVolumeArrayOutput

type GetNodesNodeDataVolumeInput

type GetNodesNodeDataVolumeInput interface {
	pulumi.Input

	ToGetNodesNodeDataVolumeOutput() GetNodesNodeDataVolumeOutput
	ToGetNodesNodeDataVolumeOutputWithContext(context.Context) GetNodesNodeDataVolumeOutput
}

GetNodesNodeDataVolumeInput is an input type that accepts GetNodesNodeDataVolumeArgs and GetNodesNodeDataVolumeOutput values. You can construct a concrete instance of `GetNodesNodeDataVolumeInput` via:

GetNodesNodeDataVolumeArgs{...}

type GetNodesNodeDataVolumeOutput

type GetNodesNodeDataVolumeOutput struct{ *pulumi.OutputState }

func (GetNodesNodeDataVolumeOutput) ElementType

func (GetNodesNodeDataVolumeOutput) ExtendParams

Disk expansion parameters.

func (GetNodesNodeDataVolumeOutput) Size

Disk size in GB.

func (GetNodesNodeDataVolumeOutput) ToGetNodesNodeDataVolumeOutput

func (o GetNodesNodeDataVolumeOutput) ToGetNodesNodeDataVolumeOutput() GetNodesNodeDataVolumeOutput

func (GetNodesNodeDataVolumeOutput) ToGetNodesNodeDataVolumeOutputWithContext

func (o GetNodesNodeDataVolumeOutput) ToGetNodesNodeDataVolumeOutputWithContext(ctx context.Context) GetNodesNodeDataVolumeOutput

func (GetNodesNodeDataVolumeOutput) Volumetype

Disk type.

type GetNodesNodeInput

type GetNodesNodeInput interface {
	pulumi.Input

	ToGetNodesNodeOutput() GetNodesNodeOutput
	ToGetNodesNodeOutputWithContext(context.Context) GetNodesNodeOutput
}

GetNodesNodeInput is an input type that accepts GetNodesNodeArgs and GetNodesNodeOutput values. You can construct a concrete instance of `GetNodesNodeInput` via:

GetNodesNodeArgs{...}

type GetNodesNodeOutput

type GetNodesNodeOutput struct{ *pulumi.OutputState }

func (GetNodesNodeOutput) AvailabilityZone

func (o GetNodesNodeOutput) AvailabilityZone() pulumi.StringOutput

The available partitions where the node is located.

func (GetNodesNodeOutput) BillingMode

func (o GetNodesNodeOutput) BillingMode() pulumi.IntOutput

The node's billing mode: The value is 0 (on demand).

func (GetNodesNodeOutput) DataVolumes

The data related configuration. Structure is documented below.

func (GetNodesNodeOutput) EcsGroupId

func (o GetNodesNodeOutput) EcsGroupId() pulumi.StringOutput

The ID of ECS group to which the node belongs.

func (GetNodesNodeOutput) ElementType

func (GetNodesNodeOutput) ElementType() reflect.Type

func (GetNodesNodeOutput) FlavorId

func (o GetNodesNodeOutput) FlavorId() pulumi.StringOutput

The flavor ID to be used.

func (GetNodesNodeOutput) Id

The ID of the node.

func (GetNodesNodeOutput) KeyPair

The key pair name when logging in to select the key pair mode.

func (GetNodesNodeOutput) Name

Specifies the of the node.

func (GetNodesNodeOutput) Os

The operating System of the node.

func (GetNodesNodeOutput) PrivateIp

func (o GetNodesNodeOutput) PrivateIp() pulumi.StringOutput

The private IP of the node.

func (GetNodesNodeOutput) PublicIp

func (o GetNodesNodeOutput) PublicIp() pulumi.StringOutput

The elastic IP parameters of the node.

func (GetNodesNodeOutput) RootVolumes

The system disk related configuration. Structure is documented below.

func (GetNodesNodeOutput) ServerId

func (o GetNodesNodeOutput) ServerId() pulumi.StringOutput

The node's virtual machine ID in ECS.

func (GetNodesNodeOutput) Status

Specifies the status of the node.

func (GetNodesNodeOutput) SubnetId

func (o GetNodesNodeOutput) SubnetId() pulumi.StringOutput

The ID of the subnet to which the NIC belongs.

func (GetNodesNodeOutput) Tags

The tags of a VM node, key/value pair format.

func (GetNodesNodeOutput) ToGetNodesNodeOutput

func (o GetNodesNodeOutput) ToGetNodesNodeOutput() GetNodesNodeOutput

func (GetNodesNodeOutput) ToGetNodesNodeOutputWithContext

func (o GetNodesNodeOutput) ToGetNodesNodeOutputWithContext(ctx context.Context) GetNodesNodeOutput

type GetNodesNodeRootVolume

type GetNodesNodeRootVolume struct {
	// Disk expansion parameters.
	ExtendParams map[string]string `pulumi:"extendParams"`
	// Disk size in GB.
	Size int `pulumi:"size"`
	// Disk type.
	Volumetype string `pulumi:"volumetype"`
}

type GetNodesNodeRootVolumeArgs

type GetNodesNodeRootVolumeArgs struct {
	// Disk expansion parameters.
	ExtendParams pulumi.StringMapInput `pulumi:"extendParams"`
	// Disk size in GB.
	Size pulumi.IntInput `pulumi:"size"`
	// Disk type.
	Volumetype pulumi.StringInput `pulumi:"volumetype"`
}

func (GetNodesNodeRootVolumeArgs) ElementType

func (GetNodesNodeRootVolumeArgs) ElementType() reflect.Type

func (GetNodesNodeRootVolumeArgs) ToGetNodesNodeRootVolumeOutput

func (i GetNodesNodeRootVolumeArgs) ToGetNodesNodeRootVolumeOutput() GetNodesNodeRootVolumeOutput

func (GetNodesNodeRootVolumeArgs) ToGetNodesNodeRootVolumeOutputWithContext

func (i GetNodesNodeRootVolumeArgs) ToGetNodesNodeRootVolumeOutputWithContext(ctx context.Context) GetNodesNodeRootVolumeOutput

type GetNodesNodeRootVolumeArray

type GetNodesNodeRootVolumeArray []GetNodesNodeRootVolumeInput

func (GetNodesNodeRootVolumeArray) ElementType

func (GetNodesNodeRootVolumeArray) ToGetNodesNodeRootVolumeArrayOutput

func (i GetNodesNodeRootVolumeArray) ToGetNodesNodeRootVolumeArrayOutput() GetNodesNodeRootVolumeArrayOutput

func (GetNodesNodeRootVolumeArray) ToGetNodesNodeRootVolumeArrayOutputWithContext

func (i GetNodesNodeRootVolumeArray) ToGetNodesNodeRootVolumeArrayOutputWithContext(ctx context.Context) GetNodesNodeRootVolumeArrayOutput

type GetNodesNodeRootVolumeArrayInput

type GetNodesNodeRootVolumeArrayInput interface {
	pulumi.Input

	ToGetNodesNodeRootVolumeArrayOutput() GetNodesNodeRootVolumeArrayOutput
	ToGetNodesNodeRootVolumeArrayOutputWithContext(context.Context) GetNodesNodeRootVolumeArrayOutput
}

GetNodesNodeRootVolumeArrayInput is an input type that accepts GetNodesNodeRootVolumeArray and GetNodesNodeRootVolumeArrayOutput values. You can construct a concrete instance of `GetNodesNodeRootVolumeArrayInput` via:

GetNodesNodeRootVolumeArray{ GetNodesNodeRootVolumeArgs{...} }

type GetNodesNodeRootVolumeArrayOutput

type GetNodesNodeRootVolumeArrayOutput struct{ *pulumi.OutputState }

func (GetNodesNodeRootVolumeArrayOutput) ElementType

func (GetNodesNodeRootVolumeArrayOutput) Index

func (GetNodesNodeRootVolumeArrayOutput) ToGetNodesNodeRootVolumeArrayOutput

func (o GetNodesNodeRootVolumeArrayOutput) ToGetNodesNodeRootVolumeArrayOutput() GetNodesNodeRootVolumeArrayOutput

func (GetNodesNodeRootVolumeArrayOutput) ToGetNodesNodeRootVolumeArrayOutputWithContext

func (o GetNodesNodeRootVolumeArrayOutput) ToGetNodesNodeRootVolumeArrayOutputWithContext(ctx context.Context) GetNodesNodeRootVolumeArrayOutput

type GetNodesNodeRootVolumeInput

type GetNodesNodeRootVolumeInput interface {
	pulumi.Input

	ToGetNodesNodeRootVolumeOutput() GetNodesNodeRootVolumeOutput
	ToGetNodesNodeRootVolumeOutputWithContext(context.Context) GetNodesNodeRootVolumeOutput
}

GetNodesNodeRootVolumeInput is an input type that accepts GetNodesNodeRootVolumeArgs and GetNodesNodeRootVolumeOutput values. You can construct a concrete instance of `GetNodesNodeRootVolumeInput` via:

GetNodesNodeRootVolumeArgs{...}

type GetNodesNodeRootVolumeOutput

type GetNodesNodeRootVolumeOutput struct{ *pulumi.OutputState }

func (GetNodesNodeRootVolumeOutput) ElementType

func (GetNodesNodeRootVolumeOutput) ExtendParams

Disk expansion parameters.

func (GetNodesNodeRootVolumeOutput) Size

Disk size in GB.

func (GetNodesNodeRootVolumeOutput) ToGetNodesNodeRootVolumeOutput

func (o GetNodesNodeRootVolumeOutput) ToGetNodesNodeRootVolumeOutput() GetNodesNodeRootVolumeOutput

func (GetNodesNodeRootVolumeOutput) ToGetNodesNodeRootVolumeOutputWithContext

func (o GetNodesNodeRootVolumeOutput) ToGetNodesNodeRootVolumeOutputWithContext(ctx context.Context) GetNodesNodeRootVolumeOutput

func (GetNodesNodeRootVolumeOutput) Volumetype

Disk type.

type GetNodesOutputArgs

type GetNodesOutputArgs struct {
	// Specifies the ID of CCE cluster.
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// Specifies the of the node.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Specifies the ID of the node.
	NodeId pulumi.StringPtrInput `pulumi:"nodeId"`
	// Specifies the region in which to obtain the CCE nodes. If omitted, the provider-level
	// region will be used.
	Region pulumi.StringPtrInput `pulumi:"region"`
	// Specifies the status of the node.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getNodes.

func (GetNodesOutputArgs) ElementType

func (GetNodesOutputArgs) ElementType() reflect.Type

type GetNodesResult

type GetNodesResult struct {
	ClusterId string `pulumi:"clusterId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Indicates a list of IDs of all CCE nodes found.
	Ids []string `pulumi:"ids"`
	// The name of the node.
	Name   *string `pulumi:"name"`
	NodeId *string `pulumi:"nodeId"`
	// Indicates a list of CCE nodes found. Structure is documented below.
	Nodes  []GetNodesNode `pulumi:"nodes"`
	Region string         `pulumi:"region"`
	// The state of the node.
	Status *string `pulumi:"status"`
}

A collection of values returned by getNodes.

func GetNodes

func GetNodes(ctx *pulumi.Context, args *GetNodesArgs, opts ...pulumi.InvokeOption) (*GetNodesResult, error)

Use this data source to get a list of CCE nodes.

## Example Usage

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Cce"
"github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/Cce"
"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, "")
		clusterId := cfg.RequireObject("clusterId")
		nodeName := cfg.RequireObject("nodeName")
		_, err := Cce.GetNodes(ctx, &cce.GetNodesArgs{
			ClusterId: clusterId,
			Name:      pulumi.StringRef(nodeName),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetNodesResultOutput

type GetNodesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getNodes.

func (GetNodesResultOutput) ClusterId

func (GetNodesResultOutput) ElementType

func (GetNodesResultOutput) ElementType() reflect.Type

func (GetNodesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetNodesResultOutput) Ids

Indicates a list of IDs of all CCE nodes found.

func (GetNodesResultOutput) Name

The name of the node.

func (GetNodesResultOutput) NodeId

func (GetNodesResultOutput) Nodes

Indicates a list of CCE nodes found. Structure is documented below.

func (GetNodesResultOutput) Region

func (GetNodesResultOutput) Status

The state of the node.

func (GetNodesResultOutput) ToGetNodesResultOutput

func (o GetNodesResultOutput) ToGetNodesResultOutput() GetNodesResultOutput

func (GetNodesResultOutput) ToGetNodesResultOutputWithContext

func (o GetNodesResultOutput) ToGetNodesResultOutputWithContext(ctx context.Context) GetNodesResultOutput

type LookupClusterArgs

type LookupClusterArgs struct {
	// Specifies the type of the cluster. Possible values: **VirtualMachine**, **ARM64**.
	ClusterType *string `pulumi:"clusterType"`
	// Specifies the ID of the cluster.
	Id *string `pulumi:"id"`
	// Specifies the name of the cluster.
	Name *string `pulumi:"name"`
	// Specifies the region in which to obtain the CCE cluster. If omitted, the provider-level
	// region will be used.
	Region *string `pulumi:"region"`
	// Specifies the status of the cluster.
	Status *string `pulumi:"status"`
	// Specifies the VPC ID to which the cluster belongs.
	VpcId *string `pulumi:"vpcId"`
}

A collection of arguments for invoking getCluster.

type LookupClusterOutputArgs

type LookupClusterOutputArgs struct {
	// Specifies the type of the cluster. Possible values: **VirtualMachine**, **ARM64**.
	ClusterType pulumi.StringPtrInput `pulumi:"clusterType"`
	// Specifies the ID of the cluster.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// Specifies the name of the cluster.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Specifies the region in which to obtain the CCE cluster. If omitted, the provider-level
	// region will be used.
	Region pulumi.StringPtrInput `pulumi:"region"`
	// Specifies the status of the cluster.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// Specifies the VPC ID to which the cluster belongs.
	VpcId pulumi.StringPtrInput `pulumi:"vpcId"`
}

A collection of arguments for invoking getCluster.

func (LookupClusterOutputArgs) ElementType

func (LookupClusterOutputArgs) ElementType() reflect.Type

type LookupClusterResult

type LookupClusterResult struct {
	// Authentication mode of the cluster, possible values are x509 and rbac. Defaults to **rbac**.
	AuthenticationMode string `pulumi:"authenticationMode"`
	// Charging mode of the cluster.
	BillingMode int `pulumi:"billingMode"`
	// The certificate clusters. Structure is documented below.
	CertificateClusters []GetClusterCertificateCluster `pulumi:"certificateClusters"`
	// The certificate users. Structure is documented below.
	CertificateUsers []GetClusterCertificateUser `pulumi:"certificateUsers"`
	ClusterType      string                      `pulumi:"clusterType"`
	// The version of cluster in string format.
	ClusterVersion string `pulumi:"clusterVersion"`
	// The container network segment.
	ContainerNetworkCidr string `pulumi:"containerNetworkCidr"`
	// The container network type: **overlay_l2** , **underlay_ipvlan**, **vpc-router** or **eni**.
	ContainerNetworkType string `pulumi:"containerNetworkType"`
	// Cluster description.
	Description string `pulumi:"description"`
	// The access addresses of kube-apiserver in the cluster. Structure is documented below.
	Endpoints []GetClusterEndpoint `pulumi:"endpoints"`
	// ENI network segment. Specified when creating a CCE Turbo cluster.
	EniSubnetCidr string `pulumi:"eniSubnetCidr"`
	// The **IPv4 subnet ID** of the subnet where the ENI resides.
	// Specified when creating a CCE Turbo cluster.
	EniSubnetId string `pulumi:"eniSubnetId"`
	// The enterprise project ID of the CCE cluster.
	EnterpriseProjectId string `pulumi:"enterpriseProjectId"`
	// The cluster specification in string format.
	FlavorId string `pulumi:"flavorId"`
	// The ID of the high speed network used to create bare metal nodes.
	HighwaySubnetId string `pulumi:"highwaySubnetId"`
	Id              string `pulumi:"id"`
	// Raw Kubernetes config to be used by kubectl and other compatible tools.
	KubeConfigRaw string `pulumi:"kubeConfigRaw"`
	// Advanced configuration of master nodes. Structure is documented below.
	Masters []GetClusterMaster `pulumi:"masters"`
	// The user name.
	Name   string `pulumi:"name"`
	Region string `pulumi:"region"`
	// Security group ID of the cluster.
	SecurityGroupId string `pulumi:"securityGroupId"`
	// The service network segment.
	ServiceNetworkCidr string `pulumi:"serviceNetworkCidr"`
	Status             string `pulumi:"status"`
	// The ID of the subnet used to create the node.
	SubnetId string `pulumi:"subnetId"`
	VpcId    string `pulumi:"vpcId"`
}

A collection of values returned by getCluster.

func LookupCluster

func LookupCluster(ctx *pulumi.Context, args *LookupClusterArgs, opts ...pulumi.InvokeOption) (*LookupClusterResult, error)

Provides details about the cluster and obtains certificate for accessing cluster information.

## Example Usage

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Cce"
"github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/Cce"
"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, "")
		clusterName := cfg.RequireObject("clusterName")
		_, err := Cce.GetCluster(ctx, &cce.GetClusterArgs{
			Name:   pulumi.StringRef(clusterName),
			Status: pulumi.StringRef("Available"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupClusterResultOutput

type LookupClusterResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCluster.

func (LookupClusterResultOutput) AuthenticationMode

func (o LookupClusterResultOutput) AuthenticationMode() pulumi.StringOutput

Authentication mode of the cluster, possible values are x509 and rbac. Defaults to **rbac**.

func (LookupClusterResultOutput) BillingMode

func (o LookupClusterResultOutput) BillingMode() pulumi.IntOutput

Charging mode of the cluster.

func (LookupClusterResultOutput) CertificateClusters

The certificate clusters. Structure is documented below.

func (LookupClusterResultOutput) CertificateUsers

The certificate users. Structure is documented below.

func (LookupClusterResultOutput) ClusterType

func (LookupClusterResultOutput) ClusterVersion

func (o LookupClusterResultOutput) ClusterVersion() pulumi.StringOutput

The version of cluster in string format.

func (LookupClusterResultOutput) ContainerNetworkCidr

func (o LookupClusterResultOutput) ContainerNetworkCidr() pulumi.StringOutput

The container network segment.

func (LookupClusterResultOutput) ContainerNetworkType

func (o LookupClusterResultOutput) ContainerNetworkType() pulumi.StringOutput

The container network type: **overlay_l2** , **underlay_ipvlan**, **vpc-router** or **eni**.

func (LookupClusterResultOutput) Description

Cluster description.

func (LookupClusterResultOutput) ElementType

func (LookupClusterResultOutput) ElementType() reflect.Type

func (LookupClusterResultOutput) Endpoints

The access addresses of kube-apiserver in the cluster. Structure is documented below.

func (LookupClusterResultOutput) EniSubnetCidr

func (o LookupClusterResultOutput) EniSubnetCidr() pulumi.StringOutput

ENI network segment. Specified when creating a CCE Turbo cluster.

func (LookupClusterResultOutput) EniSubnetId

The **IPv4 subnet ID** of the subnet where the ENI resides. Specified when creating a CCE Turbo cluster.

func (LookupClusterResultOutput) EnterpriseProjectId

func (o LookupClusterResultOutput) EnterpriseProjectId() pulumi.StringOutput

The enterprise project ID of the CCE cluster.

func (LookupClusterResultOutput) FlavorId

The cluster specification in string format.

func (LookupClusterResultOutput) HighwaySubnetId

func (o LookupClusterResultOutput) HighwaySubnetId() pulumi.StringOutput

The ID of the high speed network used to create bare metal nodes.

func (LookupClusterResultOutput) Id

func (LookupClusterResultOutput) KubeConfigRaw

func (o LookupClusterResultOutput) KubeConfigRaw() pulumi.StringOutput

Raw Kubernetes config to be used by kubectl and other compatible tools.

func (LookupClusterResultOutput) Masters

Advanced configuration of master nodes. Structure is documented below.

func (LookupClusterResultOutput) Name

The user name.

func (LookupClusterResultOutput) Region

func (LookupClusterResultOutput) SecurityGroupId

func (o LookupClusterResultOutput) SecurityGroupId() pulumi.StringOutput

Security group ID of the cluster.

func (LookupClusterResultOutput) ServiceNetworkCidr

func (o LookupClusterResultOutput) ServiceNetworkCidr() pulumi.StringOutput

The service network segment.

func (LookupClusterResultOutput) Status

func (LookupClusterResultOutput) SubnetId

The ID of the subnet used to create the node.

func (LookupClusterResultOutput) ToLookupClusterResultOutput

func (o LookupClusterResultOutput) ToLookupClusterResultOutput() LookupClusterResultOutput

func (LookupClusterResultOutput) ToLookupClusterResultOutputWithContext

func (o LookupClusterResultOutput) ToLookupClusterResultOutputWithContext(ctx context.Context) LookupClusterResultOutput

func (LookupClusterResultOutput) VpcId

type LookupNodeArgs

type LookupNodeArgs struct {
	// Specifies the ID of container cluster.
	ClusterId string `pulumi:"clusterId"`
	// Specifies the name of the node.
	Name *string `pulumi:"name"`
	// Specifies the ID of the node.
	NodeId *string `pulumi:"nodeId"`
	// Specifies the region in which to obtain the CCE nodes.
	// If omitted, the provider-level region will be used.
	Region *string `pulumi:"region"`
	// Specifies the state of the node.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getNode.

type LookupNodeOutputArgs

type LookupNodeOutputArgs struct {
	// Specifies the ID of container cluster.
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// Specifies the name of the node.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Specifies the ID of the node.
	NodeId pulumi.StringPtrInput `pulumi:"nodeId"`
	// Specifies the region in which to obtain the CCE nodes.
	// If omitted, the provider-level region will be used.
	Region pulumi.StringPtrInput `pulumi:"region"`
	// Specifies the state of the node.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getNode.

func (LookupNodeOutputArgs) ElementType

func (LookupNodeOutputArgs) ElementType() reflect.Type

type LookupNodePoolArgs

type LookupNodePoolArgs struct {
	// Specifies the ID of container cluster.
	ClusterId string `pulumi:"clusterId"`
	// Specifies the name of the node pool.
	Name *string `pulumi:"name"`
	// Specifies the ID of the node pool.
	NodePoolId *string `pulumi:"nodePoolId"`
	// Specifies the region in which to obtain the CCE node pools.
	// If omitted, the provider-level region will be used.
	Region *string `pulumi:"region"`
	// Specifies the state of the node pool.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getNodePool.

type LookupNodePoolOutputArgs

type LookupNodePoolOutputArgs struct {
	// Specifies the ID of container cluster.
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// Specifies the name of the node pool.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Specifies the ID of the node pool.
	NodePoolId pulumi.StringPtrInput `pulumi:"nodePoolId"`
	// Specifies the region in which to obtain the CCE node pools.
	// If omitted, the provider-level region will be used.
	Region pulumi.StringPtrInput `pulumi:"region"`
	// Specifies the state of the node pool.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getNodePool.

func (LookupNodePoolOutputArgs) ElementType

func (LookupNodePoolOutputArgs) ElementType() reflect.Type

type LookupNodePoolResult

type LookupNodePoolResult struct {
	// The name of the available partition (AZ).
	AvailabilityZone string `pulumi:"availabilityZone"`
	ClusterId        string `pulumi:"clusterId"`
	// Current number of nodes in the node pool.
	CurrentNodeCount int `pulumi:"currentNodeCount"`
	// Represents the data disk to be created. Structure is documented below.
	DataVolumes []GetNodePoolDataVolume `pulumi:"dataVolumes"`
	// Extended parameter.
	ExtendParam map[string]string `pulumi:"extendParam"`
	// The flavor ID.
	FlavorId string `pulumi:"flavorId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Initial number of nodes in the node pool.
	InitialNodeCount int `pulumi:"initialNodeCount"`
	// Key pair name when logging in to select the key pair mode.
	KeyPair string `pulumi:"keyPair"`
	// Tags of a Kubernetes node, key/value pair format.
	Labels map[string]string `pulumi:"labels"`
	// Maximum number of nodes allowed if auto scaling is enabled.
	MaxNodeCount int `pulumi:"maxNodeCount"`
	// The maximum number of instances a node is allowed to create.
	MaxPods int `pulumi:"maxPods"`
	// Minimum number of nodes allowed if auto scaling is enabled.
	MinNodeCount int    `pulumi:"minNodeCount"`
	Name         string `pulumi:"name"`
	NodePoolId   string `pulumi:"nodePoolId"`
	// Operating System of the node.
	Os string `pulumi:"os"`
	// Weight of a node pool. A node pool with a higher weight has a higher priority during scaling.
	Priority int    `pulumi:"priority"`
	Region   string `pulumi:"region"`
	// It corresponds to the system disk related configuration. Structure is documented below.
	RootVolumes []GetNodePoolRootVolume `pulumi:"rootVolumes"`
	// Interval between two scaling operations, in minutes.
	ScaleDownCooldownTime int `pulumi:"scaleDownCooldownTime"`
	// Whether auto scaling is enabled.
	ScallEnable bool   `pulumi:"scallEnable"`
	Status      string `pulumi:"status"`
	// The ID of the subnet to which the NIC belongs.
	SubnetId string `pulumi:"subnetId"`
	// Tags of a VM node, key/value pair format.
	Tags map[string]string `pulumi:"tags"`
	// Node Pool type.
	Type string `pulumi:"type"`
}

A collection of values returned by getNodePool.

func LookupNodePool

func LookupNodePool(ctx *pulumi.Context, args *LookupNodePoolArgs, opts ...pulumi.InvokeOption) (*LookupNodePoolResult, error)

To get the specified node pool in a cluster.

## Example Usage

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Cce"
"github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/Cce"
"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, "")
		clusterId := cfg.RequireObject("clusterId")
		nodePoolName := cfg.RequireObject("nodePoolName")
		_, err := Cce.GetNodePool(ctx, &cce.GetNodePoolArgs{
			ClusterId: clusterId,
			Name:      pulumi.StringRef(nodePoolName),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupNodePoolResultOutput

type LookupNodePoolResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getNodePool.

func (LookupNodePoolResultOutput) AvailabilityZone

func (o LookupNodePoolResultOutput) AvailabilityZone() pulumi.StringOutput

The name of the available partition (AZ).

func (LookupNodePoolResultOutput) ClusterId

func (LookupNodePoolResultOutput) CurrentNodeCount

func (o LookupNodePoolResultOutput) CurrentNodeCount() pulumi.IntOutput

Current number of nodes in the node pool.

func (LookupNodePoolResultOutput) DataVolumes

Represents the data disk to be created. Structure is documented below.

func (LookupNodePoolResultOutput) ElementType

func (LookupNodePoolResultOutput) ElementType() reflect.Type

func (LookupNodePoolResultOutput) ExtendParam

Extended parameter.

func (LookupNodePoolResultOutput) FlavorId

The flavor ID.

func (LookupNodePoolResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupNodePoolResultOutput) InitialNodeCount

func (o LookupNodePoolResultOutput) InitialNodeCount() pulumi.IntOutput

Initial number of nodes in the node pool.

func (LookupNodePoolResultOutput) KeyPair

Key pair name when logging in to select the key pair mode.

func (LookupNodePoolResultOutput) Labels

Tags of a Kubernetes node, key/value pair format.

func (LookupNodePoolResultOutput) MaxNodeCount

func (o LookupNodePoolResultOutput) MaxNodeCount() pulumi.IntOutput

Maximum number of nodes allowed if auto scaling is enabled.

func (LookupNodePoolResultOutput) MaxPods

The maximum number of instances a node is allowed to create.

func (LookupNodePoolResultOutput) MinNodeCount

func (o LookupNodePoolResultOutput) MinNodeCount() pulumi.IntOutput

Minimum number of nodes allowed if auto scaling is enabled.

func (LookupNodePoolResultOutput) Name

func (LookupNodePoolResultOutput) NodePoolId

func (LookupNodePoolResultOutput) Os

Operating System of the node.

func (LookupNodePoolResultOutput) Priority

Weight of a node pool. A node pool with a higher weight has a higher priority during scaling.

func (LookupNodePoolResultOutput) Region

func (LookupNodePoolResultOutput) RootVolumes

It corresponds to the system disk related configuration. Structure is documented below.

func (LookupNodePoolResultOutput) ScaleDownCooldownTime

func (o LookupNodePoolResultOutput) ScaleDownCooldownTime() pulumi.IntOutput

Interval between two scaling operations, in minutes.

func (LookupNodePoolResultOutput) ScallEnable

Whether auto scaling is enabled.

func (LookupNodePoolResultOutput) Status

func (LookupNodePoolResultOutput) SubnetId

The ID of the subnet to which the NIC belongs.

func (LookupNodePoolResultOutput) Tags

Tags of a VM node, key/value pair format.

func (LookupNodePoolResultOutput) ToLookupNodePoolResultOutput

func (o LookupNodePoolResultOutput) ToLookupNodePoolResultOutput() LookupNodePoolResultOutput

func (LookupNodePoolResultOutput) ToLookupNodePoolResultOutputWithContext

func (o LookupNodePoolResultOutput) ToLookupNodePoolResultOutputWithContext(ctx context.Context) LookupNodePoolResultOutput

func (LookupNodePoolResultOutput) Type

Node Pool type.

type LookupNodeResult

type LookupNodeResult struct {
	// Available partitions where the node is located.
	AvailabilityZone string `pulumi:"availabilityZone"`
	// Node's billing mode: The value is 0 (on demand).
	BillingMode int    `pulumi:"billingMode"`
	ClusterId   string `pulumi:"clusterId"`
	// Represents the data disk to be created. Structure is documented below.
	DataVolumes []GetNodeDataVolume `pulumi:"dataVolumes"`
	// The ID of ECS group to which the node belongs.
	EcsGroupId string `pulumi:"ecsGroupId"`
	// The flavor ID to be used.
	FlavorId string `pulumi:"flavorId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Key pair name when logging in to select the key pair mode.
	KeyPair string `pulumi:"keyPair"`
	Name    string `pulumi:"name"`
	NodeId  string `pulumi:"nodeId"`
	// Operating System of the node.
	Os string `pulumi:"os"`
	// Private IP of the node.
	PrivateIp string `pulumi:"privateIp"`
	// Elastic IP parameters of the node.
	PublicIp string `pulumi:"publicIp"`
	Region   string `pulumi:"region"`
	// It corresponds to the system disk related configuration. Structure is documented below.
	RootVolumes []GetNodeRootVolume `pulumi:"rootVolumes"`
	// The node's virtual machine ID in ECS.
	ServerId string `pulumi:"serverId"`
	Status   string `pulumi:"status"`
	// The ID of the subnet to which the NIC belongs.
	SubnetId string `pulumi:"subnetId"`
	// Tags of a VM node, key/value pair format.
	Tags map[string]string `pulumi:"tags"`
}

A collection of values returned by getNode.

func LookupNode

func LookupNode(ctx *pulumi.Context, args *LookupNodeArgs, opts ...pulumi.InvokeOption) (*LookupNodeResult, error)

To get the specified node in a cluster.

## Example Usage

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Cce"
"github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/Cce"
"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, "")
		clusterId := cfg.RequireObject("clusterId")
		nodeName := cfg.RequireObject("nodeName")
		_, err := Cce.GetNode(ctx, &cce.GetNodeArgs{
			ClusterId: clusterId,
			Name:      pulumi.StringRef(nodeName),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupNodeResultOutput

type LookupNodeResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getNode.

func (LookupNodeResultOutput) AvailabilityZone

func (o LookupNodeResultOutput) AvailabilityZone() pulumi.StringOutput

Available partitions where the node is located.

func (LookupNodeResultOutput) BillingMode

func (o LookupNodeResultOutput) BillingMode() pulumi.IntOutput

Node's billing mode: The value is 0 (on demand).

func (LookupNodeResultOutput) ClusterId

func (LookupNodeResultOutput) DataVolumes

Represents the data disk to be created. Structure is documented below.

func (LookupNodeResultOutput) EcsGroupId

The ID of ECS group to which the node belongs.

func (LookupNodeResultOutput) ElementType

func (LookupNodeResultOutput) ElementType() reflect.Type

func (LookupNodeResultOutput) FlavorId

The flavor ID to be used.

func (LookupNodeResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupNodeResultOutput) KeyPair

Key pair name when logging in to select the key pair mode.

func (LookupNodeResultOutput) Name

func (LookupNodeResultOutput) NodeId

func (LookupNodeResultOutput) Os

Operating System of the node.

func (LookupNodeResultOutput) PrivateIp

Private IP of the node.

func (LookupNodeResultOutput) PublicIp

Elastic IP parameters of the node.

func (LookupNodeResultOutput) Region

func (LookupNodeResultOutput) RootVolumes

It corresponds to the system disk related configuration. Structure is documented below.

func (LookupNodeResultOutput) ServerId

The node's virtual machine ID in ECS.

func (LookupNodeResultOutput) Status

func (LookupNodeResultOutput) SubnetId

The ID of the subnet to which the NIC belongs.

func (LookupNodeResultOutput) Tags

Tags of a VM node, key/value pair format.

func (LookupNodeResultOutput) ToLookupNodeResultOutput

func (o LookupNodeResultOutput) ToLookupNodeResultOutput() LookupNodeResultOutput

func (LookupNodeResultOutput) ToLookupNodeResultOutputWithContext

func (o LookupNodeResultOutput) ToLookupNodeResultOutputWithContext(ctx context.Context) LookupNodeResultOutput

type Namespace

type Namespace struct {
	pulumi.CustomResourceState

	// Specifies an unstructured key value map for external parameters.
	// Changing this will create a new namespace resource.
	Annotations pulumi.StringMapOutput `pulumi:"annotations"`
	// Specifies the cluster ID to which the CCE namespace belongs.
	// Changing this will create a new namespace resource.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// The server time when namespace was created.
	CreationTimestamp pulumi.StringOutput `pulumi:"creationTimestamp"`
	// Specifies the map of string keys and values for labels.
	// Changing this will create a new namespace resource.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// Specifies the unique name of the namespace.
	// This parameter can contain a maximum of 63 characters, which may consist of lowercase letters, digits and hyphens (-),
	// and must start and end with lowercase letters and digits. Changing this will create a new namespace resource.
	// Exactly one of `name` or `prefix` must be provided.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies a prefix used by the server to generate a unique name.
	// This parameter can contain a maximum of 63 characters, which may consist of lowercase letters, digits and
	// hyphens (-), and must start and end with lowercase letters and digits.
	// Changing this will create a new namespace resource. Exactly one of `name` or `prefix` must be provided.
	Prefix pulumi.StringPtrOutput `pulumi:"prefix"`
	// Specifies the region in which to create the namespace resource.
	// If omitted, the provider-level region will be used. Changing this will create a new namespace resource.
	Region pulumi.StringOutput `pulumi:"region"`
	// The current phase of the namespace.
	Status pulumi.StringOutput `pulumi:"status"`
}

Manages a CCE namespace resource within HuaweiCloud.

## Example Usage ### Basic

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Cce"
"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, "")
		clusterId := cfg.RequireObject("clusterId")
		_, err := Cce.NewNamespace(ctx, "test", &Cce.NamespaceArgs{
			ClusterId: pulumi.Any(clusterId),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

CCE namespace can be imported using the cluster ID and namespace name separated by a slash, e.g.

```sh

$ pulumi import huaweicloud:Cce/namespace:Namespace test bb6923e4-b16e-11eb-b0cd-0255ac101da1/test-namespace

```

func GetNamespace

func GetNamespace(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NamespaceState, opts ...pulumi.ResourceOption) (*Namespace, error)

GetNamespace gets an existing Namespace 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 NewNamespace

func NewNamespace(ctx *pulumi.Context,
	name string, args *NamespaceArgs, opts ...pulumi.ResourceOption) (*Namespace, error)

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

func (*Namespace) ElementType

func (*Namespace) ElementType() reflect.Type

func (*Namespace) ToNamespaceOutput

func (i *Namespace) ToNamespaceOutput() NamespaceOutput

func (*Namespace) ToNamespaceOutputWithContext

func (i *Namespace) ToNamespaceOutputWithContext(ctx context.Context) NamespaceOutput

type NamespaceArgs

type NamespaceArgs struct {
	// Specifies an unstructured key value map for external parameters.
	// Changing this will create a new namespace resource.
	Annotations pulumi.StringMapInput
	// Specifies the cluster ID to which the CCE namespace belongs.
	// Changing this will create a new namespace resource.
	ClusterId pulumi.StringInput
	// Specifies the map of string keys and values for labels.
	// Changing this will create a new namespace resource.
	Labels pulumi.StringMapInput
	// Specifies the unique name of the namespace.
	// This parameter can contain a maximum of 63 characters, which may consist of lowercase letters, digits and hyphens (-),
	// and must start and end with lowercase letters and digits. Changing this will create a new namespace resource.
	// Exactly one of `name` or `prefix` must be provided.
	Name pulumi.StringPtrInput
	// Specifies a prefix used by the server to generate a unique name.
	// This parameter can contain a maximum of 63 characters, which may consist of lowercase letters, digits and
	// hyphens (-), and must start and end with lowercase letters and digits.
	// Changing this will create a new namespace resource. Exactly one of `name` or `prefix` must be provided.
	Prefix pulumi.StringPtrInput
	// Specifies the region in which to create the namespace resource.
	// If omitted, the provider-level region will be used. Changing this will create a new namespace resource.
	Region pulumi.StringPtrInput
}

The set of arguments for constructing a Namespace resource.

func (NamespaceArgs) ElementType

func (NamespaceArgs) ElementType() reflect.Type

type NamespaceArray

type NamespaceArray []NamespaceInput

func (NamespaceArray) ElementType

func (NamespaceArray) ElementType() reflect.Type

func (NamespaceArray) ToNamespaceArrayOutput

func (i NamespaceArray) ToNamespaceArrayOutput() NamespaceArrayOutput

func (NamespaceArray) ToNamespaceArrayOutputWithContext

func (i NamespaceArray) ToNamespaceArrayOutputWithContext(ctx context.Context) NamespaceArrayOutput

type NamespaceArrayInput

type NamespaceArrayInput interface {
	pulumi.Input

	ToNamespaceArrayOutput() NamespaceArrayOutput
	ToNamespaceArrayOutputWithContext(context.Context) NamespaceArrayOutput
}

NamespaceArrayInput is an input type that accepts NamespaceArray and NamespaceArrayOutput values. You can construct a concrete instance of `NamespaceArrayInput` via:

NamespaceArray{ NamespaceArgs{...} }

type NamespaceArrayOutput

type NamespaceArrayOutput struct{ *pulumi.OutputState }

func (NamespaceArrayOutput) ElementType

func (NamespaceArrayOutput) ElementType() reflect.Type

func (NamespaceArrayOutput) Index

func (NamespaceArrayOutput) ToNamespaceArrayOutput

func (o NamespaceArrayOutput) ToNamespaceArrayOutput() NamespaceArrayOutput

func (NamespaceArrayOutput) ToNamespaceArrayOutputWithContext

func (o NamespaceArrayOutput) ToNamespaceArrayOutputWithContext(ctx context.Context) NamespaceArrayOutput

type NamespaceInput

type NamespaceInput interface {
	pulumi.Input

	ToNamespaceOutput() NamespaceOutput
	ToNamespaceOutputWithContext(ctx context.Context) NamespaceOutput
}

type NamespaceMap

type NamespaceMap map[string]NamespaceInput

func (NamespaceMap) ElementType

func (NamespaceMap) ElementType() reflect.Type

func (NamespaceMap) ToNamespaceMapOutput

func (i NamespaceMap) ToNamespaceMapOutput() NamespaceMapOutput

func (NamespaceMap) ToNamespaceMapOutputWithContext

func (i NamespaceMap) ToNamespaceMapOutputWithContext(ctx context.Context) NamespaceMapOutput

type NamespaceMapInput

type NamespaceMapInput interface {
	pulumi.Input

	ToNamespaceMapOutput() NamespaceMapOutput
	ToNamespaceMapOutputWithContext(context.Context) NamespaceMapOutput
}

NamespaceMapInput is an input type that accepts NamespaceMap and NamespaceMapOutput values. You can construct a concrete instance of `NamespaceMapInput` via:

NamespaceMap{ "key": NamespaceArgs{...} }

type NamespaceMapOutput

type NamespaceMapOutput struct{ *pulumi.OutputState }

func (NamespaceMapOutput) ElementType

func (NamespaceMapOutput) ElementType() reflect.Type

func (NamespaceMapOutput) MapIndex

func (NamespaceMapOutput) ToNamespaceMapOutput

func (o NamespaceMapOutput) ToNamespaceMapOutput() NamespaceMapOutput

func (NamespaceMapOutput) ToNamespaceMapOutputWithContext

func (o NamespaceMapOutput) ToNamespaceMapOutputWithContext(ctx context.Context) NamespaceMapOutput

type NamespaceOutput

type NamespaceOutput struct{ *pulumi.OutputState }

func (NamespaceOutput) Annotations

func (o NamespaceOutput) Annotations() pulumi.StringMapOutput

Specifies an unstructured key value map for external parameters. Changing this will create a new namespace resource.

func (NamespaceOutput) ClusterId

func (o NamespaceOutput) ClusterId() pulumi.StringOutput

Specifies the cluster ID to which the CCE namespace belongs. Changing this will create a new namespace resource.

func (NamespaceOutput) CreationTimestamp

func (o NamespaceOutput) CreationTimestamp() pulumi.StringOutput

The server time when namespace was created.

func (NamespaceOutput) ElementType

func (NamespaceOutput) ElementType() reflect.Type

func (NamespaceOutput) Labels

Specifies the map of string keys and values for labels. Changing this will create a new namespace resource.

func (NamespaceOutput) Name

Specifies the unique name of the namespace. This parameter can contain a maximum of 63 characters, which may consist of lowercase letters, digits and hyphens (-), and must start and end with lowercase letters and digits. Changing this will create a new namespace resource. Exactly one of `name` or `prefix` must be provided.

func (NamespaceOutput) Prefix

Specifies a prefix used by the server to generate a unique name. This parameter can contain a maximum of 63 characters, which may consist of lowercase letters, digits and hyphens (-), and must start and end with lowercase letters and digits. Changing this will create a new namespace resource. Exactly one of `name` or `prefix` must be provided.

func (NamespaceOutput) Region

func (o NamespaceOutput) Region() pulumi.StringOutput

Specifies the region in which to create the namespace resource. If omitted, the provider-level region will be used. Changing this will create a new namespace resource.

func (NamespaceOutput) Status

func (o NamespaceOutput) Status() pulumi.StringOutput

The current phase of the namespace.

func (NamespaceOutput) ToNamespaceOutput

func (o NamespaceOutput) ToNamespaceOutput() NamespaceOutput

func (NamespaceOutput) ToNamespaceOutputWithContext

func (o NamespaceOutput) ToNamespaceOutputWithContext(ctx context.Context) NamespaceOutput

type NamespaceState

type NamespaceState struct {
	// Specifies an unstructured key value map for external parameters.
	// Changing this will create a new namespace resource.
	Annotations pulumi.StringMapInput
	// Specifies the cluster ID to which the CCE namespace belongs.
	// Changing this will create a new namespace resource.
	ClusterId pulumi.StringPtrInput
	// The server time when namespace was created.
	CreationTimestamp pulumi.StringPtrInput
	// Specifies the map of string keys and values for labels.
	// Changing this will create a new namespace resource.
	Labels pulumi.StringMapInput
	// Specifies the unique name of the namespace.
	// This parameter can contain a maximum of 63 characters, which may consist of lowercase letters, digits and hyphens (-),
	// and must start and end with lowercase letters and digits. Changing this will create a new namespace resource.
	// Exactly one of `name` or `prefix` must be provided.
	Name pulumi.StringPtrInput
	// Specifies a prefix used by the server to generate a unique name.
	// This parameter can contain a maximum of 63 characters, which may consist of lowercase letters, digits and
	// hyphens (-), and must start and end with lowercase letters and digits.
	// Changing this will create a new namespace resource. Exactly one of `name` or `prefix` must be provided.
	Prefix pulumi.StringPtrInput
	// Specifies the region in which to create the namespace resource.
	// If omitted, the provider-level region will be used. Changing this will create a new namespace resource.
	Region pulumi.StringPtrInput
	// The current phase of the namespace.
	Status pulumi.StringPtrInput
}

func (NamespaceState) ElementType

func (NamespaceState) ElementType() reflect.Type

type Node

type Node struct {
	pulumi.CustomResourceState

	// schema: Internal
	Annotations pulumi.StringMapOutput `pulumi:"annotations"`
	// Deprecated: Deprecated
	AutoPay pulumi.StringPtrOutput `pulumi:"autoPay"`
	// Specifies whether auto renew is enabled. Valid values are "true" and "false".
	AutoRenew pulumi.StringPtrOutput `pulumi:"autoRenew"`
	// Specifies the name of the available partition (AZ). Changing this
	// parameter will create a new resource.
	AvailabilityZone pulumi.StringOutput `pulumi:"availabilityZone"`
	// Specifies the bandwidth billing type.
	// Changing this parameter will create a new resource.
	BandwidthChargeMode pulumi.StringPtrOutput `pulumi:"bandwidthChargeMode"`
	// Specifies the bandwidth size.
	// Changing this parameter will create a new resource.
	BandwidthSize pulumi.IntPtrOutput `pulumi:"bandwidthSize"`
	// Deprecated: use charging_mode instead
	BillingMode pulumi.IntOutput `pulumi:"billingMode"`
	// Specifies the charging mode of the CCE node. Valid values are *prePaid*
	// and *postPaid*, defaults to *postPaid*. Changing this creates a new resource.
	ChargingMode pulumi.StringOutput `pulumi:"chargingMode"`
	// Specifies the ID of the cluster.
	// Changing this parameter will create a new resource.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// Specifies the configurations of the data disk.
	// Changing this parameter will create a new resource.
	DataVolumes NodeDataVolumeArrayOutput `pulumi:"dataVolumes"`
	// Specifies the ECS group ID. If specified, the node will be created under
	// the cloud server group. Changing this parameter will create a new resource.
	EcsGroupId pulumi.StringPtrOutput `pulumi:"ecsGroupId"`
	// schema: Internal
	EcsPerformanceType pulumi.StringPtrOutput `pulumi:"ecsPerformanceType"`
	// Specifies the ID of the EIP.
	// Changing this parameter will create a new resource.
	EipId pulumi.StringPtrOutput `pulumi:"eipId"`
	// Deprecated: use eip_id instead
	EipIds pulumi.StringArrayOutput `pulumi:"eipIds"`
	// Specifies the extended parameter.
	// Changing this parameter will create a new resource.
	// The available keys are as follows:
	// + **agency_name**: The agency name to provide temporary credentials for CCE node to access other cloud services.
	// + **alpha.cce/NodeImageID**: The custom image ID used to create the BMS nodes.
	// + **dockerBaseSize**: The available disk space of a single docker container on the node in device mapper mode.
	// + **DockerLVMConfigOverride**: Specifies the data disk configurations of Docker.
	ExtendParam pulumi.StringMapOutput `pulumi:"extendParam"`
	// Deprecated: use charging_mode instead
	ExtendParamChargingMode pulumi.IntPtrOutput `pulumi:"extendParamChargingMode"`
	// Specifies the fixed IP of the NIC.
	// Changing this parameter will create a new resource.
	FixedIp pulumi.StringPtrOutput `pulumi:"fixedIp"`
	// Specifies the flavor ID. Changing this parameter will create a new
	// resource.
	FlavorId pulumi.StringOutput `pulumi:"flavorId"`
	// Specifies the elastic IP type.
	// Changing this parameter will create a new resource.
	Iptype pulumi.StringPtrOutput `pulumi:"iptype"`
	// schema: Internal
	KeepEcs pulumi.BoolPtrOutput `pulumi:"keepEcs"`
	// Specifies the key pair name when logging in to select the key pair mode.
	// This parameter and `password` are alternative.
	KeyPair pulumi.StringPtrOutput `pulumi:"keyPair"`
	// Specifies the tags of a Kubernetes node, key/value pair format.
	// Changing this parameter will create a new resource.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// Specifies the maximum number of instances a node is allowed to create.
	// Changing this parameter will create a new resource.
	MaxPods pulumi.IntPtrOutput `pulumi:"maxPods"`
	// Specifies the virtual space name. Currently, only **kubernetes**, **runtime**,
	// and **user** are supported. Changing this parameter will create a new resource.
	Name pulumi.StringOutput `pulumi:"name"`
	// Deprecated: will be removed after v1.26.0
	OrderId pulumi.StringPtrOutput `pulumi:"orderId"`
	// Specifies the operating system of the node.
	// Changing this parameter will create a new resource.
	// + For VM nodes, clusters of v1.13 and later support *EulerOS 2.5* and *CentOS 7.6*.
	// + For BMS nodes purchased in the yearly/monthly billing mode, only *EulerOS 2.3* is supported.
	Os pulumi.StringOutput `pulumi:"os"`
	// schema: Internal
	Partition pulumi.StringPtrOutput `pulumi:"partition"`
	// Specifies the root password when logging in to select the password mode.
	// This parameter can be plain or salted and is alternative to `keyPair`.
	Password pulumi.StringPtrOutput `pulumi:"password"`
	// Specifies the charging period of the CCE node. 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 creates a new resource.
	Period pulumi.IntPtrOutput `pulumi:"period"`
	// Specifies the charging period unit of the CCE node.
	// Valid values are *month* and *year*. This parameter is mandatory if `chargingMode` is set to *prePaid*.
	// Changing this creates a new resource.
	PeriodUnit pulumi.StringPtrOutput `pulumi:"periodUnit"`
	// Specifies the script to be executed after installation.
	// The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
	Postinstall pulumi.StringPtrOutput `pulumi:"postinstall"`
	// Specifies the script to be executed before installation.
	// The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
	Preinstall pulumi.StringPtrOutput `pulumi:"preinstall"`
	// Private IP of the CCE node.
	PrivateIp pulumi.StringOutput `pulumi:"privateIp"`
	// Specifies the private key of the in used `keyPair`. This parameter is mandatory
	// when replacing or unbinding a keypair if the CCE node is in **Active** state.
	PrivateKey pulumi.StringPtrOutput `pulumi:"privateKey"`
	// schema: Internal
	ProductId pulumi.StringPtrOutput `pulumi:"productId"`
	// Public IP of the CCE node.
	PublicIp pulumi.StringOutput `pulumi:"publicIp"`
	// schema: Internal
	PublicKey pulumi.StringPtrOutput `pulumi:"publicKey"`
	// Specifies the region in which to create the CCE node resource.
	// If omitted, the provider-level region will be used. Changing this creates a new CCE node resource.
	Region pulumi.StringOutput `pulumi:"region"`
	// Specifies the configuration of the system disk.
	// Changing this parameter will create a new resource.
	RootVolume NodeRootVolumeOutput `pulumi:"rootVolume"`
	// Specifies the runtime of the CCE node. Valid values are *docker* and
	// *containerd*. Changing this creates a new resource.
	Runtime pulumi.StringOutput `pulumi:"runtime"`
	// ID of the ECS instance associated with the node.
	ServerId pulumi.StringOutput `pulumi:"serverId"`
	// Specifies the bandwidth sharing type.
	// Changing this parameter will create a new resource.
	Sharetype pulumi.StringPtrOutput `pulumi:"sharetype"`
	// The status of the CCE node.
	Status pulumi.StringOutput `pulumi:"status"`
	// Specifies the disk initialization management parameter.
	// If omitted, disks are managed based on the DockerLVMConfigOverride parameter in extendParam.
	// This parameter is supported for clusters of v1.15.11 and later. Changing this parameter will create a new resource.
	Storage NodeStoragePtrOutput `pulumi:"storage"`
	// Specifies the ID of the subnet to which the NIC belongs.
	// Changing this parameter will create a new resource.
	SubnetId pulumi.StringOutput `pulumi:"subnetId"`
	// Specifies the tags of a VM node, key/value pair format.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Specifies the taints configuration of the nodes to set anti-affinity.
	// Changing this parameter will create a new resource. Each taint contains the following parameters:
	Taints NodeTaintArrayOutput `pulumi:"taints"`
}

Add a node to a CCE cluster.

## Basic Usage

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud"
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Cce"
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Dew"
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Ecs"
"github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud"
"github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/Cce"
"github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/Ecs"
"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, "")
		clusterId := cfg.RequireObject("clusterId")
		nodeName := cfg.RequireObject("nodeName")
		keypairName := cfg.RequireObject("keypairName")
		myaz, err := huaweicloud.GetAvailabilityZones(ctx, nil, nil)
		if err != nil {
			return err
		}
		myflavors, err := Ecs.GetFlavors(ctx, &ecs.GetFlavorsArgs{
			AvailabilityZone: pulumi.StringRef(myaz.Names[0]),
			PerformanceType:  pulumi.StringRef("normal"),
			CpuCoreCount:     pulumi.IntRef(2),
			MemorySize:       pulumi.IntRef(4),
		}, nil)
		if err != nil {
			return err
		}
		mykp, err := Dew.NewKeypair(ctx, "mykp", &Dew.KeypairArgs{
			PublicKey: pulumi.String("ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDAjpC1hwiOCCmKEWxJ4qzTTsJbKzndLo1BCz5PcwtUnflmU+gHJtWMZKpuEGVi29h0A/+ydKek1O18k10Ff+4tyFjiHDQAT9+OfgWf7+b1yK+qDip3X1C0UPMbwHlTfSGWLGZquwhvEFx9k3h/M+VtMvwR1lJ9LUyTAImnNjWG7TAIPmui30HvM2UiFEmqkr4ijq45MyX2+fLIePLRIFuu1p4whjHAQYufqyno3BS48icQb4p6iVEZPo4AE2o9oIyQvj2mx4dk5Y8CgSETOZTYDOR3rU2fZTRDRgPJDH9FWvQjF5tA0p3d9CoWWd2s6GKKbfoUIi8R/Db1BSPJwkqB jrp-hp-pc"),
		})
		if err != nil {
			return err
		}
		_, err = Cce.NewNode(ctx, "node", &Cce.NodeArgs{
			ClusterId:        pulumi.Any(clusterId),
			FlavorId:         pulumi.String(myflavors.Ids[0]),
			AvailabilityZone: pulumi.String(myaz.Names[0]),
			KeyPair:          mykp.Name,
			RootVolume: &cce.NodeRootVolumeArgs{
				Size:       pulumi.Int(40),
				Volumetype: pulumi.String("SATA"),
			},
			DataVolumes: cce.NodeDataVolumeArray{
				&cce.NodeDataVolumeArgs{
					Size:       pulumi.Int(100),
					Volumetype: pulumi.String("SATA"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Node with Eip

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud"
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Cce"
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Dew"
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Ecs"
"github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud"
"github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/Cce"
"github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/Ecs"
"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, "")
		clusterId := cfg.RequireObject("clusterId")
		nodeName := cfg.RequireObject("nodeName")
		keypairName := cfg.RequireObject("keypairName")
		myaz, err := huaweicloud.GetAvailabilityZones(ctx, nil, nil)
		if err != nil {
			return err
		}
		_, err = Ecs.GetFlavors(ctx, &ecs.GetFlavorsArgs{
			AvailabilityZone: pulumi.StringRef(myaz.Names[0]),
			PerformanceType:  pulumi.StringRef("normal"),
			CpuCoreCount:     pulumi.IntRef(2),
			MemorySize:       pulumi.IntRef(4),
		}, nil)
		if err != nil {
			return err
		}
		mykp, err := Dew.NewKeypair(ctx, "mykp", &Dew.KeypairArgs{
			PublicKey: pulumi.String("ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDAjpC1hwiOCCmKEWxJ4qzTTsJbKzndLo1BCz5PcwtUnflmU+gHJtWMZKpuEGVi29h0A/+ydKek1O18k10Ff+4tyFjiHDQAT9+OfgWf7+b1yK+qDip3X1C0UPMbwHlTfSGWLGZquwhvEFx9k3h/M+VtMvwR1lJ9LUyTAImnNjWG7TAIPmui30HvM2UiFEmqkr4ijq45MyX2+fLIePLRIFuu1p4whjHAQYufqyno3BS48icQb4p6iVEZPo4AE2o9oIyQvj2mx4dk5Y8CgSETOZTYDOR3rU2fZTRDRgPJDH9FWvQjF5tA0p3d9CoWWd2s6GKKbfoUIi8R/Db1BSPJwkqB jrp-hp-pc"),
		})
		if err != nil {
			return err
		}
		_, err = Cce.NewNode(ctx, "mynode", &Cce.NodeArgs{
			ClusterId:        pulumi.Any(clusterId),
			FlavorId:         pulumi.Any(data.Huaweicloud_compute_flavors.Myflavors.Ids[0]),
			AvailabilityZone: pulumi.String(myaz.Names[0]),
			KeyPair:          mykp.Name,
			RootVolume: &cce.NodeRootVolumeArgs{
				Size:       pulumi.Int(40),
				Volumetype: pulumi.String("SATA"),
			},
			DataVolumes: cce.NodeDataVolumeArray{
				&cce.NodeDataVolumeArgs{
					Size:       pulumi.Int(100),
					Volumetype: pulumi.String("SATA"),
				},
			},
			Iptype:              pulumi.String("5_bgp"),
			BandwidthChargeMode: pulumi.String("traffic"),
			Sharetype:           pulumi.String("PER"),
			BandwidthSize:       pulumi.Int(100),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Node with Existing Eip

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud"
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Cce"
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Dew"
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Ecs"
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Vpc"
"github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud"
"github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/Cce"
"github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/Ecs"
"github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/Vpc"
"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, "")
		clusterId := cfg.RequireObject("clusterId")
		nodeName := cfg.RequireObject("nodeName")
		keypairName := cfg.RequireObject("keypairName")
		myaz, err := huaweicloud.GetAvailabilityZones(ctx, nil, nil)
		if err != nil {
			return err
		}
		_, err = Ecs.GetFlavors(ctx, &ecs.GetFlavorsArgs{
			AvailabilityZone: pulumi.StringRef(myaz.Names[0]),
			PerformanceType:  pulumi.StringRef("normal"),
			CpuCoreCount:     pulumi.IntRef(2),
			MemorySize:       pulumi.IntRef(4),
		}, nil)
		if err != nil {
			return err
		}
		mykp, err := Dew.NewKeypair(ctx, "mykp", &Dew.KeypairArgs{
			PublicKey: pulumi.String("ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDAjpC1hwiOCCmKEWxJ4qzTTsJbKzndLo1BCz5PcwtUnflmU+gHJtWMZKpuEGVi29h0A/+ydKek1O18k10Ff+4tyFjiHDQAT9+OfgWf7+b1yK+qDip3X1C0UPMbwHlTfSGWLGZquwhvEFx9k3h/M+VtMvwR1lJ9LUyTAImnNjWG7TAIPmui30HvM2UiFEmqkr4ijq45MyX2+fLIePLRIFuu1p4whjHAQYufqyno3BS48icQb4p6iVEZPo4AE2o9oIyQvj2mx4dk5Y8CgSETOZTYDOR3rU2fZTRDRgPJDH9FWvQjF5tA0p3d9CoWWd2s6GKKbfoUIi8R/Db1BSPJwkqB jrp-hp-pc"),
		})
		if err != nil {
			return err
		}
		myeip, err := Vpc.NewEip(ctx, "myeip", &Vpc.EipArgs{
			Publicip: &vpc.EipPublicipArgs{
				Type: pulumi.String("5_bgp"),
			},
			Bandwidth: &vpc.EipBandwidthArgs{
				Name:       pulumi.String("test"),
				Size:       pulumi.Int(8),
				ShareType:  pulumi.String("PER"),
				ChargeMode: pulumi.String("traffic"),
			},
		})
		if err != nil {
			return err
		}
		_, err = Cce.NewNode(ctx, "mynode", &Cce.NodeArgs{
			ClusterId:        pulumi.Any(clusterId),
			FlavorId:         pulumi.Any(data.Huaweicloud_compute_flavors.Myflavors.Ids[0]),
			AvailabilityZone: pulumi.String(myaz.Names[0]),
			KeyPair:          mykp.Name,
			RootVolume: &cce.NodeRootVolumeArgs{
				Size:       pulumi.Int(40),
				Volumetype: pulumi.String("SATA"),
			},
			DataVolumes: cce.NodeDataVolumeArray{
				&cce.NodeDataVolumeArgs{
					Size:       pulumi.Int(100),
					Volumetype: pulumi.String("SATA"),
				},
			},
			EipId: myeip.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Node with storage configuration

```go package main

import (

"fmt"

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud"
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Cce"
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Dew"
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Ecs"
"github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud"
"github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/Cce"
"github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/Ecs"
"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, "")
		clusterId := cfg.RequireObject("clusterId")
		nodeName := cfg.RequireObject("nodeName")
		keypairName := cfg.RequireObject("keypairName")
		kmsKeyName := cfg.RequireObject("kmsKeyName")
		myaz, err := huaweicloud.GetAvailabilityZones(ctx, nil, nil)
		if err != nil {
			return err
		}
		_, err = Ecs.GetFlavors(ctx, &ecs.GetFlavorsArgs{
			AvailabilityZone: pulumi.StringRef(myaz.Names[0]),
			PerformanceType:  pulumi.StringRef("normal"),
			CpuCoreCount:     pulumi.IntRef(2),
			MemorySize:       pulumi.IntRef(4),
		}, nil)
		if err != nil {
			return err
		}
		mykp, err := Dew.NewKeypair(ctx, "mykp", &Dew.KeypairArgs{
			PublicKey: pulumi.String("ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDAjpC1hwiOCCmKEWxJ4qzTTsJbKzndLo1BCz5PcwtUnflmU+gHJtWMZKpuEGVi29h0A/+ydKek1O18k10Ff+4tyFjiHDQAT9+OfgWf7+b1yK+qDip3X1C0UPMbwHlTfSGWLGZquwhvEFx9k3h/M+VtMvwR1lJ9LUyTAImnNjWG7TAIPmui30HvM2UiFEmqkr4ijq45MyX2+fLIePLRIFuu1p4whjHAQYufqyno3BS48icQb4p6iVEZPo4AE2o9oIyQvj2mx4dk5Y8CgSETOZTYDOR3rU2fZTRDRgPJDH9FWvQjF5tA0p3d9CoWWd2s6GKKbfoUIi8R/Db1BSPJwkqB jrp-hp-pc"),
		})
		if err != nil {
			return err
		}
		mykey, err := Dew.NewKey(ctx, "mykey", &Dew.KeyArgs{
			KeyAlias:    pulumi.Any(kmsKeyName),
			PendingDays: pulumi.String("7"),
		})
		if err != nil {
			return err
		}
		_, err = Cce.NewNode(ctx, "mynode", &Cce.NodeArgs{
			ClusterId:        pulumi.Any(clusterId),
			FlavorId:         pulumi.Any(data.Huaweicloud_compute_flavors.Myflavors.Ids[0]),
			AvailabilityZone: pulumi.String(myaz.Names[0]),
			KeyPair:          mykp.Name,
			RootVolume: &cce.NodeRootVolumeArgs{
				Size:       pulumi.Int(40),
				Volumetype: pulumi.String("SSD"),
			},
			DataVolumes: cce.NodeDataVolumeArray{
				&cce.NodeDataVolumeArgs{
					Size:       pulumi.Int(100),
					Volumetype: pulumi.String("SSD"),
				},
				&cce.NodeDataVolumeArgs{
					Size:       pulumi.Int(100),
					Volumetype: pulumi.String("SSD"),
					KmsKeyId:   mykey.ID(),
				},
			},
			Storage: &cce.NodeStorageArgs{
				Selectors: cce.NodeStorageSelectorArray{
					&cce.NodeStorageSelectorArgs{
						Name:            pulumi.String("cceUse"),
						Type:            pulumi.String("evs"),
						MatchLabelSize:  pulumi.String("100"),
						MatchLabelCount: pulumi.String("1"),
					},
					&cce.NodeStorageSelectorArgs{
						Name:                        pulumi.String("user"),
						Type:                        pulumi.String("evs"),
						MatchLabelSize:              pulumi.String("100"),
						MatchLabelMetadataEncrypted: pulumi.String("1"),
						MatchLabelMetadataCmkid:     mykey.ID(),
						MatchLabelCount:             pulumi.String("1"),
					},
				},
				Groups: cce.NodeStorageGroupArray{
					&cce.NodeStorageGroupArgs{
						Name: pulumi.String("vgpaas"),
						SelectorNames: pulumi.StringArray{
							pulumi.String("cceUse"),
						},
						CceManaged: pulumi.Bool(true),
						VirtualSpaces: cce.NodeStorageGroupVirtualSpaceArray{
							&cce.NodeStorageGroupVirtualSpaceArgs{
								Name:      pulumi.String("kubernetes"),
								Size:      pulumi.String(fmt.Sprintf("10%v", "%")),
								LvmLvType: pulumi.String("linear"),
							},
							&cce.NodeStorageGroupVirtualSpaceArgs{
								Name: pulumi.String("runtime"),
								Size: pulumi.String(fmt.Sprintf("90%v", "%")),
							},
						},
					},
					&cce.NodeStorageGroupArgs{
						Name: pulumi.String("vguser"),
						SelectorNames: pulumi.StringArray{
							pulumi.String("user"),
						},
						VirtualSpaces: cce.NodeStorageGroupVirtualSpaceArray{
							&cce.NodeStorageGroupVirtualSpaceArgs{
								Name:      pulumi.String("user"),
								Size:      pulumi.String(fmt.Sprintf("100%v", "%")),
								LvmLvType: pulumi.String("linear"),
								LvmPath:   pulumi.String("/workspace"),
							},
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

CCE node can be imported using the cluster ID and node ID separated by a slash, e.g.bash

```sh

$ pulumi import huaweicloud:Cce/node:Node my_node 5c20fdad-7288-11eb-b817-0255ac10158b/e9287dff-7288-11eb-b817-0255ac10158b

```

Note that the imported state may not be identical to your resource definition, due to some attributes missing from the API response, security or some other reason. The missing attributes include`password`, `fixed_ip`, `eip_id`, `preinstall`, `postinstall`, `iptype`, `bandwidth_charge_mode`, `bandwidth_size`, `share_type`, `max_pods`, `extend_param`, `labels`, `taints` and arguments for pre-paid. It is generally recommended running `terraform plan` after importing a node. You can then decide if changes should be applied to the node, or the resource definition should be updated to align with the node. Also you can ignore changes as below. hcl resource "huaweicloud_cce_node" "my_node" {

...

lifecycle {

ignore_changes = [

extend_param, labels,

]

} }

func GetNode

func GetNode(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NodeState, opts ...pulumi.ResourceOption) (*Node, error)

GetNode gets an existing Node 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 NewNode

func NewNode(ctx *pulumi.Context,
	name string, args *NodeArgs, opts ...pulumi.ResourceOption) (*Node, error)

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

func (*Node) ElementType

func (*Node) ElementType() reflect.Type

func (*Node) ToNodeOutput

func (i *Node) ToNodeOutput() NodeOutput

func (*Node) ToNodeOutputWithContext

func (i *Node) ToNodeOutputWithContext(ctx context.Context) NodeOutput

type NodeArgs

type NodeArgs struct {
	// schema: Internal
	Annotations pulumi.StringMapInput
	// Deprecated: Deprecated
	AutoPay pulumi.StringPtrInput
	// Specifies whether auto renew is enabled. Valid values are "true" and "false".
	AutoRenew pulumi.StringPtrInput
	// Specifies the name of the available partition (AZ). Changing this
	// parameter will create a new resource.
	AvailabilityZone pulumi.StringInput
	// Specifies the bandwidth billing type.
	// Changing this parameter will create a new resource.
	BandwidthChargeMode pulumi.StringPtrInput
	// Specifies the bandwidth size.
	// Changing this parameter will create a new resource.
	BandwidthSize pulumi.IntPtrInput
	// Deprecated: use charging_mode instead
	BillingMode pulumi.IntPtrInput
	// Specifies the charging mode of the CCE node. Valid values are *prePaid*
	// and *postPaid*, defaults to *postPaid*. Changing this creates a new resource.
	ChargingMode pulumi.StringPtrInput
	// Specifies the ID of the cluster.
	// Changing this parameter will create a new resource.
	ClusterId pulumi.StringInput
	// Specifies the configurations of the data disk.
	// Changing this parameter will create a new resource.
	DataVolumes NodeDataVolumeArrayInput
	// Specifies the ECS group ID. If specified, the node will be created under
	// the cloud server group. Changing this parameter will create a new resource.
	EcsGroupId pulumi.StringPtrInput
	// schema: Internal
	EcsPerformanceType pulumi.StringPtrInput
	// Specifies the ID of the EIP.
	// Changing this parameter will create a new resource.
	EipId pulumi.StringPtrInput
	// Deprecated: use eip_id instead
	EipIds pulumi.StringArrayInput
	// Specifies the extended parameter.
	// Changing this parameter will create a new resource.
	// The available keys are as follows:
	// + **agency_name**: The agency name to provide temporary credentials for CCE node to access other cloud services.
	// + **alpha.cce/NodeImageID**: The custom image ID used to create the BMS nodes.
	// + **dockerBaseSize**: The available disk space of a single docker container on the node in device mapper mode.
	// + **DockerLVMConfigOverride**: Specifies the data disk configurations of Docker.
	ExtendParam pulumi.StringMapInput
	// Deprecated: use charging_mode instead
	ExtendParamChargingMode pulumi.IntPtrInput
	// Specifies the fixed IP of the NIC.
	// Changing this parameter will create a new resource.
	FixedIp pulumi.StringPtrInput
	// Specifies the flavor ID. Changing this parameter will create a new
	// resource.
	FlavorId pulumi.StringInput
	// Specifies the elastic IP type.
	// Changing this parameter will create a new resource.
	Iptype pulumi.StringPtrInput
	// schema: Internal
	KeepEcs pulumi.BoolPtrInput
	// Specifies the key pair name when logging in to select the key pair mode.
	// This parameter and `password` are alternative.
	KeyPair pulumi.StringPtrInput
	// Specifies the tags of a Kubernetes node, key/value pair format.
	// Changing this parameter will create a new resource.
	Labels pulumi.StringMapInput
	// Specifies the maximum number of instances a node is allowed to create.
	// Changing this parameter will create a new resource.
	MaxPods pulumi.IntPtrInput
	// Specifies the virtual space name. Currently, only **kubernetes**, **runtime**,
	// and **user** are supported. Changing this parameter will create a new resource.
	Name pulumi.StringPtrInput
	// Deprecated: will be removed after v1.26.0
	OrderId pulumi.StringPtrInput
	// Specifies the operating system of the node.
	// Changing this parameter will create a new resource.
	// + For VM nodes, clusters of v1.13 and later support *EulerOS 2.5* and *CentOS 7.6*.
	// + For BMS nodes purchased in the yearly/monthly billing mode, only *EulerOS 2.3* is supported.
	Os pulumi.StringPtrInput
	// schema: Internal
	Partition pulumi.StringPtrInput
	// Specifies the root password when logging in to select the password mode.
	// This parameter can be plain or salted and is alternative to `keyPair`.
	Password pulumi.StringPtrInput
	// Specifies the charging period of the CCE node. 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 creates a new resource.
	Period pulumi.IntPtrInput
	// Specifies the charging period unit of the CCE node.
	// Valid values are *month* and *year*. This parameter is mandatory if `chargingMode` is set to *prePaid*.
	// Changing this creates a new resource.
	PeriodUnit pulumi.StringPtrInput
	// Specifies the script to be executed after installation.
	// The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
	Postinstall pulumi.StringPtrInput
	// Specifies the script to be executed before installation.
	// The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
	Preinstall pulumi.StringPtrInput
	// Specifies the private key of the in used `keyPair`. This parameter is mandatory
	// when replacing or unbinding a keypair if the CCE node is in **Active** state.
	PrivateKey pulumi.StringPtrInput
	// schema: Internal
	ProductId pulumi.StringPtrInput
	// schema: Internal
	PublicKey pulumi.StringPtrInput
	// Specifies the region in which to create the CCE node resource.
	// If omitted, the provider-level region will be used. Changing this creates a new CCE node resource.
	Region pulumi.StringPtrInput
	// Specifies the configuration of the system disk.
	// Changing this parameter will create a new resource.
	RootVolume NodeRootVolumeInput
	// Specifies the runtime of the CCE node. Valid values are *docker* and
	// *containerd*. Changing this creates a new resource.
	Runtime pulumi.StringPtrInput
	// Specifies the bandwidth sharing type.
	// Changing this parameter will create a new resource.
	Sharetype pulumi.StringPtrInput
	// Specifies the disk initialization management parameter.
	// If omitted, disks are managed based on the DockerLVMConfigOverride parameter in extendParam.
	// This parameter is supported for clusters of v1.15.11 and later. Changing this parameter will create a new resource.
	Storage NodeStoragePtrInput
	// Specifies the ID of the subnet to which the NIC belongs.
	// Changing this parameter will create a new resource.
	SubnetId pulumi.StringPtrInput
	// Specifies the tags of a VM node, key/value pair format.
	Tags pulumi.StringMapInput
	// Specifies the taints configuration of the nodes to set anti-affinity.
	// Changing this parameter will create a new resource. Each taint contains the following parameters:
	Taints NodeTaintArrayInput
}

The set of arguments for constructing a Node resource.

func (NodeArgs) ElementType

func (NodeArgs) ElementType() reflect.Type

type NodeArray

type NodeArray []NodeInput

func (NodeArray) ElementType

func (NodeArray) ElementType() reflect.Type

func (NodeArray) ToNodeArrayOutput

func (i NodeArray) ToNodeArrayOutput() NodeArrayOutput

func (NodeArray) ToNodeArrayOutputWithContext

func (i NodeArray) ToNodeArrayOutputWithContext(ctx context.Context) NodeArrayOutput

type NodeArrayInput

type NodeArrayInput interface {
	pulumi.Input

	ToNodeArrayOutput() NodeArrayOutput
	ToNodeArrayOutputWithContext(context.Context) NodeArrayOutput
}

NodeArrayInput is an input type that accepts NodeArray and NodeArrayOutput values. You can construct a concrete instance of `NodeArrayInput` via:

NodeArray{ NodeArgs{...} }

type NodeArrayOutput

type NodeArrayOutput struct{ *pulumi.OutputState }

func (NodeArrayOutput) ElementType

func (NodeArrayOutput) ElementType() reflect.Type

func (NodeArrayOutput) Index

func (NodeArrayOutput) ToNodeArrayOutput

func (o NodeArrayOutput) ToNodeArrayOutput() NodeArrayOutput

func (NodeArrayOutput) ToNodeArrayOutputWithContext

func (o NodeArrayOutput) ToNodeArrayOutputWithContext(ctx context.Context) NodeArrayOutput

type NodeAttach

type NodeAttach struct {
	pulumi.CustomResourceState

	// The name of the available partition (AZ).
	AvailabilityZone pulumi.StringOutput `pulumi:"availabilityZone"`
	// The charging mode of the CCE node. Valid values are *prePaid* and *postPaid*.
	ChargingMode pulumi.StringOutput `pulumi:"chargingMode"`
	// Specifies the ID of the cluster. Changing this parameter will create a new
	// resource.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// The configurations of the data disk.
	DataVolumes NodeAttachDataVolumeArrayOutput `pulumi:"dataVolumes"`
	// Specifies the available disk space of a single docker container on the
	// node in device mapper mode. Changing this parameter will create a new resource.
	DockerBaseSize pulumi.IntPtrOutput `pulumi:"dockerBaseSize"`
	// The Ecs group ID.
	EcsGroupId pulumi.StringOutput `pulumi:"ecsGroupId"`
	// The flavor ID of the CCE node.
	FlavorId pulumi.StringOutput `pulumi:"flavorId"`
	// schema: Internal
	ImageId pulumi.StringPtrOutput `pulumi:"imageId"`
	// Specifies the key pair name when logging in to select the key pair mode.
	// This parameter and `password` are alternative. Changing this parameter will reset the node.
	KeyPair pulumi.StringPtrOutput `pulumi:"keyPair"`
	// Specifies the tags of a Kubernetes node, key/value pair format.
	// Changing this parameter will create a new resource.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// Specifies the docker data disk configurations. The following is an
	// example:
	LvmConfig pulumi.StringPtrOutput `pulumi:"lvmConfig"`
	// Specifies the the maximum number of instances a node is allowed to create.
	// Changing this parameter will create a new resource.
	MaxPods pulumi.IntPtrOutput `pulumi:"maxPods"`
	// Specifies the Node Name.
	Name pulumi.StringOutput `pulumi:"name"`
	// schema: Internal
	NicMultiQueue pulumi.StringPtrOutput `pulumi:"nicMultiQueue"`
	// schema: Internal
	NicThreshold pulumi.StringPtrOutput `pulumi:"nicThreshold"`
	// Specifies the operating System of the node. Changing this parameter will reset the node.
	// + For VM nodes, clusters of v1.13 and later support *EulerOS 2.5* and *CentOS 7.6*.
	Os pulumi.StringOutput `pulumi:"os"`
	// Specifies the root password when logging in to select the password mode.
	// This parameter can be plain or salted and is alternative to `keyPair`.
	// Changing this parameter will reset the node.
	Password pulumi.StringPtrOutput `pulumi:"password"`
	// Specifies the script required after installation. The input value can be
	// a Base64 encoded string or not. Changing this parameter will create a new resource.
	Postinstall pulumi.StringPtrOutput `pulumi:"postinstall"`
	// Specifies the script required before installation. The input value can be
	// a Base64 encoded string or not. Changing this parameter will create a new resource.
	Preinstall pulumi.StringPtrOutput `pulumi:"preinstall"`
	// Private IP of the CCE node.
	PrivateIp pulumi.StringOutput `pulumi:"privateIp"`
	// Public IP of the CCE node.
	PublicIp pulumi.StringOutput `pulumi:"publicIp"`
	// The region in which to create the CCE node attach resource. If omitted, the
	// provider-level region will be used. Changing this creates a new CCE node attach resource.
	Region pulumi.StringOutput `pulumi:"region"`
	// The configuration of the system disk.
	RootVolumes NodeAttachRootVolumeArrayOutput `pulumi:"rootVolumes"`
	// The runtime of the CCE node.
	Runtime pulumi.StringOutput `pulumi:"runtime"`
	// Specifies the ecs server ID. Changing this parameter will create a new
	// resource.
	ServerId pulumi.StringOutput `pulumi:"serverId"`
	// Node status information.
	Status pulumi.StringOutput `pulumi:"status"`
	// The ID of the subnet to which the NIC belongs.
	SubnetId pulumi.StringOutput `pulumi:"subnetId"`
	// Specifies the tags of a VM node, key/value pair format.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Specifies the taints configuration of the nodes to set anti-affinity.
	// Changing this parameter will create a new resource. Each taint contains the following parameters:
	Taints NodeAttachTaintArrayOutput `pulumi:"taints"`
}

Add a node from an existing ecs server to a CCE cluster.

## Basic Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Cce.NewNodeAttach(ctx, "test", &Cce.NodeAttachArgs{
			ClusterId: pulumi.Any(_var.Cluster_id),
			ServerId:  pulumi.Any(_var.Server_id),
			KeyPair:   pulumi.Any(_var.Keypair_name),
			Os:        pulumi.String("EulerOS 2.5"),
			Tags: pulumi.StringMap{
				"foo": pulumi.String("bar"),
				"key": pulumi.String("value"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetNodeAttach

func GetNodeAttach(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NodeAttachState, opts ...pulumi.ResourceOption) (*NodeAttach, error)

GetNodeAttach gets an existing NodeAttach 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 NewNodeAttach

func NewNodeAttach(ctx *pulumi.Context,
	name string, args *NodeAttachArgs, opts ...pulumi.ResourceOption) (*NodeAttach, error)

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

func (*NodeAttach) ElementType

func (*NodeAttach) ElementType() reflect.Type

func (*NodeAttach) ToNodeAttachOutput

func (i *NodeAttach) ToNodeAttachOutput() NodeAttachOutput

func (*NodeAttach) ToNodeAttachOutputWithContext

func (i *NodeAttach) ToNodeAttachOutputWithContext(ctx context.Context) NodeAttachOutput

type NodeAttachArgs

type NodeAttachArgs struct {
	// Specifies the ID of the cluster. Changing this parameter will create a new
	// resource.
	ClusterId pulumi.StringInput
	// Specifies the available disk space of a single docker container on the
	// node in device mapper mode. Changing this parameter will create a new resource.
	DockerBaseSize pulumi.IntPtrInput
	// schema: Internal
	ImageId pulumi.StringPtrInput
	// Specifies the key pair name when logging in to select the key pair mode.
	// This parameter and `password` are alternative. Changing this parameter will reset the node.
	KeyPair pulumi.StringPtrInput
	// Specifies the tags of a Kubernetes node, key/value pair format.
	// Changing this parameter will create a new resource.
	Labels pulumi.StringMapInput
	// Specifies the docker data disk configurations. The following is an
	// example:
	LvmConfig pulumi.StringPtrInput
	// Specifies the the maximum number of instances a node is allowed to create.
	// Changing this parameter will create a new resource.
	MaxPods pulumi.IntPtrInput
	// Specifies the Node Name.
	Name pulumi.StringPtrInput
	// schema: Internal
	NicMultiQueue pulumi.StringPtrInput
	// schema: Internal
	NicThreshold pulumi.StringPtrInput
	// Specifies the operating System of the node. Changing this parameter will reset the node.
	// + For VM nodes, clusters of v1.13 and later support *EulerOS 2.5* and *CentOS 7.6*.
	Os pulumi.StringInput
	// Specifies the root password when logging in to select the password mode.
	// This parameter can be plain or salted and is alternative to `keyPair`.
	// Changing this parameter will reset the node.
	Password pulumi.StringPtrInput
	// Specifies the script required after installation. The input value can be
	// a Base64 encoded string or not. Changing this parameter will create a new resource.
	Postinstall pulumi.StringPtrInput
	// Specifies the script required before installation. The input value can be
	// a Base64 encoded string or not. Changing this parameter will create a new resource.
	Preinstall pulumi.StringPtrInput
	// The region in which to create the CCE node attach resource. If omitted, the
	// provider-level region will be used. Changing this creates a new CCE node attach resource.
	Region pulumi.StringPtrInput
	// Specifies the ecs server ID. Changing this parameter will create a new
	// resource.
	ServerId pulumi.StringInput
	// Specifies the tags of a VM node, key/value pair format.
	Tags pulumi.StringMapInput
	// Specifies the taints configuration of the nodes to set anti-affinity.
	// Changing this parameter will create a new resource. Each taint contains the following parameters:
	Taints NodeAttachTaintArrayInput
}

The set of arguments for constructing a NodeAttach resource.

func (NodeAttachArgs) ElementType

func (NodeAttachArgs) ElementType() reflect.Type

type NodeAttachArray

type NodeAttachArray []NodeAttachInput

func (NodeAttachArray) ElementType

func (NodeAttachArray) ElementType() reflect.Type

func (NodeAttachArray) ToNodeAttachArrayOutput

func (i NodeAttachArray) ToNodeAttachArrayOutput() NodeAttachArrayOutput

func (NodeAttachArray) ToNodeAttachArrayOutputWithContext

func (i NodeAttachArray) ToNodeAttachArrayOutputWithContext(ctx context.Context) NodeAttachArrayOutput

type NodeAttachArrayInput

type NodeAttachArrayInput interface {
	pulumi.Input

	ToNodeAttachArrayOutput() NodeAttachArrayOutput
	ToNodeAttachArrayOutputWithContext(context.Context) NodeAttachArrayOutput
}

NodeAttachArrayInput is an input type that accepts NodeAttachArray and NodeAttachArrayOutput values. You can construct a concrete instance of `NodeAttachArrayInput` via:

NodeAttachArray{ NodeAttachArgs{...} }

type NodeAttachArrayOutput

type NodeAttachArrayOutput struct{ *pulumi.OutputState }

func (NodeAttachArrayOutput) ElementType

func (NodeAttachArrayOutput) ElementType() reflect.Type

func (NodeAttachArrayOutput) Index

func (NodeAttachArrayOutput) ToNodeAttachArrayOutput

func (o NodeAttachArrayOutput) ToNodeAttachArrayOutput() NodeAttachArrayOutput

func (NodeAttachArrayOutput) ToNodeAttachArrayOutputWithContext

func (o NodeAttachArrayOutput) ToNodeAttachArrayOutputWithContext(ctx context.Context) NodeAttachArrayOutput

type NodeAttachDataVolume

type NodeAttachDataVolume struct {
	// Deprecated: use extend_params instead
	ExtendParam *string `pulumi:"extendParam"`
	// The disk expansion parameters.
	ExtendParams  map[string]string `pulumi:"extendParams"`
	HwPassthrough *bool             `pulumi:"hwPassthrough"`
	// The ID of a KMS key. This is used to encrypt the volume.
	KmsKeyId *string `pulumi:"kmsKeyId"`
	// The disk size in GB.
	Size *int `pulumi:"size"`
	// The disk type.
	Volumetype *string `pulumi:"volumetype"`
}

type NodeAttachDataVolumeArgs

type NodeAttachDataVolumeArgs struct {
	// Deprecated: use extend_params instead
	ExtendParam pulumi.StringPtrInput `pulumi:"extendParam"`
	// The disk expansion parameters.
	ExtendParams  pulumi.StringMapInput `pulumi:"extendParams"`
	HwPassthrough pulumi.BoolPtrInput   `pulumi:"hwPassthrough"`
	// The ID of a KMS key. This is used to encrypt the volume.
	KmsKeyId pulumi.StringPtrInput `pulumi:"kmsKeyId"`
	// The disk size in GB.
	Size pulumi.IntPtrInput `pulumi:"size"`
	// The disk type.
	Volumetype pulumi.StringPtrInput `pulumi:"volumetype"`
}

func (NodeAttachDataVolumeArgs) ElementType

func (NodeAttachDataVolumeArgs) ElementType() reflect.Type

func (NodeAttachDataVolumeArgs) ToNodeAttachDataVolumeOutput

func (i NodeAttachDataVolumeArgs) ToNodeAttachDataVolumeOutput() NodeAttachDataVolumeOutput

func (NodeAttachDataVolumeArgs) ToNodeAttachDataVolumeOutputWithContext

func (i NodeAttachDataVolumeArgs) ToNodeAttachDataVolumeOutputWithContext(ctx context.Context) NodeAttachDataVolumeOutput

type NodeAttachDataVolumeArray

type NodeAttachDataVolumeArray []NodeAttachDataVolumeInput

func (NodeAttachDataVolumeArray) ElementType

func (NodeAttachDataVolumeArray) ElementType() reflect.Type

func (NodeAttachDataVolumeArray) ToNodeAttachDataVolumeArrayOutput

func (i NodeAttachDataVolumeArray) ToNodeAttachDataVolumeArrayOutput() NodeAttachDataVolumeArrayOutput

func (NodeAttachDataVolumeArray) ToNodeAttachDataVolumeArrayOutputWithContext

func (i NodeAttachDataVolumeArray) ToNodeAttachDataVolumeArrayOutputWithContext(ctx context.Context) NodeAttachDataVolumeArrayOutput

type NodeAttachDataVolumeArrayInput

type NodeAttachDataVolumeArrayInput interface {
	pulumi.Input

	ToNodeAttachDataVolumeArrayOutput() NodeAttachDataVolumeArrayOutput
	ToNodeAttachDataVolumeArrayOutputWithContext(context.Context) NodeAttachDataVolumeArrayOutput
}

NodeAttachDataVolumeArrayInput is an input type that accepts NodeAttachDataVolumeArray and NodeAttachDataVolumeArrayOutput values. You can construct a concrete instance of `NodeAttachDataVolumeArrayInput` via:

NodeAttachDataVolumeArray{ NodeAttachDataVolumeArgs{...} }

type NodeAttachDataVolumeArrayOutput

type NodeAttachDataVolumeArrayOutput struct{ *pulumi.OutputState }

func (NodeAttachDataVolumeArrayOutput) ElementType

func (NodeAttachDataVolumeArrayOutput) Index

func (NodeAttachDataVolumeArrayOutput) ToNodeAttachDataVolumeArrayOutput

func (o NodeAttachDataVolumeArrayOutput) ToNodeAttachDataVolumeArrayOutput() NodeAttachDataVolumeArrayOutput

func (NodeAttachDataVolumeArrayOutput) ToNodeAttachDataVolumeArrayOutputWithContext

func (o NodeAttachDataVolumeArrayOutput) ToNodeAttachDataVolumeArrayOutputWithContext(ctx context.Context) NodeAttachDataVolumeArrayOutput

type NodeAttachDataVolumeInput

type NodeAttachDataVolumeInput interface {
	pulumi.Input

	ToNodeAttachDataVolumeOutput() NodeAttachDataVolumeOutput
	ToNodeAttachDataVolumeOutputWithContext(context.Context) NodeAttachDataVolumeOutput
}

NodeAttachDataVolumeInput is an input type that accepts NodeAttachDataVolumeArgs and NodeAttachDataVolumeOutput values. You can construct a concrete instance of `NodeAttachDataVolumeInput` via:

NodeAttachDataVolumeArgs{...}

type NodeAttachDataVolumeOutput

type NodeAttachDataVolumeOutput struct{ *pulumi.OutputState }

func (NodeAttachDataVolumeOutput) ElementType

func (NodeAttachDataVolumeOutput) ElementType() reflect.Type

func (NodeAttachDataVolumeOutput) ExtendParam deprecated

Deprecated: use extend_params instead

func (NodeAttachDataVolumeOutput) ExtendParams

The disk expansion parameters.

func (NodeAttachDataVolumeOutput) HwPassthrough

func (NodeAttachDataVolumeOutput) KmsKeyId

The ID of a KMS key. This is used to encrypt the volume.

func (NodeAttachDataVolumeOutput) Size

The disk size in GB.

func (NodeAttachDataVolumeOutput) ToNodeAttachDataVolumeOutput

func (o NodeAttachDataVolumeOutput) ToNodeAttachDataVolumeOutput() NodeAttachDataVolumeOutput

func (NodeAttachDataVolumeOutput) ToNodeAttachDataVolumeOutputWithContext

func (o NodeAttachDataVolumeOutput) ToNodeAttachDataVolumeOutputWithContext(ctx context.Context) NodeAttachDataVolumeOutput

func (NodeAttachDataVolumeOutput) Volumetype

The disk type.

type NodeAttachInput

type NodeAttachInput interface {
	pulumi.Input

	ToNodeAttachOutput() NodeAttachOutput
	ToNodeAttachOutputWithContext(ctx context.Context) NodeAttachOutput
}

type NodeAttachMap

type NodeAttachMap map[string]NodeAttachInput

func (NodeAttachMap) ElementType

func (NodeAttachMap) ElementType() reflect.Type

func (NodeAttachMap) ToNodeAttachMapOutput

func (i NodeAttachMap) ToNodeAttachMapOutput() NodeAttachMapOutput

func (NodeAttachMap) ToNodeAttachMapOutputWithContext

func (i NodeAttachMap) ToNodeAttachMapOutputWithContext(ctx context.Context) NodeAttachMapOutput

type NodeAttachMapInput

type NodeAttachMapInput interface {
	pulumi.Input

	ToNodeAttachMapOutput() NodeAttachMapOutput
	ToNodeAttachMapOutputWithContext(context.Context) NodeAttachMapOutput
}

NodeAttachMapInput is an input type that accepts NodeAttachMap and NodeAttachMapOutput values. You can construct a concrete instance of `NodeAttachMapInput` via:

NodeAttachMap{ "key": NodeAttachArgs{...} }

type NodeAttachMapOutput

type NodeAttachMapOutput struct{ *pulumi.OutputState }

func (NodeAttachMapOutput) ElementType

func (NodeAttachMapOutput) ElementType() reflect.Type

func (NodeAttachMapOutput) MapIndex

func (NodeAttachMapOutput) ToNodeAttachMapOutput

func (o NodeAttachMapOutput) ToNodeAttachMapOutput() NodeAttachMapOutput

func (NodeAttachMapOutput) ToNodeAttachMapOutputWithContext

func (o NodeAttachMapOutput) ToNodeAttachMapOutputWithContext(ctx context.Context) NodeAttachMapOutput

type NodeAttachOutput

type NodeAttachOutput struct{ *pulumi.OutputState }

func (NodeAttachOutput) AvailabilityZone

func (o NodeAttachOutput) AvailabilityZone() pulumi.StringOutput

The name of the available partition (AZ).

func (NodeAttachOutput) ChargingMode

func (o NodeAttachOutput) ChargingMode() pulumi.StringOutput

The charging mode of the CCE node. Valid values are *prePaid* and *postPaid*.

func (NodeAttachOutput) ClusterId

func (o NodeAttachOutput) ClusterId() pulumi.StringOutput

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

func (NodeAttachOutput) DataVolumes

The configurations of the data disk.

func (NodeAttachOutput) DockerBaseSize

func (o NodeAttachOutput) DockerBaseSize() pulumi.IntPtrOutput

Specifies the available disk space of a single docker container on the node in device mapper mode. Changing this parameter will create a new resource.

func (NodeAttachOutput) EcsGroupId

func (o NodeAttachOutput) EcsGroupId() pulumi.StringOutput

The Ecs group ID.

func (NodeAttachOutput) ElementType

func (NodeAttachOutput) ElementType() reflect.Type

func (NodeAttachOutput) FlavorId

func (o NodeAttachOutput) FlavorId() pulumi.StringOutput

The flavor ID of the CCE node.

func (NodeAttachOutput) ImageId

schema: Internal

func (NodeAttachOutput) KeyPair

Specifies the key pair name when logging in to select the key pair mode. This parameter and `password` are alternative. Changing this parameter will reset the node.

func (NodeAttachOutput) Labels

Specifies the tags of a Kubernetes node, key/value pair format. Changing this parameter will create a new resource.

func (NodeAttachOutput) LvmConfig

func (o NodeAttachOutput) LvmConfig() pulumi.StringPtrOutput

Specifies the docker data disk configurations. The following is an example:

func (NodeAttachOutput) MaxPods

func (o NodeAttachOutput) MaxPods() pulumi.IntPtrOutput

Specifies the the maximum number of instances a node is allowed to create. Changing this parameter will create a new resource.

func (NodeAttachOutput) Name

Specifies the Node Name.

func (NodeAttachOutput) NicMultiQueue

func (o NodeAttachOutput) NicMultiQueue() pulumi.StringPtrOutput

schema: Internal

func (NodeAttachOutput) NicThreshold

func (o NodeAttachOutput) NicThreshold() pulumi.StringPtrOutput

schema: Internal

func (NodeAttachOutput) Os

Specifies the operating System of the node. Changing this parameter will reset the node. + For VM nodes, clusters of v1.13 and later support *EulerOS 2.5* and *CentOS 7.6*.

func (NodeAttachOutput) Password

Specifies the root password when logging in to select the password mode. This parameter can be plain or salted and is alternative to `keyPair`. Changing this parameter will reset the node.

func (NodeAttachOutput) Postinstall

func (o NodeAttachOutput) Postinstall() pulumi.StringPtrOutput

Specifies the script required after installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.

func (NodeAttachOutput) Preinstall

func (o NodeAttachOutput) Preinstall() pulumi.StringPtrOutput

Specifies the script required before installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.

func (NodeAttachOutput) PrivateIp

func (o NodeAttachOutput) PrivateIp() pulumi.StringOutput

Private IP of the CCE node.

func (NodeAttachOutput) PublicIp

func (o NodeAttachOutput) PublicIp() pulumi.StringOutput

Public IP of the CCE node.

func (NodeAttachOutput) Region

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

func (NodeAttachOutput) RootVolumes

The configuration of the system disk.

func (NodeAttachOutput) Runtime

func (o NodeAttachOutput) Runtime() pulumi.StringOutput

The runtime of the CCE node.

func (NodeAttachOutput) ServerId

func (o NodeAttachOutput) ServerId() pulumi.StringOutput

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

func (NodeAttachOutput) Status

Node status information.

func (NodeAttachOutput) SubnetId

func (o NodeAttachOutput) SubnetId() pulumi.StringOutput

The ID of the subnet to which the NIC belongs.

func (NodeAttachOutput) Tags

Specifies the tags of a VM node, key/value pair format.

func (NodeAttachOutput) Taints

Specifies the taints configuration of the nodes to set anti-affinity. Changing this parameter will create a new resource. Each taint contains the following parameters:

func (NodeAttachOutput) ToNodeAttachOutput

func (o NodeAttachOutput) ToNodeAttachOutput() NodeAttachOutput

func (NodeAttachOutput) ToNodeAttachOutputWithContext

func (o NodeAttachOutput) ToNodeAttachOutputWithContext(ctx context.Context) NodeAttachOutput

type NodeAttachRootVolume

type NodeAttachRootVolume struct {
	// Deprecated: use extend_params instead
	ExtendParam *string `pulumi:"extendParam"`
	// The disk expansion parameters.
	ExtendParams  map[string]string `pulumi:"extendParams"`
	HwPassthrough *bool             `pulumi:"hwPassthrough"`
	// The ID of a KMS key. This is used to encrypt the volume.
	KmsKeyId *string `pulumi:"kmsKeyId"`
	// The disk size in GB.
	Size *int `pulumi:"size"`
	// The disk type.
	Volumetype *string `pulumi:"volumetype"`
}

type NodeAttachRootVolumeArgs

type NodeAttachRootVolumeArgs struct {
	// Deprecated: use extend_params instead
	ExtendParam pulumi.StringPtrInput `pulumi:"extendParam"`
	// The disk expansion parameters.
	ExtendParams  pulumi.StringMapInput `pulumi:"extendParams"`
	HwPassthrough pulumi.BoolPtrInput   `pulumi:"hwPassthrough"`
	// The ID of a KMS key. This is used to encrypt the volume.
	KmsKeyId pulumi.StringPtrInput `pulumi:"kmsKeyId"`
	// The disk size in GB.
	Size pulumi.IntPtrInput `pulumi:"size"`
	// The disk type.
	Volumetype pulumi.StringPtrInput `pulumi:"volumetype"`
}

func (NodeAttachRootVolumeArgs) ElementType

func (NodeAttachRootVolumeArgs) ElementType() reflect.Type

func (NodeAttachRootVolumeArgs) ToNodeAttachRootVolumeOutput

func (i NodeAttachRootVolumeArgs) ToNodeAttachRootVolumeOutput() NodeAttachRootVolumeOutput

func (NodeAttachRootVolumeArgs) ToNodeAttachRootVolumeOutputWithContext

func (i NodeAttachRootVolumeArgs) ToNodeAttachRootVolumeOutputWithContext(ctx context.Context) NodeAttachRootVolumeOutput

type NodeAttachRootVolumeArray

type NodeAttachRootVolumeArray []NodeAttachRootVolumeInput

func (NodeAttachRootVolumeArray) ElementType

func (NodeAttachRootVolumeArray) ElementType() reflect.Type

func (NodeAttachRootVolumeArray) ToNodeAttachRootVolumeArrayOutput

func (i NodeAttachRootVolumeArray) ToNodeAttachRootVolumeArrayOutput() NodeAttachRootVolumeArrayOutput

func (NodeAttachRootVolumeArray) ToNodeAttachRootVolumeArrayOutputWithContext

func (i NodeAttachRootVolumeArray) ToNodeAttachRootVolumeArrayOutputWithContext(ctx context.Context) NodeAttachRootVolumeArrayOutput

type NodeAttachRootVolumeArrayInput

type NodeAttachRootVolumeArrayInput interface {
	pulumi.Input

	ToNodeAttachRootVolumeArrayOutput() NodeAttachRootVolumeArrayOutput
	ToNodeAttachRootVolumeArrayOutputWithContext(context.Context) NodeAttachRootVolumeArrayOutput
}

NodeAttachRootVolumeArrayInput is an input type that accepts NodeAttachRootVolumeArray and NodeAttachRootVolumeArrayOutput values. You can construct a concrete instance of `NodeAttachRootVolumeArrayInput` via:

NodeAttachRootVolumeArray{ NodeAttachRootVolumeArgs{...} }

type NodeAttachRootVolumeArrayOutput

type NodeAttachRootVolumeArrayOutput struct{ *pulumi.OutputState }

func (NodeAttachRootVolumeArrayOutput) ElementType

func (NodeAttachRootVolumeArrayOutput) Index

func (NodeAttachRootVolumeArrayOutput) ToNodeAttachRootVolumeArrayOutput

func (o NodeAttachRootVolumeArrayOutput) ToNodeAttachRootVolumeArrayOutput() NodeAttachRootVolumeArrayOutput

func (NodeAttachRootVolumeArrayOutput) ToNodeAttachRootVolumeArrayOutputWithContext

func (o NodeAttachRootVolumeArrayOutput) ToNodeAttachRootVolumeArrayOutputWithContext(ctx context.Context) NodeAttachRootVolumeArrayOutput

type NodeAttachRootVolumeInput

type NodeAttachRootVolumeInput interface {
	pulumi.Input

	ToNodeAttachRootVolumeOutput() NodeAttachRootVolumeOutput
	ToNodeAttachRootVolumeOutputWithContext(context.Context) NodeAttachRootVolumeOutput
}

NodeAttachRootVolumeInput is an input type that accepts NodeAttachRootVolumeArgs and NodeAttachRootVolumeOutput values. You can construct a concrete instance of `NodeAttachRootVolumeInput` via:

NodeAttachRootVolumeArgs{...}

type NodeAttachRootVolumeOutput

type NodeAttachRootVolumeOutput struct{ *pulumi.OutputState }

func (NodeAttachRootVolumeOutput) ElementType

func (NodeAttachRootVolumeOutput) ElementType() reflect.Type

func (NodeAttachRootVolumeOutput) ExtendParam deprecated

Deprecated: use extend_params instead

func (NodeAttachRootVolumeOutput) ExtendParams

The disk expansion parameters.

func (NodeAttachRootVolumeOutput) HwPassthrough

func (NodeAttachRootVolumeOutput) KmsKeyId added in v0.0.8

The ID of a KMS key. This is used to encrypt the volume.

func (NodeAttachRootVolumeOutput) Size

The disk size in GB.

func (NodeAttachRootVolumeOutput) ToNodeAttachRootVolumeOutput

func (o NodeAttachRootVolumeOutput) ToNodeAttachRootVolumeOutput() NodeAttachRootVolumeOutput

func (NodeAttachRootVolumeOutput) ToNodeAttachRootVolumeOutputWithContext

func (o NodeAttachRootVolumeOutput) ToNodeAttachRootVolumeOutputWithContext(ctx context.Context) NodeAttachRootVolumeOutput

func (NodeAttachRootVolumeOutput) Volumetype

The disk type.

type NodeAttachState

type NodeAttachState struct {
	// The name of the available partition (AZ).
	AvailabilityZone pulumi.StringPtrInput
	// The charging mode of the CCE node. Valid values are *prePaid* and *postPaid*.
	ChargingMode pulumi.StringPtrInput
	// Specifies the ID of the cluster. Changing this parameter will create a new
	// resource.
	ClusterId pulumi.StringPtrInput
	// The configurations of the data disk.
	DataVolumes NodeAttachDataVolumeArrayInput
	// Specifies the available disk space of a single docker container on the
	// node in device mapper mode. Changing this parameter will create a new resource.
	DockerBaseSize pulumi.IntPtrInput
	// The Ecs group ID.
	EcsGroupId pulumi.StringPtrInput
	// The flavor ID of the CCE node.
	FlavorId pulumi.StringPtrInput
	// schema: Internal
	ImageId pulumi.StringPtrInput
	// Specifies the key pair name when logging in to select the key pair mode.
	// This parameter and `password` are alternative. Changing this parameter will reset the node.
	KeyPair pulumi.StringPtrInput
	// Specifies the tags of a Kubernetes node, key/value pair format.
	// Changing this parameter will create a new resource.
	Labels pulumi.StringMapInput
	// Specifies the docker data disk configurations. The following is an
	// example:
	LvmConfig pulumi.StringPtrInput
	// Specifies the the maximum number of instances a node is allowed to create.
	// Changing this parameter will create a new resource.
	MaxPods pulumi.IntPtrInput
	// Specifies the Node Name.
	Name pulumi.StringPtrInput
	// schema: Internal
	NicMultiQueue pulumi.StringPtrInput
	// schema: Internal
	NicThreshold pulumi.StringPtrInput
	// Specifies the operating System of the node. Changing this parameter will reset the node.
	// + For VM nodes, clusters of v1.13 and later support *EulerOS 2.5* and *CentOS 7.6*.
	Os pulumi.StringPtrInput
	// Specifies the root password when logging in to select the password mode.
	// This parameter can be plain or salted and is alternative to `keyPair`.
	// Changing this parameter will reset the node.
	Password pulumi.StringPtrInput
	// Specifies the script required after installation. The input value can be
	// a Base64 encoded string or not. Changing this parameter will create a new resource.
	Postinstall pulumi.StringPtrInput
	// Specifies the script required before installation. The input value can be
	// a Base64 encoded string or not. Changing this parameter will create a new resource.
	Preinstall pulumi.StringPtrInput
	// Private IP of the CCE node.
	PrivateIp pulumi.StringPtrInput
	// Public IP of the CCE node.
	PublicIp pulumi.StringPtrInput
	// The region in which to create the CCE node attach resource. If omitted, the
	// provider-level region will be used. Changing this creates a new CCE node attach resource.
	Region pulumi.StringPtrInput
	// The configuration of the system disk.
	RootVolumes NodeAttachRootVolumeArrayInput
	// The runtime of the CCE node.
	Runtime pulumi.StringPtrInput
	// Specifies the ecs server ID. Changing this parameter will create a new
	// resource.
	ServerId pulumi.StringPtrInput
	// Node status information.
	Status pulumi.StringPtrInput
	// The ID of the subnet to which the NIC belongs.
	SubnetId pulumi.StringPtrInput
	// Specifies the tags of a VM node, key/value pair format.
	Tags pulumi.StringMapInput
	// Specifies the taints configuration of the nodes to set anti-affinity.
	// Changing this parameter will create a new resource. Each taint contains the following parameters:
	Taints NodeAttachTaintArrayInput
}

func (NodeAttachState) ElementType

func (NodeAttachState) ElementType() reflect.Type

type NodeAttachTaint

type NodeAttachTaint struct {
	// Available options are NoSchedule, PreferNoSchedule, and NoExecute.
	// Changing this parameter will create a new resource.
	Effect string `pulumi:"effect"`
	// A key must contain 1 to 63 characters starting with a letter or digit.
	// Only letters, digits, hyphens (-), underscores (_), and periods (.) are allowed. A DNS subdomain name can be used
	// as the prefix of a key. Changing this parameter will create a new resource.
	Key string `pulumi:"key"`
	// A value must start with a letter or digit and can contain a maximum of 63
	// characters, including letters, digits, hyphens (-), underscores (_), and periods (.). Changing this parameter will
	// create a new resource.
	Value string `pulumi:"value"`
}

type NodeAttachTaintArgs

type NodeAttachTaintArgs struct {
	// Available options are NoSchedule, PreferNoSchedule, and NoExecute.
	// Changing this parameter will create a new resource.
	Effect pulumi.StringInput `pulumi:"effect"`
	// A key must contain 1 to 63 characters starting with a letter or digit.
	// Only letters, digits, hyphens (-), underscores (_), and periods (.) are allowed. A DNS subdomain name can be used
	// as the prefix of a key. Changing this parameter will create a new resource.
	Key pulumi.StringInput `pulumi:"key"`
	// A value must start with a letter or digit and can contain a maximum of 63
	// characters, including letters, digits, hyphens (-), underscores (_), and periods (.). Changing this parameter will
	// create a new resource.
	Value pulumi.StringInput `pulumi:"value"`
}

func (NodeAttachTaintArgs) ElementType

func (NodeAttachTaintArgs) ElementType() reflect.Type

func (NodeAttachTaintArgs) ToNodeAttachTaintOutput

func (i NodeAttachTaintArgs) ToNodeAttachTaintOutput() NodeAttachTaintOutput

func (NodeAttachTaintArgs) ToNodeAttachTaintOutputWithContext

func (i NodeAttachTaintArgs) ToNodeAttachTaintOutputWithContext(ctx context.Context) NodeAttachTaintOutput

type NodeAttachTaintArray

type NodeAttachTaintArray []NodeAttachTaintInput

func (NodeAttachTaintArray) ElementType

func (NodeAttachTaintArray) ElementType() reflect.Type

func (NodeAttachTaintArray) ToNodeAttachTaintArrayOutput

func (i NodeAttachTaintArray) ToNodeAttachTaintArrayOutput() NodeAttachTaintArrayOutput

func (NodeAttachTaintArray) ToNodeAttachTaintArrayOutputWithContext

func (i NodeAttachTaintArray) ToNodeAttachTaintArrayOutputWithContext(ctx context.Context) NodeAttachTaintArrayOutput

type NodeAttachTaintArrayInput

type NodeAttachTaintArrayInput interface {
	pulumi.Input

	ToNodeAttachTaintArrayOutput() NodeAttachTaintArrayOutput
	ToNodeAttachTaintArrayOutputWithContext(context.Context) NodeAttachTaintArrayOutput
}

NodeAttachTaintArrayInput is an input type that accepts NodeAttachTaintArray and NodeAttachTaintArrayOutput values. You can construct a concrete instance of `NodeAttachTaintArrayInput` via:

NodeAttachTaintArray{ NodeAttachTaintArgs{...} }

type NodeAttachTaintArrayOutput

type NodeAttachTaintArrayOutput struct{ *pulumi.OutputState }

func (NodeAttachTaintArrayOutput) ElementType

func (NodeAttachTaintArrayOutput) ElementType() reflect.Type

func (NodeAttachTaintArrayOutput) Index

func (NodeAttachTaintArrayOutput) ToNodeAttachTaintArrayOutput

func (o NodeAttachTaintArrayOutput) ToNodeAttachTaintArrayOutput() NodeAttachTaintArrayOutput

func (NodeAttachTaintArrayOutput) ToNodeAttachTaintArrayOutputWithContext

func (o NodeAttachTaintArrayOutput) ToNodeAttachTaintArrayOutputWithContext(ctx context.Context) NodeAttachTaintArrayOutput

type NodeAttachTaintInput

type NodeAttachTaintInput interface {
	pulumi.Input

	ToNodeAttachTaintOutput() NodeAttachTaintOutput
	ToNodeAttachTaintOutputWithContext(context.Context) NodeAttachTaintOutput
}

NodeAttachTaintInput is an input type that accepts NodeAttachTaintArgs and NodeAttachTaintOutput values. You can construct a concrete instance of `NodeAttachTaintInput` via:

NodeAttachTaintArgs{...}

type NodeAttachTaintOutput

type NodeAttachTaintOutput struct{ *pulumi.OutputState }

func (NodeAttachTaintOutput) Effect

Available options are NoSchedule, PreferNoSchedule, and NoExecute. Changing this parameter will create a new resource.

func (NodeAttachTaintOutput) ElementType

func (NodeAttachTaintOutput) ElementType() reflect.Type

func (NodeAttachTaintOutput) Key

A key must contain 1 to 63 characters starting with a letter or digit. Only letters, digits, hyphens (-), underscores (_), and periods (.) are allowed. A DNS subdomain name can be used as the prefix of a key. Changing this parameter will create a new resource.

func (NodeAttachTaintOutput) ToNodeAttachTaintOutput

func (o NodeAttachTaintOutput) ToNodeAttachTaintOutput() NodeAttachTaintOutput

func (NodeAttachTaintOutput) ToNodeAttachTaintOutputWithContext

func (o NodeAttachTaintOutput) ToNodeAttachTaintOutputWithContext(ctx context.Context) NodeAttachTaintOutput

func (NodeAttachTaintOutput) Value

A value must start with a letter or digit and can contain a maximum of 63 characters, including letters, digits, hyphens (-), underscores (_), and periods (.). Changing this parameter will create a new resource.

type NodeDataVolume

type NodeDataVolume struct {
	// Specifies the extended parameter.
	// Changing this parameter will create a new resource.
	// The available keys are as follows:
	// + **agency_name**: The agency name to provide temporary credentials for CCE node to access other cloud services.
	// + **alpha.cce/NodeImageID**: The custom image ID used to create the BMS nodes.
	// + **dockerBaseSize**: The available disk space of a single docker container on the node in device mapper mode.
	// + **DockerLVMConfigOverride**: Specifies the data disk configurations of Docker.
	//
	// Deprecated: use extend_params instead
	ExtendParam *string `pulumi:"extendParam"`
	// Specifies the disk expansion parameters.
	// Changing this parameter will create a new resource.
	ExtendParams  map[string]string `pulumi:"extendParams"`
	HwPassthrough *bool             `pulumi:"hwPassthrough"`
	// Specifies the ID of a KMS key. This is used to encrypt the volume.
	// Changing this parameter will create a new resource.
	KmsKeyId *string `pulumi:"kmsKeyId"`
	// Specifies the size of a virtual space. Only an integer percentage is supported.
	// Example: 90%. Note that the total percentage of all virtual spaces in a group cannot exceed 100%.
	// Changing this parameter will create a new resource.
	Size int `pulumi:"size"`
	// Specifies the disk type.
	// Changing this parameter will create a new resource.
	Volumetype string `pulumi:"volumetype"`
}

type NodeDataVolumeArgs

type NodeDataVolumeArgs struct {
	// Specifies the extended parameter.
	// Changing this parameter will create a new resource.
	// The available keys are as follows:
	// + **agency_name**: The agency name to provide temporary credentials for CCE node to access other cloud services.
	// + **alpha.cce/NodeImageID**: The custom image ID used to create the BMS nodes.
	// + **dockerBaseSize**: The available disk space of a single docker container on the node in device mapper mode.
	// + **DockerLVMConfigOverride**: Specifies the data disk configurations of Docker.
	//
	// Deprecated: use extend_params instead
	ExtendParam pulumi.StringPtrInput `pulumi:"extendParam"`
	// Specifies the disk expansion parameters.
	// Changing this parameter will create a new resource.
	ExtendParams  pulumi.StringMapInput `pulumi:"extendParams"`
	HwPassthrough pulumi.BoolPtrInput   `pulumi:"hwPassthrough"`
	// Specifies the ID of a KMS key. This is used to encrypt the volume.
	// Changing this parameter will create a new resource.
	KmsKeyId pulumi.StringPtrInput `pulumi:"kmsKeyId"`
	// Specifies the size of a virtual space. Only an integer percentage is supported.
	// Example: 90%. Note that the total percentage of all virtual spaces in a group cannot exceed 100%.
	// Changing this parameter will create a new resource.
	Size pulumi.IntInput `pulumi:"size"`
	// Specifies the disk type.
	// Changing this parameter will create a new resource.
	Volumetype pulumi.StringInput `pulumi:"volumetype"`
}

func (NodeDataVolumeArgs) ElementType

func (NodeDataVolumeArgs) ElementType() reflect.Type

func (NodeDataVolumeArgs) ToNodeDataVolumeOutput

func (i NodeDataVolumeArgs) ToNodeDataVolumeOutput() NodeDataVolumeOutput

func (NodeDataVolumeArgs) ToNodeDataVolumeOutputWithContext

func (i NodeDataVolumeArgs) ToNodeDataVolumeOutputWithContext(ctx context.Context) NodeDataVolumeOutput

type NodeDataVolumeArray

type NodeDataVolumeArray []NodeDataVolumeInput

func (NodeDataVolumeArray) ElementType

func (NodeDataVolumeArray) ElementType() reflect.Type

func (NodeDataVolumeArray) ToNodeDataVolumeArrayOutput

func (i NodeDataVolumeArray) ToNodeDataVolumeArrayOutput() NodeDataVolumeArrayOutput

func (NodeDataVolumeArray) ToNodeDataVolumeArrayOutputWithContext

func (i NodeDataVolumeArray) ToNodeDataVolumeArrayOutputWithContext(ctx context.Context) NodeDataVolumeArrayOutput

type NodeDataVolumeArrayInput

type NodeDataVolumeArrayInput interface {
	pulumi.Input

	ToNodeDataVolumeArrayOutput() NodeDataVolumeArrayOutput
	ToNodeDataVolumeArrayOutputWithContext(context.Context) NodeDataVolumeArrayOutput
}

NodeDataVolumeArrayInput is an input type that accepts NodeDataVolumeArray and NodeDataVolumeArrayOutput values. You can construct a concrete instance of `NodeDataVolumeArrayInput` via:

NodeDataVolumeArray{ NodeDataVolumeArgs{...} }

type NodeDataVolumeArrayOutput

type NodeDataVolumeArrayOutput struct{ *pulumi.OutputState }

func (NodeDataVolumeArrayOutput) ElementType

func (NodeDataVolumeArrayOutput) ElementType() reflect.Type

func (NodeDataVolumeArrayOutput) Index

func (NodeDataVolumeArrayOutput) ToNodeDataVolumeArrayOutput

func (o NodeDataVolumeArrayOutput) ToNodeDataVolumeArrayOutput() NodeDataVolumeArrayOutput

func (NodeDataVolumeArrayOutput) ToNodeDataVolumeArrayOutputWithContext

func (o NodeDataVolumeArrayOutput) ToNodeDataVolumeArrayOutputWithContext(ctx context.Context) NodeDataVolumeArrayOutput

type NodeDataVolumeInput

type NodeDataVolumeInput interface {
	pulumi.Input

	ToNodeDataVolumeOutput() NodeDataVolumeOutput
	ToNodeDataVolumeOutputWithContext(context.Context) NodeDataVolumeOutput
}

NodeDataVolumeInput is an input type that accepts NodeDataVolumeArgs and NodeDataVolumeOutput values. You can construct a concrete instance of `NodeDataVolumeInput` via:

NodeDataVolumeArgs{...}

type NodeDataVolumeOutput

type NodeDataVolumeOutput struct{ *pulumi.OutputState }

func (NodeDataVolumeOutput) ElementType

func (NodeDataVolumeOutput) ElementType() reflect.Type

func (NodeDataVolumeOutput) ExtendParam deprecated

Specifies the extended parameter. Changing this parameter will create a new resource. The available keys are as follows: + **agency_name**: The agency name to provide temporary credentials for CCE node to access other cloud services. + **alpha.cce/NodeImageID**: The custom image ID used to create the BMS nodes. + **dockerBaseSize**: The available disk space of a single docker container on the node in device mapper mode. + **DockerLVMConfigOverride**: Specifies the data disk configurations of Docker.

Deprecated: use extend_params instead

func (NodeDataVolumeOutput) ExtendParams

func (o NodeDataVolumeOutput) ExtendParams() pulumi.StringMapOutput

Specifies the disk expansion parameters. Changing this parameter will create a new resource.

func (NodeDataVolumeOutput) HwPassthrough

func (o NodeDataVolumeOutput) HwPassthrough() pulumi.BoolPtrOutput

func (NodeDataVolumeOutput) KmsKeyId

Specifies the ID of a KMS key. This is used to encrypt the volume. Changing this parameter will create a new resource.

func (NodeDataVolumeOutput) Size

Specifies the size of a virtual space. Only an integer percentage is supported. Example: 90%. Note that the total percentage of all virtual spaces in a group cannot exceed 100%. Changing this parameter will create a new resource.

func (NodeDataVolumeOutput) ToNodeDataVolumeOutput

func (o NodeDataVolumeOutput) ToNodeDataVolumeOutput() NodeDataVolumeOutput

func (NodeDataVolumeOutput) ToNodeDataVolumeOutputWithContext

func (o NodeDataVolumeOutput) ToNodeDataVolumeOutputWithContext(ctx context.Context) NodeDataVolumeOutput

func (NodeDataVolumeOutput) Volumetype

func (o NodeDataVolumeOutput) Volumetype() pulumi.StringOutput

Specifies the disk type. Changing this parameter will create a new resource.

type NodeInput

type NodeInput interface {
	pulumi.Input

	ToNodeOutput() NodeOutput
	ToNodeOutputWithContext(ctx context.Context) NodeOutput
}

type NodeMap

type NodeMap map[string]NodeInput

func (NodeMap) ElementType

func (NodeMap) ElementType() reflect.Type

func (NodeMap) ToNodeMapOutput

func (i NodeMap) ToNodeMapOutput() NodeMapOutput

func (NodeMap) ToNodeMapOutputWithContext

func (i NodeMap) ToNodeMapOutputWithContext(ctx context.Context) NodeMapOutput

type NodeMapInput

type NodeMapInput interface {
	pulumi.Input

	ToNodeMapOutput() NodeMapOutput
	ToNodeMapOutputWithContext(context.Context) NodeMapOutput
}

NodeMapInput is an input type that accepts NodeMap and NodeMapOutput values. You can construct a concrete instance of `NodeMapInput` via:

NodeMap{ "key": NodeArgs{...} }

type NodeMapOutput

type NodeMapOutput struct{ *pulumi.OutputState }

func (NodeMapOutput) ElementType

func (NodeMapOutput) ElementType() reflect.Type

func (NodeMapOutput) MapIndex

func (NodeMapOutput) ToNodeMapOutput

func (o NodeMapOutput) ToNodeMapOutput() NodeMapOutput

func (NodeMapOutput) ToNodeMapOutputWithContext

func (o NodeMapOutput) ToNodeMapOutputWithContext(ctx context.Context) NodeMapOutput

type NodeOutput

type NodeOutput struct{ *pulumi.OutputState }

func (NodeOutput) Annotations

func (o NodeOutput) Annotations() pulumi.StringMapOutput

schema: Internal

func (NodeOutput) AutoPay deprecated

func (o NodeOutput) AutoPay() pulumi.StringPtrOutput

Deprecated: Deprecated

func (NodeOutput) AutoRenew

func (o NodeOutput) AutoRenew() pulumi.StringPtrOutput

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

func (NodeOutput) AvailabilityZone

func (o NodeOutput) AvailabilityZone() pulumi.StringOutput

Specifies the name of the available partition (AZ). Changing this parameter will create a new resource.

func (NodeOutput) BandwidthChargeMode

func (o NodeOutput) BandwidthChargeMode() pulumi.StringPtrOutput

Specifies the bandwidth billing type. Changing this parameter will create a new resource.

func (NodeOutput) BandwidthSize

func (o NodeOutput) BandwidthSize() pulumi.IntPtrOutput

Specifies the bandwidth size. Changing this parameter will create a new resource.

func (NodeOutput) BillingMode deprecated

func (o NodeOutput) BillingMode() pulumi.IntOutput

Deprecated: use charging_mode instead

func (NodeOutput) ChargingMode

func (o NodeOutput) ChargingMode() pulumi.StringOutput

Specifies the charging mode of the CCE node. Valid values are *prePaid* and *postPaid*, defaults to *postPaid*. Changing this creates a new resource.

func (NodeOutput) ClusterId

func (o NodeOutput) ClusterId() pulumi.StringOutput

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

func (NodeOutput) DataVolumes

func (o NodeOutput) DataVolumes() NodeDataVolumeArrayOutput

Specifies the configurations of the data disk. Changing this parameter will create a new resource.

func (NodeOutput) EcsGroupId

func (o NodeOutput) EcsGroupId() pulumi.StringPtrOutput

Specifies the ECS group ID. If specified, the node will be created under the cloud server group. Changing this parameter will create a new resource.

func (NodeOutput) EcsPerformanceType

func (o NodeOutput) EcsPerformanceType() pulumi.StringPtrOutput

schema: Internal

func (NodeOutput) EipId

func (o NodeOutput) EipId() pulumi.StringPtrOutput

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

func (NodeOutput) EipIds deprecated

func (o NodeOutput) EipIds() pulumi.StringArrayOutput

Deprecated: use eip_id instead

func (NodeOutput) ElementType

func (NodeOutput) ElementType() reflect.Type

func (NodeOutput) ExtendParam

func (o NodeOutput) ExtendParam() pulumi.StringMapOutput

Specifies the extended parameter. Changing this parameter will create a new resource. The available keys are as follows: + **agency_name**: The agency name to provide temporary credentials for CCE node to access other cloud services. + **alpha.cce/NodeImageID**: The custom image ID used to create the BMS nodes. + **dockerBaseSize**: The available disk space of a single docker container on the node in device mapper mode. + **DockerLVMConfigOverride**: Specifies the data disk configurations of Docker.

func (NodeOutput) ExtendParamChargingMode deprecated

func (o NodeOutput) ExtendParamChargingMode() pulumi.IntPtrOutput

Deprecated: use charging_mode instead

func (NodeOutput) FixedIp

func (o NodeOutput) FixedIp() pulumi.StringPtrOutput

Specifies the fixed IP of the NIC. Changing this parameter will create a new resource.

func (NodeOutput) FlavorId

func (o NodeOutput) FlavorId() pulumi.StringOutput

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

func (NodeOutput) Iptype

func (o NodeOutput) Iptype() pulumi.StringPtrOutput

Specifies the elastic IP type. Changing this parameter will create a new resource.

func (NodeOutput) KeepEcs

func (o NodeOutput) KeepEcs() pulumi.BoolPtrOutput

schema: Internal

func (NodeOutput) KeyPair

func (o NodeOutput) KeyPair() pulumi.StringPtrOutput

Specifies the key pair name when logging in to select the key pair mode. This parameter and `password` are alternative.

func (NodeOutput) Labels

func (o NodeOutput) Labels() pulumi.StringMapOutput

Specifies the tags of a Kubernetes node, key/value pair format. Changing this parameter will create a new resource.

func (NodeOutput) MaxPods

func (o NodeOutput) MaxPods() pulumi.IntPtrOutput

Specifies the maximum number of instances a node is allowed to create. Changing this parameter will create a new resource.

func (NodeOutput) Name

func (o NodeOutput) Name() pulumi.StringOutput

Specifies the virtual space name. Currently, only **kubernetes**, **runtime**, and **user** are supported. Changing this parameter will create a new resource.

func (NodeOutput) OrderId deprecated

func (o NodeOutput) OrderId() pulumi.StringPtrOutput

Deprecated: will be removed after v1.26.0

func (NodeOutput) Os

Specifies the operating system of the node. Changing this parameter will create a new resource. + For VM nodes, clusters of v1.13 and later support *EulerOS 2.5* and *CentOS 7.6*. + For BMS nodes purchased in the yearly/monthly billing mode, only *EulerOS 2.3* is supported.

func (NodeOutput) Partition added in v0.0.8

func (o NodeOutput) Partition() pulumi.StringPtrOutput

schema: Internal

func (NodeOutput) Password

func (o NodeOutput) Password() pulumi.StringPtrOutput

Specifies the root password when logging in to select the password mode. This parameter can be plain or salted and is alternative to `keyPair`.

func (NodeOutput) Period

func (o NodeOutput) Period() pulumi.IntPtrOutput

Specifies the charging period of the CCE node. 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 creates a new resource.

func (NodeOutput) PeriodUnit

func (o NodeOutput) PeriodUnit() pulumi.StringPtrOutput

Specifies the charging period unit of the CCE node. Valid values are *month* and *year*. This parameter is mandatory if `chargingMode` is set to *prePaid*. Changing this creates a new resource.

func (NodeOutput) Postinstall

func (o NodeOutput) Postinstall() pulumi.StringPtrOutput

Specifies the script to be executed after installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.

func (NodeOutput) Preinstall

func (o NodeOutput) Preinstall() pulumi.StringPtrOutput

Specifies the script to be executed before installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.

func (NodeOutput) PrivateIp

func (o NodeOutput) PrivateIp() pulumi.StringOutput

Private IP of the CCE node.

func (NodeOutput) PrivateKey added in v0.0.8

func (o NodeOutput) PrivateKey() pulumi.StringPtrOutput

Specifies the private key of the in used `keyPair`. This parameter is mandatory when replacing or unbinding a keypair if the CCE node is in **Active** state.

func (NodeOutput) ProductId

func (o NodeOutput) ProductId() pulumi.StringPtrOutput

schema: Internal

func (NodeOutput) PublicIp

func (o NodeOutput) PublicIp() pulumi.StringOutput

Public IP of the CCE node.

func (NodeOutput) PublicKey

func (o NodeOutput) PublicKey() pulumi.StringPtrOutput

schema: Internal

func (NodeOutput) Region

func (o NodeOutput) Region() pulumi.StringOutput

Specifies the region in which to create the CCE node resource. If omitted, the provider-level region will be used. Changing this creates a new CCE node resource.

func (NodeOutput) RootVolume

func (o NodeOutput) RootVolume() NodeRootVolumeOutput

Specifies the configuration of the system disk. Changing this parameter will create a new resource.

func (NodeOutput) Runtime

func (o NodeOutput) Runtime() pulumi.StringOutput

Specifies the runtime of the CCE node. Valid values are *docker* and *containerd*. Changing this creates a new resource.

func (NodeOutput) ServerId

func (o NodeOutput) ServerId() pulumi.StringOutput

ID of the ECS instance associated with the node.

func (NodeOutput) Sharetype

func (o NodeOutput) Sharetype() pulumi.StringPtrOutput

Specifies the bandwidth sharing type. Changing this parameter will create a new resource.

func (NodeOutput) Status

func (o NodeOutput) Status() pulumi.StringOutput

The status of the CCE node.

func (NodeOutput) Storage

func (o NodeOutput) Storage() NodeStoragePtrOutput

Specifies the disk initialization management parameter. If omitted, disks are managed based on the DockerLVMConfigOverride parameter in extendParam. This parameter is supported for clusters of v1.15.11 and later. Changing this parameter will create a new resource.

func (NodeOutput) SubnetId

func (o NodeOutput) SubnetId() pulumi.StringOutput

Specifies the ID of the subnet to which the NIC belongs. Changing this parameter will create a new resource.

func (NodeOutput) Tags

Specifies the tags of a VM node, key/value pair format.

func (NodeOutput) Taints

func (o NodeOutput) Taints() NodeTaintArrayOutput

Specifies the taints configuration of the nodes to set anti-affinity. Changing this parameter will create a new resource. Each taint contains the following parameters:

func (NodeOutput) ToNodeOutput

func (o NodeOutput) ToNodeOutput() NodeOutput

func (NodeOutput) ToNodeOutputWithContext

func (o NodeOutput) ToNodeOutputWithContext(ctx context.Context) NodeOutput

type NodePool

type NodePool struct {
	pulumi.CustomResourceState

	// Specifies whether auto renew is enabled. Valid values are "true" and "false".
	// Changing this parameter will create a new resource.
	AutoRenew pulumi.StringPtrOutput `pulumi:"autoRenew"`
	// Specifies the name of the available partition (AZ). Default value
	// is random to create nodes in a random AZ in the node pool. Changing this parameter will create a new resource.
	AvailabilityZone pulumi.StringPtrOutput `pulumi:"availabilityZone"`
	// Billing mode of a node.
	BillingMode pulumi.IntOutput `pulumi:"billingMode"`
	// Specifies the charging mode of the CCE node pool. Valid values are
	// *prePaid* and *postPaid*, defaults to *postPaid*. Changing this parameter will create a new resource.
	ChargingMode pulumi.StringOutput `pulumi:"chargingMode"`
	// Specifies the cluster ID.
	// Changing this parameter will create a new resource.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// The current number of the nodes.
	CurrentNodeCount pulumi.IntOutput `pulumi:"currentNodeCount"`
	// Specifies the configuration of the data disks.
	// The structure is described below. Changing this parameter will create a new resource.
	DataVolumes NodePoolDataVolumeArrayOutput `pulumi:"dataVolumes"`
	// Specifies the ECS group ID. If specified, the node will be created under
	// the cloud server group. Changing this parameter will create a new resource.
	EcsGroupId pulumi.StringPtrOutput `pulumi:"ecsGroupId"`
	// Specifies the extended parameter.
	// Changing this parameter will create a new resource.
	// The available keys are as follows:
	// + **agency_name**: The agency name to provide temporary credentials for CCE node to access other cloud services.
	// + **alpha.cce/NodeImageID**: The custom image ID used to create the BMS nodes.
	// + **dockerBaseSize**: The available disk space of a single docker container on the node in device mapper mode.
	// + **DockerLVMConfigOverride**: Specifies the data disk configurations of Docker.
	ExtendParam pulumi.StringMapOutput `pulumi:"extendParam"`
	// Specifies the flavor ID. Changing this parameter will create a new
	// resource.
	FlavorId pulumi.StringOutput `pulumi:"flavorId"`
	// Specifies the initial number of expected nodes in the node pool.
	// This parameter can be also used to manually scale the node count afterwards.
	InitialNodeCount pulumi.IntOutput `pulumi:"initialNodeCount"`
	// Specifies the key pair name when logging in to select the key pair mode.
	// This parameter and `password` are alternative. Changing this parameter will create a new resource.
	KeyPair pulumi.StringPtrOutput `pulumi:"keyPair"`
	// Specifies the tags of a Kubernetes node, key/value pair format.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// Specifies the maximum number of nodes allowed if auto scaling is enabled.
	MaxNodeCount pulumi.IntPtrOutput `pulumi:"maxNodeCount"`
	// Specifies the maximum number of instances a node is allowed to create.
	// Changing this parameter will create a new resource.
	MaxPods pulumi.IntOutput `pulumi:"maxPods"`
	// Specifies the minimum number of nodes allowed if auto scaling is enabled.
	MinNodeCount pulumi.IntPtrOutput `pulumi:"minNodeCount"`
	// Specifies the virtual space name. Currently, only **kubernetes**, **runtime**,
	// and **user** are supported. Changing this parameter will create a new resource.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the operating system of the node.
	// Changing this parameter will create a new resource.
	Os pulumi.StringOutput `pulumi:"os"`
	// Specifies the root password when logging in to select the password mode.
	// This parameter can be plain or salted and is alternative to `keyPair`.
	// Changing this parameter will create a new resource.
	Password pulumi.StringPtrOutput `pulumi:"password"`
	// Specifies the charging period of the CCE node pool. 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 parameter will create a new resource.
	Period pulumi.IntPtrOutput `pulumi:"period"`
	// Specifies the charging period unit of the CCE node pool.
	// Valid values are *month* and *year*. This parameter is mandatory if `chargingMode` is set to *prePaid*.
	// Changing this parameter will create a new resource.
	PeriodUnit pulumi.StringPtrOutput `pulumi:"periodUnit"`
	// Specifies the list of security group IDs for the pod.
	// Only supported in CCE Turbo clusters of v1.19 and above. Changing this parameter will create a new resource.
	PodSecurityGroups pulumi.StringArrayOutput `pulumi:"podSecurityGroups"`
	// Specifies the script to be executed after installation.
	// The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
	Postinstall pulumi.StringPtrOutput `pulumi:"postinstall"`
	// Specifies the script to be executed before installation.
	// The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
	Preinstall pulumi.StringPtrOutput `pulumi:"preinstall"`
	// Specifies the weight of the node pool.
	// A node pool with a higher weight has a higher priority during scaling.
	Priority pulumi.IntPtrOutput `pulumi:"priority"`
	// The region in which to create the CCE pool resource. If omitted, the
	// provider-level region will be used. Changing this creates a new CCE node pool resource.
	Region pulumi.StringOutput `pulumi:"region"`
	// Specifies the configuration of the system disk.
	// The structure is described below. Changing this parameter will create a new resource.
	RootVolume NodePoolRootVolumeOutput `pulumi:"rootVolume"`
	// Specifies the runtime of the CCE node pool. Valid values are *docker* and
	// *containerd*. Changing this creates a new resource.
	Runtime pulumi.StringOutput `pulumi:"runtime"`
	// Specifies the time interval between two scaling operations, in minutes.
	ScaleDownCooldownTime pulumi.IntPtrOutput `pulumi:"scaleDownCooldownTime"`
	// Specifies whether to enable auto scaling.
	// If Autoscaler is enabled, install the autoscaler add-on to use the auto scaling feature.
	ScallEnable pulumi.BoolPtrOutput `pulumi:"scallEnable"`
	// Specifies the list of custom security group IDs for the node pool.
	// If specified, the nodes will be put in these security groups. When specifying a security group, do not modify
	// the rules of the port on which CCE running depends. For details, see
	// [documentation](https://support.huaweicloud.com/intl/en-us/cce_faq/cce_faq_00265.html).
	SecurityGroups pulumi.StringArrayOutput `pulumi:"securityGroups"`
	// Node status information.
	Status pulumi.StringOutput `pulumi:"status"`
	// Specifies the disk initialization management parameter.
	// If omitted, disks are managed based on the DockerLVMConfigOverride parameter in extendParam.
	// This parameter is supported for clusters of v1.15.11 and later. Changing this parameter will create a new resource.
	Storage NodePoolStorageOutput `pulumi:"storage"`
	// Specifies the ID of the subnet to which the NIC belongs.
	// Changing this parameter will create a new resource.
	SubnetId pulumi.StringPtrOutput `pulumi:"subnetId"`
	// Specifies the tags of a VM node, key/value pair format.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Specifies the taints configuration of the nodes to set anti-affinity.
	// The structure is described below.
	Taints NodePoolTaintArrayOutput `pulumi:"taints"`
	// Specifies the storage type. Currently, only **evs (EVS volumes)** is supported.
	// The default value is **evs**. Changing this parameter will create a new resource.
	Type pulumi.StringOutput `pulumi:"type"`
}

Add a node pool to a container cluster.

## Example Usage ### Basic Usage

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Cce"
"github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/Cce"
"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, "")
		clusterId := cfg.RequireObject("clusterId")
		keyPair := cfg.RequireObject("keyPair")
		availabilityZone := cfg.RequireObject("availabilityZone")
		_, err := Cce.NewNodePool(ctx, "nodePool", &Cce.NodePoolArgs{
			ClusterId:             pulumi.Any(clusterId),
			Os:                    pulumi.String("EulerOS 2.5"),
			InitialNodeCount:      pulumi.Int(2),
			FlavorId:              pulumi.String("s3.large.4"),
			AvailabilityZone:      pulumi.Any(availabilityZone),
			KeyPair:               pulumi.Any(_var.Keypair),
			ScallEnable:           pulumi.Bool(true),
			MinNodeCount:          pulumi.Int(1),
			MaxNodeCount:          pulumi.Int(10),
			ScaleDownCooldownTime: pulumi.Int(100),
			Priority:              pulumi.Int(1),
			Type:                  pulumi.String("vm"),
			RootVolume: &cce.NodePoolRootVolumeArgs{
				Size:       pulumi.Int(40),
				Volumetype: pulumi.String("SAS"),
			},
			DataVolumes: cce.NodePoolDataVolumeArray{
				&cce.NodePoolDataVolumeArgs{
					Size:       pulumi.Int(100),
					Volumetype: pulumi.String("SAS"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Node pool with storage configuration ### PrePaid node pool

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Cce"
"github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/Cce"
"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, "")
		clusterId := cfg.RequireObject("clusterId")
		keyPair := cfg.RequireObject("keyPair")
		availabilityZone := cfg.RequireObject("availabilityZone")
		_, err := Cce.NewNodePool(ctx, "nodePool", &Cce.NodePoolArgs{
			ClusterId:             pulumi.Any(clusterId),
			Os:                    pulumi.String("EulerOS 2.5"),
			InitialNodeCount:      pulumi.Int(2),
			FlavorId:              pulumi.String("s3.large.4"),
			AvailabilityZone:      pulumi.Any(availabilityZone),
			KeyPair:               pulumi.Any(_var.Keypair),
			ScallEnable:           pulumi.Bool(true),
			MinNodeCount:          pulumi.Int(1),
			MaxNodeCount:          pulumi.Int(10),
			ScaleDownCooldownTime: pulumi.Int(100),
			Priority:              pulumi.Int(1),
			Type:                  pulumi.String("vm"),
			ChargingMode:          pulumi.String("prePaid"),
			PeriodUnit:            pulumi.String("month"),
			Period:                pulumi.Int(1),
			RootVolume: &cce.NodePoolRootVolumeArgs{
				Size:       pulumi.Int(40),
				Volumetype: pulumi.String("SAS"),
			},
			DataVolumes: cce.NodePoolDataVolumeArray{
				&cce.NodePoolDataVolumeArgs{
					Size:       pulumi.Int(100),
					Volumetype: pulumi.String("SAS"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

> You need to remove all nodes in the node pool on the console, before deleting a prepaid node pool.

## Import

CCE node pool can be imported using the cluster ID and node pool ID separated by a slash, e.g.

```sh

$ pulumi import huaweicloud:Cce/nodePool:NodePool my_node_pool 5c20fdad-7288-11eb-b817-0255ac10158b/e9287dff-7288-11eb-b817-0255ac10158b

```

Note that the imported state may not be identical to your resource definition, due to some attributes missing from the API response, security or some other reason. The missing attributes include`password`, `subnet_id`, `preinstall`, `posteinstall`, `taints`, `initial_node_count` and `pod_security_groups`. It is generally recommended running `terraform plan` after importing a node pool. You can then decide if changes should be applied to the node pool, or the resource definition should be updated to align with the node pool. Also you can ignore changes as below. resource "huaweicloud_cce_node_pool" "my_node_pool" {

...

lifecycle {

ignore_changes = [

password, subnet_id,

]

} }

func GetNodePool

func GetNodePool(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NodePoolState, opts ...pulumi.ResourceOption) (*NodePool, error)

GetNodePool gets an existing NodePool 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 NewNodePool

func NewNodePool(ctx *pulumi.Context,
	name string, args *NodePoolArgs, opts ...pulumi.ResourceOption) (*NodePool, error)

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

func (*NodePool) ElementType

func (*NodePool) ElementType() reflect.Type

func (*NodePool) ToNodePoolOutput

func (i *NodePool) ToNodePoolOutput() NodePoolOutput

func (*NodePool) ToNodePoolOutputWithContext

func (i *NodePool) ToNodePoolOutputWithContext(ctx context.Context) NodePoolOutput

type NodePoolArgs

type NodePoolArgs struct {
	// Specifies whether auto renew is enabled. Valid values are "true" and "false".
	// Changing this parameter will create a new resource.
	AutoRenew pulumi.StringPtrInput
	// Specifies the name of the available partition (AZ). Default value
	// is random to create nodes in a random AZ in the node pool. Changing this parameter will create a new resource.
	AvailabilityZone pulumi.StringPtrInput
	// Specifies the charging mode of the CCE node pool. Valid values are
	// *prePaid* and *postPaid*, defaults to *postPaid*. Changing this parameter will create a new resource.
	ChargingMode pulumi.StringPtrInput
	// Specifies the cluster ID.
	// Changing this parameter will create a new resource.
	ClusterId pulumi.StringInput
	// Specifies the configuration of the data disks.
	// The structure is described below. Changing this parameter will create a new resource.
	DataVolumes NodePoolDataVolumeArrayInput
	// Specifies the ECS group ID. If specified, the node will be created under
	// the cloud server group. Changing this parameter will create a new resource.
	EcsGroupId pulumi.StringPtrInput
	// Specifies the extended parameter.
	// Changing this parameter will create a new resource.
	// The available keys are as follows:
	// + **agency_name**: The agency name to provide temporary credentials for CCE node to access other cloud services.
	// + **alpha.cce/NodeImageID**: The custom image ID used to create the BMS nodes.
	// + **dockerBaseSize**: The available disk space of a single docker container on the node in device mapper mode.
	// + **DockerLVMConfigOverride**: Specifies the data disk configurations of Docker.
	ExtendParam pulumi.StringMapInput
	// Specifies the flavor ID. Changing this parameter will create a new
	// resource.
	FlavorId pulumi.StringInput
	// Specifies the initial number of expected nodes in the node pool.
	// This parameter can be also used to manually scale the node count afterwards.
	InitialNodeCount pulumi.IntInput
	// Specifies the key pair name when logging in to select the key pair mode.
	// This parameter and `password` are alternative. Changing this parameter will create a new resource.
	KeyPair pulumi.StringPtrInput
	// Specifies the tags of a Kubernetes node, key/value pair format.
	Labels pulumi.StringMapInput
	// Specifies the maximum number of nodes allowed if auto scaling is enabled.
	MaxNodeCount pulumi.IntPtrInput
	// Specifies the maximum number of instances a node is allowed to create.
	// Changing this parameter will create a new resource.
	MaxPods pulumi.IntPtrInput
	// Specifies the minimum number of nodes allowed if auto scaling is enabled.
	MinNodeCount pulumi.IntPtrInput
	// Specifies the virtual space name. Currently, only **kubernetes**, **runtime**,
	// and **user** are supported. Changing this parameter will create a new resource.
	Name pulumi.StringPtrInput
	// Specifies the operating system of the node.
	// Changing this parameter will create a new resource.
	Os pulumi.StringPtrInput
	// Specifies the root password when logging in to select the password mode.
	// This parameter can be plain or salted and is alternative to `keyPair`.
	// Changing this parameter will create a new resource.
	Password pulumi.StringPtrInput
	// Specifies the charging period of the CCE node pool. 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 parameter will create a new resource.
	Period pulumi.IntPtrInput
	// Specifies the charging period unit of the CCE node pool.
	// Valid values are *month* and *year*. This parameter is mandatory if `chargingMode` is set to *prePaid*.
	// Changing this parameter will create a new resource.
	PeriodUnit pulumi.StringPtrInput
	// Specifies the list of security group IDs for the pod.
	// Only supported in CCE Turbo clusters of v1.19 and above. Changing this parameter will create a new resource.
	PodSecurityGroups pulumi.StringArrayInput
	// Specifies the script to be executed after installation.
	// The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
	Postinstall pulumi.StringPtrInput
	// Specifies the script to be executed before installation.
	// The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
	Preinstall pulumi.StringPtrInput
	// Specifies the weight of the node pool.
	// A node pool with a higher weight has a higher priority during scaling.
	Priority pulumi.IntPtrInput
	// The region in which to create the CCE pool resource. If omitted, the
	// provider-level region will be used. Changing this creates a new CCE node pool resource.
	Region pulumi.StringPtrInput
	// Specifies the configuration of the system disk.
	// The structure is described below. Changing this parameter will create a new resource.
	RootVolume NodePoolRootVolumeInput
	// Specifies the runtime of the CCE node pool. Valid values are *docker* and
	// *containerd*. Changing this creates a new resource.
	Runtime pulumi.StringPtrInput
	// Specifies the time interval between two scaling operations, in minutes.
	ScaleDownCooldownTime pulumi.IntPtrInput
	// Specifies whether to enable auto scaling.
	// If Autoscaler is enabled, install the autoscaler add-on to use the auto scaling feature.
	ScallEnable pulumi.BoolPtrInput
	// Specifies the list of custom security group IDs for the node pool.
	// If specified, the nodes will be put in these security groups. When specifying a security group, do not modify
	// the rules of the port on which CCE running depends. For details, see
	// [documentation](https://support.huaweicloud.com/intl/en-us/cce_faq/cce_faq_00265.html).
	SecurityGroups pulumi.StringArrayInput
	// Specifies the disk initialization management parameter.
	// If omitted, disks are managed based on the DockerLVMConfigOverride parameter in extendParam.
	// This parameter is supported for clusters of v1.15.11 and later. Changing this parameter will create a new resource.
	Storage NodePoolStoragePtrInput
	// Specifies the ID of the subnet to which the NIC belongs.
	// Changing this parameter will create a new resource.
	SubnetId pulumi.StringPtrInput
	// Specifies the tags of a VM node, key/value pair format.
	Tags pulumi.StringMapInput
	// Specifies the taints configuration of the nodes to set anti-affinity.
	// The structure is described below.
	Taints NodePoolTaintArrayInput
	// Specifies the storage type. Currently, only **evs (EVS volumes)** is supported.
	// The default value is **evs**. Changing this parameter will create a new resource.
	Type pulumi.StringPtrInput
}

The set of arguments for constructing a NodePool resource.

func (NodePoolArgs) ElementType

func (NodePoolArgs) ElementType() reflect.Type

type NodePoolArray

type NodePoolArray []NodePoolInput

func (NodePoolArray) ElementType

func (NodePoolArray) ElementType() reflect.Type

func (NodePoolArray) ToNodePoolArrayOutput

func (i NodePoolArray) ToNodePoolArrayOutput() NodePoolArrayOutput

func (NodePoolArray) ToNodePoolArrayOutputWithContext

func (i NodePoolArray) ToNodePoolArrayOutputWithContext(ctx context.Context) NodePoolArrayOutput

type NodePoolArrayInput

type NodePoolArrayInput interface {
	pulumi.Input

	ToNodePoolArrayOutput() NodePoolArrayOutput
	ToNodePoolArrayOutputWithContext(context.Context) NodePoolArrayOutput
}

NodePoolArrayInput is an input type that accepts NodePoolArray and NodePoolArrayOutput values. You can construct a concrete instance of `NodePoolArrayInput` via:

NodePoolArray{ NodePoolArgs{...} }

type NodePoolArrayOutput

type NodePoolArrayOutput struct{ *pulumi.OutputState }

func (NodePoolArrayOutput) ElementType

func (NodePoolArrayOutput) ElementType() reflect.Type

func (NodePoolArrayOutput) Index

func (NodePoolArrayOutput) ToNodePoolArrayOutput

func (o NodePoolArrayOutput) ToNodePoolArrayOutput() NodePoolArrayOutput

func (NodePoolArrayOutput) ToNodePoolArrayOutputWithContext

func (o NodePoolArrayOutput) ToNodePoolArrayOutputWithContext(ctx context.Context) NodePoolArrayOutput

type NodePoolDataVolume

type NodePoolDataVolume struct {
	// Specifies the extended parameter.
	// Changing this parameter will create a new resource.
	// The available keys are as follows:
	// + **agency_name**: The agency name to provide temporary credentials for CCE node to access other cloud services.
	// + **alpha.cce/NodeImageID**: The custom image ID used to create the BMS nodes.
	// + **dockerBaseSize**: The available disk space of a single docker container on the node in device mapper mode.
	// + **DockerLVMConfigOverride**: Specifies the data disk configurations of Docker.
	//
	// Deprecated: use extend_params instead
	ExtendParam *string `pulumi:"extendParam"`
	// Specifies the disk expansion parameters.
	// Changing this parameter will create a new resource.
	ExtendParams  map[string]string `pulumi:"extendParams"`
	HwPassthrough *bool             `pulumi:"hwPassthrough"`
	// Specifies the KMS key ID. This is used to encrypt the volume.
	// Changing this parameter will create a new resource.
	KmsKeyId *string `pulumi:"kmsKeyId"`
	// Specifies the size of a virtual space. Only an integer percentage is supported.
	// Example: 90%. Note that the total percentage of all virtual spaces in a group cannot exceed 100%.
	// Changing this parameter will create a new resource.
	Size int `pulumi:"size"`
	// Specifies the disk type. Changing this parameter will create a new resource.
	Volumetype string `pulumi:"volumetype"`
}

type NodePoolDataVolumeArgs

type NodePoolDataVolumeArgs struct {
	// Specifies the extended parameter.
	// Changing this parameter will create a new resource.
	// The available keys are as follows:
	// + **agency_name**: The agency name to provide temporary credentials for CCE node to access other cloud services.
	// + **alpha.cce/NodeImageID**: The custom image ID used to create the BMS nodes.
	// + **dockerBaseSize**: The available disk space of a single docker container on the node in device mapper mode.
	// + **DockerLVMConfigOverride**: Specifies the data disk configurations of Docker.
	//
	// Deprecated: use extend_params instead
	ExtendParam pulumi.StringPtrInput `pulumi:"extendParam"`
	// Specifies the disk expansion parameters.
	// Changing this parameter will create a new resource.
	ExtendParams  pulumi.StringMapInput `pulumi:"extendParams"`
	HwPassthrough pulumi.BoolPtrInput   `pulumi:"hwPassthrough"`
	// Specifies the KMS key ID. This is used to encrypt the volume.
	// Changing this parameter will create a new resource.
	KmsKeyId pulumi.StringPtrInput `pulumi:"kmsKeyId"`
	// Specifies the size of a virtual space. Only an integer percentage is supported.
	// Example: 90%. Note that the total percentage of all virtual spaces in a group cannot exceed 100%.
	// Changing this parameter will create a new resource.
	Size pulumi.IntInput `pulumi:"size"`
	// Specifies the disk type. Changing this parameter will create a new resource.
	Volumetype pulumi.StringInput `pulumi:"volumetype"`
}

func (NodePoolDataVolumeArgs) ElementType

func (NodePoolDataVolumeArgs) ElementType() reflect.Type

func (NodePoolDataVolumeArgs) ToNodePoolDataVolumeOutput

func (i NodePoolDataVolumeArgs) ToNodePoolDataVolumeOutput() NodePoolDataVolumeOutput

func (NodePoolDataVolumeArgs) ToNodePoolDataVolumeOutputWithContext

func (i NodePoolDataVolumeArgs) ToNodePoolDataVolumeOutputWithContext(ctx context.Context) NodePoolDataVolumeOutput

type NodePoolDataVolumeArray

type NodePoolDataVolumeArray []NodePoolDataVolumeInput

func (NodePoolDataVolumeArray) ElementType

func (NodePoolDataVolumeArray) ElementType() reflect.Type

func (NodePoolDataVolumeArray) ToNodePoolDataVolumeArrayOutput

func (i NodePoolDataVolumeArray) ToNodePoolDataVolumeArrayOutput() NodePoolDataVolumeArrayOutput

func (NodePoolDataVolumeArray) ToNodePoolDataVolumeArrayOutputWithContext

func (i NodePoolDataVolumeArray) ToNodePoolDataVolumeArrayOutputWithContext(ctx context.Context) NodePoolDataVolumeArrayOutput

type NodePoolDataVolumeArrayInput

type NodePoolDataVolumeArrayInput interface {
	pulumi.Input

	ToNodePoolDataVolumeArrayOutput() NodePoolDataVolumeArrayOutput
	ToNodePoolDataVolumeArrayOutputWithContext(context.Context) NodePoolDataVolumeArrayOutput
}

NodePoolDataVolumeArrayInput is an input type that accepts NodePoolDataVolumeArray and NodePoolDataVolumeArrayOutput values. You can construct a concrete instance of `NodePoolDataVolumeArrayInput` via:

NodePoolDataVolumeArray{ NodePoolDataVolumeArgs{...} }

type NodePoolDataVolumeArrayOutput

type NodePoolDataVolumeArrayOutput struct{ *pulumi.OutputState }

func (NodePoolDataVolumeArrayOutput) ElementType

func (NodePoolDataVolumeArrayOutput) Index

func (NodePoolDataVolumeArrayOutput) ToNodePoolDataVolumeArrayOutput

func (o NodePoolDataVolumeArrayOutput) ToNodePoolDataVolumeArrayOutput() NodePoolDataVolumeArrayOutput

func (NodePoolDataVolumeArrayOutput) ToNodePoolDataVolumeArrayOutputWithContext

func (o NodePoolDataVolumeArrayOutput) ToNodePoolDataVolumeArrayOutputWithContext(ctx context.Context) NodePoolDataVolumeArrayOutput

type NodePoolDataVolumeInput

type NodePoolDataVolumeInput interface {
	pulumi.Input

	ToNodePoolDataVolumeOutput() NodePoolDataVolumeOutput
	ToNodePoolDataVolumeOutputWithContext(context.Context) NodePoolDataVolumeOutput
}

NodePoolDataVolumeInput is an input type that accepts NodePoolDataVolumeArgs and NodePoolDataVolumeOutput values. You can construct a concrete instance of `NodePoolDataVolumeInput` via:

NodePoolDataVolumeArgs{...}

type NodePoolDataVolumeOutput

type NodePoolDataVolumeOutput struct{ *pulumi.OutputState }

func (NodePoolDataVolumeOutput) ElementType

func (NodePoolDataVolumeOutput) ElementType() reflect.Type

func (NodePoolDataVolumeOutput) ExtendParam deprecated

Specifies the extended parameter. Changing this parameter will create a new resource. The available keys are as follows: + **agency_name**: The agency name to provide temporary credentials for CCE node to access other cloud services. + **alpha.cce/NodeImageID**: The custom image ID used to create the BMS nodes. + **dockerBaseSize**: The available disk space of a single docker container on the node in device mapper mode. + **DockerLVMConfigOverride**: Specifies the data disk configurations of Docker.

Deprecated: use extend_params instead

func (NodePoolDataVolumeOutput) ExtendParams

Specifies the disk expansion parameters. Changing this parameter will create a new resource.

func (NodePoolDataVolumeOutput) HwPassthrough

func (o NodePoolDataVolumeOutput) HwPassthrough() pulumi.BoolPtrOutput

func (NodePoolDataVolumeOutput) KmsKeyId

Specifies the KMS key ID. This is used to encrypt the volume. Changing this parameter will create a new resource.

func (NodePoolDataVolumeOutput) Size

Specifies the size of a virtual space. Only an integer percentage is supported. Example: 90%. Note that the total percentage of all virtual spaces in a group cannot exceed 100%. Changing this parameter will create a new resource.

func (NodePoolDataVolumeOutput) ToNodePoolDataVolumeOutput

func (o NodePoolDataVolumeOutput) ToNodePoolDataVolumeOutput() NodePoolDataVolumeOutput

func (NodePoolDataVolumeOutput) ToNodePoolDataVolumeOutputWithContext

func (o NodePoolDataVolumeOutput) ToNodePoolDataVolumeOutputWithContext(ctx context.Context) NodePoolDataVolumeOutput

func (NodePoolDataVolumeOutput) Volumetype

Specifies the disk type. Changing this parameter will create a new resource.

type NodePoolInput

type NodePoolInput interface {
	pulumi.Input

	ToNodePoolOutput() NodePoolOutput
	ToNodePoolOutputWithContext(ctx context.Context) NodePoolOutput
}

type NodePoolMap

type NodePoolMap map[string]NodePoolInput

func (NodePoolMap) ElementType

func (NodePoolMap) ElementType() reflect.Type

func (NodePoolMap) ToNodePoolMapOutput

func (i NodePoolMap) ToNodePoolMapOutput() NodePoolMapOutput

func (NodePoolMap) ToNodePoolMapOutputWithContext

func (i NodePoolMap) ToNodePoolMapOutputWithContext(ctx context.Context) NodePoolMapOutput

type NodePoolMapInput

type NodePoolMapInput interface {
	pulumi.Input

	ToNodePoolMapOutput() NodePoolMapOutput
	ToNodePoolMapOutputWithContext(context.Context) NodePoolMapOutput
}

NodePoolMapInput is an input type that accepts NodePoolMap and NodePoolMapOutput values. You can construct a concrete instance of `NodePoolMapInput` via:

NodePoolMap{ "key": NodePoolArgs{...} }

type NodePoolMapOutput

type NodePoolMapOutput struct{ *pulumi.OutputState }

func (NodePoolMapOutput) ElementType

func (NodePoolMapOutput) ElementType() reflect.Type

func (NodePoolMapOutput) MapIndex

func (NodePoolMapOutput) ToNodePoolMapOutput

func (o NodePoolMapOutput) ToNodePoolMapOutput() NodePoolMapOutput

func (NodePoolMapOutput) ToNodePoolMapOutputWithContext

func (o NodePoolMapOutput) ToNodePoolMapOutputWithContext(ctx context.Context) NodePoolMapOutput

type NodePoolOutput

type NodePoolOutput struct{ *pulumi.OutputState }

func (NodePoolOutput) AutoRenew added in v0.0.8

func (o NodePoolOutput) AutoRenew() pulumi.StringPtrOutput

Specifies whether auto renew is enabled. Valid values are "true" and "false". Changing this parameter will create a new resource.

func (NodePoolOutput) AvailabilityZone

func (o NodePoolOutput) AvailabilityZone() pulumi.StringPtrOutput

Specifies the name of the available partition (AZ). Default value is random to create nodes in a random AZ in the node pool. Changing this parameter will create a new resource.

func (NodePoolOutput) BillingMode

func (o NodePoolOutput) BillingMode() pulumi.IntOutput

Billing mode of a node.

func (NodePoolOutput) ChargingMode added in v0.0.8

func (o NodePoolOutput) ChargingMode() pulumi.StringOutput

Specifies the charging mode of the CCE node pool. Valid values are *prePaid* and *postPaid*, defaults to *postPaid*. Changing this parameter will create a new resource.

func (NodePoolOutput) ClusterId

func (o NodePoolOutput) ClusterId() pulumi.StringOutput

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

func (NodePoolOutput) CurrentNodeCount

func (o NodePoolOutput) CurrentNodeCount() pulumi.IntOutput

The current number of the nodes.

func (NodePoolOutput) DataVolumes

Specifies the configuration of the data disks. The structure is described below. Changing this parameter will create a new resource.

func (NodePoolOutput) EcsGroupId added in v0.0.8

func (o NodePoolOutput) EcsGroupId() pulumi.StringPtrOutput

Specifies the ECS group ID. If specified, the node will be created under the cloud server group. Changing this parameter will create a new resource.

func (NodePoolOutput) ElementType

func (NodePoolOutput) ElementType() reflect.Type

func (NodePoolOutput) ExtendParam

func (o NodePoolOutput) ExtendParam() pulumi.StringMapOutput

Specifies the extended parameter. Changing this parameter will create a new resource. The available keys are as follows: + **agency_name**: The agency name to provide temporary credentials for CCE node to access other cloud services. + **alpha.cce/NodeImageID**: The custom image ID used to create the BMS nodes. + **dockerBaseSize**: The available disk space of a single docker container on the node in device mapper mode. + **DockerLVMConfigOverride**: Specifies the data disk configurations of Docker.

func (NodePoolOutput) FlavorId

func (o NodePoolOutput) FlavorId() pulumi.StringOutput

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

func (NodePoolOutput) InitialNodeCount

func (o NodePoolOutput) InitialNodeCount() pulumi.IntOutput

Specifies the initial number of expected nodes in the node pool. This parameter can be also used to manually scale the node count afterwards.

func (NodePoolOutput) KeyPair

Specifies the key pair name when logging in to select the key pair mode. This parameter and `password` are alternative. Changing this parameter will create a new resource.

func (NodePoolOutput) Labels

Specifies the tags of a Kubernetes node, key/value pair format.

func (NodePoolOutput) MaxNodeCount

func (o NodePoolOutput) MaxNodeCount() pulumi.IntPtrOutput

Specifies the maximum number of nodes allowed if auto scaling is enabled.

func (NodePoolOutput) MaxPods

func (o NodePoolOutput) MaxPods() pulumi.IntOutput

Specifies the maximum number of instances a node is allowed to create. Changing this parameter will create a new resource.

func (NodePoolOutput) MinNodeCount

func (o NodePoolOutput) MinNodeCount() pulumi.IntPtrOutput

Specifies the minimum number of nodes allowed if auto scaling is enabled.

func (NodePoolOutput) Name

Specifies the virtual space name. Currently, only **kubernetes**, **runtime**, and **user** are supported. Changing this parameter will create a new resource.

func (NodePoolOutput) Os

Specifies the operating system of the node. Changing this parameter will create a new resource.

func (NodePoolOutput) Password

func (o NodePoolOutput) Password() pulumi.StringPtrOutput

Specifies the root password when logging in to select the password mode. This parameter can be plain or salted and is alternative to `keyPair`. Changing this parameter will create a new resource.

func (NodePoolOutput) Period added in v0.0.8

func (o NodePoolOutput) Period() pulumi.IntPtrOutput

Specifies the charging period of the CCE node pool. 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 parameter will create a new resource.

func (NodePoolOutput) PeriodUnit added in v0.0.8

func (o NodePoolOutput) PeriodUnit() pulumi.StringPtrOutput

Specifies the charging period unit of the CCE node pool. Valid values are *month* and *year*. This parameter is mandatory if `chargingMode` is set to *prePaid*. Changing this parameter will create a new resource.

func (NodePoolOutput) PodSecurityGroups added in v0.0.8

func (o NodePoolOutput) PodSecurityGroups() pulumi.StringArrayOutput

Specifies the list of security group IDs for the pod. Only supported in CCE Turbo clusters of v1.19 and above. Changing this parameter will create a new resource.

func (NodePoolOutput) Postinstall

func (o NodePoolOutput) Postinstall() pulumi.StringPtrOutput

Specifies the script to be executed after installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.

func (NodePoolOutput) Preinstall

func (o NodePoolOutput) Preinstall() pulumi.StringPtrOutput

Specifies the script to be executed before installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.

func (NodePoolOutput) Priority

func (o NodePoolOutput) Priority() pulumi.IntPtrOutput

Specifies the weight of the node pool. A node pool with a higher weight has a higher priority during scaling.

func (NodePoolOutput) Region

func (o NodePoolOutput) Region() pulumi.StringOutput

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

func (NodePoolOutput) RootVolume

Specifies the configuration of the system disk. The structure is described below. Changing this parameter will create a new resource.

func (NodePoolOutput) Runtime

func (o NodePoolOutput) Runtime() pulumi.StringOutput

Specifies the runtime of the CCE node pool. Valid values are *docker* and *containerd*. Changing this creates a new resource.

func (NodePoolOutput) ScaleDownCooldownTime

func (o NodePoolOutput) ScaleDownCooldownTime() pulumi.IntPtrOutput

Specifies the time interval between two scaling operations, in minutes.

func (NodePoolOutput) ScallEnable

func (o NodePoolOutput) ScallEnable() pulumi.BoolPtrOutput

Specifies whether to enable auto scaling. If Autoscaler is enabled, install the autoscaler add-on to use the auto scaling feature.

func (NodePoolOutput) SecurityGroups added in v0.0.8

func (o NodePoolOutput) SecurityGroups() pulumi.StringArrayOutput

Specifies the list of custom security group IDs for the node pool. If specified, the nodes will be put in these security groups. When specifying a security group, do not modify the rules of the port on which CCE running depends. For details, see [documentation](https://support.huaweicloud.com/intl/en-us/cce_faq/cce_faq_00265.html).

func (NodePoolOutput) Status

func (o NodePoolOutput) Status() pulumi.StringOutput

Node status information.

func (NodePoolOutput) Storage added in v0.0.8

Specifies the disk initialization management parameter. If omitted, disks are managed based on the DockerLVMConfigOverride parameter in extendParam. This parameter is supported for clusters of v1.15.11 and later. Changing this parameter will create a new resource.

func (NodePoolOutput) SubnetId

func (o NodePoolOutput) SubnetId() pulumi.StringPtrOutput

Specifies the ID of the subnet to which the NIC belongs. Changing this parameter will create a new resource.

func (NodePoolOutput) Tags

Specifies the tags of a VM node, key/value pair format.

func (NodePoolOutput) Taints

Specifies the taints configuration of the nodes to set anti-affinity. The structure is described below.

func (NodePoolOutput) ToNodePoolOutput

func (o NodePoolOutput) ToNodePoolOutput() NodePoolOutput

func (NodePoolOutput) ToNodePoolOutputWithContext

func (o NodePoolOutput) ToNodePoolOutputWithContext(ctx context.Context) NodePoolOutput

func (NodePoolOutput) Type

Specifies the storage type. Currently, only **evs (EVS volumes)** is supported. The default value is **evs**. Changing this parameter will create a new resource.

type NodePoolRootVolume

type NodePoolRootVolume struct {
	// Specifies the extended parameter.
	// Changing this parameter will create a new resource.
	// The available keys are as follows:
	// + **agency_name**: The agency name to provide temporary credentials for CCE node to access other cloud services.
	// + **alpha.cce/NodeImageID**: The custom image ID used to create the BMS nodes.
	// + **dockerBaseSize**: The available disk space of a single docker container on the node in device mapper mode.
	// + **DockerLVMConfigOverride**: Specifies the data disk configurations of Docker.
	//
	// Deprecated: use extend_params instead
	ExtendParam *string `pulumi:"extendParam"`
	// Specifies the disk expansion parameters.
	// Changing this parameter will create a new resource.
	ExtendParams  map[string]string `pulumi:"extendParams"`
	HwPassthrough *bool             `pulumi:"hwPassthrough"`
	// Specifies the KMS key ID. This is used to encrypt the volume.
	// Changing this parameter will create a new resource.
	KmsKeyId *string `pulumi:"kmsKeyId"`
	// Specifies the size of a virtual space. Only an integer percentage is supported.
	// Example: 90%. Note that the total percentage of all virtual spaces in a group cannot exceed 100%.
	// Changing this parameter will create a new resource.
	Size int `pulumi:"size"`
	// Specifies the disk type. Changing this parameter will create a new resource.
	Volumetype string `pulumi:"volumetype"`
}

type NodePoolRootVolumeArgs

type NodePoolRootVolumeArgs struct {
	// Specifies the extended parameter.
	// Changing this parameter will create a new resource.
	// The available keys are as follows:
	// + **agency_name**: The agency name to provide temporary credentials for CCE node to access other cloud services.
	// + **alpha.cce/NodeImageID**: The custom image ID used to create the BMS nodes.
	// + **dockerBaseSize**: The available disk space of a single docker container on the node in device mapper mode.
	// + **DockerLVMConfigOverride**: Specifies the data disk configurations of Docker.
	//
	// Deprecated: use extend_params instead
	ExtendParam pulumi.StringPtrInput `pulumi:"extendParam"`
	// Specifies the disk expansion parameters.
	// Changing this parameter will create a new resource.
	ExtendParams  pulumi.StringMapInput `pulumi:"extendParams"`
	HwPassthrough pulumi.BoolPtrInput   `pulumi:"hwPassthrough"`
	// Specifies the KMS key ID. This is used to encrypt the volume.
	// Changing this parameter will create a new resource.
	KmsKeyId pulumi.StringPtrInput `pulumi:"kmsKeyId"`
	// Specifies the size of a virtual space. Only an integer percentage is supported.
	// Example: 90%. Note that the total percentage of all virtual spaces in a group cannot exceed 100%.
	// Changing this parameter will create a new resource.
	Size pulumi.IntInput `pulumi:"size"`
	// Specifies the disk type. Changing this parameter will create a new resource.
	Volumetype pulumi.StringInput `pulumi:"volumetype"`
}

func (NodePoolRootVolumeArgs) ElementType

func (NodePoolRootVolumeArgs) ElementType() reflect.Type

func (NodePoolRootVolumeArgs) ToNodePoolRootVolumeOutput

func (i NodePoolRootVolumeArgs) ToNodePoolRootVolumeOutput() NodePoolRootVolumeOutput

func (NodePoolRootVolumeArgs) ToNodePoolRootVolumeOutputWithContext

func (i NodePoolRootVolumeArgs) ToNodePoolRootVolumeOutputWithContext(ctx context.Context) NodePoolRootVolumeOutput

func (NodePoolRootVolumeArgs) ToNodePoolRootVolumePtrOutput

func (i NodePoolRootVolumeArgs) ToNodePoolRootVolumePtrOutput() NodePoolRootVolumePtrOutput

func (NodePoolRootVolumeArgs) ToNodePoolRootVolumePtrOutputWithContext

func (i NodePoolRootVolumeArgs) ToNodePoolRootVolumePtrOutputWithContext(ctx context.Context) NodePoolRootVolumePtrOutput

type NodePoolRootVolumeInput

type NodePoolRootVolumeInput interface {
	pulumi.Input

	ToNodePoolRootVolumeOutput() NodePoolRootVolumeOutput
	ToNodePoolRootVolumeOutputWithContext(context.Context) NodePoolRootVolumeOutput
}

NodePoolRootVolumeInput is an input type that accepts NodePoolRootVolumeArgs and NodePoolRootVolumeOutput values. You can construct a concrete instance of `NodePoolRootVolumeInput` via:

NodePoolRootVolumeArgs{...}

type NodePoolRootVolumeOutput

type NodePoolRootVolumeOutput struct{ *pulumi.OutputState }

func (NodePoolRootVolumeOutput) ElementType

func (NodePoolRootVolumeOutput) ElementType() reflect.Type

func (NodePoolRootVolumeOutput) ExtendParam deprecated

Specifies the extended parameter. Changing this parameter will create a new resource. The available keys are as follows: + **agency_name**: The agency name to provide temporary credentials for CCE node to access other cloud services. + **alpha.cce/NodeImageID**: The custom image ID used to create the BMS nodes. + **dockerBaseSize**: The available disk space of a single docker container on the node in device mapper mode. + **DockerLVMConfigOverride**: Specifies the data disk configurations of Docker.

Deprecated: use extend_params instead

func (NodePoolRootVolumeOutput) ExtendParams

Specifies the disk expansion parameters. Changing this parameter will create a new resource.

func (NodePoolRootVolumeOutput) HwPassthrough

func (o NodePoolRootVolumeOutput) HwPassthrough() pulumi.BoolPtrOutput

func (NodePoolRootVolumeOutput) KmsKeyId added in v0.0.8

Specifies the KMS key ID. This is used to encrypt the volume. Changing this parameter will create a new resource.

func (NodePoolRootVolumeOutput) Size

Specifies the size of a virtual space. Only an integer percentage is supported. Example: 90%. Note that the total percentage of all virtual spaces in a group cannot exceed 100%. Changing this parameter will create a new resource.

func (NodePoolRootVolumeOutput) ToNodePoolRootVolumeOutput

func (o NodePoolRootVolumeOutput) ToNodePoolRootVolumeOutput() NodePoolRootVolumeOutput

func (NodePoolRootVolumeOutput) ToNodePoolRootVolumeOutputWithContext

func (o NodePoolRootVolumeOutput) ToNodePoolRootVolumeOutputWithContext(ctx context.Context) NodePoolRootVolumeOutput

func (NodePoolRootVolumeOutput) ToNodePoolRootVolumePtrOutput

func (o NodePoolRootVolumeOutput) ToNodePoolRootVolumePtrOutput() NodePoolRootVolumePtrOutput

func (NodePoolRootVolumeOutput) ToNodePoolRootVolumePtrOutputWithContext

func (o NodePoolRootVolumeOutput) ToNodePoolRootVolumePtrOutputWithContext(ctx context.Context) NodePoolRootVolumePtrOutput

func (NodePoolRootVolumeOutput) Volumetype

Specifies the disk type. Changing this parameter will create a new resource.

type NodePoolRootVolumePtrInput

type NodePoolRootVolumePtrInput interface {
	pulumi.Input

	ToNodePoolRootVolumePtrOutput() NodePoolRootVolumePtrOutput
	ToNodePoolRootVolumePtrOutputWithContext(context.Context) NodePoolRootVolumePtrOutput
}

NodePoolRootVolumePtrInput is an input type that accepts NodePoolRootVolumeArgs, NodePoolRootVolumePtr and NodePoolRootVolumePtrOutput values. You can construct a concrete instance of `NodePoolRootVolumePtrInput` via:

        NodePoolRootVolumeArgs{...}

or:

        nil

type NodePoolRootVolumePtrOutput

type NodePoolRootVolumePtrOutput struct{ *pulumi.OutputState }

func (NodePoolRootVolumePtrOutput) Elem

func (NodePoolRootVolumePtrOutput) ElementType

func (NodePoolRootVolumePtrOutput) ExtendParam deprecated

Specifies the extended parameter. Changing this parameter will create a new resource. The available keys are as follows: + **agency_name**: The agency name to provide temporary credentials for CCE node to access other cloud services. + **alpha.cce/NodeImageID**: The custom image ID used to create the BMS nodes. + **dockerBaseSize**: The available disk space of a single docker container on the node in device mapper mode. + **DockerLVMConfigOverride**: Specifies the data disk configurations of Docker.

Deprecated: use extend_params instead

func (NodePoolRootVolumePtrOutput) ExtendParams

Specifies the disk expansion parameters. Changing this parameter will create a new resource.

func (NodePoolRootVolumePtrOutput) HwPassthrough

func (NodePoolRootVolumePtrOutput) KmsKeyId added in v0.0.8

Specifies the KMS key ID. This is used to encrypt the volume. Changing this parameter will create a new resource.

func (NodePoolRootVolumePtrOutput) Size

Specifies the size of a virtual space. Only an integer percentage is supported. Example: 90%. Note that the total percentage of all virtual spaces in a group cannot exceed 100%. Changing this parameter will create a new resource.

func (NodePoolRootVolumePtrOutput) ToNodePoolRootVolumePtrOutput

func (o NodePoolRootVolumePtrOutput) ToNodePoolRootVolumePtrOutput() NodePoolRootVolumePtrOutput

func (NodePoolRootVolumePtrOutput) ToNodePoolRootVolumePtrOutputWithContext

func (o NodePoolRootVolumePtrOutput) ToNodePoolRootVolumePtrOutputWithContext(ctx context.Context) NodePoolRootVolumePtrOutput

func (NodePoolRootVolumePtrOutput) Volumetype

Specifies the disk type. Changing this parameter will create a new resource.

type NodePoolState

type NodePoolState struct {
	// Specifies whether auto renew is enabled. Valid values are "true" and "false".
	// Changing this parameter will create a new resource.
	AutoRenew pulumi.StringPtrInput
	// Specifies the name of the available partition (AZ). Default value
	// is random to create nodes in a random AZ in the node pool. Changing this parameter will create a new resource.
	AvailabilityZone pulumi.StringPtrInput
	// Billing mode of a node.
	BillingMode pulumi.IntPtrInput
	// Specifies the charging mode of the CCE node pool. Valid values are
	// *prePaid* and *postPaid*, defaults to *postPaid*. Changing this parameter will create a new resource.
	ChargingMode pulumi.StringPtrInput
	// Specifies the cluster ID.
	// Changing this parameter will create a new resource.
	ClusterId pulumi.StringPtrInput
	// The current number of the nodes.
	CurrentNodeCount pulumi.IntPtrInput
	// Specifies the configuration of the data disks.
	// The structure is described below. Changing this parameter will create a new resource.
	DataVolumes NodePoolDataVolumeArrayInput
	// Specifies the ECS group ID. If specified, the node will be created under
	// the cloud server group. Changing this parameter will create a new resource.
	EcsGroupId pulumi.StringPtrInput
	// Specifies the extended parameter.
	// Changing this parameter will create a new resource.
	// The available keys are as follows:
	// + **agency_name**: The agency name to provide temporary credentials for CCE node to access other cloud services.
	// + **alpha.cce/NodeImageID**: The custom image ID used to create the BMS nodes.
	// + **dockerBaseSize**: The available disk space of a single docker container on the node in device mapper mode.
	// + **DockerLVMConfigOverride**: Specifies the data disk configurations of Docker.
	ExtendParam pulumi.StringMapInput
	// Specifies the flavor ID. Changing this parameter will create a new
	// resource.
	FlavorId pulumi.StringPtrInput
	// Specifies the initial number of expected nodes in the node pool.
	// This parameter can be also used to manually scale the node count afterwards.
	InitialNodeCount pulumi.IntPtrInput
	// Specifies the key pair name when logging in to select the key pair mode.
	// This parameter and `password` are alternative. Changing this parameter will create a new resource.
	KeyPair pulumi.StringPtrInput
	// Specifies the tags of a Kubernetes node, key/value pair format.
	Labels pulumi.StringMapInput
	// Specifies the maximum number of nodes allowed if auto scaling is enabled.
	MaxNodeCount pulumi.IntPtrInput
	// Specifies the maximum number of instances a node is allowed to create.
	// Changing this parameter will create a new resource.
	MaxPods pulumi.IntPtrInput
	// Specifies the minimum number of nodes allowed if auto scaling is enabled.
	MinNodeCount pulumi.IntPtrInput
	// Specifies the virtual space name. Currently, only **kubernetes**, **runtime**,
	// and **user** are supported. Changing this parameter will create a new resource.
	Name pulumi.StringPtrInput
	// Specifies the operating system of the node.
	// Changing this parameter will create a new resource.
	Os pulumi.StringPtrInput
	// Specifies the root password when logging in to select the password mode.
	// This parameter can be plain or salted and is alternative to `keyPair`.
	// Changing this parameter will create a new resource.
	Password pulumi.StringPtrInput
	// Specifies the charging period of the CCE node pool. 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 parameter will create a new resource.
	Period pulumi.IntPtrInput
	// Specifies the charging period unit of the CCE node pool.
	// Valid values are *month* and *year*. This parameter is mandatory if `chargingMode` is set to *prePaid*.
	// Changing this parameter will create a new resource.
	PeriodUnit pulumi.StringPtrInput
	// Specifies the list of security group IDs for the pod.
	// Only supported in CCE Turbo clusters of v1.19 and above. Changing this parameter will create a new resource.
	PodSecurityGroups pulumi.StringArrayInput
	// Specifies the script to be executed after installation.
	// The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
	Postinstall pulumi.StringPtrInput
	// Specifies the script to be executed before installation.
	// The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
	Preinstall pulumi.StringPtrInput
	// Specifies the weight of the node pool.
	// A node pool with a higher weight has a higher priority during scaling.
	Priority pulumi.IntPtrInput
	// The region in which to create the CCE pool resource. If omitted, the
	// provider-level region will be used. Changing this creates a new CCE node pool resource.
	Region pulumi.StringPtrInput
	// Specifies the configuration of the system disk.
	// The structure is described below. Changing this parameter will create a new resource.
	RootVolume NodePoolRootVolumePtrInput
	// Specifies the runtime of the CCE node pool. Valid values are *docker* and
	// *containerd*. Changing this creates a new resource.
	Runtime pulumi.StringPtrInput
	// Specifies the time interval between two scaling operations, in minutes.
	ScaleDownCooldownTime pulumi.IntPtrInput
	// Specifies whether to enable auto scaling.
	// If Autoscaler is enabled, install the autoscaler add-on to use the auto scaling feature.
	ScallEnable pulumi.BoolPtrInput
	// Specifies the list of custom security group IDs for the node pool.
	// If specified, the nodes will be put in these security groups. When specifying a security group, do not modify
	// the rules of the port on which CCE running depends. For details, see
	// [documentation](https://support.huaweicloud.com/intl/en-us/cce_faq/cce_faq_00265.html).
	SecurityGroups pulumi.StringArrayInput
	// Node status information.
	Status pulumi.StringPtrInput
	// Specifies the disk initialization management parameter.
	// If omitted, disks are managed based on the DockerLVMConfigOverride parameter in extendParam.
	// This parameter is supported for clusters of v1.15.11 and later. Changing this parameter will create a new resource.
	Storage NodePoolStoragePtrInput
	// Specifies the ID of the subnet to which the NIC belongs.
	// Changing this parameter will create a new resource.
	SubnetId pulumi.StringPtrInput
	// Specifies the tags of a VM node, key/value pair format.
	Tags pulumi.StringMapInput
	// Specifies the taints configuration of the nodes to set anti-affinity.
	// The structure is described below.
	Taints NodePoolTaintArrayInput
	// Specifies the storage type. Currently, only **evs (EVS volumes)** is supported.
	// The default value is **evs**. Changing this parameter will create a new resource.
	Type pulumi.StringPtrInput
}

func (NodePoolState) ElementType

func (NodePoolState) ElementType() reflect.Type

type NodePoolStorage added in v0.0.8

type NodePoolStorage struct {
	// Specifies the storage group consists of multiple storage devices.
	// This is used to divide storage space. Structure is documented below.
	// Changing this parameter will create a new resource.
	Groups []NodePoolStorageGroup `pulumi:"groups"`
	// Specifies the disk selection.
	// Matched disks are managed according to match labels and storage type. Structure is documented below.
	// Changing this parameter will create a new resource.
	Selectors []NodePoolStorageSelector `pulumi:"selectors"`
}

type NodePoolStorageArgs added in v0.0.8

type NodePoolStorageArgs struct {
	// Specifies the storage group consists of multiple storage devices.
	// This is used to divide storage space. Structure is documented below.
	// Changing this parameter will create a new resource.
	Groups NodePoolStorageGroupArrayInput `pulumi:"groups"`
	// Specifies the disk selection.
	// Matched disks are managed according to match labels and storage type. Structure is documented below.
	// Changing this parameter will create a new resource.
	Selectors NodePoolStorageSelectorArrayInput `pulumi:"selectors"`
}

func (NodePoolStorageArgs) ElementType added in v0.0.8

func (NodePoolStorageArgs) ElementType() reflect.Type

func (NodePoolStorageArgs) ToNodePoolStorageOutput added in v0.0.8

func (i NodePoolStorageArgs) ToNodePoolStorageOutput() NodePoolStorageOutput

func (NodePoolStorageArgs) ToNodePoolStorageOutputWithContext added in v0.0.8

func (i NodePoolStorageArgs) ToNodePoolStorageOutputWithContext(ctx context.Context) NodePoolStorageOutput

func (NodePoolStorageArgs) ToNodePoolStoragePtrOutput added in v0.0.8

func (i NodePoolStorageArgs) ToNodePoolStoragePtrOutput() NodePoolStoragePtrOutput

func (NodePoolStorageArgs) ToNodePoolStoragePtrOutputWithContext added in v0.0.8

func (i NodePoolStorageArgs) ToNodePoolStoragePtrOutputWithContext(ctx context.Context) NodePoolStoragePtrOutput

type NodePoolStorageGroup added in v0.0.8

type NodePoolStorageGroup struct {
	// Specifies the whether the storage space is for **kubernetes** and
	// **runtime** components. Only one group can be set to true. The default value is **false**.
	// Changing this parameter will create a new resource.
	CceManaged *bool `pulumi:"cceManaged"`
	// Specifies the virtual space name. Currently, only **kubernetes**, **runtime**,
	// and **user** are supported. Changing this parameter will create a new resource.
	Name string `pulumi:"name"`
	// Specifies the list of names of seletors to match.
	// This parameter corresponds to name in `selectors`. A group can match multiple selectors,
	// but a selector can match only one group. Changing this parameter will create a new resource.
	SelectorNames []string `pulumi:"selectorNames"`
	// Specifies the detailed management of space configuration in a group.
	// Changing this parameter will create a new resource.
	VirtualSpaces []NodePoolStorageGroupVirtualSpace `pulumi:"virtualSpaces"`
}

type NodePoolStorageGroupArgs added in v0.0.8

type NodePoolStorageGroupArgs struct {
	// Specifies the whether the storage space is for **kubernetes** and
	// **runtime** components. Only one group can be set to true. The default value is **false**.
	// Changing this parameter will create a new resource.
	CceManaged pulumi.BoolPtrInput `pulumi:"cceManaged"`
	// Specifies the virtual space name. Currently, only **kubernetes**, **runtime**,
	// and **user** are supported. Changing this parameter will create a new resource.
	Name pulumi.StringInput `pulumi:"name"`
	// Specifies the list of names of seletors to match.
	// This parameter corresponds to name in `selectors`. A group can match multiple selectors,
	// but a selector can match only one group. Changing this parameter will create a new resource.
	SelectorNames pulumi.StringArrayInput `pulumi:"selectorNames"`
	// Specifies the detailed management of space configuration in a group.
	// Changing this parameter will create a new resource.
	VirtualSpaces NodePoolStorageGroupVirtualSpaceArrayInput `pulumi:"virtualSpaces"`
}

func (NodePoolStorageGroupArgs) ElementType added in v0.0.8

func (NodePoolStorageGroupArgs) ElementType() reflect.Type

func (NodePoolStorageGroupArgs) ToNodePoolStorageGroupOutput added in v0.0.8

func (i NodePoolStorageGroupArgs) ToNodePoolStorageGroupOutput() NodePoolStorageGroupOutput

func (NodePoolStorageGroupArgs) ToNodePoolStorageGroupOutputWithContext added in v0.0.8

func (i NodePoolStorageGroupArgs) ToNodePoolStorageGroupOutputWithContext(ctx context.Context) NodePoolStorageGroupOutput

type NodePoolStorageGroupArray added in v0.0.8

type NodePoolStorageGroupArray []NodePoolStorageGroupInput

func (NodePoolStorageGroupArray) ElementType added in v0.0.8

func (NodePoolStorageGroupArray) ElementType() reflect.Type

func (NodePoolStorageGroupArray) ToNodePoolStorageGroupArrayOutput added in v0.0.8

func (i NodePoolStorageGroupArray) ToNodePoolStorageGroupArrayOutput() NodePoolStorageGroupArrayOutput

func (NodePoolStorageGroupArray) ToNodePoolStorageGroupArrayOutputWithContext added in v0.0.8

func (i NodePoolStorageGroupArray) ToNodePoolStorageGroupArrayOutputWithContext(ctx context.Context) NodePoolStorageGroupArrayOutput

type NodePoolStorageGroupArrayInput added in v0.0.8

type NodePoolStorageGroupArrayInput interface {
	pulumi.Input

	ToNodePoolStorageGroupArrayOutput() NodePoolStorageGroupArrayOutput
	ToNodePoolStorageGroupArrayOutputWithContext(context.Context) NodePoolStorageGroupArrayOutput
}

NodePoolStorageGroupArrayInput is an input type that accepts NodePoolStorageGroupArray and NodePoolStorageGroupArrayOutput values. You can construct a concrete instance of `NodePoolStorageGroupArrayInput` via:

NodePoolStorageGroupArray{ NodePoolStorageGroupArgs{...} }

type NodePoolStorageGroupArrayOutput added in v0.0.8

type NodePoolStorageGroupArrayOutput struct{ *pulumi.OutputState }

func (NodePoolStorageGroupArrayOutput) ElementType added in v0.0.8

func (NodePoolStorageGroupArrayOutput) Index added in v0.0.8

func (NodePoolStorageGroupArrayOutput) ToNodePoolStorageGroupArrayOutput added in v0.0.8

func (o NodePoolStorageGroupArrayOutput) ToNodePoolStorageGroupArrayOutput() NodePoolStorageGroupArrayOutput

func (NodePoolStorageGroupArrayOutput) ToNodePoolStorageGroupArrayOutputWithContext added in v0.0.8

func (o NodePoolStorageGroupArrayOutput) ToNodePoolStorageGroupArrayOutputWithContext(ctx context.Context) NodePoolStorageGroupArrayOutput

type NodePoolStorageGroupInput added in v0.0.8

type NodePoolStorageGroupInput interface {
	pulumi.Input

	ToNodePoolStorageGroupOutput() NodePoolStorageGroupOutput
	ToNodePoolStorageGroupOutputWithContext(context.Context) NodePoolStorageGroupOutput
}

NodePoolStorageGroupInput is an input type that accepts NodePoolStorageGroupArgs and NodePoolStorageGroupOutput values. You can construct a concrete instance of `NodePoolStorageGroupInput` via:

NodePoolStorageGroupArgs{...}

type NodePoolStorageGroupOutput added in v0.0.8

type NodePoolStorageGroupOutput struct{ *pulumi.OutputState }

func (NodePoolStorageGroupOutput) CceManaged added in v0.0.8

Specifies the whether the storage space is for **kubernetes** and **runtime** components. Only one group can be set to true. The default value is **false**. Changing this parameter will create a new resource.

func (NodePoolStorageGroupOutput) ElementType added in v0.0.8

func (NodePoolStorageGroupOutput) ElementType() reflect.Type

func (NodePoolStorageGroupOutput) Name added in v0.0.8

Specifies the virtual space name. Currently, only **kubernetes**, **runtime**, and **user** are supported. Changing this parameter will create a new resource.

func (NodePoolStorageGroupOutput) SelectorNames added in v0.0.8

Specifies the list of names of seletors to match. This parameter corresponds to name in `selectors`. A group can match multiple selectors, but a selector can match only one group. Changing this parameter will create a new resource.

func (NodePoolStorageGroupOutput) ToNodePoolStorageGroupOutput added in v0.0.8

func (o NodePoolStorageGroupOutput) ToNodePoolStorageGroupOutput() NodePoolStorageGroupOutput

func (NodePoolStorageGroupOutput) ToNodePoolStorageGroupOutputWithContext added in v0.0.8

func (o NodePoolStorageGroupOutput) ToNodePoolStorageGroupOutputWithContext(ctx context.Context) NodePoolStorageGroupOutput

func (NodePoolStorageGroupOutput) VirtualSpaces added in v0.0.8

Specifies the detailed management of space configuration in a group. Changing this parameter will create a new resource.

type NodePoolStorageGroupVirtualSpace added in v0.0.8

type NodePoolStorageGroupVirtualSpace struct {
	// Specifies the LVM write mode, values can be **linear** and **striped**.
	// This parameter takes effect only in **kubernetes** and **user** configuration. Changing this parameter will create
	// a new resource.
	LvmLvType *string `pulumi:"lvmLvType"`
	// Specifies the absolute path to which the disk is attached.
	// This parameter takes effect only in **user** configuration. Changing this parameter will create a new resource.
	LvmPath *string `pulumi:"lvmPath"`
	// Specifies the virtual space name. Currently, only **kubernetes**, **runtime**,
	// and **user** are supported. Changing this parameter will create a new resource.
	Name string `pulumi:"name"`
	// Specifies the LVM write mode, values can be **linear** and **striped**.
	// This parameter takes effect only in **runtime** configuration. Changing this parameter will create a new resource.
	RuntimeLvType *string `pulumi:"runtimeLvType"`
	// Specifies the size of a virtual space. Only an integer percentage is supported.
	// Example: 90%. Note that the total percentage of all virtual spaces in a group cannot exceed 100%.
	// Changing this parameter will create a new resource.
	Size string `pulumi:"size"`
}

type NodePoolStorageGroupVirtualSpaceArgs added in v0.0.8

type NodePoolStorageGroupVirtualSpaceArgs struct {
	// Specifies the LVM write mode, values can be **linear** and **striped**.
	// This parameter takes effect only in **kubernetes** and **user** configuration. Changing this parameter will create
	// a new resource.
	LvmLvType pulumi.StringPtrInput `pulumi:"lvmLvType"`
	// Specifies the absolute path to which the disk is attached.
	// This parameter takes effect only in **user** configuration. Changing this parameter will create a new resource.
	LvmPath pulumi.StringPtrInput `pulumi:"lvmPath"`
	// Specifies the virtual space name. Currently, only **kubernetes**, **runtime**,
	// and **user** are supported. Changing this parameter will create a new resource.
	Name pulumi.StringInput `pulumi:"name"`
	// Specifies the LVM write mode, values can be **linear** and **striped**.
	// This parameter takes effect only in **runtime** configuration. Changing this parameter will create a new resource.
	RuntimeLvType pulumi.StringPtrInput `pulumi:"runtimeLvType"`
	// Specifies the size of a virtual space. Only an integer percentage is supported.
	// Example: 90%. Note that the total percentage of all virtual spaces in a group cannot exceed 100%.
	// Changing this parameter will create a new resource.
	Size pulumi.StringInput `pulumi:"size"`
}

func (NodePoolStorageGroupVirtualSpaceArgs) ElementType added in v0.0.8

func (NodePoolStorageGroupVirtualSpaceArgs) ToNodePoolStorageGroupVirtualSpaceOutput added in v0.0.8

func (i NodePoolStorageGroupVirtualSpaceArgs) ToNodePoolStorageGroupVirtualSpaceOutput() NodePoolStorageGroupVirtualSpaceOutput

func (NodePoolStorageGroupVirtualSpaceArgs) ToNodePoolStorageGroupVirtualSpaceOutputWithContext added in v0.0.8

func (i NodePoolStorageGroupVirtualSpaceArgs) ToNodePoolStorageGroupVirtualSpaceOutputWithContext(ctx context.Context) NodePoolStorageGroupVirtualSpaceOutput

type NodePoolStorageGroupVirtualSpaceArray added in v0.0.8

type NodePoolStorageGroupVirtualSpaceArray []NodePoolStorageGroupVirtualSpaceInput

func (NodePoolStorageGroupVirtualSpaceArray) ElementType added in v0.0.8

func (NodePoolStorageGroupVirtualSpaceArray) ToNodePoolStorageGroupVirtualSpaceArrayOutput added in v0.0.8

func (i NodePoolStorageGroupVirtualSpaceArray) ToNodePoolStorageGroupVirtualSpaceArrayOutput() NodePoolStorageGroupVirtualSpaceArrayOutput

func (NodePoolStorageGroupVirtualSpaceArray) ToNodePoolStorageGroupVirtualSpaceArrayOutputWithContext added in v0.0.8

func (i NodePoolStorageGroupVirtualSpaceArray) ToNodePoolStorageGroupVirtualSpaceArrayOutputWithContext(ctx context.Context) NodePoolStorageGroupVirtualSpaceArrayOutput

type NodePoolStorageGroupVirtualSpaceArrayInput added in v0.0.8

type NodePoolStorageGroupVirtualSpaceArrayInput interface {
	pulumi.Input

	ToNodePoolStorageGroupVirtualSpaceArrayOutput() NodePoolStorageGroupVirtualSpaceArrayOutput
	ToNodePoolStorageGroupVirtualSpaceArrayOutputWithContext(context.Context) NodePoolStorageGroupVirtualSpaceArrayOutput
}

NodePoolStorageGroupVirtualSpaceArrayInput is an input type that accepts NodePoolStorageGroupVirtualSpaceArray and NodePoolStorageGroupVirtualSpaceArrayOutput values. You can construct a concrete instance of `NodePoolStorageGroupVirtualSpaceArrayInput` via:

NodePoolStorageGroupVirtualSpaceArray{ NodePoolStorageGroupVirtualSpaceArgs{...} }

type NodePoolStorageGroupVirtualSpaceArrayOutput added in v0.0.8

type NodePoolStorageGroupVirtualSpaceArrayOutput struct{ *pulumi.OutputState }

func (NodePoolStorageGroupVirtualSpaceArrayOutput) ElementType added in v0.0.8

func (NodePoolStorageGroupVirtualSpaceArrayOutput) Index added in v0.0.8

func (NodePoolStorageGroupVirtualSpaceArrayOutput) ToNodePoolStorageGroupVirtualSpaceArrayOutput added in v0.0.8

func (o NodePoolStorageGroupVirtualSpaceArrayOutput) ToNodePoolStorageGroupVirtualSpaceArrayOutput() NodePoolStorageGroupVirtualSpaceArrayOutput

func (NodePoolStorageGroupVirtualSpaceArrayOutput) ToNodePoolStorageGroupVirtualSpaceArrayOutputWithContext added in v0.0.8

func (o NodePoolStorageGroupVirtualSpaceArrayOutput) ToNodePoolStorageGroupVirtualSpaceArrayOutputWithContext(ctx context.Context) NodePoolStorageGroupVirtualSpaceArrayOutput

type NodePoolStorageGroupVirtualSpaceInput added in v0.0.8

type NodePoolStorageGroupVirtualSpaceInput interface {
	pulumi.Input

	ToNodePoolStorageGroupVirtualSpaceOutput() NodePoolStorageGroupVirtualSpaceOutput
	ToNodePoolStorageGroupVirtualSpaceOutputWithContext(context.Context) NodePoolStorageGroupVirtualSpaceOutput
}

NodePoolStorageGroupVirtualSpaceInput is an input type that accepts NodePoolStorageGroupVirtualSpaceArgs and NodePoolStorageGroupVirtualSpaceOutput values. You can construct a concrete instance of `NodePoolStorageGroupVirtualSpaceInput` via:

NodePoolStorageGroupVirtualSpaceArgs{...}

type NodePoolStorageGroupVirtualSpaceOutput added in v0.0.8

type NodePoolStorageGroupVirtualSpaceOutput struct{ *pulumi.OutputState }

func (NodePoolStorageGroupVirtualSpaceOutput) ElementType added in v0.0.8

func (NodePoolStorageGroupVirtualSpaceOutput) LvmLvType added in v0.0.8

Specifies the LVM write mode, values can be **linear** and **striped**. This parameter takes effect only in **kubernetes** and **user** configuration. Changing this parameter will create a new resource.

func (NodePoolStorageGroupVirtualSpaceOutput) LvmPath added in v0.0.8

Specifies the absolute path to which the disk is attached. This parameter takes effect only in **user** configuration. Changing this parameter will create a new resource.

func (NodePoolStorageGroupVirtualSpaceOutput) Name added in v0.0.8

Specifies the virtual space name. Currently, only **kubernetes**, **runtime**, and **user** are supported. Changing this parameter will create a new resource.

func (NodePoolStorageGroupVirtualSpaceOutput) RuntimeLvType added in v0.0.8

Specifies the LVM write mode, values can be **linear** and **striped**. This parameter takes effect only in **runtime** configuration. Changing this parameter will create a new resource.

func (NodePoolStorageGroupVirtualSpaceOutput) Size added in v0.0.8

Specifies the size of a virtual space. Only an integer percentage is supported. Example: 90%. Note that the total percentage of all virtual spaces in a group cannot exceed 100%. Changing this parameter will create a new resource.

func (NodePoolStorageGroupVirtualSpaceOutput) ToNodePoolStorageGroupVirtualSpaceOutput added in v0.0.8

func (o NodePoolStorageGroupVirtualSpaceOutput) ToNodePoolStorageGroupVirtualSpaceOutput() NodePoolStorageGroupVirtualSpaceOutput

func (NodePoolStorageGroupVirtualSpaceOutput) ToNodePoolStorageGroupVirtualSpaceOutputWithContext added in v0.0.8

func (o NodePoolStorageGroupVirtualSpaceOutput) ToNodePoolStorageGroupVirtualSpaceOutputWithContext(ctx context.Context) NodePoolStorageGroupVirtualSpaceOutput

type NodePoolStorageInput added in v0.0.8

type NodePoolStorageInput interface {
	pulumi.Input

	ToNodePoolStorageOutput() NodePoolStorageOutput
	ToNodePoolStorageOutputWithContext(context.Context) NodePoolStorageOutput
}

NodePoolStorageInput is an input type that accepts NodePoolStorageArgs and NodePoolStorageOutput values. You can construct a concrete instance of `NodePoolStorageInput` via:

NodePoolStorageArgs{...}

type NodePoolStorageOutput added in v0.0.8

type NodePoolStorageOutput struct{ *pulumi.OutputState }

func (NodePoolStorageOutput) ElementType added in v0.0.8

func (NodePoolStorageOutput) ElementType() reflect.Type

func (NodePoolStorageOutput) Groups added in v0.0.8

Specifies the storage group consists of multiple storage devices. This is used to divide storage space. Structure is documented below. Changing this parameter will create a new resource.

func (NodePoolStorageOutput) Selectors added in v0.0.8

Specifies the disk selection. Matched disks are managed according to match labels and storage type. Structure is documented below. Changing this parameter will create a new resource.

func (NodePoolStorageOutput) ToNodePoolStorageOutput added in v0.0.8

func (o NodePoolStorageOutput) ToNodePoolStorageOutput() NodePoolStorageOutput

func (NodePoolStorageOutput) ToNodePoolStorageOutputWithContext added in v0.0.8

func (o NodePoolStorageOutput) ToNodePoolStorageOutputWithContext(ctx context.Context) NodePoolStorageOutput

func (NodePoolStorageOutput) ToNodePoolStoragePtrOutput added in v0.0.8

func (o NodePoolStorageOutput) ToNodePoolStoragePtrOutput() NodePoolStoragePtrOutput

func (NodePoolStorageOutput) ToNodePoolStoragePtrOutputWithContext added in v0.0.8

func (o NodePoolStorageOutput) ToNodePoolStoragePtrOutputWithContext(ctx context.Context) NodePoolStoragePtrOutput

type NodePoolStoragePtrInput added in v0.0.8

type NodePoolStoragePtrInput interface {
	pulumi.Input

	ToNodePoolStoragePtrOutput() NodePoolStoragePtrOutput
	ToNodePoolStoragePtrOutputWithContext(context.Context) NodePoolStoragePtrOutput
}

NodePoolStoragePtrInput is an input type that accepts NodePoolStorageArgs, NodePoolStoragePtr and NodePoolStoragePtrOutput values. You can construct a concrete instance of `NodePoolStoragePtrInput` via:

        NodePoolStorageArgs{...}

or:

        nil

func NodePoolStoragePtr added in v0.0.8

func NodePoolStoragePtr(v *NodePoolStorageArgs) NodePoolStoragePtrInput

type NodePoolStoragePtrOutput added in v0.0.8

type NodePoolStoragePtrOutput struct{ *pulumi.OutputState }

func (NodePoolStoragePtrOutput) Elem added in v0.0.8

func (NodePoolStoragePtrOutput) ElementType added in v0.0.8

func (NodePoolStoragePtrOutput) ElementType() reflect.Type

func (NodePoolStoragePtrOutput) Groups added in v0.0.8

Specifies the storage group consists of multiple storage devices. This is used to divide storage space. Structure is documented below. Changing this parameter will create a new resource.

func (NodePoolStoragePtrOutput) Selectors added in v0.0.8

Specifies the disk selection. Matched disks are managed according to match labels and storage type. Structure is documented below. Changing this parameter will create a new resource.

func (NodePoolStoragePtrOutput) ToNodePoolStoragePtrOutput added in v0.0.8

func (o NodePoolStoragePtrOutput) ToNodePoolStoragePtrOutput() NodePoolStoragePtrOutput

func (NodePoolStoragePtrOutput) ToNodePoolStoragePtrOutputWithContext added in v0.0.8

func (o NodePoolStoragePtrOutput) ToNodePoolStoragePtrOutputWithContext(ctx context.Context) NodePoolStoragePtrOutput

type NodePoolStorageSelector added in v0.0.8

type NodePoolStorageSelector struct {
	// Specifies the number of disks to be selected. If omitted,
	// all disks of this type are selected. Changing this parameter will create a new resource.
	MatchLabelCount *string `pulumi:"matchLabelCount"`
	// Specifies the cstomer master key ID of an encrypted
	// disk. Changing this parameter will create a new resource.
	MatchLabelMetadataCmkid *string `pulumi:"matchLabelMetadataCmkid"`
	// Specifies the disk encryption identifier.
	// Values can be: **0** indicates that the disk is not encrypted and **1** indicates that the disk is encrypted.
	// If omitted, whether the disk is encrypted is not limited. Changing this parameter will create a new resource.
	MatchLabelMetadataEncrypted *string `pulumi:"matchLabelMetadataEncrypted"`
	// Specifies the matched disk size. If omitted,
	// the disk size is not limited. Example: 100. Changing this parameter will create a new resource.
	MatchLabelSize *string `pulumi:"matchLabelSize"`
	// Specifies the EVS disk type. Currently,
	// **SSD**, **GPSSD**, and **SAS** are supported. If omitted, the disk type is not limited.
	// Changing this parameter will create a new resource.
	MatchLabelVolumeType *string `pulumi:"matchLabelVolumeType"`
	// Specifies the virtual space name. Currently, only **kubernetes**, **runtime**,
	// and **user** are supported. Changing this parameter will create a new resource.
	Name string `pulumi:"name"`
	// Specifies the storage type. Currently, only **evs (EVS volumes)** is supported.
	// The default value is **evs**. Changing this parameter will create a new resource.
	Type *string `pulumi:"type"`
}

type NodePoolStorageSelectorArgs added in v0.0.8

type NodePoolStorageSelectorArgs struct {
	// Specifies the number of disks to be selected. If omitted,
	// all disks of this type are selected. Changing this parameter will create a new resource.
	MatchLabelCount pulumi.StringPtrInput `pulumi:"matchLabelCount"`
	// Specifies the cstomer master key ID of an encrypted
	// disk. Changing this parameter will create a new resource.
	MatchLabelMetadataCmkid pulumi.StringPtrInput `pulumi:"matchLabelMetadataCmkid"`
	// Specifies the disk encryption identifier.
	// Values can be: **0** indicates that the disk is not encrypted and **1** indicates that the disk is encrypted.
	// If omitted, whether the disk is encrypted is not limited. Changing this parameter will create a new resource.
	MatchLabelMetadataEncrypted pulumi.StringPtrInput `pulumi:"matchLabelMetadataEncrypted"`
	// Specifies the matched disk size. If omitted,
	// the disk size is not limited. Example: 100. Changing this parameter will create a new resource.
	MatchLabelSize pulumi.StringPtrInput `pulumi:"matchLabelSize"`
	// Specifies the EVS disk type. Currently,
	// **SSD**, **GPSSD**, and **SAS** are supported. If omitted, the disk type is not limited.
	// Changing this parameter will create a new resource.
	MatchLabelVolumeType pulumi.StringPtrInput `pulumi:"matchLabelVolumeType"`
	// Specifies the virtual space name. Currently, only **kubernetes**, **runtime**,
	// and **user** are supported. Changing this parameter will create a new resource.
	Name pulumi.StringInput `pulumi:"name"`
	// Specifies the storage type. Currently, only **evs (EVS volumes)** is supported.
	// The default value is **evs**. Changing this parameter will create a new resource.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (NodePoolStorageSelectorArgs) ElementType added in v0.0.8

func (NodePoolStorageSelectorArgs) ToNodePoolStorageSelectorOutput added in v0.0.8

func (i NodePoolStorageSelectorArgs) ToNodePoolStorageSelectorOutput() NodePoolStorageSelectorOutput

func (NodePoolStorageSelectorArgs) ToNodePoolStorageSelectorOutputWithContext added in v0.0.8

func (i NodePoolStorageSelectorArgs) ToNodePoolStorageSelectorOutputWithContext(ctx context.Context) NodePoolStorageSelectorOutput

type NodePoolStorageSelectorArray added in v0.0.8

type NodePoolStorageSelectorArray []NodePoolStorageSelectorInput

func (NodePoolStorageSelectorArray) ElementType added in v0.0.8

func (NodePoolStorageSelectorArray) ToNodePoolStorageSelectorArrayOutput added in v0.0.8

func (i NodePoolStorageSelectorArray) ToNodePoolStorageSelectorArrayOutput() NodePoolStorageSelectorArrayOutput

func (NodePoolStorageSelectorArray) ToNodePoolStorageSelectorArrayOutputWithContext added in v0.0.8

func (i NodePoolStorageSelectorArray) ToNodePoolStorageSelectorArrayOutputWithContext(ctx context.Context) NodePoolStorageSelectorArrayOutput

type NodePoolStorageSelectorArrayInput added in v0.0.8

type NodePoolStorageSelectorArrayInput interface {
	pulumi.Input

	ToNodePoolStorageSelectorArrayOutput() NodePoolStorageSelectorArrayOutput
	ToNodePoolStorageSelectorArrayOutputWithContext(context.Context) NodePoolStorageSelectorArrayOutput
}

NodePoolStorageSelectorArrayInput is an input type that accepts NodePoolStorageSelectorArray and NodePoolStorageSelectorArrayOutput values. You can construct a concrete instance of `NodePoolStorageSelectorArrayInput` via:

NodePoolStorageSelectorArray{ NodePoolStorageSelectorArgs{...} }

type NodePoolStorageSelectorArrayOutput added in v0.0.8

type NodePoolStorageSelectorArrayOutput struct{ *pulumi.OutputState }

func (NodePoolStorageSelectorArrayOutput) ElementType added in v0.0.8

func (NodePoolStorageSelectorArrayOutput) Index added in v0.0.8

func (NodePoolStorageSelectorArrayOutput) ToNodePoolStorageSelectorArrayOutput added in v0.0.8

func (o NodePoolStorageSelectorArrayOutput) ToNodePoolStorageSelectorArrayOutput() NodePoolStorageSelectorArrayOutput

func (NodePoolStorageSelectorArrayOutput) ToNodePoolStorageSelectorArrayOutputWithContext added in v0.0.8

func (o NodePoolStorageSelectorArrayOutput) ToNodePoolStorageSelectorArrayOutputWithContext(ctx context.Context) NodePoolStorageSelectorArrayOutput

type NodePoolStorageSelectorInput added in v0.0.8

type NodePoolStorageSelectorInput interface {
	pulumi.Input

	ToNodePoolStorageSelectorOutput() NodePoolStorageSelectorOutput
	ToNodePoolStorageSelectorOutputWithContext(context.Context) NodePoolStorageSelectorOutput
}

NodePoolStorageSelectorInput is an input type that accepts NodePoolStorageSelectorArgs and NodePoolStorageSelectorOutput values. You can construct a concrete instance of `NodePoolStorageSelectorInput` via:

NodePoolStorageSelectorArgs{...}

type NodePoolStorageSelectorOutput added in v0.0.8

type NodePoolStorageSelectorOutput struct{ *pulumi.OutputState }

func (NodePoolStorageSelectorOutput) ElementType added in v0.0.8

func (NodePoolStorageSelectorOutput) MatchLabelCount added in v0.0.8

Specifies the number of disks to be selected. If omitted, all disks of this type are selected. Changing this parameter will create a new resource.

func (NodePoolStorageSelectorOutput) MatchLabelMetadataCmkid added in v0.0.8

func (o NodePoolStorageSelectorOutput) MatchLabelMetadataCmkid() pulumi.StringPtrOutput

Specifies the cstomer master key ID of an encrypted disk. Changing this parameter will create a new resource.

func (NodePoolStorageSelectorOutput) MatchLabelMetadataEncrypted added in v0.0.8

func (o NodePoolStorageSelectorOutput) MatchLabelMetadataEncrypted() pulumi.StringPtrOutput

Specifies the disk encryption identifier. Values can be: **0** indicates that the disk is not encrypted and **1** indicates that the disk is encrypted. If omitted, whether the disk is encrypted is not limited. Changing this parameter will create a new resource.

func (NodePoolStorageSelectorOutput) MatchLabelSize added in v0.0.8

Specifies the matched disk size. If omitted, the disk size is not limited. Example: 100. Changing this parameter will create a new resource.

func (NodePoolStorageSelectorOutput) MatchLabelVolumeType added in v0.0.8

func (o NodePoolStorageSelectorOutput) MatchLabelVolumeType() pulumi.StringPtrOutput

Specifies the EVS disk type. Currently, **SSD**, **GPSSD**, and **SAS** are supported. If omitted, the disk type is not limited. Changing this parameter will create a new resource.

func (NodePoolStorageSelectorOutput) Name added in v0.0.8

Specifies the virtual space name. Currently, only **kubernetes**, **runtime**, and **user** are supported. Changing this parameter will create a new resource.

func (NodePoolStorageSelectorOutput) ToNodePoolStorageSelectorOutput added in v0.0.8

func (o NodePoolStorageSelectorOutput) ToNodePoolStorageSelectorOutput() NodePoolStorageSelectorOutput

func (NodePoolStorageSelectorOutput) ToNodePoolStorageSelectorOutputWithContext added in v0.0.8

func (o NodePoolStorageSelectorOutput) ToNodePoolStorageSelectorOutputWithContext(ctx context.Context) NodePoolStorageSelectorOutput

func (NodePoolStorageSelectorOutput) Type added in v0.0.8

Specifies the storage type. Currently, only **evs (EVS volumes)** is supported. The default value is **evs**. Changing this parameter will create a new resource.

type NodePoolTaint

type NodePoolTaint struct {
	// Available options are NoSchedule, PreferNoSchedule, and NoExecute.
	Effect string `pulumi:"effect"`
	// A key must contain 1 to 63 characters starting with a letter or digit. Only letters,
	// digits, hyphens (-), underscores (_), and periods (.) are allowed. A DNS subdomain name can be used as the
	// prefix of a key.
	Key string `pulumi:"key"`
	// A value must start with a letter or digit and can contain a maximum of 63 characters,
	// including letters, digits, hyphens (-), underscores (_), and periods (.).
	Value string `pulumi:"value"`
}

type NodePoolTaintArgs

type NodePoolTaintArgs struct {
	// Available options are NoSchedule, PreferNoSchedule, and NoExecute.
	Effect pulumi.StringInput `pulumi:"effect"`
	// A key must contain 1 to 63 characters starting with a letter or digit. Only letters,
	// digits, hyphens (-), underscores (_), and periods (.) are allowed. A DNS subdomain name can be used as the
	// prefix of a key.
	Key pulumi.StringInput `pulumi:"key"`
	// A value must start with a letter or digit and can contain a maximum of 63 characters,
	// including letters, digits, hyphens (-), underscores (_), and periods (.).
	Value pulumi.StringInput `pulumi:"value"`
}

func (NodePoolTaintArgs) ElementType

func (NodePoolTaintArgs) ElementType() reflect.Type

func (NodePoolTaintArgs) ToNodePoolTaintOutput

func (i NodePoolTaintArgs) ToNodePoolTaintOutput() NodePoolTaintOutput

func (NodePoolTaintArgs) ToNodePoolTaintOutputWithContext

func (i NodePoolTaintArgs) ToNodePoolTaintOutputWithContext(ctx context.Context) NodePoolTaintOutput

type NodePoolTaintArray

type NodePoolTaintArray []NodePoolTaintInput

func (NodePoolTaintArray) ElementType

func (NodePoolTaintArray) ElementType() reflect.Type

func (NodePoolTaintArray) ToNodePoolTaintArrayOutput

func (i NodePoolTaintArray) ToNodePoolTaintArrayOutput() NodePoolTaintArrayOutput

func (NodePoolTaintArray) ToNodePoolTaintArrayOutputWithContext

func (i NodePoolTaintArray) ToNodePoolTaintArrayOutputWithContext(ctx context.Context) NodePoolTaintArrayOutput

type NodePoolTaintArrayInput

type NodePoolTaintArrayInput interface {
	pulumi.Input

	ToNodePoolTaintArrayOutput() NodePoolTaintArrayOutput
	ToNodePoolTaintArrayOutputWithContext(context.Context) NodePoolTaintArrayOutput
}

NodePoolTaintArrayInput is an input type that accepts NodePoolTaintArray and NodePoolTaintArrayOutput values. You can construct a concrete instance of `NodePoolTaintArrayInput` via:

NodePoolTaintArray{ NodePoolTaintArgs{...} }

type NodePoolTaintArrayOutput

type NodePoolTaintArrayOutput struct{ *pulumi.OutputState }

func (NodePoolTaintArrayOutput) ElementType

func (NodePoolTaintArrayOutput) ElementType() reflect.Type

func (NodePoolTaintArrayOutput) Index

func (NodePoolTaintArrayOutput) ToNodePoolTaintArrayOutput

func (o NodePoolTaintArrayOutput) ToNodePoolTaintArrayOutput() NodePoolTaintArrayOutput

func (NodePoolTaintArrayOutput) ToNodePoolTaintArrayOutputWithContext

func (o NodePoolTaintArrayOutput) ToNodePoolTaintArrayOutputWithContext(ctx context.Context) NodePoolTaintArrayOutput

type NodePoolTaintInput

type NodePoolTaintInput interface {
	pulumi.Input

	ToNodePoolTaintOutput() NodePoolTaintOutput
	ToNodePoolTaintOutputWithContext(context.Context) NodePoolTaintOutput
}

NodePoolTaintInput is an input type that accepts NodePoolTaintArgs and NodePoolTaintOutput values. You can construct a concrete instance of `NodePoolTaintInput` via:

NodePoolTaintArgs{...}

type NodePoolTaintOutput

type NodePoolTaintOutput struct{ *pulumi.OutputState }

func (NodePoolTaintOutput) Effect

Available options are NoSchedule, PreferNoSchedule, and NoExecute.

func (NodePoolTaintOutput) ElementType

func (NodePoolTaintOutput) ElementType() reflect.Type

func (NodePoolTaintOutput) Key

A key must contain 1 to 63 characters starting with a letter or digit. Only letters, digits, hyphens (-), underscores (_), and periods (.) are allowed. A DNS subdomain name can be used as the prefix of a key.

func (NodePoolTaintOutput) ToNodePoolTaintOutput

func (o NodePoolTaintOutput) ToNodePoolTaintOutput() NodePoolTaintOutput

func (NodePoolTaintOutput) ToNodePoolTaintOutputWithContext

func (o NodePoolTaintOutput) ToNodePoolTaintOutputWithContext(ctx context.Context) NodePoolTaintOutput

func (NodePoolTaintOutput) Value

A value must start with a letter or digit and can contain a maximum of 63 characters, including letters, digits, hyphens (-), underscores (_), and periods (.).

type NodeRootVolume

type NodeRootVolume struct {
	// Specifies the extended parameter.
	// Changing this parameter will create a new resource.
	// The available keys are as follows:
	// + **agency_name**: The agency name to provide temporary credentials for CCE node to access other cloud services.
	// + **alpha.cce/NodeImageID**: The custom image ID used to create the BMS nodes.
	// + **dockerBaseSize**: The available disk space of a single docker container on the node in device mapper mode.
	// + **DockerLVMConfigOverride**: Specifies the data disk configurations of Docker.
	//
	// Deprecated: use extend_params instead
	ExtendParam *string `pulumi:"extendParam"`
	// Specifies the disk expansion parameters.
	// Changing this parameter will create a new resource.
	ExtendParams  map[string]string `pulumi:"extendParams"`
	HwPassthrough *bool             `pulumi:"hwPassthrough"`
	// Specifies the ID of a KMS key. This is used to encrypt the volume.
	// Changing this parameter will create a new resource.
	KmsKeyId *string `pulumi:"kmsKeyId"`
	// Specifies the size of a virtual space. Only an integer percentage is supported.
	// Example: 90%. Note that the total percentage of all virtual spaces in a group cannot exceed 100%.
	// Changing this parameter will create a new resource.
	Size int `pulumi:"size"`
	// Specifies the disk type.
	// Changing this parameter will create a new resource.
	Volumetype string `pulumi:"volumetype"`
}

type NodeRootVolumeArgs

type NodeRootVolumeArgs struct {
	// Specifies the extended parameter.
	// Changing this parameter will create a new resource.
	// The available keys are as follows:
	// + **agency_name**: The agency name to provide temporary credentials for CCE node to access other cloud services.
	// + **alpha.cce/NodeImageID**: The custom image ID used to create the BMS nodes.
	// + **dockerBaseSize**: The available disk space of a single docker container on the node in device mapper mode.
	// + **DockerLVMConfigOverride**: Specifies the data disk configurations of Docker.
	//
	// Deprecated: use extend_params instead
	ExtendParam pulumi.StringPtrInput `pulumi:"extendParam"`
	// Specifies the disk expansion parameters.
	// Changing this parameter will create a new resource.
	ExtendParams  pulumi.StringMapInput `pulumi:"extendParams"`
	HwPassthrough pulumi.BoolPtrInput   `pulumi:"hwPassthrough"`
	// Specifies the ID of a KMS key. This is used to encrypt the volume.
	// Changing this parameter will create a new resource.
	KmsKeyId pulumi.StringPtrInput `pulumi:"kmsKeyId"`
	// Specifies the size of a virtual space. Only an integer percentage is supported.
	// Example: 90%. Note that the total percentage of all virtual spaces in a group cannot exceed 100%.
	// Changing this parameter will create a new resource.
	Size pulumi.IntInput `pulumi:"size"`
	// Specifies the disk type.
	// Changing this parameter will create a new resource.
	Volumetype pulumi.StringInput `pulumi:"volumetype"`
}

func (NodeRootVolumeArgs) ElementType

func (NodeRootVolumeArgs) ElementType() reflect.Type

func (NodeRootVolumeArgs) ToNodeRootVolumeOutput

func (i NodeRootVolumeArgs) ToNodeRootVolumeOutput() NodeRootVolumeOutput

func (NodeRootVolumeArgs) ToNodeRootVolumeOutputWithContext

func (i NodeRootVolumeArgs) ToNodeRootVolumeOutputWithContext(ctx context.Context) NodeRootVolumeOutput

func (NodeRootVolumeArgs) ToNodeRootVolumePtrOutput

func (i NodeRootVolumeArgs) ToNodeRootVolumePtrOutput() NodeRootVolumePtrOutput

func (NodeRootVolumeArgs) ToNodeRootVolumePtrOutputWithContext

func (i NodeRootVolumeArgs) ToNodeRootVolumePtrOutputWithContext(ctx context.Context) NodeRootVolumePtrOutput

type NodeRootVolumeInput

type NodeRootVolumeInput interface {
	pulumi.Input

	ToNodeRootVolumeOutput() NodeRootVolumeOutput
	ToNodeRootVolumeOutputWithContext(context.Context) NodeRootVolumeOutput
}

NodeRootVolumeInput is an input type that accepts NodeRootVolumeArgs and NodeRootVolumeOutput values. You can construct a concrete instance of `NodeRootVolumeInput` via:

NodeRootVolumeArgs{...}

type NodeRootVolumeOutput

type NodeRootVolumeOutput struct{ *pulumi.OutputState }

func (NodeRootVolumeOutput) ElementType

func (NodeRootVolumeOutput) ElementType() reflect.Type

func (NodeRootVolumeOutput) ExtendParam deprecated

Specifies the extended parameter. Changing this parameter will create a new resource. The available keys are as follows: + **agency_name**: The agency name to provide temporary credentials for CCE node to access other cloud services. + **alpha.cce/NodeImageID**: The custom image ID used to create the BMS nodes. + **dockerBaseSize**: The available disk space of a single docker container on the node in device mapper mode. + **DockerLVMConfigOverride**: Specifies the data disk configurations of Docker.

Deprecated: use extend_params instead

func (NodeRootVolumeOutput) ExtendParams

func (o NodeRootVolumeOutput) ExtendParams() pulumi.StringMapOutput

Specifies the disk expansion parameters. Changing this parameter will create a new resource.

func (NodeRootVolumeOutput) HwPassthrough

func (o NodeRootVolumeOutput) HwPassthrough() pulumi.BoolPtrOutput

func (NodeRootVolumeOutput) KmsKeyId added in v0.0.8

Specifies the ID of a KMS key. This is used to encrypt the volume. Changing this parameter will create a new resource.

func (NodeRootVolumeOutput) Size

Specifies the size of a virtual space. Only an integer percentage is supported. Example: 90%. Note that the total percentage of all virtual spaces in a group cannot exceed 100%. Changing this parameter will create a new resource.

func (NodeRootVolumeOutput) ToNodeRootVolumeOutput

func (o NodeRootVolumeOutput) ToNodeRootVolumeOutput() NodeRootVolumeOutput

func (NodeRootVolumeOutput) ToNodeRootVolumeOutputWithContext

func (o NodeRootVolumeOutput) ToNodeRootVolumeOutputWithContext(ctx context.Context) NodeRootVolumeOutput

func (NodeRootVolumeOutput) ToNodeRootVolumePtrOutput

func (o NodeRootVolumeOutput) ToNodeRootVolumePtrOutput() NodeRootVolumePtrOutput

func (NodeRootVolumeOutput) ToNodeRootVolumePtrOutputWithContext

func (o NodeRootVolumeOutput) ToNodeRootVolumePtrOutputWithContext(ctx context.Context) NodeRootVolumePtrOutput

func (NodeRootVolumeOutput) Volumetype

func (o NodeRootVolumeOutput) Volumetype() pulumi.StringOutput

Specifies the disk type. Changing this parameter will create a new resource.

type NodeRootVolumePtrInput

type NodeRootVolumePtrInput interface {
	pulumi.Input

	ToNodeRootVolumePtrOutput() NodeRootVolumePtrOutput
	ToNodeRootVolumePtrOutputWithContext(context.Context) NodeRootVolumePtrOutput
}

NodeRootVolumePtrInput is an input type that accepts NodeRootVolumeArgs, NodeRootVolumePtr and NodeRootVolumePtrOutput values. You can construct a concrete instance of `NodeRootVolumePtrInput` via:

        NodeRootVolumeArgs{...}

or:

        nil

type NodeRootVolumePtrOutput

type NodeRootVolumePtrOutput struct{ *pulumi.OutputState }

func (NodeRootVolumePtrOutput) Elem

func (NodeRootVolumePtrOutput) ElementType

func (NodeRootVolumePtrOutput) ElementType() reflect.Type

func (NodeRootVolumePtrOutput) ExtendParam deprecated

Specifies the extended parameter. Changing this parameter will create a new resource. The available keys are as follows: + **agency_name**: The agency name to provide temporary credentials for CCE node to access other cloud services. + **alpha.cce/NodeImageID**: The custom image ID used to create the BMS nodes. + **dockerBaseSize**: The available disk space of a single docker container on the node in device mapper mode. + **DockerLVMConfigOverride**: Specifies the data disk configurations of Docker.

Deprecated: use extend_params instead

func (NodeRootVolumePtrOutput) ExtendParams

Specifies the disk expansion parameters. Changing this parameter will create a new resource.

func (NodeRootVolumePtrOutput) HwPassthrough

func (o NodeRootVolumePtrOutput) HwPassthrough() pulumi.BoolPtrOutput

func (NodeRootVolumePtrOutput) KmsKeyId added in v0.0.8

Specifies the ID of a KMS key. This is used to encrypt the volume. Changing this parameter will create a new resource.

func (NodeRootVolumePtrOutput) Size

Specifies the size of a virtual space. Only an integer percentage is supported. Example: 90%. Note that the total percentage of all virtual spaces in a group cannot exceed 100%. Changing this parameter will create a new resource.

func (NodeRootVolumePtrOutput) ToNodeRootVolumePtrOutput

func (o NodeRootVolumePtrOutput) ToNodeRootVolumePtrOutput() NodeRootVolumePtrOutput

func (NodeRootVolumePtrOutput) ToNodeRootVolumePtrOutputWithContext

func (o NodeRootVolumePtrOutput) ToNodeRootVolumePtrOutputWithContext(ctx context.Context) NodeRootVolumePtrOutput

func (NodeRootVolumePtrOutput) Volumetype

Specifies the disk type. Changing this parameter will create a new resource.

type NodeState

type NodeState struct {
	// schema: Internal
	Annotations pulumi.StringMapInput
	// Deprecated: Deprecated
	AutoPay pulumi.StringPtrInput
	// Specifies whether auto renew is enabled. Valid values are "true" and "false".
	AutoRenew pulumi.StringPtrInput
	// Specifies the name of the available partition (AZ). Changing this
	// parameter will create a new resource.
	AvailabilityZone pulumi.StringPtrInput
	// Specifies the bandwidth billing type.
	// Changing this parameter will create a new resource.
	BandwidthChargeMode pulumi.StringPtrInput
	// Specifies the bandwidth size.
	// Changing this parameter will create a new resource.
	BandwidthSize pulumi.IntPtrInput
	// Deprecated: use charging_mode instead
	BillingMode pulumi.IntPtrInput
	// Specifies the charging mode of the CCE node. Valid values are *prePaid*
	// and *postPaid*, defaults to *postPaid*. Changing this creates a new resource.
	ChargingMode pulumi.StringPtrInput
	// Specifies the ID of the cluster.
	// Changing this parameter will create a new resource.
	ClusterId pulumi.StringPtrInput
	// Specifies the configurations of the data disk.
	// Changing this parameter will create a new resource.
	DataVolumes NodeDataVolumeArrayInput
	// Specifies the ECS group ID. If specified, the node will be created under
	// the cloud server group. Changing this parameter will create a new resource.
	EcsGroupId pulumi.StringPtrInput
	// schema: Internal
	EcsPerformanceType pulumi.StringPtrInput
	// Specifies the ID of the EIP.
	// Changing this parameter will create a new resource.
	EipId pulumi.StringPtrInput
	// Deprecated: use eip_id instead
	EipIds pulumi.StringArrayInput
	// Specifies the extended parameter.
	// Changing this parameter will create a new resource.
	// The available keys are as follows:
	// + **agency_name**: The agency name to provide temporary credentials for CCE node to access other cloud services.
	// + **alpha.cce/NodeImageID**: The custom image ID used to create the BMS nodes.
	// + **dockerBaseSize**: The available disk space of a single docker container on the node in device mapper mode.
	// + **DockerLVMConfigOverride**: Specifies the data disk configurations of Docker.
	ExtendParam pulumi.StringMapInput
	// Deprecated: use charging_mode instead
	ExtendParamChargingMode pulumi.IntPtrInput
	// Specifies the fixed IP of the NIC.
	// Changing this parameter will create a new resource.
	FixedIp pulumi.StringPtrInput
	// Specifies the flavor ID. Changing this parameter will create a new
	// resource.
	FlavorId pulumi.StringPtrInput
	// Specifies the elastic IP type.
	// Changing this parameter will create a new resource.
	Iptype pulumi.StringPtrInput
	// schema: Internal
	KeepEcs pulumi.BoolPtrInput
	// Specifies the key pair name when logging in to select the key pair mode.
	// This parameter and `password` are alternative.
	KeyPair pulumi.StringPtrInput
	// Specifies the tags of a Kubernetes node, key/value pair format.
	// Changing this parameter will create a new resource.
	Labels pulumi.StringMapInput
	// Specifies the maximum number of instances a node is allowed to create.
	// Changing this parameter will create a new resource.
	MaxPods pulumi.IntPtrInput
	// Specifies the virtual space name. Currently, only **kubernetes**, **runtime**,
	// and **user** are supported. Changing this parameter will create a new resource.
	Name pulumi.StringPtrInput
	// Deprecated: will be removed after v1.26.0
	OrderId pulumi.StringPtrInput
	// Specifies the operating system of the node.
	// Changing this parameter will create a new resource.
	// + For VM nodes, clusters of v1.13 and later support *EulerOS 2.5* and *CentOS 7.6*.
	// + For BMS nodes purchased in the yearly/monthly billing mode, only *EulerOS 2.3* is supported.
	Os pulumi.StringPtrInput
	// schema: Internal
	Partition pulumi.StringPtrInput
	// Specifies the root password when logging in to select the password mode.
	// This parameter can be plain or salted and is alternative to `keyPair`.
	Password pulumi.StringPtrInput
	// Specifies the charging period of the CCE node. 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 creates a new resource.
	Period pulumi.IntPtrInput
	// Specifies the charging period unit of the CCE node.
	// Valid values are *month* and *year*. This parameter is mandatory if `chargingMode` is set to *prePaid*.
	// Changing this creates a new resource.
	PeriodUnit pulumi.StringPtrInput
	// Specifies the script to be executed after installation.
	// The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
	Postinstall pulumi.StringPtrInput
	// Specifies the script to be executed before installation.
	// The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
	Preinstall pulumi.StringPtrInput
	// Private IP of the CCE node.
	PrivateIp pulumi.StringPtrInput
	// Specifies the private key of the in used `keyPair`. This parameter is mandatory
	// when replacing or unbinding a keypair if the CCE node is in **Active** state.
	PrivateKey pulumi.StringPtrInput
	// schema: Internal
	ProductId pulumi.StringPtrInput
	// Public IP of the CCE node.
	PublicIp pulumi.StringPtrInput
	// schema: Internal
	PublicKey pulumi.StringPtrInput
	// Specifies the region in which to create the CCE node resource.
	// If omitted, the provider-level region will be used. Changing this creates a new CCE node resource.
	Region pulumi.StringPtrInput
	// Specifies the configuration of the system disk.
	// Changing this parameter will create a new resource.
	RootVolume NodeRootVolumePtrInput
	// Specifies the runtime of the CCE node. Valid values are *docker* and
	// *containerd*. Changing this creates a new resource.
	Runtime pulumi.StringPtrInput
	// ID of the ECS instance associated with the node.
	ServerId pulumi.StringPtrInput
	// Specifies the bandwidth sharing type.
	// Changing this parameter will create a new resource.
	Sharetype pulumi.StringPtrInput
	// The status of the CCE node.
	Status pulumi.StringPtrInput
	// Specifies the disk initialization management parameter.
	// If omitted, disks are managed based on the DockerLVMConfigOverride parameter in extendParam.
	// This parameter is supported for clusters of v1.15.11 and later. Changing this parameter will create a new resource.
	Storage NodeStoragePtrInput
	// Specifies the ID of the subnet to which the NIC belongs.
	// Changing this parameter will create a new resource.
	SubnetId pulumi.StringPtrInput
	// Specifies the tags of a VM node, key/value pair format.
	Tags pulumi.StringMapInput
	// Specifies the taints configuration of the nodes to set anti-affinity.
	// Changing this parameter will create a new resource. Each taint contains the following parameters:
	Taints NodeTaintArrayInput
}

func (NodeState) ElementType

func (NodeState) ElementType() reflect.Type

type NodeStorage

type NodeStorage struct {
	// Specifies the storage group consists of multiple storage devices.
	// This is used to divide storage space. Structure is documented below.
	// Changing this parameter will create a new resource.
	Groups []NodeStorageGroup `pulumi:"groups"`
	// Specifies the disk selection.
	// Matched disks are managed according to match labels and storage type. Structure is documented below.
	// Changing this parameter will create a new resource.
	Selectors []NodeStorageSelector `pulumi:"selectors"`
}

type NodeStorageArgs

type NodeStorageArgs struct {
	// Specifies the storage group consists of multiple storage devices.
	// This is used to divide storage space. Structure is documented below.
	// Changing this parameter will create a new resource.
	Groups NodeStorageGroupArrayInput `pulumi:"groups"`
	// Specifies the disk selection.
	// Matched disks are managed according to match labels and storage type. Structure is documented below.
	// Changing this parameter will create a new resource.
	Selectors NodeStorageSelectorArrayInput `pulumi:"selectors"`
}

func (NodeStorageArgs) ElementType

func (NodeStorageArgs) ElementType() reflect.Type

func (NodeStorageArgs) ToNodeStorageOutput

func (i NodeStorageArgs) ToNodeStorageOutput() NodeStorageOutput

func (NodeStorageArgs) ToNodeStorageOutputWithContext

func (i NodeStorageArgs) ToNodeStorageOutputWithContext(ctx context.Context) NodeStorageOutput

func (NodeStorageArgs) ToNodeStoragePtrOutput

func (i NodeStorageArgs) ToNodeStoragePtrOutput() NodeStoragePtrOutput

func (NodeStorageArgs) ToNodeStoragePtrOutputWithContext

func (i NodeStorageArgs) ToNodeStoragePtrOutputWithContext(ctx context.Context) NodeStoragePtrOutput

type NodeStorageGroup

type NodeStorageGroup struct {
	// Specifies the whether the storage space is for **kubernetes** and
	// **runtime** components. Only one group can be set to true. The default value is **false**.
	// Changing this parameter will create a new resource.
	CceManaged *bool `pulumi:"cceManaged"`
	// Specifies the virtual space name. Currently, only **kubernetes**, **runtime**,
	// and **user** are supported. Changing this parameter will create a new resource.
	Name string `pulumi:"name"`
	// Specifies the list of names of seletors to match.
	// This parameter corresponds to name in `selectors`. A group can match multiple selectors,
	// but a selector can match only one group. Changing this parameter will create a new resource.
	SelectorNames []string `pulumi:"selectorNames"`
	// Specifies the detailed management of space configuration in a group.
	// Changing this parameter will create a new resource.
	VirtualSpaces []NodeStorageGroupVirtualSpace `pulumi:"virtualSpaces"`
}

type NodeStorageGroupArgs

type NodeStorageGroupArgs struct {
	// Specifies the whether the storage space is for **kubernetes** and
	// **runtime** components. Only one group can be set to true. The default value is **false**.
	// Changing this parameter will create a new resource.
	CceManaged pulumi.BoolPtrInput `pulumi:"cceManaged"`
	// Specifies the virtual space name. Currently, only **kubernetes**, **runtime**,
	// and **user** are supported. Changing this parameter will create a new resource.
	Name pulumi.StringInput `pulumi:"name"`
	// Specifies the list of names of seletors to match.
	// This parameter corresponds to name in `selectors`. A group can match multiple selectors,
	// but a selector can match only one group. Changing this parameter will create a new resource.
	SelectorNames pulumi.StringArrayInput `pulumi:"selectorNames"`
	// Specifies the detailed management of space configuration in a group.
	// Changing this parameter will create a new resource.
	VirtualSpaces NodeStorageGroupVirtualSpaceArrayInput `pulumi:"virtualSpaces"`
}

func (NodeStorageGroupArgs) ElementType

func (NodeStorageGroupArgs) ElementType() reflect.Type

func (NodeStorageGroupArgs) ToNodeStorageGroupOutput

func (i NodeStorageGroupArgs) ToNodeStorageGroupOutput() NodeStorageGroupOutput

func (NodeStorageGroupArgs) ToNodeStorageGroupOutputWithContext

func (i NodeStorageGroupArgs) ToNodeStorageGroupOutputWithContext(ctx context.Context) NodeStorageGroupOutput

type NodeStorageGroupArray

type NodeStorageGroupArray []NodeStorageGroupInput

func (NodeStorageGroupArray) ElementType

func (NodeStorageGroupArray) ElementType() reflect.Type

func (NodeStorageGroupArray) ToNodeStorageGroupArrayOutput

func (i NodeStorageGroupArray) ToNodeStorageGroupArrayOutput() NodeStorageGroupArrayOutput

func (NodeStorageGroupArray) ToNodeStorageGroupArrayOutputWithContext

func (i NodeStorageGroupArray) ToNodeStorageGroupArrayOutputWithContext(ctx context.Context) NodeStorageGroupArrayOutput

type NodeStorageGroupArrayInput

type NodeStorageGroupArrayInput interface {
	pulumi.Input

	ToNodeStorageGroupArrayOutput() NodeStorageGroupArrayOutput
	ToNodeStorageGroupArrayOutputWithContext(context.Context) NodeStorageGroupArrayOutput
}

NodeStorageGroupArrayInput is an input type that accepts NodeStorageGroupArray and NodeStorageGroupArrayOutput values. You can construct a concrete instance of `NodeStorageGroupArrayInput` via:

NodeStorageGroupArray{ NodeStorageGroupArgs{...} }

type NodeStorageGroupArrayOutput

type NodeStorageGroupArrayOutput struct{ *pulumi.OutputState }

func (NodeStorageGroupArrayOutput) ElementType

func (NodeStorageGroupArrayOutput) Index

func (NodeStorageGroupArrayOutput) ToNodeStorageGroupArrayOutput

func (o NodeStorageGroupArrayOutput) ToNodeStorageGroupArrayOutput() NodeStorageGroupArrayOutput

func (NodeStorageGroupArrayOutput) ToNodeStorageGroupArrayOutputWithContext

func (o NodeStorageGroupArrayOutput) ToNodeStorageGroupArrayOutputWithContext(ctx context.Context) NodeStorageGroupArrayOutput

type NodeStorageGroupInput

type NodeStorageGroupInput interface {
	pulumi.Input

	ToNodeStorageGroupOutput() NodeStorageGroupOutput
	ToNodeStorageGroupOutputWithContext(context.Context) NodeStorageGroupOutput
}

NodeStorageGroupInput is an input type that accepts NodeStorageGroupArgs and NodeStorageGroupOutput values. You can construct a concrete instance of `NodeStorageGroupInput` via:

NodeStorageGroupArgs{...}

type NodeStorageGroupOutput

type NodeStorageGroupOutput struct{ *pulumi.OutputState }

func (NodeStorageGroupOutput) CceManaged

Specifies the whether the storage space is for **kubernetes** and **runtime** components. Only one group can be set to true. The default value is **false**. Changing this parameter will create a new resource.

func (NodeStorageGroupOutput) ElementType

func (NodeStorageGroupOutput) ElementType() reflect.Type

func (NodeStorageGroupOutput) Name

Specifies the virtual space name. Currently, only **kubernetes**, **runtime**, and **user** are supported. Changing this parameter will create a new resource.

func (NodeStorageGroupOutput) SelectorNames

Specifies the list of names of seletors to match. This parameter corresponds to name in `selectors`. A group can match multiple selectors, but a selector can match only one group. Changing this parameter will create a new resource.

func (NodeStorageGroupOutput) ToNodeStorageGroupOutput

func (o NodeStorageGroupOutput) ToNodeStorageGroupOutput() NodeStorageGroupOutput

func (NodeStorageGroupOutput) ToNodeStorageGroupOutputWithContext

func (o NodeStorageGroupOutput) ToNodeStorageGroupOutputWithContext(ctx context.Context) NodeStorageGroupOutput

func (NodeStorageGroupOutput) VirtualSpaces

Specifies the detailed management of space configuration in a group. Changing this parameter will create a new resource.

type NodeStorageGroupVirtualSpace

type NodeStorageGroupVirtualSpace struct {
	// Specifies the LVM write mode, values can be **linear** and **striped**.
	// This parameter takes effect only in **kubernetes** and **user** configuration. Changing this parameter will create
	// a new resource.
	LvmLvType *string `pulumi:"lvmLvType"`
	// Specifies the absolute path to which the disk is attached.
	// This parameter takes effect only in **user** configuration. Changing this parameter will create a new resource.
	LvmPath *string `pulumi:"lvmPath"`
	// Specifies the virtual space name. Currently, only **kubernetes**, **runtime**,
	// and **user** are supported. Changing this parameter will create a new resource.
	Name string `pulumi:"name"`
	// Specifies the LVM write mode, values can be **linear** and **striped**.
	// This parameter takes effect only in **runtime** configuration. Changing this parameter will create a new resource.
	RuntimeLvType *string `pulumi:"runtimeLvType"`
	// Specifies the size of a virtual space. Only an integer percentage is supported.
	// Example: 90%. Note that the total percentage of all virtual spaces in a group cannot exceed 100%.
	// Changing this parameter will create a new resource.
	Size string `pulumi:"size"`
}

type NodeStorageGroupVirtualSpaceArgs

type NodeStorageGroupVirtualSpaceArgs struct {
	// Specifies the LVM write mode, values can be **linear** and **striped**.
	// This parameter takes effect only in **kubernetes** and **user** configuration. Changing this parameter will create
	// a new resource.
	LvmLvType pulumi.StringPtrInput `pulumi:"lvmLvType"`
	// Specifies the absolute path to which the disk is attached.
	// This parameter takes effect only in **user** configuration. Changing this parameter will create a new resource.
	LvmPath pulumi.StringPtrInput `pulumi:"lvmPath"`
	// Specifies the virtual space name. Currently, only **kubernetes**, **runtime**,
	// and **user** are supported. Changing this parameter will create a new resource.
	Name pulumi.StringInput `pulumi:"name"`
	// Specifies the LVM write mode, values can be **linear** and **striped**.
	// This parameter takes effect only in **runtime** configuration. Changing this parameter will create a new resource.
	RuntimeLvType pulumi.StringPtrInput `pulumi:"runtimeLvType"`
	// Specifies the size of a virtual space. Only an integer percentage is supported.
	// Example: 90%. Note that the total percentage of all virtual spaces in a group cannot exceed 100%.
	// Changing this parameter will create a new resource.
	Size pulumi.StringInput `pulumi:"size"`
}

func (NodeStorageGroupVirtualSpaceArgs) ElementType

func (NodeStorageGroupVirtualSpaceArgs) ToNodeStorageGroupVirtualSpaceOutput

func (i NodeStorageGroupVirtualSpaceArgs) ToNodeStorageGroupVirtualSpaceOutput() NodeStorageGroupVirtualSpaceOutput

func (NodeStorageGroupVirtualSpaceArgs) ToNodeStorageGroupVirtualSpaceOutputWithContext

func (i NodeStorageGroupVirtualSpaceArgs) ToNodeStorageGroupVirtualSpaceOutputWithContext(ctx context.Context) NodeStorageGroupVirtualSpaceOutput

type NodeStorageGroupVirtualSpaceArray

type NodeStorageGroupVirtualSpaceArray []NodeStorageGroupVirtualSpaceInput

func (NodeStorageGroupVirtualSpaceArray) ElementType

func (NodeStorageGroupVirtualSpaceArray) ToNodeStorageGroupVirtualSpaceArrayOutput

func (i NodeStorageGroupVirtualSpaceArray) ToNodeStorageGroupVirtualSpaceArrayOutput() NodeStorageGroupVirtualSpaceArrayOutput

func (NodeStorageGroupVirtualSpaceArray) ToNodeStorageGroupVirtualSpaceArrayOutputWithContext

func (i NodeStorageGroupVirtualSpaceArray) ToNodeStorageGroupVirtualSpaceArrayOutputWithContext(ctx context.Context) NodeStorageGroupVirtualSpaceArrayOutput

type NodeStorageGroupVirtualSpaceArrayInput

type NodeStorageGroupVirtualSpaceArrayInput interface {
	pulumi.Input

	ToNodeStorageGroupVirtualSpaceArrayOutput() NodeStorageGroupVirtualSpaceArrayOutput
	ToNodeStorageGroupVirtualSpaceArrayOutputWithContext(context.Context) NodeStorageGroupVirtualSpaceArrayOutput
}

NodeStorageGroupVirtualSpaceArrayInput is an input type that accepts NodeStorageGroupVirtualSpaceArray and NodeStorageGroupVirtualSpaceArrayOutput values. You can construct a concrete instance of `NodeStorageGroupVirtualSpaceArrayInput` via:

NodeStorageGroupVirtualSpaceArray{ NodeStorageGroupVirtualSpaceArgs{...} }

type NodeStorageGroupVirtualSpaceArrayOutput

type NodeStorageGroupVirtualSpaceArrayOutput struct{ *pulumi.OutputState }

func (NodeStorageGroupVirtualSpaceArrayOutput) ElementType

func (NodeStorageGroupVirtualSpaceArrayOutput) Index

func (NodeStorageGroupVirtualSpaceArrayOutput) ToNodeStorageGroupVirtualSpaceArrayOutput

func (o NodeStorageGroupVirtualSpaceArrayOutput) ToNodeStorageGroupVirtualSpaceArrayOutput() NodeStorageGroupVirtualSpaceArrayOutput

func (NodeStorageGroupVirtualSpaceArrayOutput) ToNodeStorageGroupVirtualSpaceArrayOutputWithContext

func (o NodeStorageGroupVirtualSpaceArrayOutput) ToNodeStorageGroupVirtualSpaceArrayOutputWithContext(ctx context.Context) NodeStorageGroupVirtualSpaceArrayOutput

type NodeStorageGroupVirtualSpaceInput

type NodeStorageGroupVirtualSpaceInput interface {
	pulumi.Input

	ToNodeStorageGroupVirtualSpaceOutput() NodeStorageGroupVirtualSpaceOutput
	ToNodeStorageGroupVirtualSpaceOutputWithContext(context.Context) NodeStorageGroupVirtualSpaceOutput
}

NodeStorageGroupVirtualSpaceInput is an input type that accepts NodeStorageGroupVirtualSpaceArgs and NodeStorageGroupVirtualSpaceOutput values. You can construct a concrete instance of `NodeStorageGroupVirtualSpaceInput` via:

NodeStorageGroupVirtualSpaceArgs{...}

type NodeStorageGroupVirtualSpaceOutput

type NodeStorageGroupVirtualSpaceOutput struct{ *pulumi.OutputState }

func (NodeStorageGroupVirtualSpaceOutput) ElementType

func (NodeStorageGroupVirtualSpaceOutput) LvmLvType

Specifies the LVM write mode, values can be **linear** and **striped**. This parameter takes effect only in **kubernetes** and **user** configuration. Changing this parameter will create a new resource.

func (NodeStorageGroupVirtualSpaceOutput) LvmPath

Specifies the absolute path to which the disk is attached. This parameter takes effect only in **user** configuration. Changing this parameter will create a new resource.

func (NodeStorageGroupVirtualSpaceOutput) Name

Specifies the virtual space name. Currently, only **kubernetes**, **runtime**, and **user** are supported. Changing this parameter will create a new resource.

func (NodeStorageGroupVirtualSpaceOutput) RuntimeLvType

Specifies the LVM write mode, values can be **linear** and **striped**. This parameter takes effect only in **runtime** configuration. Changing this parameter will create a new resource.

func (NodeStorageGroupVirtualSpaceOutput) Size

Specifies the size of a virtual space. Only an integer percentage is supported. Example: 90%. Note that the total percentage of all virtual spaces in a group cannot exceed 100%. Changing this parameter will create a new resource.

func (NodeStorageGroupVirtualSpaceOutput) ToNodeStorageGroupVirtualSpaceOutput

func (o NodeStorageGroupVirtualSpaceOutput) ToNodeStorageGroupVirtualSpaceOutput() NodeStorageGroupVirtualSpaceOutput

func (NodeStorageGroupVirtualSpaceOutput) ToNodeStorageGroupVirtualSpaceOutputWithContext

func (o NodeStorageGroupVirtualSpaceOutput) ToNodeStorageGroupVirtualSpaceOutputWithContext(ctx context.Context) NodeStorageGroupVirtualSpaceOutput

type NodeStorageInput

type NodeStorageInput interface {
	pulumi.Input

	ToNodeStorageOutput() NodeStorageOutput
	ToNodeStorageOutputWithContext(context.Context) NodeStorageOutput
}

NodeStorageInput is an input type that accepts NodeStorageArgs and NodeStorageOutput values. You can construct a concrete instance of `NodeStorageInput` via:

NodeStorageArgs{...}

type NodeStorageOutput

type NodeStorageOutput struct{ *pulumi.OutputState }

func (NodeStorageOutput) ElementType

func (NodeStorageOutput) ElementType() reflect.Type

func (NodeStorageOutput) Groups

Specifies the storage group consists of multiple storage devices. This is used to divide storage space. Structure is documented below. Changing this parameter will create a new resource.

func (NodeStorageOutput) Selectors

Specifies the disk selection. Matched disks are managed according to match labels and storage type. Structure is documented below. Changing this parameter will create a new resource.

func (NodeStorageOutput) ToNodeStorageOutput

func (o NodeStorageOutput) ToNodeStorageOutput() NodeStorageOutput

func (NodeStorageOutput) ToNodeStorageOutputWithContext

func (o NodeStorageOutput) ToNodeStorageOutputWithContext(ctx context.Context) NodeStorageOutput

func (NodeStorageOutput) ToNodeStoragePtrOutput

func (o NodeStorageOutput) ToNodeStoragePtrOutput() NodeStoragePtrOutput

func (NodeStorageOutput) ToNodeStoragePtrOutputWithContext

func (o NodeStorageOutput) ToNodeStoragePtrOutputWithContext(ctx context.Context) NodeStoragePtrOutput

type NodeStoragePtrInput

type NodeStoragePtrInput interface {
	pulumi.Input

	ToNodeStoragePtrOutput() NodeStoragePtrOutput
	ToNodeStoragePtrOutputWithContext(context.Context) NodeStoragePtrOutput
}

NodeStoragePtrInput is an input type that accepts NodeStorageArgs, NodeStoragePtr and NodeStoragePtrOutput values. You can construct a concrete instance of `NodeStoragePtrInput` via:

        NodeStorageArgs{...}

or:

        nil

func NodeStoragePtr

func NodeStoragePtr(v *NodeStorageArgs) NodeStoragePtrInput

type NodeStoragePtrOutput

type NodeStoragePtrOutput struct{ *pulumi.OutputState }

func (NodeStoragePtrOutput) Elem

func (NodeStoragePtrOutput) ElementType

func (NodeStoragePtrOutput) ElementType() reflect.Type

func (NodeStoragePtrOutput) Groups

Specifies the storage group consists of multiple storage devices. This is used to divide storage space. Structure is documented below. Changing this parameter will create a new resource.

func (NodeStoragePtrOutput) Selectors

Specifies the disk selection. Matched disks are managed according to match labels and storage type. Structure is documented below. Changing this parameter will create a new resource.

func (NodeStoragePtrOutput) ToNodeStoragePtrOutput

func (o NodeStoragePtrOutput) ToNodeStoragePtrOutput() NodeStoragePtrOutput

func (NodeStoragePtrOutput) ToNodeStoragePtrOutputWithContext

func (o NodeStoragePtrOutput) ToNodeStoragePtrOutputWithContext(ctx context.Context) NodeStoragePtrOutput

type NodeStorageSelector

type NodeStorageSelector struct {
	// Specifies the number of disks to be selected. If omitted,
	// all disks of this type are selected. Changing this parameter will create a new resource.
	MatchLabelCount *string `pulumi:"matchLabelCount"`
	// Specifies the customer master key ID of an encrypted
	// disk. Changing this parameter will create a new resource.
	MatchLabelMetadataCmkid *string `pulumi:"matchLabelMetadataCmkid"`
	// Specifies the disk encryption identifier.
	// Values can be: **0** indicates that the disk is not encrypted and **1** indicates that the disk is encrypted.
	// If omitted, whether the disk is encrypted is not limited. Changing this parameter will create a new resource.
	MatchLabelMetadataEncrypted *string `pulumi:"matchLabelMetadataEncrypted"`
	// Specifies the matched disk size. If omitted,
	// the disk size is not limited. Example: 100. Changing this parameter will create a new resource.
	MatchLabelSize *string `pulumi:"matchLabelSize"`
	// Specifies the EVS disk type. Currently,
	// **SSD**, **GPSSD**, and **SAS** are supported. If omitted, the disk type is not limited.
	// Changing this parameter will create a new resource.
	MatchLabelVolumeType *string `pulumi:"matchLabelVolumeType"`
	// Specifies the virtual space name. Currently, only **kubernetes**, **runtime**,
	// and **user** are supported. Changing this parameter will create a new resource.
	Name string `pulumi:"name"`
	// Specifies the storage type. Currently, only **evs (EVS volumes)** is supported.
	// The default value is **evs**. Changing this parameter will create a new resource.
	Type *string `pulumi:"type"`
}

type NodeStorageSelectorArgs

type NodeStorageSelectorArgs struct {
	// Specifies the number of disks to be selected. If omitted,
	// all disks of this type are selected. Changing this parameter will create a new resource.
	MatchLabelCount pulumi.StringPtrInput `pulumi:"matchLabelCount"`
	// Specifies the customer master key ID of an encrypted
	// disk. Changing this parameter will create a new resource.
	MatchLabelMetadataCmkid pulumi.StringPtrInput `pulumi:"matchLabelMetadataCmkid"`
	// Specifies the disk encryption identifier.
	// Values can be: **0** indicates that the disk is not encrypted and **1** indicates that the disk is encrypted.
	// If omitted, whether the disk is encrypted is not limited. Changing this parameter will create a new resource.
	MatchLabelMetadataEncrypted pulumi.StringPtrInput `pulumi:"matchLabelMetadataEncrypted"`
	// Specifies the matched disk size. If omitted,
	// the disk size is not limited. Example: 100. Changing this parameter will create a new resource.
	MatchLabelSize pulumi.StringPtrInput `pulumi:"matchLabelSize"`
	// Specifies the EVS disk type. Currently,
	// **SSD**, **GPSSD**, and **SAS** are supported. If omitted, the disk type is not limited.
	// Changing this parameter will create a new resource.
	MatchLabelVolumeType pulumi.StringPtrInput `pulumi:"matchLabelVolumeType"`
	// Specifies the virtual space name. Currently, only **kubernetes**, **runtime**,
	// and **user** are supported. Changing this parameter will create a new resource.
	Name pulumi.StringInput `pulumi:"name"`
	// Specifies the storage type. Currently, only **evs (EVS volumes)** is supported.
	// The default value is **evs**. Changing this parameter will create a new resource.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (NodeStorageSelectorArgs) ElementType

func (NodeStorageSelectorArgs) ElementType() reflect.Type

func (NodeStorageSelectorArgs) ToNodeStorageSelectorOutput

func (i NodeStorageSelectorArgs) ToNodeStorageSelectorOutput() NodeStorageSelectorOutput

func (NodeStorageSelectorArgs) ToNodeStorageSelectorOutputWithContext

func (i NodeStorageSelectorArgs) ToNodeStorageSelectorOutputWithContext(ctx context.Context) NodeStorageSelectorOutput

type NodeStorageSelectorArray

type NodeStorageSelectorArray []NodeStorageSelectorInput

func (NodeStorageSelectorArray) ElementType

func (NodeStorageSelectorArray) ElementType() reflect.Type

func (NodeStorageSelectorArray) ToNodeStorageSelectorArrayOutput

func (i NodeStorageSelectorArray) ToNodeStorageSelectorArrayOutput() NodeStorageSelectorArrayOutput

func (NodeStorageSelectorArray) ToNodeStorageSelectorArrayOutputWithContext

func (i NodeStorageSelectorArray) ToNodeStorageSelectorArrayOutputWithContext(ctx context.Context) NodeStorageSelectorArrayOutput

type NodeStorageSelectorArrayInput

type NodeStorageSelectorArrayInput interface {
	pulumi.Input

	ToNodeStorageSelectorArrayOutput() NodeStorageSelectorArrayOutput
	ToNodeStorageSelectorArrayOutputWithContext(context.Context) NodeStorageSelectorArrayOutput
}

NodeStorageSelectorArrayInput is an input type that accepts NodeStorageSelectorArray and NodeStorageSelectorArrayOutput values. You can construct a concrete instance of `NodeStorageSelectorArrayInput` via:

NodeStorageSelectorArray{ NodeStorageSelectorArgs{...} }

type NodeStorageSelectorArrayOutput

type NodeStorageSelectorArrayOutput struct{ *pulumi.OutputState }

func (NodeStorageSelectorArrayOutput) ElementType

func (NodeStorageSelectorArrayOutput) Index

func (NodeStorageSelectorArrayOutput) ToNodeStorageSelectorArrayOutput

func (o NodeStorageSelectorArrayOutput) ToNodeStorageSelectorArrayOutput() NodeStorageSelectorArrayOutput

func (NodeStorageSelectorArrayOutput) ToNodeStorageSelectorArrayOutputWithContext

func (o NodeStorageSelectorArrayOutput) ToNodeStorageSelectorArrayOutputWithContext(ctx context.Context) NodeStorageSelectorArrayOutput

type NodeStorageSelectorInput

type NodeStorageSelectorInput interface {
	pulumi.Input

	ToNodeStorageSelectorOutput() NodeStorageSelectorOutput
	ToNodeStorageSelectorOutputWithContext(context.Context) NodeStorageSelectorOutput
}

NodeStorageSelectorInput is an input type that accepts NodeStorageSelectorArgs and NodeStorageSelectorOutput values. You can construct a concrete instance of `NodeStorageSelectorInput` via:

NodeStorageSelectorArgs{...}

type NodeStorageSelectorOutput

type NodeStorageSelectorOutput struct{ *pulumi.OutputState }

func (NodeStorageSelectorOutput) ElementType

func (NodeStorageSelectorOutput) ElementType() reflect.Type

func (NodeStorageSelectorOutput) MatchLabelCount

func (o NodeStorageSelectorOutput) MatchLabelCount() pulumi.StringPtrOutput

Specifies the number of disks to be selected. If omitted, all disks of this type are selected. Changing this parameter will create a new resource.

func (NodeStorageSelectorOutput) MatchLabelMetadataCmkid

func (o NodeStorageSelectorOutput) MatchLabelMetadataCmkid() pulumi.StringPtrOutput

Specifies the customer master key ID of an encrypted disk. Changing this parameter will create a new resource.

func (NodeStorageSelectorOutput) MatchLabelMetadataEncrypted

func (o NodeStorageSelectorOutput) MatchLabelMetadataEncrypted() pulumi.StringPtrOutput

Specifies the disk encryption identifier. Values can be: **0** indicates that the disk is not encrypted and **1** indicates that the disk is encrypted. If omitted, whether the disk is encrypted is not limited. Changing this parameter will create a new resource.

func (NodeStorageSelectorOutput) MatchLabelSize

Specifies the matched disk size. If omitted, the disk size is not limited. Example: 100. Changing this parameter will create a new resource.

func (NodeStorageSelectorOutput) MatchLabelVolumeType

func (o NodeStorageSelectorOutput) MatchLabelVolumeType() pulumi.StringPtrOutput

Specifies the EVS disk type. Currently, **SSD**, **GPSSD**, and **SAS** are supported. If omitted, the disk type is not limited. Changing this parameter will create a new resource.

func (NodeStorageSelectorOutput) Name

Specifies the virtual space name. Currently, only **kubernetes**, **runtime**, and **user** are supported. Changing this parameter will create a new resource.

func (NodeStorageSelectorOutput) ToNodeStorageSelectorOutput

func (o NodeStorageSelectorOutput) ToNodeStorageSelectorOutput() NodeStorageSelectorOutput

func (NodeStorageSelectorOutput) ToNodeStorageSelectorOutputWithContext

func (o NodeStorageSelectorOutput) ToNodeStorageSelectorOutputWithContext(ctx context.Context) NodeStorageSelectorOutput

func (NodeStorageSelectorOutput) Type

Specifies the storage type. Currently, only **evs (EVS volumes)** is supported. The default value is **evs**. Changing this parameter will create a new resource.

type NodeTaint

type NodeTaint struct {
	// Available options are NoSchedule, PreferNoSchedule, and NoExecute.
	// Changing this parameter will create a new resource.
	Effect string `pulumi:"effect"`
	// A key must contain 1 to 63 characters starting with a letter or digit.
	// Only letters, digits, hyphens (-), underscores (_), and periods (.) are allowed. A DNS subdomain name can be used
	// as the prefix of a key. Changing this parameter will create a new resource.
	Key string `pulumi:"key"`
	// A value must start with a letter or digit and can contain a maximum of 63
	// characters, including letters, digits, hyphens (-), underscores (_), and periods (.). Changing this parameter will
	// create a new resource.
	Value string `pulumi:"value"`
}

type NodeTaintArgs

type NodeTaintArgs struct {
	// Available options are NoSchedule, PreferNoSchedule, and NoExecute.
	// Changing this parameter will create a new resource.
	Effect pulumi.StringInput `pulumi:"effect"`
	// A key must contain 1 to 63 characters starting with a letter or digit.
	// Only letters, digits, hyphens (-), underscores (_), and periods (.) are allowed. A DNS subdomain name can be used
	// as the prefix of a key. Changing this parameter will create a new resource.
	Key pulumi.StringInput `pulumi:"key"`
	// A value must start with a letter or digit and can contain a maximum of 63
	// characters, including letters, digits, hyphens (-), underscores (_), and periods (.). Changing this parameter will
	// create a new resource.
	Value pulumi.StringInput `pulumi:"value"`
}

func (NodeTaintArgs) ElementType

func (NodeTaintArgs) ElementType() reflect.Type

func (NodeTaintArgs) ToNodeTaintOutput

func (i NodeTaintArgs) ToNodeTaintOutput() NodeTaintOutput

func (NodeTaintArgs) ToNodeTaintOutputWithContext

func (i NodeTaintArgs) ToNodeTaintOutputWithContext(ctx context.Context) NodeTaintOutput

type NodeTaintArray

type NodeTaintArray []NodeTaintInput

func (NodeTaintArray) ElementType

func (NodeTaintArray) ElementType() reflect.Type

func (NodeTaintArray) ToNodeTaintArrayOutput

func (i NodeTaintArray) ToNodeTaintArrayOutput() NodeTaintArrayOutput

func (NodeTaintArray) ToNodeTaintArrayOutputWithContext

func (i NodeTaintArray) ToNodeTaintArrayOutputWithContext(ctx context.Context) NodeTaintArrayOutput

type NodeTaintArrayInput

type NodeTaintArrayInput interface {
	pulumi.Input

	ToNodeTaintArrayOutput() NodeTaintArrayOutput
	ToNodeTaintArrayOutputWithContext(context.Context) NodeTaintArrayOutput
}

NodeTaintArrayInput is an input type that accepts NodeTaintArray and NodeTaintArrayOutput values. You can construct a concrete instance of `NodeTaintArrayInput` via:

NodeTaintArray{ NodeTaintArgs{...} }

type NodeTaintArrayOutput

type NodeTaintArrayOutput struct{ *pulumi.OutputState }

func (NodeTaintArrayOutput) ElementType

func (NodeTaintArrayOutput) ElementType() reflect.Type

func (NodeTaintArrayOutput) Index

func (NodeTaintArrayOutput) ToNodeTaintArrayOutput

func (o NodeTaintArrayOutput) ToNodeTaintArrayOutput() NodeTaintArrayOutput

func (NodeTaintArrayOutput) ToNodeTaintArrayOutputWithContext

func (o NodeTaintArrayOutput) ToNodeTaintArrayOutputWithContext(ctx context.Context) NodeTaintArrayOutput

type NodeTaintInput

type NodeTaintInput interface {
	pulumi.Input

	ToNodeTaintOutput() NodeTaintOutput
	ToNodeTaintOutputWithContext(context.Context) NodeTaintOutput
}

NodeTaintInput is an input type that accepts NodeTaintArgs and NodeTaintOutput values. You can construct a concrete instance of `NodeTaintInput` via:

NodeTaintArgs{...}

type NodeTaintOutput

type NodeTaintOutput struct{ *pulumi.OutputState }

func (NodeTaintOutput) Effect

func (o NodeTaintOutput) Effect() pulumi.StringOutput

Available options are NoSchedule, PreferNoSchedule, and NoExecute. Changing this parameter will create a new resource.

func (NodeTaintOutput) ElementType

func (NodeTaintOutput) ElementType() reflect.Type

func (NodeTaintOutput) Key

A key must contain 1 to 63 characters starting with a letter or digit. Only letters, digits, hyphens (-), underscores (_), and periods (.) are allowed. A DNS subdomain name can be used as the prefix of a key. Changing this parameter will create a new resource.

func (NodeTaintOutput) ToNodeTaintOutput

func (o NodeTaintOutput) ToNodeTaintOutput() NodeTaintOutput

func (NodeTaintOutput) ToNodeTaintOutputWithContext

func (o NodeTaintOutput) ToNodeTaintOutputWithContext(ctx context.Context) NodeTaintOutput

func (NodeTaintOutput) Value

A value must start with a letter or digit and can contain a maximum of 63 characters, including letters, digits, hyphens (-), underscores (_), and periods (.). Changing this parameter will create a new resource.

type Pvc

type Pvc struct {
	pulumi.CustomResourceState

	// Specifies the desired access modes the volume should have.
	// The valid values are as follows:
	// + **ReadWriteOnce**: The volume can be mounted as read-write by a single node.
	// + **ReadOnlyMany**: The volume can be mounted as read-only by many nodes.
	// + **ReadWriteMany**: The volume can be mounted as read-write by many nodes.
	AccessModes pulumi.StringArrayOutput `pulumi:"accessModes"`
	// Specifies the unstructured key value map for external parameters.
	// Changing this will create a new PVC resource.
	Annotations pulumi.StringMapOutput `pulumi:"annotations"`
	// Specifies the cluster ID to which the CCE PVC belongs.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// The server time when PVC was created.
	CreationTimestamp pulumi.StringOutput `pulumi:"creationTimestamp"`
	// Specifies the map of string keys and values for labels.
	// Changing this will create a new PVC resource.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// Specifies the unique name of the PVC resource. This parameter can contain a
	// maximum of 63 characters, which may consist of lowercase letters, digits and hyphens (-), and must start and end with
	// lowercase letters and digits. Changing this will create a new PVC resource.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the namespace to logically divide your containers into different
	// group. Changing this will create a new PVC resource.
	Namespace pulumi.StringOutput `pulumi:"namespace"`
	// Specifies the region in which to create the PVC resource.
	// If omitted, the provider-level region will be used. Changing this will create a new PVC resource.
	Region pulumi.StringOutput `pulumi:"region"`
	// The current phase of the PVC.
	// + **Pending**: Not yet bound.
	// + **Bound**: Already bound.
	Status pulumi.StringOutput `pulumi:"status"`
	// Specifies the minimum amount of storage resources required.
	// Changing this creates a new PVC resource.
	Storage pulumi.StringOutput `pulumi:"storage"`
	// Specifies the type of the storage bound to the CCE PVC.
	// The valid values are as follows:
	// + **csi-disk**: EVS.
	// + **csi-obs**: OBS.
	// + **csi-nas**: SFS.
	StorageClassName pulumi.StringOutput `pulumi:"storageClassName"`
}

Manages a CCE Persistent Volume Claim resource within HuaweiCloud.

## Example Usage ### Create PVC with EVS

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Cce"
"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, "")
		clusterId := cfg.RequireObject("clusterId")
		namespace := cfg.RequireObject("namespace")
		pvcName := cfg.RequireObject("pvcName")
		_, err := Cce.NewPvc(ctx, "test", &Cce.PvcArgs{
			ClusterId: pulumi.Any(clusterId),
			Namespace: pulumi.Any(namespace),
			Annotations: pulumi.StringMap{
				"everest.io/disk-volume-type": pulumi.String("SSD"),
			},
			StorageClassName: pulumi.String("csi-disk"),
			AccessModes: pulumi.StringArray{
				pulumi.String("ReadWriteOnce"),
			},
			Storage: pulumi.String("10Gi"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Create PVC with OBS

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Cce"
"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, "")
		clusterId := cfg.RequireObject("clusterId")
		namespace := cfg.RequireObject("namespace")
		pvcName := cfg.RequireObject("pvcName")
		_, err := Cce.NewPvc(ctx, "test", &Cce.PvcArgs{
			ClusterId: pulumi.Any(clusterId),
			Namespace: pulumi.Any(namespace),
			Annotations: pulumi.StringMap{
				"everest.io/obs-volume-type": pulumi.String("STANDARD"),
				"csi.storage.k8s.io/fstype":  pulumi.String("obsfs"),
			},
			StorageClassName: pulumi.String("csi-obs"),
			AccessModes: pulumi.StringArray{
				pulumi.String("ReadWriteMany"),
			},
			Storage: pulumi.String("1Gi"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Create PVC with SFS

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Cce"
"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, "")
		clusterId := cfg.RequireObject("clusterId")
		namespace := cfg.RequireObject("namespace")
		pvcName := cfg.RequireObject("pvcName")
		_, err := Cce.NewPvc(ctx, "test", &Cce.PvcArgs{
			ClusterId:        pulumi.Any(clusterId),
			Namespace:        pulumi.Any(namespace),
			StorageClassName: pulumi.String("csi-nas"),
			AccessModes: pulumi.StringArray{
				pulumi.String("ReadWriteMany"),
			},
			Storage: pulumi.String("10Gi"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

CCE PVC can be imported using the cluster ID, namespace and ID separated by slashes, e.g.

```sh

$ pulumi import huaweicloud:Cce/pvc:Pvc test 5c20fdad-7288-11eb-b817-0255ac10158b/default/fa540f3b-12d9-40e5-8268-04bcfed95a46

```

Note that the imported state may not be identical to your resource definition, due to some attributes missing from the API response, security or some other reason. The missing attributes include`annotations`. It is generally recommended running `terraform plan` after importing a PVC. You can then decide if changes should be applied to the PVC, or the resource definition should be updated to align with the PVC. Also you can ignore changes as below. resource "huaweicloud_cce_pvc" "test" {

...

lifecycle {

ignore_changes = [

annotations,

]

} }

func GetPvc

func GetPvc(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PvcState, opts ...pulumi.ResourceOption) (*Pvc, error)

GetPvc gets an existing Pvc 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 NewPvc

func NewPvc(ctx *pulumi.Context,
	name string, args *PvcArgs, opts ...pulumi.ResourceOption) (*Pvc, error)

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

func (*Pvc) ElementType

func (*Pvc) ElementType() reflect.Type

func (*Pvc) ToPvcOutput

func (i *Pvc) ToPvcOutput() PvcOutput

func (*Pvc) ToPvcOutputWithContext

func (i *Pvc) ToPvcOutputWithContext(ctx context.Context) PvcOutput

type PvcArgs

type PvcArgs struct {
	// Specifies the desired access modes the volume should have.
	// The valid values are as follows:
	// + **ReadWriteOnce**: The volume can be mounted as read-write by a single node.
	// + **ReadOnlyMany**: The volume can be mounted as read-only by many nodes.
	// + **ReadWriteMany**: The volume can be mounted as read-write by many nodes.
	AccessModes pulumi.StringArrayInput
	// Specifies the unstructured key value map for external parameters.
	// Changing this will create a new PVC resource.
	Annotations pulumi.StringMapInput
	// Specifies the cluster ID to which the CCE PVC belongs.
	ClusterId pulumi.StringInput
	// Specifies the map of string keys and values for labels.
	// Changing this will create a new PVC resource.
	Labels pulumi.StringMapInput
	// Specifies the unique name of the PVC resource. This parameter can contain a
	// maximum of 63 characters, which may consist of lowercase letters, digits and hyphens (-), and must start and end with
	// lowercase letters and digits. Changing this will create a new PVC resource.
	Name pulumi.StringPtrInput
	// Specifies the namespace to logically divide your containers into different
	// group. Changing this will create a new PVC resource.
	Namespace pulumi.StringInput
	// Specifies the region in which to create the PVC resource.
	// If omitted, the provider-level region will be used. Changing this will create a new PVC resource.
	Region pulumi.StringPtrInput
	// Specifies the minimum amount of storage resources required.
	// Changing this creates a new PVC resource.
	Storage pulumi.StringInput
	// Specifies the type of the storage bound to the CCE PVC.
	// The valid values are as follows:
	// + **csi-disk**: EVS.
	// + **csi-obs**: OBS.
	// + **csi-nas**: SFS.
	StorageClassName pulumi.StringInput
}

The set of arguments for constructing a Pvc resource.

func (PvcArgs) ElementType

func (PvcArgs) ElementType() reflect.Type

type PvcArray

type PvcArray []PvcInput

func (PvcArray) ElementType

func (PvcArray) ElementType() reflect.Type

func (PvcArray) ToPvcArrayOutput

func (i PvcArray) ToPvcArrayOutput() PvcArrayOutput

func (PvcArray) ToPvcArrayOutputWithContext

func (i PvcArray) ToPvcArrayOutputWithContext(ctx context.Context) PvcArrayOutput

type PvcArrayInput

type PvcArrayInput interface {
	pulumi.Input

	ToPvcArrayOutput() PvcArrayOutput
	ToPvcArrayOutputWithContext(context.Context) PvcArrayOutput
}

PvcArrayInput is an input type that accepts PvcArray and PvcArrayOutput values. You can construct a concrete instance of `PvcArrayInput` via:

PvcArray{ PvcArgs{...} }

type PvcArrayOutput

type PvcArrayOutput struct{ *pulumi.OutputState }

func (PvcArrayOutput) ElementType

func (PvcArrayOutput) ElementType() reflect.Type

func (PvcArrayOutput) Index

func (PvcArrayOutput) ToPvcArrayOutput

func (o PvcArrayOutput) ToPvcArrayOutput() PvcArrayOutput

func (PvcArrayOutput) ToPvcArrayOutputWithContext

func (o PvcArrayOutput) ToPvcArrayOutputWithContext(ctx context.Context) PvcArrayOutput

type PvcInput

type PvcInput interface {
	pulumi.Input

	ToPvcOutput() PvcOutput
	ToPvcOutputWithContext(ctx context.Context) PvcOutput
}

type PvcMap

type PvcMap map[string]PvcInput

func (PvcMap) ElementType

func (PvcMap) ElementType() reflect.Type

func (PvcMap) ToPvcMapOutput

func (i PvcMap) ToPvcMapOutput() PvcMapOutput

func (PvcMap) ToPvcMapOutputWithContext

func (i PvcMap) ToPvcMapOutputWithContext(ctx context.Context) PvcMapOutput

type PvcMapInput

type PvcMapInput interface {
	pulumi.Input

	ToPvcMapOutput() PvcMapOutput
	ToPvcMapOutputWithContext(context.Context) PvcMapOutput
}

PvcMapInput is an input type that accepts PvcMap and PvcMapOutput values. You can construct a concrete instance of `PvcMapInput` via:

PvcMap{ "key": PvcArgs{...} }

type PvcMapOutput

type PvcMapOutput struct{ *pulumi.OutputState }

func (PvcMapOutput) ElementType

func (PvcMapOutput) ElementType() reflect.Type

func (PvcMapOutput) MapIndex

func (o PvcMapOutput) MapIndex(k pulumi.StringInput) PvcOutput

func (PvcMapOutput) ToPvcMapOutput

func (o PvcMapOutput) ToPvcMapOutput() PvcMapOutput

func (PvcMapOutput) ToPvcMapOutputWithContext

func (o PvcMapOutput) ToPvcMapOutputWithContext(ctx context.Context) PvcMapOutput

type PvcOutput

type PvcOutput struct{ *pulumi.OutputState }

func (PvcOutput) AccessModes

func (o PvcOutput) AccessModes() pulumi.StringArrayOutput

Specifies the desired access modes the volume should have. The valid values are as follows: + **ReadWriteOnce**: The volume can be mounted as read-write by a single node. + **ReadOnlyMany**: The volume can be mounted as read-only by many nodes. + **ReadWriteMany**: The volume can be mounted as read-write by many nodes.

func (PvcOutput) Annotations

func (o PvcOutput) Annotations() pulumi.StringMapOutput

Specifies the unstructured key value map for external parameters. Changing this will create a new PVC resource.

func (PvcOutput) ClusterId

func (o PvcOutput) ClusterId() pulumi.StringOutput

Specifies the cluster ID to which the CCE PVC belongs.

func (PvcOutput) CreationTimestamp

func (o PvcOutput) CreationTimestamp() pulumi.StringOutput

The server time when PVC was created.

func (PvcOutput) ElementType

func (PvcOutput) ElementType() reflect.Type

func (PvcOutput) Labels

func (o PvcOutput) Labels() pulumi.StringMapOutput

Specifies the map of string keys and values for labels. Changing this will create a new PVC resource.

func (PvcOutput) Name

func (o PvcOutput) Name() pulumi.StringOutput

Specifies the unique name of the PVC resource. This parameter can contain a maximum of 63 characters, which may consist of lowercase letters, digits and hyphens (-), and must start and end with lowercase letters and digits. Changing this will create a new PVC resource.

func (PvcOutput) Namespace

func (o PvcOutput) Namespace() pulumi.StringOutput

Specifies the namespace to logically divide your containers into different group. Changing this will create a new PVC resource.

func (PvcOutput) Region

func (o PvcOutput) Region() pulumi.StringOutput

Specifies the region in which to create the PVC resource. If omitted, the provider-level region will be used. Changing this will create a new PVC resource.

func (PvcOutput) Status

func (o PvcOutput) Status() pulumi.StringOutput

The current phase of the PVC. + **Pending**: Not yet bound. + **Bound**: Already bound.

func (PvcOutput) Storage

func (o PvcOutput) Storage() pulumi.StringOutput

Specifies the minimum amount of storage resources required. Changing this creates a new PVC resource.

func (PvcOutput) StorageClassName

func (o PvcOutput) StorageClassName() pulumi.StringOutput

Specifies the type of the storage bound to the CCE PVC. The valid values are as follows: + **csi-disk**: EVS. + **csi-obs**: OBS. + **csi-nas**: SFS.

func (PvcOutput) ToPvcOutput

func (o PvcOutput) ToPvcOutput() PvcOutput

func (PvcOutput) ToPvcOutputWithContext

func (o PvcOutput) ToPvcOutputWithContext(ctx context.Context) PvcOutput

type PvcState

type PvcState struct {
	// Specifies the desired access modes the volume should have.
	// The valid values are as follows:
	// + **ReadWriteOnce**: The volume can be mounted as read-write by a single node.
	// + **ReadOnlyMany**: The volume can be mounted as read-only by many nodes.
	// + **ReadWriteMany**: The volume can be mounted as read-write by many nodes.
	AccessModes pulumi.StringArrayInput
	// Specifies the unstructured key value map for external parameters.
	// Changing this will create a new PVC resource.
	Annotations pulumi.StringMapInput
	// Specifies the cluster ID to which the CCE PVC belongs.
	ClusterId pulumi.StringPtrInput
	// The server time when PVC was created.
	CreationTimestamp pulumi.StringPtrInput
	// Specifies the map of string keys and values for labels.
	// Changing this will create a new PVC resource.
	Labels pulumi.StringMapInput
	// Specifies the unique name of the PVC resource. This parameter can contain a
	// maximum of 63 characters, which may consist of lowercase letters, digits and hyphens (-), and must start and end with
	// lowercase letters and digits. Changing this will create a new PVC resource.
	Name pulumi.StringPtrInput
	// Specifies the namespace to logically divide your containers into different
	// group. Changing this will create a new PVC resource.
	Namespace pulumi.StringPtrInput
	// Specifies the region in which to create the PVC resource.
	// If omitted, the provider-level region will be used. Changing this will create a new PVC resource.
	Region pulumi.StringPtrInput
	// The current phase of the PVC.
	// + **Pending**: Not yet bound.
	// + **Bound**: Already bound.
	Status pulumi.StringPtrInput
	// Specifies the minimum amount of storage resources required.
	// Changing this creates a new PVC resource.
	Storage pulumi.StringPtrInput
	// Specifies the type of the storage bound to the CCE PVC.
	// The valid values are as follows:
	// + **csi-disk**: EVS.
	// + **csi-obs**: OBS.
	// + **csi-nas**: SFS.
	StorageClassName pulumi.StringPtrInput
}

func (PvcState) ElementType

func (PvcState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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