kubernetes

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2022 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.5

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 AddonAttachment

type AddonAttachment struct {
	pulumi.CustomResourceState

	// ID of cluster.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// Name of addon.
	Name pulumi.StringOutput `pulumi:"name"`
	// Serialized json string as request body of addon spec. If set, will ignore `version` and `values`.
	RequestBody pulumi.StringPtrOutput `pulumi:"requestBody"`
	// Addon response body.
	ResponseBody pulumi.StringOutput `pulumi:"responseBody"`
	// Addon current status.
	Status pulumi.MapOutput `pulumi:"status"`
	// Values the addon passthroughs. Conflict with `requestBody`.
	Values pulumi.StringArrayOutput `pulumi:"values"`
	// Addon version, default latest version. Conflict with `requestBody`.
	Version pulumi.StringPtrOutput `pulumi:"version"`
}

Provide a resource to configure kubernetes cluster app addons.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Kubernetes.NewAddonAttachment(ctx, "addonCbs", &Kubernetes.AddonAttachmentArgs{
			ClusterId: pulumi.String("cls-xxxxxxxx"),
			Values: pulumi.StringArray{
				pulumi.String("rootdir=/var/lib/kubelet"),
			},
			Version: pulumi.String("1.0.0"),
		})
		if err != nil {
			return err
		}
		_, err = Kubernetes.NewAddonAttachment(ctx, "addonTcr", &Kubernetes.AddonAttachmentArgs{
			ClusterId: pulumi.String("cls-xxxxxxxx"),
			Values: pulumi.StringArray{
				pulumi.String("global.imagePullSecretsCrs[0].name=unique-sample-vpc"),
				pulumi.String("global.imagePullSecretsCrs[0].namespaces=tcr-assistant-system"),
				pulumi.String("global.imagePullSecretsCrs[0].serviceAccounts=*"),
				pulumi.String("global.imagePullSecretsCrs[0].type=docker"),
				pulumi.String("global.imagePullSecretsCrs[0].dockerUsername=100012345678"),
				pulumi.String("global.imagePullSecretsCrs[0].dockerPassword=a.b.tcr-token"),
				pulumi.String("global.imagePullSecretsCrs[0].dockerServer=xxxx.tencentcloudcr.com"),
				pulumi.String("global.imagePullSecretsCrs[1].name=sample-public"),
				pulumi.String("global.imagePullSecretsCrs[1].namespaces=*"),
				pulumi.String("global.imagePullSecretsCrs[1].serviceAccounts=*"),
				pulumi.String("global.imagePullSecretsCrs[1].type=docker"),
				pulumi.String("global.imagePullSecretsCrs[1].dockerUsername=100012345678"),
				pulumi.String("global.imagePullSecretsCrs[1].dockerPassword=a.b.tcr-token"),
				pulumi.String("global.imagePullSecretsCrs[1].dockerServer=sample"),
				pulumi.String("global.hosts[0].domain=sample-vpc.tencentcloudcr.com"),
				pulumi.String("global.hosts[0].ip=10.16.0.49"),
				pulumi.String("global.hosts[0].disabled=false"),
			},
			Version: pulumi.String("1.0.0"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Install new addon by passing spec json to reqBody directly

```go package main

import (

"fmt"

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Kubernetes.NewAddonAttachment(ctx, "addonCbs", &Kubernetes.AddonAttachmentArgs{
			ClusterId:   pulumi.String("cls-xxxxxxxx"),
			RequestBody: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "  {\n", "    \"spec\":{\n", "        \"chart\":{\n", "            \"chartName\":\"cbs\",\n", "            \"chartVersion\":\"1.0.0\"\n", "        },\n", "        \"values\":{\n", "            \"rawValuesType\":\"yaml\",\n", "            \"values\":[\n", "              \"rootdir=/var/lib/kubelet\"\n", "            ]\n", "        }\n", "    }\n", "  }\n", "\n")),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Addon can be imported by using cluster_id#addon_name

```sh

$ pulumi import tencentcloud:Kubernetes/addonAttachment:AddonAttachment addon_cos cls-xxxxxxxx#cos

```

func GetAddonAttachment

func GetAddonAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AddonAttachmentState, opts ...pulumi.ResourceOption) (*AddonAttachment, error)

GetAddonAttachment gets an existing AddonAttachment 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 NewAddonAttachment

func NewAddonAttachment(ctx *pulumi.Context,
	name string, args *AddonAttachmentArgs, opts ...pulumi.ResourceOption) (*AddonAttachment, error)

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

func (*AddonAttachment) ElementType

func (*AddonAttachment) ElementType() reflect.Type

func (*AddonAttachment) ToAddonAttachmentOutput

func (i *AddonAttachment) ToAddonAttachmentOutput() AddonAttachmentOutput

func (*AddonAttachment) ToAddonAttachmentOutputWithContext

func (i *AddonAttachment) ToAddonAttachmentOutputWithContext(ctx context.Context) AddonAttachmentOutput

type AddonAttachmentArgs

type AddonAttachmentArgs struct {
	// ID of cluster.
	ClusterId pulumi.StringInput
	// Name of addon.
	Name pulumi.StringPtrInput
	// Serialized json string as request body of addon spec. If set, will ignore `version` and `values`.
	RequestBody pulumi.StringPtrInput
	// Values the addon passthroughs. Conflict with `requestBody`.
	Values pulumi.StringArrayInput
	// Addon version, default latest version. Conflict with `requestBody`.
	Version pulumi.StringPtrInput
}

The set of arguments for constructing a AddonAttachment resource.

func (AddonAttachmentArgs) ElementType

func (AddonAttachmentArgs) ElementType() reflect.Type

type AddonAttachmentArray

type AddonAttachmentArray []AddonAttachmentInput

func (AddonAttachmentArray) ElementType

func (AddonAttachmentArray) ElementType() reflect.Type

func (AddonAttachmentArray) ToAddonAttachmentArrayOutput

func (i AddonAttachmentArray) ToAddonAttachmentArrayOutput() AddonAttachmentArrayOutput

func (AddonAttachmentArray) ToAddonAttachmentArrayOutputWithContext

func (i AddonAttachmentArray) ToAddonAttachmentArrayOutputWithContext(ctx context.Context) AddonAttachmentArrayOutput

type AddonAttachmentArrayInput

type AddonAttachmentArrayInput interface {
	pulumi.Input

	ToAddonAttachmentArrayOutput() AddonAttachmentArrayOutput
	ToAddonAttachmentArrayOutputWithContext(context.Context) AddonAttachmentArrayOutput
}

AddonAttachmentArrayInput is an input type that accepts AddonAttachmentArray and AddonAttachmentArrayOutput values. You can construct a concrete instance of `AddonAttachmentArrayInput` via:

AddonAttachmentArray{ AddonAttachmentArgs{...} }

type AddonAttachmentArrayOutput

type AddonAttachmentArrayOutput struct{ *pulumi.OutputState }

func (AddonAttachmentArrayOutput) ElementType

func (AddonAttachmentArrayOutput) ElementType() reflect.Type

func (AddonAttachmentArrayOutput) Index

func (AddonAttachmentArrayOutput) ToAddonAttachmentArrayOutput

func (o AddonAttachmentArrayOutput) ToAddonAttachmentArrayOutput() AddonAttachmentArrayOutput

func (AddonAttachmentArrayOutput) ToAddonAttachmentArrayOutputWithContext

func (o AddonAttachmentArrayOutput) ToAddonAttachmentArrayOutputWithContext(ctx context.Context) AddonAttachmentArrayOutput

type AddonAttachmentInput

type AddonAttachmentInput interface {
	pulumi.Input

	ToAddonAttachmentOutput() AddonAttachmentOutput
	ToAddonAttachmentOutputWithContext(ctx context.Context) AddonAttachmentOutput
}

type AddonAttachmentMap

type AddonAttachmentMap map[string]AddonAttachmentInput

func (AddonAttachmentMap) ElementType

func (AddonAttachmentMap) ElementType() reflect.Type

func (AddonAttachmentMap) ToAddonAttachmentMapOutput

func (i AddonAttachmentMap) ToAddonAttachmentMapOutput() AddonAttachmentMapOutput

func (AddonAttachmentMap) ToAddonAttachmentMapOutputWithContext

func (i AddonAttachmentMap) ToAddonAttachmentMapOutputWithContext(ctx context.Context) AddonAttachmentMapOutput

type AddonAttachmentMapInput

type AddonAttachmentMapInput interface {
	pulumi.Input

	ToAddonAttachmentMapOutput() AddonAttachmentMapOutput
	ToAddonAttachmentMapOutputWithContext(context.Context) AddonAttachmentMapOutput
}

AddonAttachmentMapInput is an input type that accepts AddonAttachmentMap and AddonAttachmentMapOutput values. You can construct a concrete instance of `AddonAttachmentMapInput` via:

AddonAttachmentMap{ "key": AddonAttachmentArgs{...} }

type AddonAttachmentMapOutput

type AddonAttachmentMapOutput struct{ *pulumi.OutputState }

func (AddonAttachmentMapOutput) ElementType

func (AddonAttachmentMapOutput) ElementType() reflect.Type

func (AddonAttachmentMapOutput) MapIndex

func (AddonAttachmentMapOutput) ToAddonAttachmentMapOutput

func (o AddonAttachmentMapOutput) ToAddonAttachmentMapOutput() AddonAttachmentMapOutput

func (AddonAttachmentMapOutput) ToAddonAttachmentMapOutputWithContext

func (o AddonAttachmentMapOutput) ToAddonAttachmentMapOutputWithContext(ctx context.Context) AddonAttachmentMapOutput

type AddonAttachmentOutput

type AddonAttachmentOutput struct{ *pulumi.OutputState }

func (AddonAttachmentOutput) ClusterId

ID of cluster.

func (AddonAttachmentOutput) ElementType

func (AddonAttachmentOutput) ElementType() reflect.Type

func (AddonAttachmentOutput) Name

Name of addon.

func (AddonAttachmentOutput) RequestBody

Serialized json string as request body of addon spec. If set, will ignore `version` and `values`.

func (AddonAttachmentOutput) ResponseBody

func (o AddonAttachmentOutput) ResponseBody() pulumi.StringOutput

Addon response body.

func (AddonAttachmentOutput) Status

Addon current status.

func (AddonAttachmentOutput) ToAddonAttachmentOutput

func (o AddonAttachmentOutput) ToAddonAttachmentOutput() AddonAttachmentOutput

func (AddonAttachmentOutput) ToAddonAttachmentOutputWithContext

func (o AddonAttachmentOutput) ToAddonAttachmentOutputWithContext(ctx context.Context) AddonAttachmentOutput

func (AddonAttachmentOutput) Values

Values the addon passthroughs. Conflict with `requestBody`.

func (AddonAttachmentOutput) Version

Addon version, default latest version. Conflict with `requestBody`.

type AddonAttachmentState

type AddonAttachmentState struct {
	// ID of cluster.
	ClusterId pulumi.StringPtrInput
	// Name of addon.
	Name pulumi.StringPtrInput
	// Serialized json string as request body of addon spec. If set, will ignore `version` and `values`.
	RequestBody pulumi.StringPtrInput
	// Addon response body.
	ResponseBody pulumi.StringPtrInput
	// Addon current status.
	Status pulumi.MapInput
	// Values the addon passthroughs. Conflict with `requestBody`.
	Values pulumi.StringArrayInput
	// Addon version, default latest version. Conflict with `requestBody`.
	Version pulumi.StringPtrInput
}

func (AddonAttachmentState) ElementType

func (AddonAttachmentState) ElementType() reflect.Type

type AsScalingGroup

type AsScalingGroup struct {
	pulumi.CustomResourceState

	// Auto scaling config parameters.
	AutoScalingConfig AsScalingGroupAutoScalingConfigOutput `pulumi:"autoScalingConfig"`
	// Auto scaling group parameters.
	AutoScalingGroup AsScalingGroupAutoScalingGroupOutput `pulumi:"autoScalingGroup"`
	// ID of the cluster.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// Custom parameter information related to the node.
	ExtraArgs pulumi.StringArrayOutput `pulumi:"extraArgs"`
	// Labels of kubernetes AS Group created nodes.
	Labels pulumi.MapOutput `pulumi:"labels"`
	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	Unschedulable pulumi.IntPtrOutput `pulumi:"unschedulable"`
}

Auto scaling group for kubernetes cluster (offlined).

> **NOTE:** This resource was offline no longer suppored.

func GetAsScalingGroup

func GetAsScalingGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AsScalingGroupState, opts ...pulumi.ResourceOption) (*AsScalingGroup, error)

GetAsScalingGroup gets an existing AsScalingGroup 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 NewAsScalingGroup

func NewAsScalingGroup(ctx *pulumi.Context,
	name string, args *AsScalingGroupArgs, opts ...pulumi.ResourceOption) (*AsScalingGroup, error)

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

func (*AsScalingGroup) ElementType

func (*AsScalingGroup) ElementType() reflect.Type

func (*AsScalingGroup) ToAsScalingGroupOutput

func (i *AsScalingGroup) ToAsScalingGroupOutput() AsScalingGroupOutput

func (*AsScalingGroup) ToAsScalingGroupOutputWithContext

func (i *AsScalingGroup) ToAsScalingGroupOutputWithContext(ctx context.Context) AsScalingGroupOutput

type AsScalingGroupArgs

type AsScalingGroupArgs struct {
	// Auto scaling config parameters.
	AutoScalingConfig AsScalingGroupAutoScalingConfigInput
	// Auto scaling group parameters.
	AutoScalingGroup AsScalingGroupAutoScalingGroupInput
	// ID of the cluster.
	ClusterId pulumi.StringInput
	// Custom parameter information related to the node.
	ExtraArgs pulumi.StringArrayInput
	// Labels of kubernetes AS Group created nodes.
	Labels pulumi.MapInput
	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	Unschedulable pulumi.IntPtrInput
}

The set of arguments for constructing a AsScalingGroup resource.

func (AsScalingGroupArgs) ElementType

func (AsScalingGroupArgs) ElementType() reflect.Type

type AsScalingGroupArray

type AsScalingGroupArray []AsScalingGroupInput

func (AsScalingGroupArray) ElementType

func (AsScalingGroupArray) ElementType() reflect.Type

func (AsScalingGroupArray) ToAsScalingGroupArrayOutput

func (i AsScalingGroupArray) ToAsScalingGroupArrayOutput() AsScalingGroupArrayOutput

func (AsScalingGroupArray) ToAsScalingGroupArrayOutputWithContext

func (i AsScalingGroupArray) ToAsScalingGroupArrayOutputWithContext(ctx context.Context) AsScalingGroupArrayOutput

type AsScalingGroupArrayInput

type AsScalingGroupArrayInput interface {
	pulumi.Input

	ToAsScalingGroupArrayOutput() AsScalingGroupArrayOutput
	ToAsScalingGroupArrayOutputWithContext(context.Context) AsScalingGroupArrayOutput
}

AsScalingGroupArrayInput is an input type that accepts AsScalingGroupArray and AsScalingGroupArrayOutput values. You can construct a concrete instance of `AsScalingGroupArrayInput` via:

AsScalingGroupArray{ AsScalingGroupArgs{...} }

type AsScalingGroupArrayOutput

type AsScalingGroupArrayOutput struct{ *pulumi.OutputState }

func (AsScalingGroupArrayOutput) ElementType

func (AsScalingGroupArrayOutput) ElementType() reflect.Type

func (AsScalingGroupArrayOutput) Index

func (AsScalingGroupArrayOutput) ToAsScalingGroupArrayOutput

func (o AsScalingGroupArrayOutput) ToAsScalingGroupArrayOutput() AsScalingGroupArrayOutput

func (AsScalingGroupArrayOutput) ToAsScalingGroupArrayOutputWithContext

func (o AsScalingGroupArrayOutput) ToAsScalingGroupArrayOutputWithContext(ctx context.Context) AsScalingGroupArrayOutput

type AsScalingGroupAutoScalingConfig

type AsScalingGroupAutoScalingConfig struct {
	// Name of a launch configuration.
	ConfigurationName string `pulumi:"configurationName"`
	// Configurations of data disk.
	DataDisks []AsScalingGroupAutoScalingConfigDataDisk `pulumi:"dataDisks"`
	// To specify whether to enable cloud monitor service. Default is TRUE.
	EnhancedMonitorService *bool `pulumi:"enhancedMonitorService"`
	// To specify whether to enable cloud security service. Default is TRUE.
	EnhancedSecurityService *bool `pulumi:"enhancedSecurityService"`
	// A list of tags used to associate different resources.
	InstanceTags map[string]interface{} `pulumi:"instanceTags"`
	// Specified types of CVM instance.
	InstanceType string `pulumi:"instanceType"`
	// Charge types for network traffic. Valid value: `BANDWIDTH_PREPAID`, `TRAFFIC_POSTPAID_BY_HOUR`, `TRAFFIC_POSTPAID_BY_HOUR` and `BANDWIDTH_PACKAGE`.
	InternetChargeType *string `pulumi:"internetChargeType"`
	// Max bandwidth of Internet access in Mbps. Default is `0`.
	InternetMaxBandwidthOut *int `pulumi:"internetMaxBandwidthOut"`
	// ID list of keys.
	KeyIds []string `pulumi:"keyIds"`
	// Password to access.
	Password *string `pulumi:"password"`
	// Specifys to which project the configuration belongs.
	ProjectId *int `pulumi:"projectId"`
	// Specify whether to assign an Internet IP address.
	PublicIpAssigned *bool `pulumi:"publicIpAssigned"`
	// Security groups to which a CVM instance belongs.
	SecurityGroupIds []string `pulumi:"securityGroupIds"`
	// Volume of system disk in GB. Default is `50`.
	SystemDiskSize *int `pulumi:"systemDiskSize"`
	// Type of a CVM disk. Valid value: `CLOUD_PREMIUM` and `CLOUD_SSD`. Default is `CLOUD_PREMIUM`.
	SystemDiskType *string `pulumi:"systemDiskType"`
}

type AsScalingGroupAutoScalingConfigArgs

type AsScalingGroupAutoScalingConfigArgs struct {
	// Name of a launch configuration.
	ConfigurationName pulumi.StringInput `pulumi:"configurationName"`
	// Configurations of data disk.
	DataDisks AsScalingGroupAutoScalingConfigDataDiskArrayInput `pulumi:"dataDisks"`
	// To specify whether to enable cloud monitor service. Default is TRUE.
	EnhancedMonitorService pulumi.BoolPtrInput `pulumi:"enhancedMonitorService"`
	// To specify whether to enable cloud security service. Default is TRUE.
	EnhancedSecurityService pulumi.BoolPtrInput `pulumi:"enhancedSecurityService"`
	// A list of tags used to associate different resources.
	InstanceTags pulumi.MapInput `pulumi:"instanceTags"`
	// Specified types of CVM instance.
	InstanceType pulumi.StringInput `pulumi:"instanceType"`
	// Charge types for network traffic. Valid value: `BANDWIDTH_PREPAID`, `TRAFFIC_POSTPAID_BY_HOUR`, `TRAFFIC_POSTPAID_BY_HOUR` and `BANDWIDTH_PACKAGE`.
	InternetChargeType pulumi.StringPtrInput `pulumi:"internetChargeType"`
	// Max bandwidth of Internet access in Mbps. Default is `0`.
	InternetMaxBandwidthOut pulumi.IntPtrInput `pulumi:"internetMaxBandwidthOut"`
	// ID list of keys.
	KeyIds pulumi.StringArrayInput `pulumi:"keyIds"`
	// Password to access.
	Password pulumi.StringPtrInput `pulumi:"password"`
	// Specifys to which project the configuration belongs.
	ProjectId pulumi.IntPtrInput `pulumi:"projectId"`
	// Specify whether to assign an Internet IP address.
	PublicIpAssigned pulumi.BoolPtrInput `pulumi:"publicIpAssigned"`
	// Security groups to which a CVM instance belongs.
	SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"`
	// Volume of system disk in GB. Default is `50`.
	SystemDiskSize pulumi.IntPtrInput `pulumi:"systemDiskSize"`
	// Type of a CVM disk. Valid value: `CLOUD_PREMIUM` and `CLOUD_SSD`. Default is `CLOUD_PREMIUM`.
	SystemDiskType pulumi.StringPtrInput `pulumi:"systemDiskType"`
}

func (AsScalingGroupAutoScalingConfigArgs) ElementType

func (AsScalingGroupAutoScalingConfigArgs) ToAsScalingGroupAutoScalingConfigOutput

func (i AsScalingGroupAutoScalingConfigArgs) ToAsScalingGroupAutoScalingConfigOutput() AsScalingGroupAutoScalingConfigOutput

func (AsScalingGroupAutoScalingConfigArgs) ToAsScalingGroupAutoScalingConfigOutputWithContext

func (i AsScalingGroupAutoScalingConfigArgs) ToAsScalingGroupAutoScalingConfigOutputWithContext(ctx context.Context) AsScalingGroupAutoScalingConfigOutput

func (AsScalingGroupAutoScalingConfigArgs) ToAsScalingGroupAutoScalingConfigPtrOutput

func (i AsScalingGroupAutoScalingConfigArgs) ToAsScalingGroupAutoScalingConfigPtrOutput() AsScalingGroupAutoScalingConfigPtrOutput

func (AsScalingGroupAutoScalingConfigArgs) ToAsScalingGroupAutoScalingConfigPtrOutputWithContext

func (i AsScalingGroupAutoScalingConfigArgs) ToAsScalingGroupAutoScalingConfigPtrOutputWithContext(ctx context.Context) AsScalingGroupAutoScalingConfigPtrOutput

type AsScalingGroupAutoScalingConfigDataDisk

type AsScalingGroupAutoScalingConfigDataDisk struct {
	// Volume of disk in GB. Default is `0`.
	DiskSize *int `pulumi:"diskSize"`
	// Types of disk. Valid value: `CLOUD_PREMIUM` and `CLOUD_SSD`.
	DiskType *string `pulumi:"diskType"`
	// Data disk snapshot ID.
	SnapshotId *string `pulumi:"snapshotId"`
}

type AsScalingGroupAutoScalingConfigDataDiskArgs

type AsScalingGroupAutoScalingConfigDataDiskArgs struct {
	// Volume of disk in GB. Default is `0`.
	DiskSize pulumi.IntPtrInput `pulumi:"diskSize"`
	// Types of disk. Valid value: `CLOUD_PREMIUM` and `CLOUD_SSD`.
	DiskType pulumi.StringPtrInput `pulumi:"diskType"`
	// Data disk snapshot ID.
	SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"`
}

func (AsScalingGroupAutoScalingConfigDataDiskArgs) ElementType

func (AsScalingGroupAutoScalingConfigDataDiskArgs) ToAsScalingGroupAutoScalingConfigDataDiskOutput

func (i AsScalingGroupAutoScalingConfigDataDiskArgs) ToAsScalingGroupAutoScalingConfigDataDiskOutput() AsScalingGroupAutoScalingConfigDataDiskOutput

func (AsScalingGroupAutoScalingConfigDataDiskArgs) ToAsScalingGroupAutoScalingConfigDataDiskOutputWithContext

func (i AsScalingGroupAutoScalingConfigDataDiskArgs) ToAsScalingGroupAutoScalingConfigDataDiskOutputWithContext(ctx context.Context) AsScalingGroupAutoScalingConfigDataDiskOutput

type AsScalingGroupAutoScalingConfigDataDiskArray

type AsScalingGroupAutoScalingConfigDataDiskArray []AsScalingGroupAutoScalingConfigDataDiskInput

func (AsScalingGroupAutoScalingConfigDataDiskArray) ElementType

func (AsScalingGroupAutoScalingConfigDataDiskArray) ToAsScalingGroupAutoScalingConfigDataDiskArrayOutput

func (i AsScalingGroupAutoScalingConfigDataDiskArray) ToAsScalingGroupAutoScalingConfigDataDiskArrayOutput() AsScalingGroupAutoScalingConfigDataDiskArrayOutput

func (AsScalingGroupAutoScalingConfigDataDiskArray) ToAsScalingGroupAutoScalingConfigDataDiskArrayOutputWithContext

func (i AsScalingGroupAutoScalingConfigDataDiskArray) ToAsScalingGroupAutoScalingConfigDataDiskArrayOutputWithContext(ctx context.Context) AsScalingGroupAutoScalingConfigDataDiskArrayOutput

type AsScalingGroupAutoScalingConfigDataDiskArrayInput

type AsScalingGroupAutoScalingConfigDataDiskArrayInput interface {
	pulumi.Input

	ToAsScalingGroupAutoScalingConfigDataDiskArrayOutput() AsScalingGroupAutoScalingConfigDataDiskArrayOutput
	ToAsScalingGroupAutoScalingConfigDataDiskArrayOutputWithContext(context.Context) AsScalingGroupAutoScalingConfigDataDiskArrayOutput
}

AsScalingGroupAutoScalingConfigDataDiskArrayInput is an input type that accepts AsScalingGroupAutoScalingConfigDataDiskArray and AsScalingGroupAutoScalingConfigDataDiskArrayOutput values. You can construct a concrete instance of `AsScalingGroupAutoScalingConfigDataDiskArrayInput` via:

AsScalingGroupAutoScalingConfigDataDiskArray{ AsScalingGroupAutoScalingConfigDataDiskArgs{...} }

type AsScalingGroupAutoScalingConfigDataDiskArrayOutput

type AsScalingGroupAutoScalingConfigDataDiskArrayOutput struct{ *pulumi.OutputState }

func (AsScalingGroupAutoScalingConfigDataDiskArrayOutput) ElementType

func (AsScalingGroupAutoScalingConfigDataDiskArrayOutput) Index

func (AsScalingGroupAutoScalingConfigDataDiskArrayOutput) ToAsScalingGroupAutoScalingConfigDataDiskArrayOutput

func (o AsScalingGroupAutoScalingConfigDataDiskArrayOutput) ToAsScalingGroupAutoScalingConfigDataDiskArrayOutput() AsScalingGroupAutoScalingConfigDataDiskArrayOutput

func (AsScalingGroupAutoScalingConfigDataDiskArrayOutput) ToAsScalingGroupAutoScalingConfigDataDiskArrayOutputWithContext

func (o AsScalingGroupAutoScalingConfigDataDiskArrayOutput) ToAsScalingGroupAutoScalingConfigDataDiskArrayOutputWithContext(ctx context.Context) AsScalingGroupAutoScalingConfigDataDiskArrayOutput

type AsScalingGroupAutoScalingConfigDataDiskInput

type AsScalingGroupAutoScalingConfigDataDiskInput interface {
	pulumi.Input

	ToAsScalingGroupAutoScalingConfigDataDiskOutput() AsScalingGroupAutoScalingConfigDataDiskOutput
	ToAsScalingGroupAutoScalingConfigDataDiskOutputWithContext(context.Context) AsScalingGroupAutoScalingConfigDataDiskOutput
}

AsScalingGroupAutoScalingConfigDataDiskInput is an input type that accepts AsScalingGroupAutoScalingConfigDataDiskArgs and AsScalingGroupAutoScalingConfigDataDiskOutput values. You can construct a concrete instance of `AsScalingGroupAutoScalingConfigDataDiskInput` via:

AsScalingGroupAutoScalingConfigDataDiskArgs{...}

type AsScalingGroupAutoScalingConfigDataDiskOutput

type AsScalingGroupAutoScalingConfigDataDiskOutput struct{ *pulumi.OutputState }

func (AsScalingGroupAutoScalingConfigDataDiskOutput) DiskSize

Volume of disk in GB. Default is `0`.

func (AsScalingGroupAutoScalingConfigDataDiskOutput) DiskType

Types of disk. Valid value: `CLOUD_PREMIUM` and `CLOUD_SSD`.

func (AsScalingGroupAutoScalingConfigDataDiskOutput) ElementType

func (AsScalingGroupAutoScalingConfigDataDiskOutput) SnapshotId

Data disk snapshot ID.

func (AsScalingGroupAutoScalingConfigDataDiskOutput) ToAsScalingGroupAutoScalingConfigDataDiskOutput

func (o AsScalingGroupAutoScalingConfigDataDiskOutput) ToAsScalingGroupAutoScalingConfigDataDiskOutput() AsScalingGroupAutoScalingConfigDataDiskOutput

func (AsScalingGroupAutoScalingConfigDataDiskOutput) ToAsScalingGroupAutoScalingConfigDataDiskOutputWithContext

func (o AsScalingGroupAutoScalingConfigDataDiskOutput) ToAsScalingGroupAutoScalingConfigDataDiskOutputWithContext(ctx context.Context) AsScalingGroupAutoScalingConfigDataDiskOutput

type AsScalingGroupAutoScalingConfigInput

type AsScalingGroupAutoScalingConfigInput interface {
	pulumi.Input

	ToAsScalingGroupAutoScalingConfigOutput() AsScalingGroupAutoScalingConfigOutput
	ToAsScalingGroupAutoScalingConfigOutputWithContext(context.Context) AsScalingGroupAutoScalingConfigOutput
}

AsScalingGroupAutoScalingConfigInput is an input type that accepts AsScalingGroupAutoScalingConfigArgs and AsScalingGroupAutoScalingConfigOutput values. You can construct a concrete instance of `AsScalingGroupAutoScalingConfigInput` via:

AsScalingGroupAutoScalingConfigArgs{...}

type AsScalingGroupAutoScalingConfigOutput

type AsScalingGroupAutoScalingConfigOutput struct{ *pulumi.OutputState }

func (AsScalingGroupAutoScalingConfigOutput) ConfigurationName

Name of a launch configuration.

func (AsScalingGroupAutoScalingConfigOutput) DataDisks

Configurations of data disk.

func (AsScalingGroupAutoScalingConfigOutput) ElementType

func (AsScalingGroupAutoScalingConfigOutput) EnhancedMonitorService

func (o AsScalingGroupAutoScalingConfigOutput) EnhancedMonitorService() pulumi.BoolPtrOutput

To specify whether to enable cloud monitor service. Default is TRUE.

func (AsScalingGroupAutoScalingConfigOutput) EnhancedSecurityService

func (o AsScalingGroupAutoScalingConfigOutput) EnhancedSecurityService() pulumi.BoolPtrOutput

To specify whether to enable cloud security service. Default is TRUE.

func (AsScalingGroupAutoScalingConfigOutput) InstanceTags

A list of tags used to associate different resources.

func (AsScalingGroupAutoScalingConfigOutput) InstanceType

Specified types of CVM instance.

func (AsScalingGroupAutoScalingConfigOutput) InternetChargeType

Charge types for network traffic. Valid value: `BANDWIDTH_PREPAID`, `TRAFFIC_POSTPAID_BY_HOUR`, `TRAFFIC_POSTPAID_BY_HOUR` and `BANDWIDTH_PACKAGE`.

func (AsScalingGroupAutoScalingConfigOutput) InternetMaxBandwidthOut

func (o AsScalingGroupAutoScalingConfigOutput) InternetMaxBandwidthOut() pulumi.IntPtrOutput

Max bandwidth of Internet access in Mbps. Default is `0`.

func (AsScalingGroupAutoScalingConfigOutput) KeyIds

ID list of keys.

func (AsScalingGroupAutoScalingConfigOutput) Password

Password to access.

func (AsScalingGroupAutoScalingConfigOutput) ProjectId

Specifys to which project the configuration belongs.

func (AsScalingGroupAutoScalingConfigOutput) PublicIpAssigned

Specify whether to assign an Internet IP address.

func (AsScalingGroupAutoScalingConfigOutput) SecurityGroupIds

Security groups to which a CVM instance belongs.

func (AsScalingGroupAutoScalingConfigOutput) SystemDiskSize

Volume of system disk in GB. Default is `50`.

func (AsScalingGroupAutoScalingConfigOutput) SystemDiskType

Type of a CVM disk. Valid value: `CLOUD_PREMIUM` and `CLOUD_SSD`. Default is `CLOUD_PREMIUM`.

func (AsScalingGroupAutoScalingConfigOutput) ToAsScalingGroupAutoScalingConfigOutput

func (o AsScalingGroupAutoScalingConfigOutput) ToAsScalingGroupAutoScalingConfigOutput() AsScalingGroupAutoScalingConfigOutput

func (AsScalingGroupAutoScalingConfigOutput) ToAsScalingGroupAutoScalingConfigOutputWithContext

func (o AsScalingGroupAutoScalingConfigOutput) ToAsScalingGroupAutoScalingConfigOutputWithContext(ctx context.Context) AsScalingGroupAutoScalingConfigOutput

func (AsScalingGroupAutoScalingConfigOutput) ToAsScalingGroupAutoScalingConfigPtrOutput

func (o AsScalingGroupAutoScalingConfigOutput) ToAsScalingGroupAutoScalingConfigPtrOutput() AsScalingGroupAutoScalingConfigPtrOutput

func (AsScalingGroupAutoScalingConfigOutput) ToAsScalingGroupAutoScalingConfigPtrOutputWithContext

func (o AsScalingGroupAutoScalingConfigOutput) ToAsScalingGroupAutoScalingConfigPtrOutputWithContext(ctx context.Context) AsScalingGroupAutoScalingConfigPtrOutput

type AsScalingGroupAutoScalingConfigPtrInput

type AsScalingGroupAutoScalingConfigPtrInput interface {
	pulumi.Input

	ToAsScalingGroupAutoScalingConfigPtrOutput() AsScalingGroupAutoScalingConfigPtrOutput
	ToAsScalingGroupAutoScalingConfigPtrOutputWithContext(context.Context) AsScalingGroupAutoScalingConfigPtrOutput
}

AsScalingGroupAutoScalingConfigPtrInput is an input type that accepts AsScalingGroupAutoScalingConfigArgs, AsScalingGroupAutoScalingConfigPtr and AsScalingGroupAutoScalingConfigPtrOutput values. You can construct a concrete instance of `AsScalingGroupAutoScalingConfigPtrInput` via:

        AsScalingGroupAutoScalingConfigArgs{...}

or:

        nil

type AsScalingGroupAutoScalingConfigPtrOutput

type AsScalingGroupAutoScalingConfigPtrOutput struct{ *pulumi.OutputState }

func (AsScalingGroupAutoScalingConfigPtrOutput) ConfigurationName

Name of a launch configuration.

func (AsScalingGroupAutoScalingConfigPtrOutput) DataDisks

Configurations of data disk.

func (AsScalingGroupAutoScalingConfigPtrOutput) Elem

func (AsScalingGroupAutoScalingConfigPtrOutput) ElementType

func (AsScalingGroupAutoScalingConfigPtrOutput) EnhancedMonitorService

To specify whether to enable cloud monitor service. Default is TRUE.

func (AsScalingGroupAutoScalingConfigPtrOutput) EnhancedSecurityService

To specify whether to enable cloud security service. Default is TRUE.

func (AsScalingGroupAutoScalingConfigPtrOutput) InstanceTags

A list of tags used to associate different resources.

func (AsScalingGroupAutoScalingConfigPtrOutput) InstanceType

Specified types of CVM instance.

func (AsScalingGroupAutoScalingConfigPtrOutput) InternetChargeType

Charge types for network traffic. Valid value: `BANDWIDTH_PREPAID`, `TRAFFIC_POSTPAID_BY_HOUR`, `TRAFFIC_POSTPAID_BY_HOUR` and `BANDWIDTH_PACKAGE`.

func (AsScalingGroupAutoScalingConfigPtrOutput) InternetMaxBandwidthOut

func (o AsScalingGroupAutoScalingConfigPtrOutput) InternetMaxBandwidthOut() pulumi.IntPtrOutput

Max bandwidth of Internet access in Mbps. Default is `0`.

func (AsScalingGroupAutoScalingConfigPtrOutput) KeyIds

ID list of keys.

func (AsScalingGroupAutoScalingConfigPtrOutput) Password

Password to access.

func (AsScalingGroupAutoScalingConfigPtrOutput) ProjectId

Specifys to which project the configuration belongs.

func (AsScalingGroupAutoScalingConfigPtrOutput) PublicIpAssigned

Specify whether to assign an Internet IP address.

func (AsScalingGroupAutoScalingConfigPtrOutput) SecurityGroupIds

Security groups to which a CVM instance belongs.

func (AsScalingGroupAutoScalingConfigPtrOutput) SystemDiskSize

Volume of system disk in GB. Default is `50`.

func (AsScalingGroupAutoScalingConfigPtrOutput) SystemDiskType

Type of a CVM disk. Valid value: `CLOUD_PREMIUM` and `CLOUD_SSD`. Default is `CLOUD_PREMIUM`.

func (AsScalingGroupAutoScalingConfigPtrOutput) ToAsScalingGroupAutoScalingConfigPtrOutput

func (o AsScalingGroupAutoScalingConfigPtrOutput) ToAsScalingGroupAutoScalingConfigPtrOutput() AsScalingGroupAutoScalingConfigPtrOutput

func (AsScalingGroupAutoScalingConfigPtrOutput) ToAsScalingGroupAutoScalingConfigPtrOutputWithContext

func (o AsScalingGroupAutoScalingConfigPtrOutput) ToAsScalingGroupAutoScalingConfigPtrOutputWithContext(ctx context.Context) AsScalingGroupAutoScalingConfigPtrOutput

type AsScalingGroupAutoScalingGroup

type AsScalingGroupAutoScalingGroup struct {
	// Default cooldown time in second, and default value is 300.
	DefaultCooldown *int `pulumi:"defaultCooldown"`
	// Desired volume of CVM instances, which is between maxSize and min_size.
	DesiredCapacity *int `pulumi:"desiredCapacity"`
	// List of application load balancers, which can't be specified with loadBalancerIds together.
	ForwardBalancerIds []AsScalingGroupAutoScalingGroupForwardBalancerId `pulumi:"forwardBalancerIds"`
	// ID list of traditional load balancers.
	LoadBalancerIds []string `pulumi:"loadBalancerIds"`
	// Maximum number of CVM instances (0~2000).
	MaxSize int `pulumi:"maxSize"`
	// Minimum number of CVM instances (0~2000).
	MinSize int `pulumi:"minSize"`
	// Specifys to which project the scaling group belongs.
	ProjectId *int `pulumi:"projectId"`
	// Available values for retry policies include `IMMEDIATE_RETRY` and `INCREMENTAL_INTERVALS`.
	RetryPolicy *string `pulumi:"retryPolicy"`
	// Name of a scaling group.
	ScalingGroupName string `pulumi:"scalingGroupName"`
	// ID list of subnet, and for VPC it is required.
	SubnetIds []string `pulumi:"subnetIds"`
	// Tags of a scaling group.
	Tags map[string]interface{} `pulumi:"tags"`
	// Available values for termination policies include `OLDEST_INSTANCE` and `NEWEST_INSTANCE`.
	TerminationPolicies *string `pulumi:"terminationPolicies"`
	// ID of VPC network.
	VpcId string `pulumi:"vpcId"`
	// List of available zones, for Basic network it is required.
	Zones []string `pulumi:"zones"`
}

type AsScalingGroupAutoScalingGroupArgs

type AsScalingGroupAutoScalingGroupArgs struct {
	// Default cooldown time in second, and default value is 300.
	DefaultCooldown pulumi.IntPtrInput `pulumi:"defaultCooldown"`
	// Desired volume of CVM instances, which is between maxSize and min_size.
	DesiredCapacity pulumi.IntPtrInput `pulumi:"desiredCapacity"`
	// List of application load balancers, which can't be specified with loadBalancerIds together.
	ForwardBalancerIds AsScalingGroupAutoScalingGroupForwardBalancerIdArrayInput `pulumi:"forwardBalancerIds"`
	// ID list of traditional load balancers.
	LoadBalancerIds pulumi.StringArrayInput `pulumi:"loadBalancerIds"`
	// Maximum number of CVM instances (0~2000).
	MaxSize pulumi.IntInput `pulumi:"maxSize"`
	// Minimum number of CVM instances (0~2000).
	MinSize pulumi.IntInput `pulumi:"minSize"`
	// Specifys to which project the scaling group belongs.
	ProjectId pulumi.IntPtrInput `pulumi:"projectId"`
	// Available values for retry policies include `IMMEDIATE_RETRY` and `INCREMENTAL_INTERVALS`.
	RetryPolicy pulumi.StringPtrInput `pulumi:"retryPolicy"`
	// Name of a scaling group.
	ScalingGroupName pulumi.StringInput `pulumi:"scalingGroupName"`
	// ID list of subnet, and for VPC it is required.
	SubnetIds pulumi.StringArrayInput `pulumi:"subnetIds"`
	// Tags of a scaling group.
	Tags pulumi.MapInput `pulumi:"tags"`
	// Available values for termination policies include `OLDEST_INSTANCE` and `NEWEST_INSTANCE`.
	TerminationPolicies pulumi.StringPtrInput `pulumi:"terminationPolicies"`
	// ID of VPC network.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
	// List of available zones, for Basic network it is required.
	Zones pulumi.StringArrayInput `pulumi:"zones"`
}

func (AsScalingGroupAutoScalingGroupArgs) ElementType

func (AsScalingGroupAutoScalingGroupArgs) ToAsScalingGroupAutoScalingGroupOutput

func (i AsScalingGroupAutoScalingGroupArgs) ToAsScalingGroupAutoScalingGroupOutput() AsScalingGroupAutoScalingGroupOutput

func (AsScalingGroupAutoScalingGroupArgs) ToAsScalingGroupAutoScalingGroupOutputWithContext

func (i AsScalingGroupAutoScalingGroupArgs) ToAsScalingGroupAutoScalingGroupOutputWithContext(ctx context.Context) AsScalingGroupAutoScalingGroupOutput

func (AsScalingGroupAutoScalingGroupArgs) ToAsScalingGroupAutoScalingGroupPtrOutput

func (i AsScalingGroupAutoScalingGroupArgs) ToAsScalingGroupAutoScalingGroupPtrOutput() AsScalingGroupAutoScalingGroupPtrOutput

func (AsScalingGroupAutoScalingGroupArgs) ToAsScalingGroupAutoScalingGroupPtrOutputWithContext

func (i AsScalingGroupAutoScalingGroupArgs) ToAsScalingGroupAutoScalingGroupPtrOutputWithContext(ctx context.Context) AsScalingGroupAutoScalingGroupPtrOutput

type AsScalingGroupAutoScalingGroupForwardBalancerId

type AsScalingGroupAutoScalingGroupForwardBalancerId struct {
	// Listener ID for application load balancers.
	ListenerId string `pulumi:"listenerId"`
	// ID of available load balancers.
	LoadBalancerId string `pulumi:"loadBalancerId"`
	// ID of forwarding rules.
	RuleId *string `pulumi:"ruleId"`
	// Attribute list of target rules.
	TargetAttributes []AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttribute `pulumi:"targetAttributes"`
}

type AsScalingGroupAutoScalingGroupForwardBalancerIdArgs

type AsScalingGroupAutoScalingGroupForwardBalancerIdArgs struct {
	// Listener ID for application load balancers.
	ListenerId pulumi.StringInput `pulumi:"listenerId"`
	// ID of available load balancers.
	LoadBalancerId pulumi.StringInput `pulumi:"loadBalancerId"`
	// ID of forwarding rules.
	RuleId pulumi.StringPtrInput `pulumi:"ruleId"`
	// Attribute list of target rules.
	TargetAttributes AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeArrayInput `pulumi:"targetAttributes"`
}

func (AsScalingGroupAutoScalingGroupForwardBalancerIdArgs) ElementType

func (AsScalingGroupAutoScalingGroupForwardBalancerIdArgs) ToAsScalingGroupAutoScalingGroupForwardBalancerIdOutput

func (i AsScalingGroupAutoScalingGroupForwardBalancerIdArgs) ToAsScalingGroupAutoScalingGroupForwardBalancerIdOutput() AsScalingGroupAutoScalingGroupForwardBalancerIdOutput

func (AsScalingGroupAutoScalingGroupForwardBalancerIdArgs) ToAsScalingGroupAutoScalingGroupForwardBalancerIdOutputWithContext

func (i AsScalingGroupAutoScalingGroupForwardBalancerIdArgs) ToAsScalingGroupAutoScalingGroupForwardBalancerIdOutputWithContext(ctx context.Context) AsScalingGroupAutoScalingGroupForwardBalancerIdOutput

type AsScalingGroupAutoScalingGroupForwardBalancerIdArray

type AsScalingGroupAutoScalingGroupForwardBalancerIdArray []AsScalingGroupAutoScalingGroupForwardBalancerIdInput

func (AsScalingGroupAutoScalingGroupForwardBalancerIdArray) ElementType

func (AsScalingGroupAutoScalingGroupForwardBalancerIdArray) ToAsScalingGroupAutoScalingGroupForwardBalancerIdArrayOutput

func (i AsScalingGroupAutoScalingGroupForwardBalancerIdArray) ToAsScalingGroupAutoScalingGroupForwardBalancerIdArrayOutput() AsScalingGroupAutoScalingGroupForwardBalancerIdArrayOutput

func (AsScalingGroupAutoScalingGroupForwardBalancerIdArray) ToAsScalingGroupAutoScalingGroupForwardBalancerIdArrayOutputWithContext

func (i AsScalingGroupAutoScalingGroupForwardBalancerIdArray) ToAsScalingGroupAutoScalingGroupForwardBalancerIdArrayOutputWithContext(ctx context.Context) AsScalingGroupAutoScalingGroupForwardBalancerIdArrayOutput

type AsScalingGroupAutoScalingGroupForwardBalancerIdArrayInput

type AsScalingGroupAutoScalingGroupForwardBalancerIdArrayInput interface {
	pulumi.Input

	ToAsScalingGroupAutoScalingGroupForwardBalancerIdArrayOutput() AsScalingGroupAutoScalingGroupForwardBalancerIdArrayOutput
	ToAsScalingGroupAutoScalingGroupForwardBalancerIdArrayOutputWithContext(context.Context) AsScalingGroupAutoScalingGroupForwardBalancerIdArrayOutput
}

AsScalingGroupAutoScalingGroupForwardBalancerIdArrayInput is an input type that accepts AsScalingGroupAutoScalingGroupForwardBalancerIdArray and AsScalingGroupAutoScalingGroupForwardBalancerIdArrayOutput values. You can construct a concrete instance of `AsScalingGroupAutoScalingGroupForwardBalancerIdArrayInput` via:

AsScalingGroupAutoScalingGroupForwardBalancerIdArray{ AsScalingGroupAutoScalingGroupForwardBalancerIdArgs{...} }

type AsScalingGroupAutoScalingGroupForwardBalancerIdArrayOutput

type AsScalingGroupAutoScalingGroupForwardBalancerIdArrayOutput struct{ *pulumi.OutputState }

func (AsScalingGroupAutoScalingGroupForwardBalancerIdArrayOutput) ElementType

func (AsScalingGroupAutoScalingGroupForwardBalancerIdArrayOutput) Index

func (AsScalingGroupAutoScalingGroupForwardBalancerIdArrayOutput) ToAsScalingGroupAutoScalingGroupForwardBalancerIdArrayOutput

func (AsScalingGroupAutoScalingGroupForwardBalancerIdArrayOutput) ToAsScalingGroupAutoScalingGroupForwardBalancerIdArrayOutputWithContext

func (o AsScalingGroupAutoScalingGroupForwardBalancerIdArrayOutput) ToAsScalingGroupAutoScalingGroupForwardBalancerIdArrayOutputWithContext(ctx context.Context) AsScalingGroupAutoScalingGroupForwardBalancerIdArrayOutput

type AsScalingGroupAutoScalingGroupForwardBalancerIdInput

type AsScalingGroupAutoScalingGroupForwardBalancerIdInput interface {
	pulumi.Input

	ToAsScalingGroupAutoScalingGroupForwardBalancerIdOutput() AsScalingGroupAutoScalingGroupForwardBalancerIdOutput
	ToAsScalingGroupAutoScalingGroupForwardBalancerIdOutputWithContext(context.Context) AsScalingGroupAutoScalingGroupForwardBalancerIdOutput
}

AsScalingGroupAutoScalingGroupForwardBalancerIdInput is an input type that accepts AsScalingGroupAutoScalingGroupForwardBalancerIdArgs and AsScalingGroupAutoScalingGroupForwardBalancerIdOutput values. You can construct a concrete instance of `AsScalingGroupAutoScalingGroupForwardBalancerIdInput` via:

AsScalingGroupAutoScalingGroupForwardBalancerIdArgs{...}

type AsScalingGroupAutoScalingGroupForwardBalancerIdOutput

type AsScalingGroupAutoScalingGroupForwardBalancerIdOutput struct{ *pulumi.OutputState }

func (AsScalingGroupAutoScalingGroupForwardBalancerIdOutput) ElementType

func (AsScalingGroupAutoScalingGroupForwardBalancerIdOutput) ListenerId

Listener ID for application load balancers.

func (AsScalingGroupAutoScalingGroupForwardBalancerIdOutput) LoadBalancerId

ID of available load balancers.

func (AsScalingGroupAutoScalingGroupForwardBalancerIdOutput) RuleId

ID of forwarding rules.

func (AsScalingGroupAutoScalingGroupForwardBalancerIdOutput) TargetAttributes

Attribute list of target rules.

func (AsScalingGroupAutoScalingGroupForwardBalancerIdOutput) ToAsScalingGroupAutoScalingGroupForwardBalancerIdOutput

func (AsScalingGroupAutoScalingGroupForwardBalancerIdOutput) ToAsScalingGroupAutoScalingGroupForwardBalancerIdOutputWithContext

func (o AsScalingGroupAutoScalingGroupForwardBalancerIdOutput) ToAsScalingGroupAutoScalingGroupForwardBalancerIdOutputWithContext(ctx context.Context) AsScalingGroupAutoScalingGroupForwardBalancerIdOutput

type AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttribute

type AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttribute struct {
	// Port number.
	Port int `pulumi:"port"`
	// Weight.
	Weight int `pulumi:"weight"`
}

type AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeArgs

type AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeArgs struct {
	// Port number.
	Port pulumi.IntInput `pulumi:"port"`
	// Weight.
	Weight pulumi.IntInput `pulumi:"weight"`
}

func (AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeArgs) ElementType

func (AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeArgs) ToAsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeOutput

func (AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeArgs) ToAsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeOutputWithContext

func (i AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeArgs) ToAsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeOutputWithContext(ctx context.Context) AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeOutput

type AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeArray

type AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeArray []AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeInput

func (AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeArray) ElementType

func (AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeArray) ToAsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeArrayOutput

func (AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeArray) ToAsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeArrayOutputWithContext

func (i AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeArray) ToAsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeArrayOutputWithContext(ctx context.Context) AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeArrayOutput

type AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeArrayInput

type AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeArrayInput interface {
	pulumi.Input

	ToAsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeArrayOutput() AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeArrayOutput
	ToAsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeArrayOutputWithContext(context.Context) AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeArrayOutput
}

AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeArrayInput is an input type that accepts AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeArray and AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeArrayOutput values. You can construct a concrete instance of `AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeArrayInput` via:

AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeArray{ AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeArgs{...} }

type AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeArrayOutput

type AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeArrayOutput struct{ *pulumi.OutputState }

func (AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeArrayOutput) ElementType

func (AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeArrayOutput) ToAsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeArrayOutput

func (AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeArrayOutput) ToAsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeArrayOutputWithContext

type AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeInput

type AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeInput interface {
	pulumi.Input

	ToAsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeOutput() AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeOutput
	ToAsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeOutputWithContext(context.Context) AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeOutput
}

AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeInput is an input type that accepts AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeArgs and AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeOutput values. You can construct a concrete instance of `AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeInput` via:

AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeArgs{...}

type AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeOutput

type AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeOutput struct{ *pulumi.OutputState }

func (AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeOutput) ElementType

func (AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeOutput) Port

Port number.

func (AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeOutput) ToAsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeOutput

func (AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeOutput) ToAsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeOutputWithContext

func (o AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeOutput) ToAsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeOutputWithContext(ctx context.Context) AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeOutput

func (AsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeOutput) Weight

Weight.

type AsScalingGroupAutoScalingGroupInput

type AsScalingGroupAutoScalingGroupInput interface {
	pulumi.Input

	ToAsScalingGroupAutoScalingGroupOutput() AsScalingGroupAutoScalingGroupOutput
	ToAsScalingGroupAutoScalingGroupOutputWithContext(context.Context) AsScalingGroupAutoScalingGroupOutput
}

AsScalingGroupAutoScalingGroupInput is an input type that accepts AsScalingGroupAutoScalingGroupArgs and AsScalingGroupAutoScalingGroupOutput values. You can construct a concrete instance of `AsScalingGroupAutoScalingGroupInput` via:

AsScalingGroupAutoScalingGroupArgs{...}

type AsScalingGroupAutoScalingGroupOutput

type AsScalingGroupAutoScalingGroupOutput struct{ *pulumi.OutputState }

func (AsScalingGroupAutoScalingGroupOutput) DefaultCooldown

Default cooldown time in second, and default value is 300.

func (AsScalingGroupAutoScalingGroupOutput) DesiredCapacity

Desired volume of CVM instances, which is between maxSize and min_size.

func (AsScalingGroupAutoScalingGroupOutput) ElementType

func (AsScalingGroupAutoScalingGroupOutput) ForwardBalancerIds

List of application load balancers, which can't be specified with loadBalancerIds together.

func (AsScalingGroupAutoScalingGroupOutput) LoadBalancerIds

ID list of traditional load balancers.

func (AsScalingGroupAutoScalingGroupOutput) MaxSize

Maximum number of CVM instances (0~2000).

func (AsScalingGroupAutoScalingGroupOutput) MinSize

Minimum number of CVM instances (0~2000).

func (AsScalingGroupAutoScalingGroupOutput) ProjectId

Specifys to which project the scaling group belongs.

func (AsScalingGroupAutoScalingGroupOutput) RetryPolicy

Available values for retry policies include `IMMEDIATE_RETRY` and `INCREMENTAL_INTERVALS`.

func (AsScalingGroupAutoScalingGroupOutput) ScalingGroupName

Name of a scaling group.

func (AsScalingGroupAutoScalingGroupOutput) SubnetIds

ID list of subnet, and for VPC it is required.

func (AsScalingGroupAutoScalingGroupOutput) Tags

Tags of a scaling group.

func (AsScalingGroupAutoScalingGroupOutput) TerminationPolicies

Available values for termination policies include `OLDEST_INSTANCE` and `NEWEST_INSTANCE`.

func (AsScalingGroupAutoScalingGroupOutput) ToAsScalingGroupAutoScalingGroupOutput

func (o AsScalingGroupAutoScalingGroupOutput) ToAsScalingGroupAutoScalingGroupOutput() AsScalingGroupAutoScalingGroupOutput

func (AsScalingGroupAutoScalingGroupOutput) ToAsScalingGroupAutoScalingGroupOutputWithContext

func (o AsScalingGroupAutoScalingGroupOutput) ToAsScalingGroupAutoScalingGroupOutputWithContext(ctx context.Context) AsScalingGroupAutoScalingGroupOutput

func (AsScalingGroupAutoScalingGroupOutput) ToAsScalingGroupAutoScalingGroupPtrOutput

func (o AsScalingGroupAutoScalingGroupOutput) ToAsScalingGroupAutoScalingGroupPtrOutput() AsScalingGroupAutoScalingGroupPtrOutput

func (AsScalingGroupAutoScalingGroupOutput) ToAsScalingGroupAutoScalingGroupPtrOutputWithContext

func (o AsScalingGroupAutoScalingGroupOutput) ToAsScalingGroupAutoScalingGroupPtrOutputWithContext(ctx context.Context) AsScalingGroupAutoScalingGroupPtrOutput

func (AsScalingGroupAutoScalingGroupOutput) VpcId

ID of VPC network.

func (AsScalingGroupAutoScalingGroupOutput) Zones

List of available zones, for Basic network it is required.

type AsScalingGroupAutoScalingGroupPtrInput

type AsScalingGroupAutoScalingGroupPtrInput interface {
	pulumi.Input

	ToAsScalingGroupAutoScalingGroupPtrOutput() AsScalingGroupAutoScalingGroupPtrOutput
	ToAsScalingGroupAutoScalingGroupPtrOutputWithContext(context.Context) AsScalingGroupAutoScalingGroupPtrOutput
}

AsScalingGroupAutoScalingGroupPtrInput is an input type that accepts AsScalingGroupAutoScalingGroupArgs, AsScalingGroupAutoScalingGroupPtr and AsScalingGroupAutoScalingGroupPtrOutput values. You can construct a concrete instance of `AsScalingGroupAutoScalingGroupPtrInput` via:

        AsScalingGroupAutoScalingGroupArgs{...}

or:

        nil

type AsScalingGroupAutoScalingGroupPtrOutput

type AsScalingGroupAutoScalingGroupPtrOutput struct{ *pulumi.OutputState }

func (AsScalingGroupAutoScalingGroupPtrOutput) DefaultCooldown

Default cooldown time in second, and default value is 300.

func (AsScalingGroupAutoScalingGroupPtrOutput) DesiredCapacity

Desired volume of CVM instances, which is between maxSize and min_size.

func (AsScalingGroupAutoScalingGroupPtrOutput) Elem

func (AsScalingGroupAutoScalingGroupPtrOutput) ElementType

func (AsScalingGroupAutoScalingGroupPtrOutput) ForwardBalancerIds

List of application load balancers, which can't be specified with loadBalancerIds together.

func (AsScalingGroupAutoScalingGroupPtrOutput) LoadBalancerIds

ID list of traditional load balancers.

func (AsScalingGroupAutoScalingGroupPtrOutput) MaxSize

Maximum number of CVM instances (0~2000).

func (AsScalingGroupAutoScalingGroupPtrOutput) MinSize

Minimum number of CVM instances (0~2000).

func (AsScalingGroupAutoScalingGroupPtrOutput) ProjectId

Specifys to which project the scaling group belongs.

func (AsScalingGroupAutoScalingGroupPtrOutput) RetryPolicy

Available values for retry policies include `IMMEDIATE_RETRY` and `INCREMENTAL_INTERVALS`.

func (AsScalingGroupAutoScalingGroupPtrOutput) ScalingGroupName

Name of a scaling group.

func (AsScalingGroupAutoScalingGroupPtrOutput) SubnetIds

ID list of subnet, and for VPC it is required.

func (AsScalingGroupAutoScalingGroupPtrOutput) Tags

Tags of a scaling group.

func (AsScalingGroupAutoScalingGroupPtrOutput) TerminationPolicies

Available values for termination policies include `OLDEST_INSTANCE` and `NEWEST_INSTANCE`.

func (AsScalingGroupAutoScalingGroupPtrOutput) ToAsScalingGroupAutoScalingGroupPtrOutput

func (o AsScalingGroupAutoScalingGroupPtrOutput) ToAsScalingGroupAutoScalingGroupPtrOutput() AsScalingGroupAutoScalingGroupPtrOutput

func (AsScalingGroupAutoScalingGroupPtrOutput) ToAsScalingGroupAutoScalingGroupPtrOutputWithContext

func (o AsScalingGroupAutoScalingGroupPtrOutput) ToAsScalingGroupAutoScalingGroupPtrOutputWithContext(ctx context.Context) AsScalingGroupAutoScalingGroupPtrOutput

func (AsScalingGroupAutoScalingGroupPtrOutput) VpcId

ID of VPC network.

func (AsScalingGroupAutoScalingGroupPtrOutput) Zones

List of available zones, for Basic network it is required.

type AsScalingGroupInput

type AsScalingGroupInput interface {
	pulumi.Input

	ToAsScalingGroupOutput() AsScalingGroupOutput
	ToAsScalingGroupOutputWithContext(ctx context.Context) AsScalingGroupOutput
}

type AsScalingGroupMap

type AsScalingGroupMap map[string]AsScalingGroupInput

func (AsScalingGroupMap) ElementType

func (AsScalingGroupMap) ElementType() reflect.Type

func (AsScalingGroupMap) ToAsScalingGroupMapOutput

func (i AsScalingGroupMap) ToAsScalingGroupMapOutput() AsScalingGroupMapOutput

func (AsScalingGroupMap) ToAsScalingGroupMapOutputWithContext

func (i AsScalingGroupMap) ToAsScalingGroupMapOutputWithContext(ctx context.Context) AsScalingGroupMapOutput

type AsScalingGroupMapInput

type AsScalingGroupMapInput interface {
	pulumi.Input

	ToAsScalingGroupMapOutput() AsScalingGroupMapOutput
	ToAsScalingGroupMapOutputWithContext(context.Context) AsScalingGroupMapOutput
}

AsScalingGroupMapInput is an input type that accepts AsScalingGroupMap and AsScalingGroupMapOutput values. You can construct a concrete instance of `AsScalingGroupMapInput` via:

AsScalingGroupMap{ "key": AsScalingGroupArgs{...} }

type AsScalingGroupMapOutput

type AsScalingGroupMapOutput struct{ *pulumi.OutputState }

func (AsScalingGroupMapOutput) ElementType

func (AsScalingGroupMapOutput) ElementType() reflect.Type

func (AsScalingGroupMapOutput) MapIndex

func (AsScalingGroupMapOutput) ToAsScalingGroupMapOutput

func (o AsScalingGroupMapOutput) ToAsScalingGroupMapOutput() AsScalingGroupMapOutput

func (AsScalingGroupMapOutput) ToAsScalingGroupMapOutputWithContext

func (o AsScalingGroupMapOutput) ToAsScalingGroupMapOutputWithContext(ctx context.Context) AsScalingGroupMapOutput

type AsScalingGroupOutput

type AsScalingGroupOutput struct{ *pulumi.OutputState }

func (AsScalingGroupOutput) AutoScalingConfig

Auto scaling config parameters.

func (AsScalingGroupOutput) AutoScalingGroup

Auto scaling group parameters.

func (AsScalingGroupOutput) ClusterId

ID of the cluster.

func (AsScalingGroupOutput) ElementType

func (AsScalingGroupOutput) ElementType() reflect.Type

func (AsScalingGroupOutput) ExtraArgs

Custom parameter information related to the node.

func (AsScalingGroupOutput) Labels

Labels of kubernetes AS Group created nodes.

func (AsScalingGroupOutput) ToAsScalingGroupOutput

func (o AsScalingGroupOutput) ToAsScalingGroupOutput() AsScalingGroupOutput

func (AsScalingGroupOutput) ToAsScalingGroupOutputWithContext

func (o AsScalingGroupOutput) ToAsScalingGroupOutputWithContext(ctx context.Context) AsScalingGroupOutput

func (AsScalingGroupOutput) Unschedulable

func (o AsScalingGroupOutput) Unschedulable() pulumi.IntPtrOutput

Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.

type AsScalingGroupState

type AsScalingGroupState struct {
	// Auto scaling config parameters.
	AutoScalingConfig AsScalingGroupAutoScalingConfigPtrInput
	// Auto scaling group parameters.
	AutoScalingGroup AsScalingGroupAutoScalingGroupPtrInput
	// ID of the cluster.
	ClusterId pulumi.StringPtrInput
	// Custom parameter information related to the node.
	ExtraArgs pulumi.StringArrayInput
	// Labels of kubernetes AS Group created nodes.
	Labels pulumi.MapInput
	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	Unschedulable pulumi.IntPtrInput
}

func (AsScalingGroupState) ElementType

func (AsScalingGroupState) ElementType() reflect.Type

type AuthAttachment

type AuthAttachment struct {
	pulumi.CustomResourceState

	// If set to `true`, the rbac rule will be created automatically which allow anonymous user to access '/.well-known/openid-configuration' and '/openid/v1/jwks'.
	AutoCreateDiscoveryAnonymousAuth pulumi.BoolPtrOutput `pulumi:"autoCreateDiscoveryAnonymousAuth"`
	// ID of clusters.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// Specify service-account-issuer.
	Issuer pulumi.StringOutput `pulumi:"issuer"`
	// Specify service-account-jwks-uri.
	JwksUri pulumi.StringPtrOutput `pulumi:"jwksUri"`
}

Provide a resource to configure kubernetes cluster authentication info.

> **NOTE:** Only available for cluster version >= 1.20

## Example Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Images"
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Images"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Vpc"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		availabilityZone := "ap-guangzhou-3"
		if param := cfg.Get("availabilityZone"); param != "" {
			availabilityZone = param
		}
		clusterCidr := "172.16.0.0/16"
		if param := cfg.Get("clusterCidr"); param != "" {
			clusterCidr = param
		}
		defaultInstanceType := "S1.SMALL1"
		if param := cfg.Get("defaultInstanceType"); param != "" {
			defaultInstanceType = param
		}
		_, err := Images.GetInstance(ctx, &images.GetInstanceArgs{
			ImageTypes: []string{
				"PUBLIC_IMAGE",
			},
			OsName: pulumi.StringRef("centos"),
		}, nil)
		if err != nil {
			return err
		}
		vpc, err := Vpc.GetSubnets(ctx, &vpc.GetSubnetsArgs{
			IsDefault:        pulumi.BoolRef(true),
			AvailabilityZone: pulumi.StringRef(availabilityZone),
		}, nil)
		if err != nil {
			return err
		}
		managedCluster, err := Kubernetes.NewCluster(ctx, "managedCluster", &Kubernetes.ClusterArgs{
			VpcId:                pulumi.String(vpc.InstanceLists[0].VpcId),
			ClusterCidr:          pulumi.String("10.31.0.0/16"),
			ClusterMaxPodNum:     pulumi.Int(32),
			ClusterName:          pulumi.String("keep"),
			ClusterDesc:          pulumi.String("test cluster desc"),
			ClusterVersion:       pulumi.String("1.20.6"),
			ClusterMaxServiceNum: pulumi.Int(32),
			WorkerConfigs: kubernetes.ClusterWorkerConfigArray{
				&kubernetes.ClusterWorkerConfigArgs{
					Count:                   pulumi.Int(1),
					AvailabilityZone:        pulumi.String(availabilityZone),
					InstanceType:            pulumi.String(defaultInstanceType),
					SystemDiskType:          pulumi.String("CLOUD_SSD"),
					SystemDiskSize:          pulumi.Int(60),
					InternetChargeType:      pulumi.String("TRAFFIC_POSTPAID_BY_HOUR"),
					InternetMaxBandwidthOut: pulumi.Int(100),
					PublicIpAssigned:        pulumi.Bool(true),
					SubnetId:                pulumi.String(vpc.InstanceLists[0].SubnetId),
					DataDisks: kubernetes.ClusterWorkerConfigDataDiskArray{
						&kubernetes.ClusterWorkerConfigDataDiskArgs{
							DiskType: pulumi.String("CLOUD_PREMIUM"),
							DiskSize: pulumi.Int(50),
						},
					},
					EnhancedSecurityService: pulumi.Bool(false),
					EnhancedMonitorService:  pulumi.Bool(false),
					UserData:                pulumi.String("dGVzdA=="),
					Password:                pulumi.String("ZZXXccvv1212"),
				},
			},
			ClusterDeployType: pulumi.String("MANAGED_CLUSTER"),
		})
		if err != nil {
			return err
		}
		_, err = Kubernetes.NewAuthAttachment(ctx, "testAuthAttach", &Kubernetes.AuthAttachmentArgs{
			ClusterId: managedCluster.ID(),
			JwksUri: managedCluster.ID().ApplyT(func(id string) (string, error) {
				return fmt.Sprintf("%v%v%v", "https://", id, ".ccs.tencent-cloud.com/openid/v1/jwks"), nil
			}).(pulumi.StringOutput),
			Issuer: managedCluster.ID().ApplyT(func(id string) (string, error) {
				return fmt.Sprintf("%v%v%v", "https://", id, ".ccs.tencent-cloud.com"), nil
			}).(pulumi.StringOutput),
			AutoCreateDiscoveryAnonymousAuth: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetAuthAttachment

func GetAuthAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AuthAttachmentState, opts ...pulumi.ResourceOption) (*AuthAttachment, error)

GetAuthAttachment gets an existing AuthAttachment 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 NewAuthAttachment

func NewAuthAttachment(ctx *pulumi.Context,
	name string, args *AuthAttachmentArgs, opts ...pulumi.ResourceOption) (*AuthAttachment, error)

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

func (*AuthAttachment) ElementType

func (*AuthAttachment) ElementType() reflect.Type

func (*AuthAttachment) ToAuthAttachmentOutput

func (i *AuthAttachment) ToAuthAttachmentOutput() AuthAttachmentOutput

func (*AuthAttachment) ToAuthAttachmentOutputWithContext

func (i *AuthAttachment) ToAuthAttachmentOutputWithContext(ctx context.Context) AuthAttachmentOutput

type AuthAttachmentArgs

type AuthAttachmentArgs struct {
	// If set to `true`, the rbac rule will be created automatically which allow anonymous user to access '/.well-known/openid-configuration' and '/openid/v1/jwks'.
	AutoCreateDiscoveryAnonymousAuth pulumi.BoolPtrInput
	// ID of clusters.
	ClusterId pulumi.StringInput
	// Specify service-account-issuer.
	Issuer pulumi.StringInput
	// Specify service-account-jwks-uri.
	JwksUri pulumi.StringPtrInput
}

The set of arguments for constructing a AuthAttachment resource.

func (AuthAttachmentArgs) ElementType

func (AuthAttachmentArgs) ElementType() reflect.Type

type AuthAttachmentArray

type AuthAttachmentArray []AuthAttachmentInput

func (AuthAttachmentArray) ElementType

func (AuthAttachmentArray) ElementType() reflect.Type

func (AuthAttachmentArray) ToAuthAttachmentArrayOutput

func (i AuthAttachmentArray) ToAuthAttachmentArrayOutput() AuthAttachmentArrayOutput

func (AuthAttachmentArray) ToAuthAttachmentArrayOutputWithContext

func (i AuthAttachmentArray) ToAuthAttachmentArrayOutputWithContext(ctx context.Context) AuthAttachmentArrayOutput

type AuthAttachmentArrayInput

type AuthAttachmentArrayInput interface {
	pulumi.Input

	ToAuthAttachmentArrayOutput() AuthAttachmentArrayOutput
	ToAuthAttachmentArrayOutputWithContext(context.Context) AuthAttachmentArrayOutput
}

AuthAttachmentArrayInput is an input type that accepts AuthAttachmentArray and AuthAttachmentArrayOutput values. You can construct a concrete instance of `AuthAttachmentArrayInput` via:

AuthAttachmentArray{ AuthAttachmentArgs{...} }

type AuthAttachmentArrayOutput

type AuthAttachmentArrayOutput struct{ *pulumi.OutputState }

func (AuthAttachmentArrayOutput) ElementType

func (AuthAttachmentArrayOutput) ElementType() reflect.Type

func (AuthAttachmentArrayOutput) Index

func (AuthAttachmentArrayOutput) ToAuthAttachmentArrayOutput

func (o AuthAttachmentArrayOutput) ToAuthAttachmentArrayOutput() AuthAttachmentArrayOutput

func (AuthAttachmentArrayOutput) ToAuthAttachmentArrayOutputWithContext

func (o AuthAttachmentArrayOutput) ToAuthAttachmentArrayOutputWithContext(ctx context.Context) AuthAttachmentArrayOutput

type AuthAttachmentInput

type AuthAttachmentInput interface {
	pulumi.Input

	ToAuthAttachmentOutput() AuthAttachmentOutput
	ToAuthAttachmentOutputWithContext(ctx context.Context) AuthAttachmentOutput
}

type AuthAttachmentMap

type AuthAttachmentMap map[string]AuthAttachmentInput

func (AuthAttachmentMap) ElementType

func (AuthAttachmentMap) ElementType() reflect.Type

func (AuthAttachmentMap) ToAuthAttachmentMapOutput

func (i AuthAttachmentMap) ToAuthAttachmentMapOutput() AuthAttachmentMapOutput

func (AuthAttachmentMap) ToAuthAttachmentMapOutputWithContext

func (i AuthAttachmentMap) ToAuthAttachmentMapOutputWithContext(ctx context.Context) AuthAttachmentMapOutput

type AuthAttachmentMapInput

type AuthAttachmentMapInput interface {
	pulumi.Input

	ToAuthAttachmentMapOutput() AuthAttachmentMapOutput
	ToAuthAttachmentMapOutputWithContext(context.Context) AuthAttachmentMapOutput
}

AuthAttachmentMapInput is an input type that accepts AuthAttachmentMap and AuthAttachmentMapOutput values. You can construct a concrete instance of `AuthAttachmentMapInput` via:

AuthAttachmentMap{ "key": AuthAttachmentArgs{...} }

type AuthAttachmentMapOutput

type AuthAttachmentMapOutput struct{ *pulumi.OutputState }

func (AuthAttachmentMapOutput) ElementType

func (AuthAttachmentMapOutput) ElementType() reflect.Type

func (AuthAttachmentMapOutput) MapIndex

func (AuthAttachmentMapOutput) ToAuthAttachmentMapOutput

func (o AuthAttachmentMapOutput) ToAuthAttachmentMapOutput() AuthAttachmentMapOutput

func (AuthAttachmentMapOutput) ToAuthAttachmentMapOutputWithContext

func (o AuthAttachmentMapOutput) ToAuthAttachmentMapOutputWithContext(ctx context.Context) AuthAttachmentMapOutput

type AuthAttachmentOutput

type AuthAttachmentOutput struct{ *pulumi.OutputState }

func (AuthAttachmentOutput) AutoCreateDiscoveryAnonymousAuth

func (o AuthAttachmentOutput) AutoCreateDiscoveryAnonymousAuth() pulumi.BoolPtrOutput

If set to `true`, the rbac rule will be created automatically which allow anonymous user to access '/.well-known/openid-configuration' and '/openid/v1/jwks'.

func (AuthAttachmentOutput) ClusterId

ID of clusters.

func (AuthAttachmentOutput) ElementType

func (AuthAttachmentOutput) ElementType() reflect.Type

func (AuthAttachmentOutput) Issuer

Specify service-account-issuer.

func (AuthAttachmentOutput) JwksUri

Specify service-account-jwks-uri.

func (AuthAttachmentOutput) ToAuthAttachmentOutput

func (o AuthAttachmentOutput) ToAuthAttachmentOutput() AuthAttachmentOutput

func (AuthAttachmentOutput) ToAuthAttachmentOutputWithContext

func (o AuthAttachmentOutput) ToAuthAttachmentOutputWithContext(ctx context.Context) AuthAttachmentOutput

type AuthAttachmentState

type AuthAttachmentState struct {
	// If set to `true`, the rbac rule will be created automatically which allow anonymous user to access '/.well-known/openid-configuration' and '/openid/v1/jwks'.
	AutoCreateDiscoveryAnonymousAuth pulumi.BoolPtrInput
	// ID of clusters.
	ClusterId pulumi.StringPtrInput
	// Specify service-account-issuer.
	Issuer pulumi.StringPtrInput
	// Specify service-account-jwks-uri.
	JwksUri pulumi.StringPtrInput
}

func (AuthAttachmentState) ElementType

func (AuthAttachmentState) ElementType() reflect.Type

type Cluster

type Cluster struct {
	pulumi.CustomResourceState

	// If set to true, it will acquire the ClusterRole tke:admin. NOTE: this arguments cannot revoke to `false` after acquired.
	AcquireClusterAdminRole pulumi.BoolPtrOutput `pulumi:"acquireClusterAdminRole"`
	// Specify cluster authentication configuration. Only available for managed cluster and `clusterVersion` >= 1.20.
	AuthOptions ClusterAuthOptionsPtrOutput `pulumi:"authOptions"`
	// Whether the cluster level auto upgraded, valid for managed cluster.
	AutoUpgradeClusterLevel pulumi.BoolPtrOutput `pulumi:"autoUpgradeClusterLevel"`
	// The number of basic pods. valid when enable_customized_pod_cidr=true.
	BasePodNum pulumi.IntPtrOutput `pulumi:"basePodNum"`
	// The certificate used for access.
	CertificationAuthority pulumi.StringOutput `pulumi:"certificationAuthority"`
	// Claim expired seconds to recycle ENI. This field can only set when field `networkType` is 'VPC-CNI'. `claimExpiredSeconds` must greater or equal than 300 and less than 15768000.
	ClaimExpiredSeconds pulumi.IntPtrOutput `pulumi:"claimExpiredSeconds"`
	// This argument is deprecated because the TKE auto-scaling group was no longer available. Indicates whether to enable cluster node auto scaling. Default is false.
	//
	// Deprecated: This argument is deprecated because the TKE auto-scaling group was no longer available.
	ClusterAsEnabled pulumi.BoolPtrOutput `pulumi:"clusterAsEnabled"`
	// Specify Cluster Audit config. NOTE: Please make sure your TKE CamRole have permission to access CLS service.
	ClusterAudit ClusterClusterAuditPtrOutput `pulumi:"clusterAudit"`
	// A network address block of the cluster. Different from vpc cidr and cidr of other clusters within this vpc. Must be in  10./192.168/172.[16-31] segments.
	ClusterCidr pulumi.StringPtrOutput `pulumi:"clusterCidr"`
	// Deployment type of the cluster, the available values include: 'MANAGED_CLUSTER' and 'INDEPENDENT_CLUSTER'. Default is 'MANAGED_CLUSTER'.
	ClusterDeployType pulumi.StringPtrOutput `pulumi:"clusterDeployType"`
	// Description of the cluster.
	ClusterDesc pulumi.StringPtrOutput `pulumi:"clusterDesc"`
	// External network address to access.
	ClusterExternalEndpoint pulumi.StringOutput `pulumi:"clusterExternalEndpoint"`
	// Customized parameters for master component,such as kube-apiserver, kube-controller-manager, kube-scheduler.
	ClusterExtraArgs ClusterClusterExtraArgsPtrOutput `pulumi:"clusterExtraArgs"`
	// Open internet access or not. If this field is set 'true', the field below `workerConfig` must be set. Because only cluster with node is allowed enable access endpoint.
	ClusterInternet pulumi.BoolPtrOutput `pulumi:"clusterInternet"`
	// Specify security group, NOTE: This argument must not be empty if cluster internet enabled.
	ClusterInternetSecurityGroup pulumi.StringPtrOutput `pulumi:"clusterInternetSecurityGroup"`
	// Open intranet access or not. If this field is set 'true', the field below `workerConfig` must be set. Because only cluster with node is allowed enable access endpoint.
	ClusterIntranet pulumi.BoolPtrOutput `pulumi:"clusterIntranet"`
	// Subnet id who can access this independent cluster, this field must and can only set  when `clusterIntranet` is true. `clusterIntranetSubnetId` can not modify once be set.
	ClusterIntranetSubnetId pulumi.StringPtrOutput `pulumi:"clusterIntranetSubnetId"`
	// Indicates whether `ipvs` is enabled. Default is true. False means `iptables` is enabled.
	ClusterIpvs pulumi.BoolPtrOutput `pulumi:"clusterIpvs"`
	// Specify cluster level, valid for managed cluster, use data source `Kubernetes.getClusterLevels` to query available levels. Available value examples `L5`, `L20`, `L50`, `L100`, etc.
	ClusterLevel pulumi.StringOutput `pulumi:"clusterLevel"`
	// The maximum number of Pods per node in the cluster. Default is 256. The minimum value is 4. When its power unequal to 2, it will round upward to the closest power of 2.
	ClusterMaxPodNum pulumi.IntPtrOutput `pulumi:"clusterMaxPodNum"`
	// The maximum number of services in the cluster. Default is 256. The range is from 32 to 32768. When its power unequal to 2, it will round upward to the closest power of 2.
	ClusterMaxServiceNum pulumi.IntPtrOutput `pulumi:"clusterMaxServiceNum"`
	// Name of the cluster.
	ClusterName pulumi.StringPtrOutput `pulumi:"clusterName"`
	// Number of nodes in the cluster.
	ClusterNodeNum pulumi.IntOutput `pulumi:"clusterNodeNum"`
	// Operating system of the cluster, the available values include: 'centos7.6.0_x64','ubuntu18.04.1x86_64','tlinux2.4x86_64'. Default is 'tlinux2.4x86_64'.
	ClusterOs pulumi.StringPtrOutput `pulumi:"clusterOs"`
	// Image type of the cluster os, the available values include: 'GENERAL'. Default is 'GENERAL'.
	ClusterOsType pulumi.StringPtrOutput `pulumi:"clusterOsType"`
	// Version of the cluster, Default is '1.10.5'.
	ClusterVersion pulumi.StringPtrOutput `pulumi:"clusterVersion"`
	// Runtime type of the cluster, the available values include: 'docker' and 'containerd'. Default is 'docker'.
	ContainerRuntime pulumi.StringPtrOutput `pulumi:"containerRuntime"`
	// Indicates whether cluster deletion protection is enabled. Default is false.
	DeletionProtection pulumi.BoolPtrOutput `pulumi:"deletionProtection"`
	// Docker graph path. Default is `/var/lib/docker`.
	DockerGraphPath pulumi.StringPtrOutput `pulumi:"dockerGraphPath"`
	// Domain name for access.
	Domain pulumi.StringOutput `pulumi:"domain"`
	// Whether to enable the custom mode of node podCIDR size. Default is false.
	EnableCustomizedPodCidr pulumi.BoolPtrOutput `pulumi:"enableCustomizedPodCidr"`
	// Subnet Ids for cluster with VPC-CNI network mode. This field can only set when field `networkType` is 'VPC-CNI'. `eniSubnetIds` can not empty once be set.
	EniSubnetIds pulumi.StringArrayOutput `pulumi:"eniSubnetIds"`
	// Specify cluster Event Persistence config. NOTE: Please make sure your TKE CamRole have permission to access CLS service.
	EventPersistence ClusterEventPersistencePtrOutput `pulumi:"eventPersistence"`
	// create tke cluster by existed instances.
	ExistInstances ClusterExistInstanceArrayOutput `pulumi:"existInstances"`
	// Information of the add-on to be installed.
	ExtensionAddons ClusterExtensionAddonArrayOutput `pulumi:"extensionAddons"`
	// Custom parameter information related to the node.
	ExtraArgs pulumi.StringArrayOutput `pulumi:"extraArgs"`
	// Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it takes effect for all nodes.
	GlobeDesiredPodNum pulumi.IntPtrOutput `pulumi:"globeDesiredPodNum"`
	// Indicates whether to ignore the cluster cidr conflict error. Default is false.
	IgnoreClusterCidrConflict pulumi.BoolPtrOutput `pulumi:"ignoreClusterCidrConflict"`
	// Indicates whether non-static ip mode is enabled. Default is false.
	IsNonStaticIpMode pulumi.BoolPtrOutput `pulumi:"isNonStaticIpMode"`
	// Kubernetes config.
	KubeConfig pulumi.StringOutput `pulumi:"kubeConfig"`
	// Kubernetes config of private network.
	KubeConfigIntranet pulumi.StringOutput `pulumi:"kubeConfigIntranet"`
	// Cluster kube-proxy mode, the available values include: 'kube-proxy-bpf'. Default is not set.When set to kube-proxy-bpf, cluster version greater than 1.14 and with Tencent Linux 2.4 is required.
	KubeProxyMode pulumi.StringPtrOutput `pulumi:"kubeProxyMode"`
	// Labels of tke cluster nodes.
	Labels pulumi.MapOutput `pulumi:"labels"`
	// Specify cluster log agent config.
	LogAgent ClusterLogAgentPtrOutput `pulumi:"logAgent"`
	// this argument was deprecated, use `clusterInternetSecurityGroup` instead. Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field `clusterDeployType` is 'MANAGED_CLUSTER' and `clusterInternet` is true. `managedClusterInternetSecurityPolicies` can not delete or empty once be set.
	//
	// Deprecated: this argument was deprecated, use `cluster_internet_security_group` instead.
	ManagedClusterInternetSecurityPolicies pulumi.StringArrayOutput `pulumi:"managedClusterInternetSecurityPolicies"`
	// Deploy the machine configuration information of the 'MASTER_ETCD' service, and create <=7 units for common users.
	MasterConfigs ClusterMasterConfigArrayOutput `pulumi:"masterConfigs"`
	// Mount target. Default is not mounting.
	MountTarget pulumi.StringPtrOutput `pulumi:"mountTarget"`
	// Cluster network type, GR or VPC-CNI. Default is GR.
	NetworkType pulumi.StringPtrOutput `pulumi:"networkType"`
	// Node name type of Cluster, the available values include: 'lan-ip' and 'hostname', Default is 'lan-ip'.
	NodeNameType pulumi.StringPtrOutput `pulumi:"nodeNameType"`
	// Global config effective for all node pools.
	NodePoolGlobalConfigs ClusterNodePoolGlobalConfigArrayOutput `pulumi:"nodePoolGlobalConfigs"`
	// Password to access, should be set if `keyIds` not set.
	Password pulumi.StringOutput `pulumi:"password"`
	// The Intranet address used for access.
	PgwEndpoint pulumi.StringOutput `pulumi:"pgwEndpoint"`
	// Project ID, default value is 0.
	ProjectId pulumi.IntPtrOutput `pulumi:"projectId"`
	// Container Runtime version.
	RuntimeVersion pulumi.StringPtrOutput `pulumi:"runtimeVersion"`
	// Access policy.
	SecurityPolicies pulumi.StringArrayOutput `pulumi:"securityPolicies"`
	// A network address block of the service. Different from vpc cidr and cidr of other clusters within this vpc. Must be in  10./192.168/172.[16-31] segments.
	ServiceCidr pulumi.StringPtrOutput `pulumi:"serviceCidr"`
	// The tags of the cluster.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	Unschedulable pulumi.IntPtrOutput `pulumi:"unschedulable"`
	// Indicates whether upgrade all instances when clusterVersion change. Default is false.
	UpgradeInstancesFollowCluster pulumi.BoolPtrOutput `pulumi:"upgradeInstancesFollowCluster"`
	// User name of account.
	UserName pulumi.StringOutput `pulumi:"userName"`
	// Vpc Id of the cluster.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
	// Deploy the machine configuration information of the 'WORKER' service, and create <=20 units for common users. The other 'WORK' service are added by 'tencentcloud_kubernetes_worker'.
	WorkerConfigs ClusterWorkerConfigArrayOutput `pulumi:"workerConfigs"`
	// An information list of cvm within the 'WORKER' clusters. Each element contains the following attributes:
	WorkerInstancesLists ClusterWorkerInstancesListArrayOutput `pulumi:"workerInstancesLists"`
}

Provide a resource to create a kubernetes cluster.

> **NOTE:** To use the custom Kubernetes component startup parameter function (parameter `extraArgs`), you need to submit a ticket for application. **NOTE:** We recommend the usage of one cluster without worker config + node pool to manage cluster and nodes. It's a more flexible way than manage worker config with tencentcloud_kubernetes_cluster, Kubernetes.ScaleWorker or exist node management of `tencentcloudKubernetesAttachment`. Cause some unchangeable parameters of `workerConfig` may cause the whole cluster resource `force new`.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Vpc"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		availabilityZoneFirst := "ap-guangzhou-3"
		if param := cfg.Get("availabilityZoneFirst"); param != "" {
			availabilityZoneFirst = param
		}
		availabilityZoneSecond := "ap-guangzhou-4"
		if param := cfg.Get("availabilityZoneSecond"); param != "" {
			availabilityZoneSecond = param
		}
		clusterCidr := "10.31.0.0/16"
		if param := cfg.Get("clusterCidr"); param != "" {
			clusterCidr = param
		}
		defaultInstanceType := "SA2.2XLARGE16"
		if param := cfg.Get("defaultInstanceType"); param != "" {
			defaultInstanceType = param
		}
		vpcFirst, err := Vpc.GetSubnets(ctx, &vpc.GetSubnetsArgs{
			IsDefault:        pulumi.BoolRef(true),
			AvailabilityZone: pulumi.StringRef(availabilityZoneFirst),
		}, nil)
		if err != nil {
			return err
		}
		vpcSecond, err := Vpc.GetSubnets(ctx, &vpc.GetSubnetsArgs{
			IsDefault:        pulumi.BoolRef(true),
			AvailabilityZone: pulumi.StringRef(availabilityZoneSecond),
		}, nil)
		if err != nil {
			return err
		}
		_, err = Kubernetes.NewCluster(ctx, "managedCluster", &Kubernetes.ClusterArgs{
			VpcId:                pulumi.String(vpcFirst.InstanceLists[0].VpcId),
			ClusterCidr:          pulumi.String(clusterCidr),
			ClusterMaxPodNum:     pulumi.Int(32),
			ClusterName:          pulumi.String("test"),
			ClusterDesc:          pulumi.String("test cluster desc"),
			ClusterMaxServiceNum: pulumi.Int(32),
			ClusterInternet:      pulumi.Bool(true),
			ClusterDeployType:    pulumi.String("MANAGED_CLUSTER"),
			WorkerConfigs: kubernetes.ClusterWorkerConfigArray{
				&kubernetes.ClusterWorkerConfigArgs{
					Count:                   pulumi.Int(1),
					AvailabilityZone:        pulumi.String(availabilityZoneFirst),
					InstanceType:            pulumi.String(defaultInstanceType),
					SystemDiskType:          pulumi.String("CLOUD_SSD"),
					SystemDiskSize:          pulumi.Int(60),
					InternetChargeType:      pulumi.String("TRAFFIC_POSTPAID_BY_HOUR"),
					InternetMaxBandwidthOut: pulumi.Int(100),
					PublicIpAssigned:        pulumi.Bool(true),
					SubnetId:                pulumi.String(vpcFirst.InstanceLists[0].SubnetId),
					ImgId:                   pulumi.String("img-rkiynh11"),
					DataDisks: kubernetes.ClusterWorkerConfigDataDiskArray{
						&kubernetes.ClusterWorkerConfigDataDiskArgs{
							DiskType: pulumi.String("CLOUD_PREMIUM"),
							DiskSize: pulumi.Int(50),
						},
					},
					EnhancedSecurityService: pulumi.Bool(false),
					EnhancedMonitorService:  pulumi.Bool(false),
					UserData:                pulumi.String("dGVzdA=="),
					Password:                pulumi.String("ZZXXccvv1212"),
				},
				&kubernetes.ClusterWorkerConfigArgs{
					Count:                   pulumi.Int(1),
					AvailabilityZone:        pulumi.String(availabilityZoneSecond),
					InstanceType:            pulumi.String(defaultInstanceType),
					SystemDiskType:          pulumi.String("CLOUD_SSD"),
					SystemDiskSize:          pulumi.Int(60),
					InternetChargeType:      pulumi.String("TRAFFIC_POSTPAID_BY_HOUR"),
					InternetMaxBandwidthOut: pulumi.Int(100),
					PublicIpAssigned:        pulumi.Bool(true),
					SubnetId:                pulumi.String(vpcSecond.InstanceLists[0].SubnetId),
					DataDisks: kubernetes.ClusterWorkerConfigDataDiskArray{
						&kubernetes.ClusterWorkerConfigDataDiskArgs{
							DiskType: pulumi.String("CLOUD_PREMIUM"),
							DiskSize: pulumi.Int(50),
						},
					},
					EnhancedSecurityService: pulumi.Bool(false),
					EnhancedMonitorService:  pulumi.Bool(false),
					UserData:                pulumi.String("dGVzdA=="),
					Password:                pulumi.String("ZZXXccvv1212"),
					CamRoleName:             pulumi.String("CVM_QcsRole"),
				},
			},
			Labels: pulumi.AnyMap{
				"test1": pulumi.Any("test1"),
				"test2": pulumi.Any("test2"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Use Kubelet

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Vpc"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		availabilityZoneFirst := "ap-guangzhou-3"
		if param := cfg.Get("availabilityZoneFirst"); param != "" {
			availabilityZoneFirst = param
		}
		availabilityZoneSecond := "ap-guangzhou-4"
		if param := cfg.Get("availabilityZoneSecond"); param != "" {
			availabilityZoneSecond = param
		}
		clusterCidr := "10.31.0.0/16"
		if param := cfg.Get("clusterCidr"); param != "" {
			clusterCidr = param
		}
		defaultInstanceType := "SA2.2XLARGE16"
		if param := cfg.Get("defaultInstanceType"); param != "" {
			defaultInstanceType = param
		}
		vpcFirst, err := Vpc.GetSubnets(ctx, &vpc.GetSubnetsArgs{
			IsDefault:        pulumi.BoolRef(true),
			AvailabilityZone: pulumi.StringRef(availabilityZoneFirst),
		}, nil)
		if err != nil {
			return err
		}
		vpcSecond, err := Vpc.GetSubnets(ctx, &vpc.GetSubnetsArgs{
			IsDefault:        pulumi.BoolRef(true),
			AvailabilityZone: pulumi.StringRef(availabilityZoneSecond),
		}, nil)
		if err != nil {
			return err
		}
		_, err = Kubernetes.NewCluster(ctx, "managedCluster", &Kubernetes.ClusterArgs{
			VpcId:                pulumi.String(vpcFirst.InstanceLists[0].VpcId),
			ClusterCidr:          pulumi.String(clusterCidr),
			ClusterMaxPodNum:     pulumi.Int(32),
			ClusterName:          pulumi.String("test"),
			ClusterDesc:          pulumi.String("test cluster desc"),
			ClusterMaxServiceNum: pulumi.Int(32),
			ClusterInternet:      pulumi.Bool(true),
			ClusterDeployType:    pulumi.String("MANAGED_CLUSTER"),
			WorkerConfigs: kubernetes.ClusterWorkerConfigArray{
				&kubernetes.ClusterWorkerConfigArgs{
					Count:                   pulumi.Int(1),
					AvailabilityZone:        pulumi.String(availabilityZoneFirst),
					InstanceType:            pulumi.String(defaultInstanceType),
					SystemDiskType:          pulumi.String("CLOUD_SSD"),
					SystemDiskSize:          pulumi.Int(60),
					InternetChargeType:      pulumi.String("TRAFFIC_POSTPAID_BY_HOUR"),
					InternetMaxBandwidthOut: pulumi.Int(100),
					PublicIpAssigned:        pulumi.Bool(true),
					SubnetId:                pulumi.String(vpcFirst.InstanceLists[0].SubnetId),
					DataDisks: kubernetes.ClusterWorkerConfigDataDiskArray{
						&kubernetes.ClusterWorkerConfigDataDiskArgs{
							DiskType: pulumi.String("CLOUD_PREMIUM"),
							DiskSize: pulumi.Int(50),
						},
					},
					EnhancedSecurityService: pulumi.Bool(false),
					EnhancedMonitorService:  pulumi.Bool(false),
					UserData:                pulumi.String("dGVzdA=="),
					Password:                pulumi.String("ZZXXccvv1212"),
				},
				&kubernetes.ClusterWorkerConfigArgs{
					Count:                   pulumi.Int(1),
					AvailabilityZone:        pulumi.String(availabilityZoneSecond),
					InstanceType:            pulumi.String(defaultInstanceType),
					SystemDiskType:          pulumi.String("CLOUD_SSD"),
					SystemDiskSize:          pulumi.Int(60),
					InternetChargeType:      pulumi.String("TRAFFIC_POSTPAID_BY_HOUR"),
					InternetMaxBandwidthOut: pulumi.Int(100),
					PublicIpAssigned:        pulumi.Bool(true),
					SubnetId:                pulumi.String(vpcSecond.InstanceLists[0].SubnetId),
					DataDisks: kubernetes.ClusterWorkerConfigDataDiskArray{
						&kubernetes.ClusterWorkerConfigDataDiskArgs{
							DiskType: pulumi.String("CLOUD_PREMIUM"),
							DiskSize: pulumi.Int(50),
						},
					},
					EnhancedSecurityService: pulumi.Bool(false),
					EnhancedMonitorService:  pulumi.Bool(false),
					UserData:                pulumi.String("dGVzdA=="),
					Password:                pulumi.String("ZZXXccvv1212"),
					CamRoleName:             pulumi.String("CVM_QcsRole"),
				},
			},
			Labels: pulumi.AnyMap{
				"test1": pulumi.Any("test1"),
				"test2": pulumi.Any("test2"),
			},
			ExtraArgs: pulumi.StringArray{
				pulumi.String("root-dir=/var/lib/kubelet"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Use extension addons

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Vpc"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		availabilityZoneFirst := "ap-guangzhou-3"
		if param := cfg.Get("availabilityZoneFirst"); param != "" {
			availabilityZoneFirst = param
		}
		clusterCidr := "10.31.0.0/16"
		if param := cfg.Get("clusterCidr"); param != "" {
			clusterCidr = param
		}
		defaultInstanceType := "S5.SMALL1"
		if param := cfg.Get("defaultInstanceType"); param != "" {
			defaultInstanceType = param
		}
		vpcFirst, err := Vpc.GetSubnets(ctx, &vpc.GetSubnetsArgs{
			IsDefault:        pulumi.BoolRef(true),
			AvailabilityZone: pulumi.StringRef(availabilityZoneFirst),
		}, nil)
		if err != nil {
			return err
		}
		_, err = Kubernetes.NewCluster(ctx, "clusterWithAddon", &Kubernetes.ClusterArgs{
			VpcId:                pulumi.String(vpcFirst.InstanceLists[0].VpcId),
			ClusterCidr:          pulumi.String(clusterCidr),
			ClusterMaxPodNum:     pulumi.Int(32),
			ClusterName:          pulumi.String("test"),
			ClusterDesc:          pulumi.String("test cluster desc"),
			ClusterMaxServiceNum: pulumi.Int(32),
			ClusterInternet:      pulumi.Bool(true),
			ClusterDeployType:    pulumi.String("MANAGED_CLUSTER"),
			WorkerConfigs: kubernetes.ClusterWorkerConfigArray{
				&kubernetes.ClusterWorkerConfigArgs{
					Count:                   pulumi.Int(1),
					AvailabilityZone:        pulumi.String(availabilityZoneFirst),
					InstanceType:            pulumi.String(defaultInstanceType),
					SystemDiskType:          pulumi.String("CLOUD_SSD"),
					SystemDiskSize:          pulumi.Int(60),
					InternetChargeType:      pulumi.String("TRAFFIC_POSTPAID_BY_HOUR"),
					InternetMaxBandwidthOut: pulumi.Int(100),
					PublicIpAssigned:        pulumi.Bool(true),
					SubnetId:                pulumi.String(vpcFirst.InstanceLists[0].SubnetId),
					ImgId:                   pulumi.String("img-rkiynh11"),
					EnhancedSecurityService: pulumi.Bool(false),
					EnhancedMonitorService:  pulumi.Bool(false),
					UserData:                pulumi.String("dGVzdA=="),
					Password:                pulumi.String("ZZXXccvv1212"),
				},
			},
			ExtensionAddons: kubernetes.ClusterExtensionAddonArray{
				&kubernetes.ClusterExtensionAddonArgs{
					Name:  pulumi.String("NodeProblemDetectorPlus"),
					Param: pulumi.String("{\"kind\":\"NodeProblemDetector\",\"apiVersion\":\"platform.tke/v1\",\"metadata\":{\"generateName\":\"npd\"},\"spec\":{\"version\":\"v2.0.0\",\"selfCure\":true,\"uin\":\"12345\",\"subUin\":\"12345\",\"policys\":[{\"actions\":{\"CVM\":{\"reBootCVM\":true,\"retryCounts\":1},\"runtime\":{\"reStartDokcer\":true,\"reStartKubelet\":true,\"retryCounts\":1},\"nodePod\":{\"evict\":true,\"retryCounts\":1}},\"conditionType\":\"Ready\"},{\"actions\":{\"runtime\":{\"reStartDokcer\":true,\"reStartKubelet\":true,\"retryCounts\":1}},\"conditionType\":\"KubeletProblem\"},{\"actions\":{\"runtime\":{\"reStartDokcer\":true,\"reStartKubelet\":false,\"retryCounts\":1}},\"conditionType\":\"DockerdProblem\"}]}}"),
				},
				&kubernetes.ClusterExtensionAddonArgs{
					Name:  pulumi.String("OOMGuard"),
					Param: pulumi.String("{\"kind\":\"OOMGuard\",\"apiVersion\":\"platform.tke/v1\",\"metadata\":{\"generateName\":\"oom\"},\"spec\":{}}"),
				},
				&kubernetes.ClusterExtensionAddonArgs{
					Name:  pulumi.String("DNSAutoscaler"),
					Param: pulumi.String("{\"kind\":\"DNSAutoscaler\",\"apiVersion\":\"platform.tke/v1\",\"metadata\":{\"generateName\":\"da\"},\"spec\":{}}"),
				},
				&kubernetes.ClusterExtensionAddonArgs{
					Name:  pulumi.String("COS"),
					Param: pulumi.String("{\"kind\":\"COS\",\"apiVersion\":\"platform.tke/v1\",\"metadata\":{\"generateName\":\"cos\"},\"spec\":{\"version\":\"1.0.0\"}}"),
				},
				&kubernetes.ClusterExtensionAddonArgs{
					Name:  pulumi.String("CFS"),
					Param: pulumi.String("{\"kind\":\"CFS\",\"apiVersion\":\"platform.tke/v1\",\"metadata\":{\"generateName\":\"cfs\"},\"spec\":{\"version\":\"1.0.0\"}}"),
				},
				&kubernetes.ClusterExtensionAddonArgs{
					Name:  pulumi.String("CBS"),
					Param: pulumi.String("{\"kind\":\"CBS\",\"apiVersion\":\"platform.tke/v1\",\"metadata\":{\"generateName\":\"cbs\"},\"spec\":{}}"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Use node pool global config

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		availabilityZone := "ap-guangzhou-3"
		if param := cfg.Get("availabilityZone"); param != "" {
			availabilityZone = param
		}
		vpc := "vpc-dk8zmwuf"
		if param := cfg.Get("vpc"); param != "" {
			vpc = param
		}
		subnet := "subnet-pqfek0t8"
		if param := cfg.Get("subnet"); param != "" {
			subnet = param
		}
		defaultInstanceType := "SA1.LARGE8"
		if param := cfg.Get("defaultInstanceType"); param != "" {
			defaultInstanceType = param
		}
		_, err := Kubernetes.NewCluster(ctx, "testNodePoolGlobalConfig", &Kubernetes.ClusterArgs{
			VpcId:                pulumi.String(vpc),
			ClusterCidr:          pulumi.String("10.1.0.0/16"),
			ClusterMaxPodNum:     pulumi.Int(32),
			ClusterName:          pulumi.String("test"),
			ClusterDesc:          pulumi.String("test cluster desc"),
			ClusterMaxServiceNum: pulumi.Int(32),
			ClusterInternet:      pulumi.Bool(true),
			ClusterDeployType:    pulumi.String("MANAGED_CLUSTER"),
			WorkerConfigs: kubernetes.ClusterWorkerConfigArray{
				&kubernetes.ClusterWorkerConfigArgs{
					Count:                   pulumi.Int(1),
					AvailabilityZone:        pulumi.String(availabilityZone),
					InstanceType:            pulumi.String(defaultInstanceType),
					SystemDiskType:          pulumi.String("CLOUD_SSD"),
					SystemDiskSize:          pulumi.Int(60),
					InternetChargeType:      pulumi.String("TRAFFIC_POSTPAID_BY_HOUR"),
					InternetMaxBandwidthOut: pulumi.Int(100),
					PublicIpAssigned:        pulumi.Bool(true),
					SubnetId:                pulumi.String(subnet),
					DataDisks: kubernetes.ClusterWorkerConfigDataDiskArray{
						&kubernetes.ClusterWorkerConfigDataDiskArgs{
							DiskType: pulumi.String("CLOUD_PREMIUM"),
							DiskSize: pulumi.Int(50),
						},
					},
					EnhancedSecurityService: pulumi.Bool(false),
					EnhancedMonitorService:  pulumi.Bool(false),
					UserData:                pulumi.String("dGVzdA=="),
					Password:                pulumi.String("ZZXXccvv1212"),
				},
			},
			NodePoolGlobalConfigs: kubernetes.ClusterNodePoolGlobalConfigArray{
				&kubernetes.ClusterNodePoolGlobalConfigArgs{
					IsScaleInEnabled:            pulumi.Bool(true),
					Expander:                    pulumi.String("random"),
					IgnoreDaemonSetsUtilization: pulumi.Bool(true),
					MaxConcurrentScaleIn:        pulumi.Int(5),
					ScaleInDelay:                pulumi.Int(15),
					ScaleInUnneededTime:         pulumi.Int(15),
					ScaleInUtilizationThreshold: pulumi.Int(30),
					SkipNodesWithLocalStorage:   pulumi.Bool(false),
					SkipNodesWithSystemPods:     pulumi.Bool(true),
				},
			},
			Labels: pulumi.AnyMap{
				"test1": pulumi.Any("test1"),
				"test2": pulumi.Any("test2"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Using VPC-CNI network type

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		availabilityZone := "ap-guangzhou-1"
		if param := cfg.Get("availabilityZone"); param != "" {
			availabilityZone = param
		}
		vpc := "vpc-r1m1fyx5"
		if param := cfg.Get("vpc"); param != "" {
			vpc = param
		}
		defaultInstanceType := "SA2.SMALL2"
		if param := cfg.Get("defaultInstanceType"); param != "" {
			defaultInstanceType = param
		}
		_, err := Kubernetes.NewCluster(ctx, "managedCluster", &Kubernetes.ClusterArgs{
			VpcId:                pulumi.String(vpc),
			ClusterMaxPodNum:     pulumi.Int(32),
			ClusterName:          pulumi.String("test"),
			ClusterDesc:          pulumi.String("test cluster desc"),
			ClusterMaxServiceNum: pulumi.Int(256),
			ClusterInternet:      pulumi.Bool(true),
			ClusterDeployType:    pulumi.String("MANAGED_CLUSTER"),
			NetworkType:          pulumi.String("VPC-CNI"),
			EniSubnetIds: pulumi.StringArray{
				pulumi.String("subnet-bk1etlyu"),
			},
			ServiceCidr: pulumi.String("10.1.0.0/24"),
			WorkerConfigs: kubernetes.ClusterWorkerConfigArray{
				&kubernetes.ClusterWorkerConfigArgs{
					Count:                   pulumi.Int(1),
					AvailabilityZone:        pulumi.String(availabilityZone),
					InstanceType:            pulumi.String(defaultInstanceType),
					SystemDiskType:          pulumi.String("CLOUD_PREMIUM"),
					SystemDiskSize:          pulumi.Int(60),
					InternetChargeType:      pulumi.String("TRAFFIC_POSTPAID_BY_HOUR"),
					InternetMaxBandwidthOut: pulumi.Int(100),
					PublicIpAssigned:        pulumi.Bool(true),
					SubnetId:                pulumi.String("subnet-t5dv27rs"),
					DataDisks: kubernetes.ClusterWorkerConfigDataDiskArray{
						&kubernetes.ClusterWorkerConfigDataDiskArgs{
							DiskType: pulumi.String("CLOUD_PREMIUM"),
							DiskSize: pulumi.Int(50),
						},
					},
					EnhancedSecurityService: pulumi.Bool(false),
					EnhancedMonitorService:  pulumi.Bool(false),
					UserData:                pulumi.String("dGVzdA=="),
					Password:                pulumi.String("ZZXXccvv1212"),
				},
			},
			Labels: pulumi.AnyMap{
				"test1": pulumi.Any("test1"),
				"test2": pulumi.Any("test2"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Using ops options

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Kubernetes.NewCluster(ctx, "managedCluster", &Kubernetes.ClusterArgs{
			ClusterAudit: &kubernetes.ClusterClusterAuditArgs{
				Enabled:     pulumi.Bool(true),
				LogSetId:    pulumi.String(""),
				LogSetTopic: "",
			},
			EventPersistence: &kubernetes.ClusterEventPersistenceArgs{
				Enabled:     pulumi.Bool(true),
				LogSetId:    pulumi.String(""),
				LogSetTopic: "",
			},
			LogAgent: &kubernetes.ClusterLogAgentArgs{
				Enabled:        pulumi.Bool(true),
				KubeletRootDir: pulumi.String(""),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

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 {
	// If set to true, it will acquire the ClusterRole tke:admin. NOTE: this arguments cannot revoke to `false` after acquired.
	AcquireClusterAdminRole pulumi.BoolPtrInput
	// Specify cluster authentication configuration. Only available for managed cluster and `clusterVersion` >= 1.20.
	AuthOptions ClusterAuthOptionsPtrInput
	// Whether the cluster level auto upgraded, valid for managed cluster.
	AutoUpgradeClusterLevel pulumi.BoolPtrInput
	// The number of basic pods. valid when enable_customized_pod_cidr=true.
	BasePodNum pulumi.IntPtrInput
	// Claim expired seconds to recycle ENI. This field can only set when field `networkType` is 'VPC-CNI'. `claimExpiredSeconds` must greater or equal than 300 and less than 15768000.
	ClaimExpiredSeconds pulumi.IntPtrInput
	// This argument is deprecated because the TKE auto-scaling group was no longer available. Indicates whether to enable cluster node auto scaling. Default is false.
	//
	// Deprecated: This argument is deprecated because the TKE auto-scaling group was no longer available.
	ClusterAsEnabled pulumi.BoolPtrInput
	// Specify Cluster Audit config. NOTE: Please make sure your TKE CamRole have permission to access CLS service.
	ClusterAudit ClusterClusterAuditPtrInput
	// A network address block of the cluster. Different from vpc cidr and cidr of other clusters within this vpc. Must be in  10./192.168/172.[16-31] segments.
	ClusterCidr pulumi.StringPtrInput
	// Deployment type of the cluster, the available values include: 'MANAGED_CLUSTER' and 'INDEPENDENT_CLUSTER'. Default is 'MANAGED_CLUSTER'.
	ClusterDeployType pulumi.StringPtrInput
	// Description of the cluster.
	ClusterDesc pulumi.StringPtrInput
	// Customized parameters for master component,such as kube-apiserver, kube-controller-manager, kube-scheduler.
	ClusterExtraArgs ClusterClusterExtraArgsPtrInput
	// Open internet access or not. If this field is set 'true', the field below `workerConfig` must be set. Because only cluster with node is allowed enable access endpoint.
	ClusterInternet pulumi.BoolPtrInput
	// Specify security group, NOTE: This argument must not be empty if cluster internet enabled.
	ClusterInternetSecurityGroup pulumi.StringPtrInput
	// Open intranet access or not. If this field is set 'true', the field below `workerConfig` must be set. Because only cluster with node is allowed enable access endpoint.
	ClusterIntranet pulumi.BoolPtrInput
	// Subnet id who can access this independent cluster, this field must and can only set  when `clusterIntranet` is true. `clusterIntranetSubnetId` can not modify once be set.
	ClusterIntranetSubnetId pulumi.StringPtrInput
	// Indicates whether `ipvs` is enabled. Default is true. False means `iptables` is enabled.
	ClusterIpvs pulumi.BoolPtrInput
	// Specify cluster level, valid for managed cluster, use data source `Kubernetes.getClusterLevels` to query available levels. Available value examples `L5`, `L20`, `L50`, `L100`, etc.
	ClusterLevel pulumi.StringPtrInput
	// The maximum number of Pods per node in the cluster. Default is 256. The minimum value is 4. When its power unequal to 2, it will round upward to the closest power of 2.
	ClusterMaxPodNum pulumi.IntPtrInput
	// The maximum number of services in the cluster. Default is 256. The range is from 32 to 32768. When its power unequal to 2, it will round upward to the closest power of 2.
	ClusterMaxServiceNum pulumi.IntPtrInput
	// Name of the cluster.
	ClusterName pulumi.StringPtrInput
	// Operating system of the cluster, the available values include: 'centos7.6.0_x64','ubuntu18.04.1x86_64','tlinux2.4x86_64'. Default is 'tlinux2.4x86_64'.
	ClusterOs pulumi.StringPtrInput
	// Image type of the cluster os, the available values include: 'GENERAL'. Default is 'GENERAL'.
	ClusterOsType pulumi.StringPtrInput
	// Version of the cluster, Default is '1.10.5'.
	ClusterVersion pulumi.StringPtrInput
	// Runtime type of the cluster, the available values include: 'docker' and 'containerd'. Default is 'docker'.
	ContainerRuntime pulumi.StringPtrInput
	// Indicates whether cluster deletion protection is enabled. Default is false.
	DeletionProtection pulumi.BoolPtrInput
	// Docker graph path. Default is `/var/lib/docker`.
	DockerGraphPath pulumi.StringPtrInput
	// Whether to enable the custom mode of node podCIDR size. Default is false.
	EnableCustomizedPodCidr pulumi.BoolPtrInput
	// Subnet Ids for cluster with VPC-CNI network mode. This field can only set when field `networkType` is 'VPC-CNI'. `eniSubnetIds` can not empty once be set.
	EniSubnetIds pulumi.StringArrayInput
	// Specify cluster Event Persistence config. NOTE: Please make sure your TKE CamRole have permission to access CLS service.
	EventPersistence ClusterEventPersistencePtrInput
	// create tke cluster by existed instances.
	ExistInstances ClusterExistInstanceArrayInput
	// Information of the add-on to be installed.
	ExtensionAddons ClusterExtensionAddonArrayInput
	// Custom parameter information related to the node.
	ExtraArgs pulumi.StringArrayInput
	// Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it takes effect for all nodes.
	GlobeDesiredPodNum pulumi.IntPtrInput
	// Indicates whether to ignore the cluster cidr conflict error. Default is false.
	IgnoreClusterCidrConflict pulumi.BoolPtrInput
	// Indicates whether non-static ip mode is enabled. Default is false.
	IsNonStaticIpMode pulumi.BoolPtrInput
	// Cluster kube-proxy mode, the available values include: 'kube-proxy-bpf'. Default is not set.When set to kube-proxy-bpf, cluster version greater than 1.14 and with Tencent Linux 2.4 is required.
	KubeProxyMode pulumi.StringPtrInput
	// Labels of tke cluster nodes.
	Labels pulumi.MapInput
	// Specify cluster log agent config.
	LogAgent ClusterLogAgentPtrInput
	// this argument was deprecated, use `clusterInternetSecurityGroup` instead. Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field `clusterDeployType` is 'MANAGED_CLUSTER' and `clusterInternet` is true. `managedClusterInternetSecurityPolicies` can not delete or empty once be set.
	//
	// Deprecated: this argument was deprecated, use `cluster_internet_security_group` instead.
	ManagedClusterInternetSecurityPolicies pulumi.StringArrayInput
	// Deploy the machine configuration information of the 'MASTER_ETCD' service, and create <=7 units for common users.
	MasterConfigs ClusterMasterConfigArrayInput
	// Mount target. Default is not mounting.
	MountTarget pulumi.StringPtrInput
	// Cluster network type, GR or VPC-CNI. Default is GR.
	NetworkType pulumi.StringPtrInput
	// Node name type of Cluster, the available values include: 'lan-ip' and 'hostname', Default is 'lan-ip'.
	NodeNameType pulumi.StringPtrInput
	// Global config effective for all node pools.
	NodePoolGlobalConfigs ClusterNodePoolGlobalConfigArrayInput
	// Project ID, default value is 0.
	ProjectId pulumi.IntPtrInput
	// Container Runtime version.
	RuntimeVersion pulumi.StringPtrInput
	// A network address block of the service. Different from vpc cidr and cidr of other clusters within this vpc. Must be in  10./192.168/172.[16-31] segments.
	ServiceCidr pulumi.StringPtrInput
	// The tags of the cluster.
	Tags pulumi.MapInput
	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	Unschedulable pulumi.IntPtrInput
	// Indicates whether upgrade all instances when clusterVersion change. Default is false.
	UpgradeInstancesFollowCluster pulumi.BoolPtrInput
	// Vpc Id of the cluster.
	VpcId pulumi.StringInput
	// Deploy the machine configuration information of the 'WORKER' service, and create <=20 units for common users. The other 'WORK' service are added by 'tencentcloud_kubernetes_worker'.
	WorkerConfigs ClusterWorkerConfigArrayInput
}

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 ClusterAttachment

type ClusterAttachment struct {
	pulumi.CustomResourceState

	// ID of the cluster.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
	Hostname pulumi.StringPtrOutput `pulumi:"hostname"`
	// ID of the CVM instance, this cvm will reinstall the system.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// The key pair to use for the instance, it looks like skey-16jig7tx, it should be set if `password` not set.
	KeyIds pulumi.StringPtrOutput `pulumi:"keyIds"`
	// Labels of tke attachment exits CVM.
	Labels pulumi.MapOutput `pulumi:"labels"`
	// Password to access, should be set if `keyIds` not set.
	Password pulumi.StringPtrOutput `pulumi:"password"`
	// A list of security group IDs after attach to cluster.
	SecurityGroups pulumi.StringArrayOutput `pulumi:"securityGroups"`
	// State of the node.
	State pulumi.StringOutput `pulumi:"state"`
	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	Unschedulable pulumi.IntPtrOutput `pulumi:"unschedulable"`
	// Deploy the machine configuration information of the 'WORKER', commonly used to attach existing instances.
	WorkerConfig ClusterAttachmentWorkerConfigPtrOutput `pulumi:"workerConfig"`
	// Override variable worker_config, commonly used to attach existing instances.
	WorkerConfigOverrides ClusterAttachmentWorkerConfigOverridesPtrOutput `pulumi:"workerConfigOverrides"`
}

Provide a resource to attach an existing cvm to kubernetes cluster.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Images"
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Instance"
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Images"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Instance"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Vpc"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		availabilityZone := "ap-guangzhou-3"
		if param := cfg.Get("availabilityZone"); param != "" {
			availabilityZone = param
		}
		clusterCidr := "172.16.0.0/16"
		if param := cfg.Get("clusterCidr"); param != "" {
			clusterCidr = param
		}
		defaultInstanceType := "S1.SMALL1"
		if param := cfg.Get("defaultInstanceType"); param != "" {
			defaultInstanceType = param
		}
		defaultInstance, err := Images.GetInstance(ctx, &images.GetInstanceArgs{
			ImageTypes: []string{
				"PUBLIC_IMAGE",
			},
			OsName: pulumi.StringRef("centos"),
		}, nil)
		if err != nil {
			return err
		}
		vpc, err := Vpc.GetSubnets(ctx, &vpc.GetSubnetsArgs{
			IsDefault:        pulumi.BoolRef(true),
			AvailabilityZone: pulumi.StringRef(availabilityZone),
		}, nil)
		if err != nil {
			return err
		}
		_, err = Instance.GetTypes(ctx, &instance.GetTypesArgs{
			Filters: []instance.GetTypesFilter{
				instance.GetTypesFilter{
					Name: "instance-family",
					Values: []string{
						"SA2",
					},
				},
			},
			CpuCoreCount: pulumi.IntRef(8),
			MemorySize:   pulumi.IntRef(16),
		}, nil)
		if err != nil {
			return err
		}
		foo, err := Instance.NewInstance(ctx, "foo", &Instance.InstanceArgs{
			InstanceName:     pulumi.String("tf-auto-test-1-1"),
			AvailabilityZone: pulumi.String(availabilityZone),
			ImageId:          pulumi.String(defaultInstance.Images[0].ImageId),
			InstanceType:     pulumi.String(defaultInstanceType),
			SystemDiskType:   pulumi.String("CLOUD_PREMIUM"),
			SystemDiskSize:   pulumi.Int(50),
		})
		if err != nil {
			return err
		}
		managedCluster, err := Kubernetes.NewCluster(ctx, "managedCluster", &Kubernetes.ClusterArgs{
			VpcId:                pulumi.String(vpc.InstanceLists[0].VpcId),
			ClusterCidr:          pulumi.String("10.1.0.0/16"),
			ClusterMaxPodNum:     pulumi.Int(32),
			ClusterName:          pulumi.String("keep"),
			ClusterDesc:          pulumi.String("test cluster desc"),
			ClusterMaxServiceNum: pulumi.Int(32),
			WorkerConfigs: kubernetes.ClusterWorkerConfigArray{
				&kubernetes.ClusterWorkerConfigArgs{
					Count:                   pulumi.Int(1),
					AvailabilityZone:        pulumi.String(availabilityZone),
					InstanceType:            pulumi.String(defaultInstanceType),
					SystemDiskType:          pulumi.String("CLOUD_SSD"),
					SystemDiskSize:          pulumi.Int(60),
					InternetChargeType:      pulumi.String("TRAFFIC_POSTPAID_BY_HOUR"),
					InternetMaxBandwidthOut: pulumi.Int(100),
					PublicIpAssigned:        pulumi.Bool(true),
					SubnetId:                pulumi.String(vpc.InstanceLists[0].SubnetId),
					DataDisks: kubernetes.ClusterWorkerConfigDataDiskArray{
						&kubernetes.ClusterWorkerConfigDataDiskArgs{
							DiskType: pulumi.String("CLOUD_PREMIUM"),
							DiskSize: pulumi.Int(50),
						},
					},
					EnhancedSecurityService: pulumi.Bool(false),
					EnhancedMonitorService:  pulumi.Bool(false),
					UserData:                pulumi.String("dGVzdA=="),
					Password:                pulumi.String("ZZXXccvv1212"),
				},
			},
			ClusterDeployType: pulumi.String("MANAGED_CLUSTER"),
		})
		if err != nil {
			return err
		}
		_, err = Kubernetes.NewClusterAttachment(ctx, "testAttach", &Kubernetes.ClusterAttachmentArgs{
			ClusterId:  managedCluster.ID(),
			InstanceId: foo.ID(),
			Password:   pulumi.String("Lo4wbdit"),
			Labels: pulumi.AnyMap{
				"test1": pulumi.Any("test1"),
				"test2": pulumi.Any("test2"),
			},
			WorkerConfigOverrides: &kubernetes.ClusterAttachmentWorkerConfigOverridesArgs{
				DesiredPodNum: pulumi.Int(8),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetClusterAttachment

func GetClusterAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ClusterAttachmentState, opts ...pulumi.ResourceOption) (*ClusterAttachment, error)

GetClusterAttachment gets an existing ClusterAttachment 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 NewClusterAttachment

func NewClusterAttachment(ctx *pulumi.Context,
	name string, args *ClusterAttachmentArgs, opts ...pulumi.ResourceOption) (*ClusterAttachment, error)

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

func (*ClusterAttachment) ElementType

func (*ClusterAttachment) ElementType() reflect.Type

func (*ClusterAttachment) ToClusterAttachmentOutput

func (i *ClusterAttachment) ToClusterAttachmentOutput() ClusterAttachmentOutput

func (*ClusterAttachment) ToClusterAttachmentOutputWithContext

func (i *ClusterAttachment) ToClusterAttachmentOutputWithContext(ctx context.Context) ClusterAttachmentOutput

type ClusterAttachmentArgs

type ClusterAttachmentArgs struct {
	// ID of the cluster.
	ClusterId pulumi.StringInput
	// The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
	Hostname pulumi.StringPtrInput
	// ID of the CVM instance, this cvm will reinstall the system.
	InstanceId pulumi.StringInput
	// The key pair to use for the instance, it looks like skey-16jig7tx, it should be set if `password` not set.
	KeyIds pulumi.StringPtrInput
	// Labels of tke attachment exits CVM.
	Labels pulumi.MapInput
	// Password to access, should be set if `keyIds` not set.
	Password pulumi.StringPtrInput
	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	Unschedulable pulumi.IntPtrInput
	// Deploy the machine configuration information of the 'WORKER', commonly used to attach existing instances.
	WorkerConfig ClusterAttachmentWorkerConfigPtrInput
	// Override variable worker_config, commonly used to attach existing instances.
	WorkerConfigOverrides ClusterAttachmentWorkerConfigOverridesPtrInput
}

The set of arguments for constructing a ClusterAttachment resource.

func (ClusterAttachmentArgs) ElementType

func (ClusterAttachmentArgs) ElementType() reflect.Type

type ClusterAttachmentArray

type ClusterAttachmentArray []ClusterAttachmentInput

func (ClusterAttachmentArray) ElementType

func (ClusterAttachmentArray) ElementType() reflect.Type

func (ClusterAttachmentArray) ToClusterAttachmentArrayOutput

func (i ClusterAttachmentArray) ToClusterAttachmentArrayOutput() ClusterAttachmentArrayOutput

func (ClusterAttachmentArray) ToClusterAttachmentArrayOutputWithContext

func (i ClusterAttachmentArray) ToClusterAttachmentArrayOutputWithContext(ctx context.Context) ClusterAttachmentArrayOutput

type ClusterAttachmentArrayInput

type ClusterAttachmentArrayInput interface {
	pulumi.Input

	ToClusterAttachmentArrayOutput() ClusterAttachmentArrayOutput
	ToClusterAttachmentArrayOutputWithContext(context.Context) ClusterAttachmentArrayOutput
}

ClusterAttachmentArrayInput is an input type that accepts ClusterAttachmentArray and ClusterAttachmentArrayOutput values. You can construct a concrete instance of `ClusterAttachmentArrayInput` via:

ClusterAttachmentArray{ ClusterAttachmentArgs{...} }

type ClusterAttachmentArrayOutput

type ClusterAttachmentArrayOutput struct{ *pulumi.OutputState }

func (ClusterAttachmentArrayOutput) ElementType

func (ClusterAttachmentArrayOutput) Index

func (ClusterAttachmentArrayOutput) ToClusterAttachmentArrayOutput

func (o ClusterAttachmentArrayOutput) ToClusterAttachmentArrayOutput() ClusterAttachmentArrayOutput

func (ClusterAttachmentArrayOutput) ToClusterAttachmentArrayOutputWithContext

func (o ClusterAttachmentArrayOutput) ToClusterAttachmentArrayOutputWithContext(ctx context.Context) ClusterAttachmentArrayOutput

type ClusterAttachmentInput

type ClusterAttachmentInput interface {
	pulumi.Input

	ToClusterAttachmentOutput() ClusterAttachmentOutput
	ToClusterAttachmentOutputWithContext(ctx context.Context) ClusterAttachmentOutput
}

type ClusterAttachmentMap

type ClusterAttachmentMap map[string]ClusterAttachmentInput

func (ClusterAttachmentMap) ElementType

func (ClusterAttachmentMap) ElementType() reflect.Type

func (ClusterAttachmentMap) ToClusterAttachmentMapOutput

func (i ClusterAttachmentMap) ToClusterAttachmentMapOutput() ClusterAttachmentMapOutput

func (ClusterAttachmentMap) ToClusterAttachmentMapOutputWithContext

func (i ClusterAttachmentMap) ToClusterAttachmentMapOutputWithContext(ctx context.Context) ClusterAttachmentMapOutput

type ClusterAttachmentMapInput

type ClusterAttachmentMapInput interface {
	pulumi.Input

	ToClusterAttachmentMapOutput() ClusterAttachmentMapOutput
	ToClusterAttachmentMapOutputWithContext(context.Context) ClusterAttachmentMapOutput
}

ClusterAttachmentMapInput is an input type that accepts ClusterAttachmentMap and ClusterAttachmentMapOutput values. You can construct a concrete instance of `ClusterAttachmentMapInput` via:

ClusterAttachmentMap{ "key": ClusterAttachmentArgs{...} }

type ClusterAttachmentMapOutput

type ClusterAttachmentMapOutput struct{ *pulumi.OutputState }

func (ClusterAttachmentMapOutput) ElementType

func (ClusterAttachmentMapOutput) ElementType() reflect.Type

func (ClusterAttachmentMapOutput) MapIndex

func (ClusterAttachmentMapOutput) ToClusterAttachmentMapOutput

func (o ClusterAttachmentMapOutput) ToClusterAttachmentMapOutput() ClusterAttachmentMapOutput

func (ClusterAttachmentMapOutput) ToClusterAttachmentMapOutputWithContext

func (o ClusterAttachmentMapOutput) ToClusterAttachmentMapOutputWithContext(ctx context.Context) ClusterAttachmentMapOutput

type ClusterAttachmentOutput

type ClusterAttachmentOutput struct{ *pulumi.OutputState }

func (ClusterAttachmentOutput) ClusterId

ID of the cluster.

func (ClusterAttachmentOutput) ElementType

func (ClusterAttachmentOutput) ElementType() reflect.Type

func (ClusterAttachmentOutput) Hostname

The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).

func (ClusterAttachmentOutput) InstanceId

ID of the CVM instance, this cvm will reinstall the system.

func (ClusterAttachmentOutput) KeyIds

The key pair to use for the instance, it looks like skey-16jig7tx, it should be set if `password` not set.

func (ClusterAttachmentOutput) Labels

Labels of tke attachment exits CVM.

func (ClusterAttachmentOutput) Password

Password to access, should be set if `keyIds` not set.

func (ClusterAttachmentOutput) SecurityGroups

A list of security group IDs after attach to cluster.

func (ClusterAttachmentOutput) State

State of the node.

func (ClusterAttachmentOutput) ToClusterAttachmentOutput

func (o ClusterAttachmentOutput) ToClusterAttachmentOutput() ClusterAttachmentOutput

func (ClusterAttachmentOutput) ToClusterAttachmentOutputWithContext

func (o ClusterAttachmentOutput) ToClusterAttachmentOutputWithContext(ctx context.Context) ClusterAttachmentOutput

func (ClusterAttachmentOutput) Unschedulable

func (o ClusterAttachmentOutput) Unschedulable() pulumi.IntPtrOutput

Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.

func (ClusterAttachmentOutput) WorkerConfig

Deploy the machine configuration information of the 'WORKER', commonly used to attach existing instances.

func (ClusterAttachmentOutput) WorkerConfigOverrides

Override variable worker_config, commonly used to attach existing instances.

type ClusterAttachmentState

type ClusterAttachmentState struct {
	// ID of the cluster.
	ClusterId pulumi.StringPtrInput
	// The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
	Hostname pulumi.StringPtrInput
	// ID of the CVM instance, this cvm will reinstall the system.
	InstanceId pulumi.StringPtrInput
	// The key pair to use for the instance, it looks like skey-16jig7tx, it should be set if `password` not set.
	KeyIds pulumi.StringPtrInput
	// Labels of tke attachment exits CVM.
	Labels pulumi.MapInput
	// Password to access, should be set if `keyIds` not set.
	Password pulumi.StringPtrInput
	// A list of security group IDs after attach to cluster.
	SecurityGroups pulumi.StringArrayInput
	// State of the node.
	State pulumi.StringPtrInput
	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	Unschedulable pulumi.IntPtrInput
	// Deploy the machine configuration information of the 'WORKER', commonly used to attach existing instances.
	WorkerConfig ClusterAttachmentWorkerConfigPtrInput
	// Override variable worker_config, commonly used to attach existing instances.
	WorkerConfigOverrides ClusterAttachmentWorkerConfigOverridesPtrInput
}

func (ClusterAttachmentState) ElementType

func (ClusterAttachmentState) ElementType() reflect.Type

type ClusterAttachmentWorkerConfig

type ClusterAttachmentWorkerConfig struct {
	// Configurations of data disk.
	DataDisks []ClusterAttachmentWorkerConfigDataDisk `pulumi:"dataDisks"`
	// Indicate to set desired pod number in node. valid when the cluster is podCIDR.
	DesiredPodNum *int `pulumi:"desiredPodNum"`
	// Docker graph path. Default is `/var/lib/docker`.
	DockerGraphPath *string `pulumi:"dockerGraphPath"`
	// Custom parameter information related to the node. This is a white-list parameter.
	ExtraArgs []string `pulumi:"extraArgs"`
	// Indicate to schedule the adding node or not. Default is true.
	IsSchedule *bool `pulumi:"isSchedule"`
	// Mount target. Default is not mounting.
	MountTarget *string `pulumi:"mountTarget"`
	// Base64-encoded User Data text, the length limit is 16KB.
	UserData *string `pulumi:"userData"`
}

type ClusterAttachmentWorkerConfigArgs

type ClusterAttachmentWorkerConfigArgs struct {
	// Configurations of data disk.
	DataDisks ClusterAttachmentWorkerConfigDataDiskArrayInput `pulumi:"dataDisks"`
	// Indicate to set desired pod number in node. valid when the cluster is podCIDR.
	DesiredPodNum pulumi.IntPtrInput `pulumi:"desiredPodNum"`
	// Docker graph path. Default is `/var/lib/docker`.
	DockerGraphPath pulumi.StringPtrInput `pulumi:"dockerGraphPath"`
	// Custom parameter information related to the node. This is a white-list parameter.
	ExtraArgs pulumi.StringArrayInput `pulumi:"extraArgs"`
	// Indicate to schedule the adding node or not. Default is true.
	IsSchedule pulumi.BoolPtrInput `pulumi:"isSchedule"`
	// Mount target. Default is not mounting.
	MountTarget pulumi.StringPtrInput `pulumi:"mountTarget"`
	// Base64-encoded User Data text, the length limit is 16KB.
	UserData pulumi.StringPtrInput `pulumi:"userData"`
}

func (ClusterAttachmentWorkerConfigArgs) ElementType

func (ClusterAttachmentWorkerConfigArgs) ToClusterAttachmentWorkerConfigOutput

func (i ClusterAttachmentWorkerConfigArgs) ToClusterAttachmentWorkerConfigOutput() ClusterAttachmentWorkerConfigOutput

func (ClusterAttachmentWorkerConfigArgs) ToClusterAttachmentWorkerConfigOutputWithContext

func (i ClusterAttachmentWorkerConfigArgs) ToClusterAttachmentWorkerConfigOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOutput

func (ClusterAttachmentWorkerConfigArgs) ToClusterAttachmentWorkerConfigPtrOutput

func (i ClusterAttachmentWorkerConfigArgs) ToClusterAttachmentWorkerConfigPtrOutput() ClusterAttachmentWorkerConfigPtrOutput

func (ClusterAttachmentWorkerConfigArgs) ToClusterAttachmentWorkerConfigPtrOutputWithContext

func (i ClusterAttachmentWorkerConfigArgs) ToClusterAttachmentWorkerConfigPtrOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigPtrOutput

type ClusterAttachmentWorkerConfigDataDisk

type ClusterAttachmentWorkerConfigDataDisk struct {
	// Indicate whether to auto format and mount or not. Default is `false`.
	AutoFormatAndMount *bool `pulumi:"autoFormatAndMount"`
	// The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
	DiskPartition *string `pulumi:"diskPartition"`
	// Volume of disk in GB. Default is `0`.
	DiskSize *int `pulumi:"diskSize"`
	// Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD`.
	DiskType *string `pulumi:"diskType"`
	// File system, e.g. `ext3/ext4/xfs`.
	FileSystem *string `pulumi:"fileSystem"`
	// Mount target.
	MountTarget *string `pulumi:"mountTarget"`
}

type ClusterAttachmentWorkerConfigDataDiskArgs

type ClusterAttachmentWorkerConfigDataDiskArgs struct {
	// Indicate whether to auto format and mount or not. Default is `false`.
	AutoFormatAndMount pulumi.BoolPtrInput `pulumi:"autoFormatAndMount"`
	// The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
	DiskPartition pulumi.StringPtrInput `pulumi:"diskPartition"`
	// Volume of disk in GB. Default is `0`.
	DiskSize pulumi.IntPtrInput `pulumi:"diskSize"`
	// Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD`.
	DiskType pulumi.StringPtrInput `pulumi:"diskType"`
	// File system, e.g. `ext3/ext4/xfs`.
	FileSystem pulumi.StringPtrInput `pulumi:"fileSystem"`
	// Mount target.
	MountTarget pulumi.StringPtrInput `pulumi:"mountTarget"`
}

func (ClusterAttachmentWorkerConfigDataDiskArgs) ElementType

func (ClusterAttachmentWorkerConfigDataDiskArgs) ToClusterAttachmentWorkerConfigDataDiskOutput

func (i ClusterAttachmentWorkerConfigDataDiskArgs) ToClusterAttachmentWorkerConfigDataDiskOutput() ClusterAttachmentWorkerConfigDataDiskOutput

func (ClusterAttachmentWorkerConfigDataDiskArgs) ToClusterAttachmentWorkerConfigDataDiskOutputWithContext

func (i ClusterAttachmentWorkerConfigDataDiskArgs) ToClusterAttachmentWorkerConfigDataDiskOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigDataDiskOutput

type ClusterAttachmentWorkerConfigDataDiskArray

type ClusterAttachmentWorkerConfigDataDiskArray []ClusterAttachmentWorkerConfigDataDiskInput

func (ClusterAttachmentWorkerConfigDataDiskArray) ElementType

func (ClusterAttachmentWorkerConfigDataDiskArray) ToClusterAttachmentWorkerConfigDataDiskArrayOutput

func (i ClusterAttachmentWorkerConfigDataDiskArray) ToClusterAttachmentWorkerConfigDataDiskArrayOutput() ClusterAttachmentWorkerConfigDataDiskArrayOutput

func (ClusterAttachmentWorkerConfigDataDiskArray) ToClusterAttachmentWorkerConfigDataDiskArrayOutputWithContext

func (i ClusterAttachmentWorkerConfigDataDiskArray) ToClusterAttachmentWorkerConfigDataDiskArrayOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigDataDiskArrayOutput

type ClusterAttachmentWorkerConfigDataDiskArrayInput

type ClusterAttachmentWorkerConfigDataDiskArrayInput interface {
	pulumi.Input

	ToClusterAttachmentWorkerConfigDataDiskArrayOutput() ClusterAttachmentWorkerConfigDataDiskArrayOutput
	ToClusterAttachmentWorkerConfigDataDiskArrayOutputWithContext(context.Context) ClusterAttachmentWorkerConfigDataDiskArrayOutput
}

ClusterAttachmentWorkerConfigDataDiskArrayInput is an input type that accepts ClusterAttachmentWorkerConfigDataDiskArray and ClusterAttachmentWorkerConfigDataDiskArrayOutput values. You can construct a concrete instance of `ClusterAttachmentWorkerConfigDataDiskArrayInput` via:

ClusterAttachmentWorkerConfigDataDiskArray{ ClusterAttachmentWorkerConfigDataDiskArgs{...} }

type ClusterAttachmentWorkerConfigDataDiskArrayOutput

type ClusterAttachmentWorkerConfigDataDiskArrayOutput struct{ *pulumi.OutputState }

func (ClusterAttachmentWorkerConfigDataDiskArrayOutput) ElementType

func (ClusterAttachmentWorkerConfigDataDiskArrayOutput) Index

func (ClusterAttachmentWorkerConfigDataDiskArrayOutput) ToClusterAttachmentWorkerConfigDataDiskArrayOutput

func (o ClusterAttachmentWorkerConfigDataDiskArrayOutput) ToClusterAttachmentWorkerConfigDataDiskArrayOutput() ClusterAttachmentWorkerConfigDataDiskArrayOutput

func (ClusterAttachmentWorkerConfigDataDiskArrayOutput) ToClusterAttachmentWorkerConfigDataDiskArrayOutputWithContext

func (o ClusterAttachmentWorkerConfigDataDiskArrayOutput) ToClusterAttachmentWorkerConfigDataDiskArrayOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigDataDiskArrayOutput

type ClusterAttachmentWorkerConfigDataDiskInput

type ClusterAttachmentWorkerConfigDataDiskInput interface {
	pulumi.Input

	ToClusterAttachmentWorkerConfigDataDiskOutput() ClusterAttachmentWorkerConfigDataDiskOutput
	ToClusterAttachmentWorkerConfigDataDiskOutputWithContext(context.Context) ClusterAttachmentWorkerConfigDataDiskOutput
}

ClusterAttachmentWorkerConfigDataDiskInput is an input type that accepts ClusterAttachmentWorkerConfigDataDiskArgs and ClusterAttachmentWorkerConfigDataDiskOutput values. You can construct a concrete instance of `ClusterAttachmentWorkerConfigDataDiskInput` via:

ClusterAttachmentWorkerConfigDataDiskArgs{...}

type ClusterAttachmentWorkerConfigDataDiskOutput

type ClusterAttachmentWorkerConfigDataDiskOutput struct{ *pulumi.OutputState }

func (ClusterAttachmentWorkerConfigDataDiskOutput) AutoFormatAndMount

Indicate whether to auto format and mount or not. Default is `false`.

func (ClusterAttachmentWorkerConfigDataDiskOutput) DiskPartition

The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.

func (ClusterAttachmentWorkerConfigDataDiskOutput) DiskSize

Volume of disk in GB. Default is `0`.

func (ClusterAttachmentWorkerConfigDataDiskOutput) DiskType

Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD`.

func (ClusterAttachmentWorkerConfigDataDiskOutput) ElementType

func (ClusterAttachmentWorkerConfigDataDiskOutput) FileSystem

File system, e.g. `ext3/ext4/xfs`.

func (ClusterAttachmentWorkerConfigDataDiskOutput) MountTarget

Mount target.

func (ClusterAttachmentWorkerConfigDataDiskOutput) ToClusterAttachmentWorkerConfigDataDiskOutput

func (o ClusterAttachmentWorkerConfigDataDiskOutput) ToClusterAttachmentWorkerConfigDataDiskOutput() ClusterAttachmentWorkerConfigDataDiskOutput

func (ClusterAttachmentWorkerConfigDataDiskOutput) ToClusterAttachmentWorkerConfigDataDiskOutputWithContext

func (o ClusterAttachmentWorkerConfigDataDiskOutput) ToClusterAttachmentWorkerConfigDataDiskOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigDataDiskOutput

type ClusterAttachmentWorkerConfigInput

type ClusterAttachmentWorkerConfigInput interface {
	pulumi.Input

	ToClusterAttachmentWorkerConfigOutput() ClusterAttachmentWorkerConfigOutput
	ToClusterAttachmentWorkerConfigOutputWithContext(context.Context) ClusterAttachmentWorkerConfigOutput
}

ClusterAttachmentWorkerConfigInput is an input type that accepts ClusterAttachmentWorkerConfigArgs and ClusterAttachmentWorkerConfigOutput values. You can construct a concrete instance of `ClusterAttachmentWorkerConfigInput` via:

ClusterAttachmentWorkerConfigArgs{...}

type ClusterAttachmentWorkerConfigOutput

type ClusterAttachmentWorkerConfigOutput struct{ *pulumi.OutputState }

func (ClusterAttachmentWorkerConfigOutput) DataDisks

Configurations of data disk.

func (ClusterAttachmentWorkerConfigOutput) DesiredPodNum

Indicate to set desired pod number in node. valid when the cluster is podCIDR.

func (ClusterAttachmentWorkerConfigOutput) DockerGraphPath

Docker graph path. Default is `/var/lib/docker`.

func (ClusterAttachmentWorkerConfigOutput) ElementType

func (ClusterAttachmentWorkerConfigOutput) ExtraArgs

Custom parameter information related to the node. This is a white-list parameter.

func (ClusterAttachmentWorkerConfigOutput) IsSchedule

Indicate to schedule the adding node or not. Default is true.

func (ClusterAttachmentWorkerConfigOutput) MountTarget

Mount target. Default is not mounting.

func (ClusterAttachmentWorkerConfigOutput) ToClusterAttachmentWorkerConfigOutput

func (o ClusterAttachmentWorkerConfigOutput) ToClusterAttachmentWorkerConfigOutput() ClusterAttachmentWorkerConfigOutput

func (ClusterAttachmentWorkerConfigOutput) ToClusterAttachmentWorkerConfigOutputWithContext

func (o ClusterAttachmentWorkerConfigOutput) ToClusterAttachmentWorkerConfigOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOutput

func (ClusterAttachmentWorkerConfigOutput) ToClusterAttachmentWorkerConfigPtrOutput

func (o ClusterAttachmentWorkerConfigOutput) ToClusterAttachmentWorkerConfigPtrOutput() ClusterAttachmentWorkerConfigPtrOutput

func (ClusterAttachmentWorkerConfigOutput) ToClusterAttachmentWorkerConfigPtrOutputWithContext

func (o ClusterAttachmentWorkerConfigOutput) ToClusterAttachmentWorkerConfigPtrOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigPtrOutput

func (ClusterAttachmentWorkerConfigOutput) UserData

Base64-encoded User Data text, the length limit is 16KB.

type ClusterAttachmentWorkerConfigOverrides

type ClusterAttachmentWorkerConfigOverrides struct {
	// Configurations of data disk.
	DataDisks []ClusterAttachmentWorkerConfigOverridesDataDisk `pulumi:"dataDisks"`
	// Indicate to set desired pod number in node. valid when the cluster is podCIDR.
	DesiredPodNum *int `pulumi:"desiredPodNum"`
	// Docker graph path. Default is `/var/lib/docker`.
	DockerGraphPath *string `pulumi:"dockerGraphPath"`
	// Custom parameter information related to the node. This is a white-list parameter.
	ExtraArgs []string `pulumi:"extraArgs"`
	// Indicate to schedule the adding node or not. Default is true.
	IsSchedule *bool `pulumi:"isSchedule"`
	// Mount target. Default is not mounting.
	MountTarget *string `pulumi:"mountTarget"`
	// Base64-encoded User Data text, the length limit is 16KB.
	UserData *string `pulumi:"userData"`
}

type ClusterAttachmentWorkerConfigOverridesArgs

type ClusterAttachmentWorkerConfigOverridesArgs struct {
	// Configurations of data disk.
	DataDisks ClusterAttachmentWorkerConfigOverridesDataDiskArrayInput `pulumi:"dataDisks"`
	// Indicate to set desired pod number in node. valid when the cluster is podCIDR.
	DesiredPodNum pulumi.IntPtrInput `pulumi:"desiredPodNum"`
	// Docker graph path. Default is `/var/lib/docker`.
	DockerGraphPath pulumi.StringPtrInput `pulumi:"dockerGraphPath"`
	// Custom parameter information related to the node. This is a white-list parameter.
	ExtraArgs pulumi.StringArrayInput `pulumi:"extraArgs"`
	// Indicate to schedule the adding node or not. Default is true.
	IsSchedule pulumi.BoolPtrInput `pulumi:"isSchedule"`
	// Mount target. Default is not mounting.
	MountTarget pulumi.StringPtrInput `pulumi:"mountTarget"`
	// Base64-encoded User Data text, the length limit is 16KB.
	UserData pulumi.StringPtrInput `pulumi:"userData"`
}

func (ClusterAttachmentWorkerConfigOverridesArgs) ElementType

func (ClusterAttachmentWorkerConfigOverridesArgs) ToClusterAttachmentWorkerConfigOverridesOutput

func (i ClusterAttachmentWorkerConfigOverridesArgs) ToClusterAttachmentWorkerConfigOverridesOutput() ClusterAttachmentWorkerConfigOverridesOutput

func (ClusterAttachmentWorkerConfigOverridesArgs) ToClusterAttachmentWorkerConfigOverridesOutputWithContext

func (i ClusterAttachmentWorkerConfigOverridesArgs) ToClusterAttachmentWorkerConfigOverridesOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOverridesOutput

func (ClusterAttachmentWorkerConfigOverridesArgs) ToClusterAttachmentWorkerConfigOverridesPtrOutput

func (i ClusterAttachmentWorkerConfigOverridesArgs) ToClusterAttachmentWorkerConfigOverridesPtrOutput() ClusterAttachmentWorkerConfigOverridesPtrOutput

func (ClusterAttachmentWorkerConfigOverridesArgs) ToClusterAttachmentWorkerConfigOverridesPtrOutputWithContext

func (i ClusterAttachmentWorkerConfigOverridesArgs) ToClusterAttachmentWorkerConfigOverridesPtrOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOverridesPtrOutput

type ClusterAttachmentWorkerConfigOverridesDataDisk

type ClusterAttachmentWorkerConfigOverridesDataDisk struct {
	// Indicate whether to auto format and mount or not. Default is `false`.
	AutoFormatAndMount *bool `pulumi:"autoFormatAndMount"`
	// The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
	DiskPartition *string `pulumi:"diskPartition"`
	// Volume of disk in GB. Default is `0`.
	DiskSize *int `pulumi:"diskSize"`
	// Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD`.
	DiskType *string `pulumi:"diskType"`
	// File system, e.g. `ext3/ext4/xfs`.
	FileSystem *string `pulumi:"fileSystem"`
	// Mount target.
	MountTarget *string `pulumi:"mountTarget"`
}

type ClusterAttachmentWorkerConfigOverridesDataDiskArgs

type ClusterAttachmentWorkerConfigOverridesDataDiskArgs struct {
	// Indicate whether to auto format and mount or not. Default is `false`.
	AutoFormatAndMount pulumi.BoolPtrInput `pulumi:"autoFormatAndMount"`
	// The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
	DiskPartition pulumi.StringPtrInput `pulumi:"diskPartition"`
	// Volume of disk in GB. Default is `0`.
	DiskSize pulumi.IntPtrInput `pulumi:"diskSize"`
	// Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD`.
	DiskType pulumi.StringPtrInput `pulumi:"diskType"`
	// File system, e.g. `ext3/ext4/xfs`.
	FileSystem pulumi.StringPtrInput `pulumi:"fileSystem"`
	// Mount target.
	MountTarget pulumi.StringPtrInput `pulumi:"mountTarget"`
}

func (ClusterAttachmentWorkerConfigOverridesDataDiskArgs) ElementType

func (ClusterAttachmentWorkerConfigOverridesDataDiskArgs) ToClusterAttachmentWorkerConfigOverridesDataDiskOutput

func (i ClusterAttachmentWorkerConfigOverridesDataDiskArgs) ToClusterAttachmentWorkerConfigOverridesDataDiskOutput() ClusterAttachmentWorkerConfigOverridesDataDiskOutput

func (ClusterAttachmentWorkerConfigOverridesDataDiskArgs) ToClusterAttachmentWorkerConfigOverridesDataDiskOutputWithContext

func (i ClusterAttachmentWorkerConfigOverridesDataDiskArgs) ToClusterAttachmentWorkerConfigOverridesDataDiskOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOverridesDataDiskOutput

type ClusterAttachmentWorkerConfigOverridesDataDiskArray

type ClusterAttachmentWorkerConfigOverridesDataDiskArray []ClusterAttachmentWorkerConfigOverridesDataDiskInput

func (ClusterAttachmentWorkerConfigOverridesDataDiskArray) ElementType

func (ClusterAttachmentWorkerConfigOverridesDataDiskArray) ToClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput

func (i ClusterAttachmentWorkerConfigOverridesDataDiskArray) ToClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput() ClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput

func (ClusterAttachmentWorkerConfigOverridesDataDiskArray) ToClusterAttachmentWorkerConfigOverridesDataDiskArrayOutputWithContext

func (i ClusterAttachmentWorkerConfigOverridesDataDiskArray) ToClusterAttachmentWorkerConfigOverridesDataDiskArrayOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput

type ClusterAttachmentWorkerConfigOverridesDataDiskArrayInput

type ClusterAttachmentWorkerConfigOverridesDataDiskArrayInput interface {
	pulumi.Input

	ToClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput() ClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput
	ToClusterAttachmentWorkerConfigOverridesDataDiskArrayOutputWithContext(context.Context) ClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput
}

ClusterAttachmentWorkerConfigOverridesDataDiskArrayInput is an input type that accepts ClusterAttachmentWorkerConfigOverridesDataDiskArray and ClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput values. You can construct a concrete instance of `ClusterAttachmentWorkerConfigOverridesDataDiskArrayInput` via:

ClusterAttachmentWorkerConfigOverridesDataDiskArray{ ClusterAttachmentWorkerConfigOverridesDataDiskArgs{...} }

type ClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput

type ClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput struct{ *pulumi.OutputState }

func (ClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput) ElementType

func (ClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput) Index

func (ClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput) ToClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput

func (ClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput) ToClusterAttachmentWorkerConfigOverridesDataDiskArrayOutputWithContext

func (o ClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput) ToClusterAttachmentWorkerConfigOverridesDataDiskArrayOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput

type ClusterAttachmentWorkerConfigOverridesDataDiskInput

type ClusterAttachmentWorkerConfigOverridesDataDiskInput interface {
	pulumi.Input

	ToClusterAttachmentWorkerConfigOverridesDataDiskOutput() ClusterAttachmentWorkerConfigOverridesDataDiskOutput
	ToClusterAttachmentWorkerConfigOverridesDataDiskOutputWithContext(context.Context) ClusterAttachmentWorkerConfigOverridesDataDiskOutput
}

ClusterAttachmentWorkerConfigOverridesDataDiskInput is an input type that accepts ClusterAttachmentWorkerConfigOverridesDataDiskArgs and ClusterAttachmentWorkerConfigOverridesDataDiskOutput values. You can construct a concrete instance of `ClusterAttachmentWorkerConfigOverridesDataDiskInput` via:

ClusterAttachmentWorkerConfigOverridesDataDiskArgs{...}

type ClusterAttachmentWorkerConfigOverridesDataDiskOutput

type ClusterAttachmentWorkerConfigOverridesDataDiskOutput struct{ *pulumi.OutputState }

func (ClusterAttachmentWorkerConfigOverridesDataDiskOutput) AutoFormatAndMount

Indicate whether to auto format and mount or not. Default is `false`.

func (ClusterAttachmentWorkerConfigOverridesDataDiskOutput) DiskPartition

The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.

func (ClusterAttachmentWorkerConfigOverridesDataDiskOutput) DiskSize

Volume of disk in GB. Default is `0`.

func (ClusterAttachmentWorkerConfigOverridesDataDiskOutput) DiskType

Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD`.

func (ClusterAttachmentWorkerConfigOverridesDataDiskOutput) ElementType

func (ClusterAttachmentWorkerConfigOverridesDataDiskOutput) FileSystem

File system, e.g. `ext3/ext4/xfs`.

func (ClusterAttachmentWorkerConfigOverridesDataDiskOutput) MountTarget

Mount target.

func (ClusterAttachmentWorkerConfigOverridesDataDiskOutput) ToClusterAttachmentWorkerConfigOverridesDataDiskOutput

func (ClusterAttachmentWorkerConfigOverridesDataDiskOutput) ToClusterAttachmentWorkerConfigOverridesDataDiskOutputWithContext

func (o ClusterAttachmentWorkerConfigOverridesDataDiskOutput) ToClusterAttachmentWorkerConfigOverridesDataDiskOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOverridesDataDiskOutput

type ClusterAttachmentWorkerConfigOverridesInput

type ClusterAttachmentWorkerConfigOverridesInput interface {
	pulumi.Input

	ToClusterAttachmentWorkerConfigOverridesOutput() ClusterAttachmentWorkerConfigOverridesOutput
	ToClusterAttachmentWorkerConfigOverridesOutputWithContext(context.Context) ClusterAttachmentWorkerConfigOverridesOutput
}

ClusterAttachmentWorkerConfigOverridesInput is an input type that accepts ClusterAttachmentWorkerConfigOverridesArgs and ClusterAttachmentWorkerConfigOverridesOutput values. You can construct a concrete instance of `ClusterAttachmentWorkerConfigOverridesInput` via:

ClusterAttachmentWorkerConfigOverridesArgs{...}

type ClusterAttachmentWorkerConfigOverridesOutput

type ClusterAttachmentWorkerConfigOverridesOutput struct{ *pulumi.OutputState }

func (ClusterAttachmentWorkerConfigOverridesOutput) DataDisks

Configurations of data disk.

func (ClusterAttachmentWorkerConfigOverridesOutput) DesiredPodNum

Indicate to set desired pod number in node. valid when the cluster is podCIDR.

func (ClusterAttachmentWorkerConfigOverridesOutput) DockerGraphPath

Docker graph path. Default is `/var/lib/docker`.

func (ClusterAttachmentWorkerConfigOverridesOutput) ElementType

func (ClusterAttachmentWorkerConfigOverridesOutput) ExtraArgs

Custom parameter information related to the node. This is a white-list parameter.

func (ClusterAttachmentWorkerConfigOverridesOutput) IsSchedule

Indicate to schedule the adding node or not. Default is true.

func (ClusterAttachmentWorkerConfigOverridesOutput) MountTarget

Mount target. Default is not mounting.

func (ClusterAttachmentWorkerConfigOverridesOutput) ToClusterAttachmentWorkerConfigOverridesOutput

func (o ClusterAttachmentWorkerConfigOverridesOutput) ToClusterAttachmentWorkerConfigOverridesOutput() ClusterAttachmentWorkerConfigOverridesOutput

func (ClusterAttachmentWorkerConfigOverridesOutput) ToClusterAttachmentWorkerConfigOverridesOutputWithContext

func (o ClusterAttachmentWorkerConfigOverridesOutput) ToClusterAttachmentWorkerConfigOverridesOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOverridesOutput

func (ClusterAttachmentWorkerConfigOverridesOutput) ToClusterAttachmentWorkerConfigOverridesPtrOutput

func (o ClusterAttachmentWorkerConfigOverridesOutput) ToClusterAttachmentWorkerConfigOverridesPtrOutput() ClusterAttachmentWorkerConfigOverridesPtrOutput

func (ClusterAttachmentWorkerConfigOverridesOutput) ToClusterAttachmentWorkerConfigOverridesPtrOutputWithContext

func (o ClusterAttachmentWorkerConfigOverridesOutput) ToClusterAttachmentWorkerConfigOverridesPtrOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOverridesPtrOutput

func (ClusterAttachmentWorkerConfigOverridesOutput) UserData

Base64-encoded User Data text, the length limit is 16KB.

type ClusterAttachmentWorkerConfigOverridesPtrInput

type ClusterAttachmentWorkerConfigOverridesPtrInput interface {
	pulumi.Input

	ToClusterAttachmentWorkerConfigOverridesPtrOutput() ClusterAttachmentWorkerConfigOverridesPtrOutput
	ToClusterAttachmentWorkerConfigOverridesPtrOutputWithContext(context.Context) ClusterAttachmentWorkerConfigOverridesPtrOutput
}

ClusterAttachmentWorkerConfigOverridesPtrInput is an input type that accepts ClusterAttachmentWorkerConfigOverridesArgs, ClusterAttachmentWorkerConfigOverridesPtr and ClusterAttachmentWorkerConfigOverridesPtrOutput values. You can construct a concrete instance of `ClusterAttachmentWorkerConfigOverridesPtrInput` via:

        ClusterAttachmentWorkerConfigOverridesArgs{...}

or:

        nil

type ClusterAttachmentWorkerConfigOverridesPtrOutput

type ClusterAttachmentWorkerConfigOverridesPtrOutput struct{ *pulumi.OutputState }

func (ClusterAttachmentWorkerConfigOverridesPtrOutput) DataDisks

Configurations of data disk.

func (ClusterAttachmentWorkerConfigOverridesPtrOutput) DesiredPodNum

Indicate to set desired pod number in node. valid when the cluster is podCIDR.

func (ClusterAttachmentWorkerConfigOverridesPtrOutput) DockerGraphPath

Docker graph path. Default is `/var/lib/docker`.

func (ClusterAttachmentWorkerConfigOverridesPtrOutput) Elem

func (ClusterAttachmentWorkerConfigOverridesPtrOutput) ElementType

func (ClusterAttachmentWorkerConfigOverridesPtrOutput) ExtraArgs

Custom parameter information related to the node. This is a white-list parameter.

func (ClusterAttachmentWorkerConfigOverridesPtrOutput) IsSchedule

Indicate to schedule the adding node or not. Default is true.

func (ClusterAttachmentWorkerConfigOverridesPtrOutput) MountTarget

Mount target. Default is not mounting.

func (ClusterAttachmentWorkerConfigOverridesPtrOutput) ToClusterAttachmentWorkerConfigOverridesPtrOutput

func (o ClusterAttachmentWorkerConfigOverridesPtrOutput) ToClusterAttachmentWorkerConfigOverridesPtrOutput() ClusterAttachmentWorkerConfigOverridesPtrOutput

func (ClusterAttachmentWorkerConfigOverridesPtrOutput) ToClusterAttachmentWorkerConfigOverridesPtrOutputWithContext

func (o ClusterAttachmentWorkerConfigOverridesPtrOutput) ToClusterAttachmentWorkerConfigOverridesPtrOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOverridesPtrOutput

func (ClusterAttachmentWorkerConfigOverridesPtrOutput) UserData

Base64-encoded User Data text, the length limit is 16KB.

type ClusterAttachmentWorkerConfigPtrInput

type ClusterAttachmentWorkerConfigPtrInput interface {
	pulumi.Input

	ToClusterAttachmentWorkerConfigPtrOutput() ClusterAttachmentWorkerConfigPtrOutput
	ToClusterAttachmentWorkerConfigPtrOutputWithContext(context.Context) ClusterAttachmentWorkerConfigPtrOutput
}

ClusterAttachmentWorkerConfigPtrInput is an input type that accepts ClusterAttachmentWorkerConfigArgs, ClusterAttachmentWorkerConfigPtr and ClusterAttachmentWorkerConfigPtrOutput values. You can construct a concrete instance of `ClusterAttachmentWorkerConfigPtrInput` via:

        ClusterAttachmentWorkerConfigArgs{...}

or:

        nil

type ClusterAttachmentWorkerConfigPtrOutput

type ClusterAttachmentWorkerConfigPtrOutput struct{ *pulumi.OutputState }

func (ClusterAttachmentWorkerConfigPtrOutput) DataDisks

Configurations of data disk.

func (ClusterAttachmentWorkerConfigPtrOutput) DesiredPodNum

Indicate to set desired pod number in node. valid when the cluster is podCIDR.

func (ClusterAttachmentWorkerConfigPtrOutput) DockerGraphPath

Docker graph path. Default is `/var/lib/docker`.

func (ClusterAttachmentWorkerConfigPtrOutput) Elem

func (ClusterAttachmentWorkerConfigPtrOutput) ElementType

func (ClusterAttachmentWorkerConfigPtrOutput) ExtraArgs

Custom parameter information related to the node. This is a white-list parameter.

func (ClusterAttachmentWorkerConfigPtrOutput) IsSchedule

Indicate to schedule the adding node or not. Default is true.

func (ClusterAttachmentWorkerConfigPtrOutput) MountTarget

Mount target. Default is not mounting.

func (ClusterAttachmentWorkerConfigPtrOutput) ToClusterAttachmentWorkerConfigPtrOutput

func (o ClusterAttachmentWorkerConfigPtrOutput) ToClusterAttachmentWorkerConfigPtrOutput() ClusterAttachmentWorkerConfigPtrOutput

func (ClusterAttachmentWorkerConfigPtrOutput) ToClusterAttachmentWorkerConfigPtrOutputWithContext

func (o ClusterAttachmentWorkerConfigPtrOutput) ToClusterAttachmentWorkerConfigPtrOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigPtrOutput

func (ClusterAttachmentWorkerConfigPtrOutput) UserData

Base64-encoded User Data text, the length limit is 16KB.

type ClusterAuthOptions

type ClusterAuthOptions struct {
	// If set to `true`, the rbac rule will be created automatically which allow anonymous user to access '/.well-known/openid-configuration' and '/openid/v1/jwks'.
	AutoCreateDiscoveryAnonymousAuth *bool `pulumi:"autoCreateDiscoveryAnonymousAuth"`
	// Specify service-account-issuer.
	Issuer *string `pulumi:"issuer"`
	// Specify service-account-jwks-uri.
	JwksUri *string `pulumi:"jwksUri"`
}

type ClusterAuthOptionsArgs

type ClusterAuthOptionsArgs struct {
	// If set to `true`, the rbac rule will be created automatically which allow anonymous user to access '/.well-known/openid-configuration' and '/openid/v1/jwks'.
	AutoCreateDiscoveryAnonymousAuth pulumi.BoolPtrInput `pulumi:"autoCreateDiscoveryAnonymousAuth"`
	// Specify service-account-issuer.
	Issuer pulumi.StringPtrInput `pulumi:"issuer"`
	// Specify service-account-jwks-uri.
	JwksUri pulumi.StringPtrInput `pulumi:"jwksUri"`
}

func (ClusterAuthOptionsArgs) ElementType

func (ClusterAuthOptionsArgs) ElementType() reflect.Type

func (ClusterAuthOptionsArgs) ToClusterAuthOptionsOutput

func (i ClusterAuthOptionsArgs) ToClusterAuthOptionsOutput() ClusterAuthOptionsOutput

func (ClusterAuthOptionsArgs) ToClusterAuthOptionsOutputWithContext

func (i ClusterAuthOptionsArgs) ToClusterAuthOptionsOutputWithContext(ctx context.Context) ClusterAuthOptionsOutput

func (ClusterAuthOptionsArgs) ToClusterAuthOptionsPtrOutput

func (i ClusterAuthOptionsArgs) ToClusterAuthOptionsPtrOutput() ClusterAuthOptionsPtrOutput

func (ClusterAuthOptionsArgs) ToClusterAuthOptionsPtrOutputWithContext

func (i ClusterAuthOptionsArgs) ToClusterAuthOptionsPtrOutputWithContext(ctx context.Context) ClusterAuthOptionsPtrOutput

type ClusterAuthOptionsInput

type ClusterAuthOptionsInput interface {
	pulumi.Input

	ToClusterAuthOptionsOutput() ClusterAuthOptionsOutput
	ToClusterAuthOptionsOutputWithContext(context.Context) ClusterAuthOptionsOutput
}

ClusterAuthOptionsInput is an input type that accepts ClusterAuthOptionsArgs and ClusterAuthOptionsOutput values. You can construct a concrete instance of `ClusterAuthOptionsInput` via:

ClusterAuthOptionsArgs{...}

type ClusterAuthOptionsOutput

type ClusterAuthOptionsOutput struct{ *pulumi.OutputState }

func (ClusterAuthOptionsOutput) AutoCreateDiscoveryAnonymousAuth

func (o ClusterAuthOptionsOutput) AutoCreateDiscoveryAnonymousAuth() pulumi.BoolPtrOutput

If set to `true`, the rbac rule will be created automatically which allow anonymous user to access '/.well-known/openid-configuration' and '/openid/v1/jwks'.

func (ClusterAuthOptionsOutput) ElementType

func (ClusterAuthOptionsOutput) ElementType() reflect.Type

func (ClusterAuthOptionsOutput) Issuer

Specify service-account-issuer.

func (ClusterAuthOptionsOutput) JwksUri

Specify service-account-jwks-uri.

func (ClusterAuthOptionsOutput) ToClusterAuthOptionsOutput

func (o ClusterAuthOptionsOutput) ToClusterAuthOptionsOutput() ClusterAuthOptionsOutput

func (ClusterAuthOptionsOutput) ToClusterAuthOptionsOutputWithContext

func (o ClusterAuthOptionsOutput) ToClusterAuthOptionsOutputWithContext(ctx context.Context) ClusterAuthOptionsOutput

func (ClusterAuthOptionsOutput) ToClusterAuthOptionsPtrOutput

func (o ClusterAuthOptionsOutput) ToClusterAuthOptionsPtrOutput() ClusterAuthOptionsPtrOutput

func (ClusterAuthOptionsOutput) ToClusterAuthOptionsPtrOutputWithContext

func (o ClusterAuthOptionsOutput) ToClusterAuthOptionsPtrOutputWithContext(ctx context.Context) ClusterAuthOptionsPtrOutput

type ClusterAuthOptionsPtrInput

type ClusterAuthOptionsPtrInput interface {
	pulumi.Input

	ToClusterAuthOptionsPtrOutput() ClusterAuthOptionsPtrOutput
	ToClusterAuthOptionsPtrOutputWithContext(context.Context) ClusterAuthOptionsPtrOutput
}

ClusterAuthOptionsPtrInput is an input type that accepts ClusterAuthOptionsArgs, ClusterAuthOptionsPtr and ClusterAuthOptionsPtrOutput values. You can construct a concrete instance of `ClusterAuthOptionsPtrInput` via:

        ClusterAuthOptionsArgs{...}

or:

        nil

type ClusterAuthOptionsPtrOutput

type ClusterAuthOptionsPtrOutput struct{ *pulumi.OutputState }

func (ClusterAuthOptionsPtrOutput) AutoCreateDiscoveryAnonymousAuth

func (o ClusterAuthOptionsPtrOutput) AutoCreateDiscoveryAnonymousAuth() pulumi.BoolPtrOutput

If set to `true`, the rbac rule will be created automatically which allow anonymous user to access '/.well-known/openid-configuration' and '/openid/v1/jwks'.

func (ClusterAuthOptionsPtrOutput) Elem

func (ClusterAuthOptionsPtrOutput) ElementType

func (ClusterAuthOptionsPtrOutput) Issuer

Specify service-account-issuer.

func (ClusterAuthOptionsPtrOutput) JwksUri

Specify service-account-jwks-uri.

func (ClusterAuthOptionsPtrOutput) ToClusterAuthOptionsPtrOutput

func (o ClusterAuthOptionsPtrOutput) ToClusterAuthOptionsPtrOutput() ClusterAuthOptionsPtrOutput

func (ClusterAuthOptionsPtrOutput) ToClusterAuthOptionsPtrOutputWithContext

func (o ClusterAuthOptionsPtrOutput) ToClusterAuthOptionsPtrOutputWithContext(ctx context.Context) ClusterAuthOptionsPtrOutput

type ClusterClusterAudit

type ClusterClusterAudit struct {
	// Specify weather the Cluster Audit enabled. NOTE: Enable Cluster Audit will also auto install Log Agent.
	Enabled bool `pulumi:"enabled"`
	// Specify id of existing CLS log set, or auto create a new set by leave it empty.
	LogSetId *string `pulumi:"logSetId"`
	// Specify id of existing CLS log topic, or auto create a new topic by leave it empty.
	TopicId *string `pulumi:"topicId"`
}

type ClusterClusterAuditArgs

type ClusterClusterAuditArgs struct {
	// Specify weather the Cluster Audit enabled. NOTE: Enable Cluster Audit will also auto install Log Agent.
	Enabled pulumi.BoolInput `pulumi:"enabled"`
	// Specify id of existing CLS log set, or auto create a new set by leave it empty.
	LogSetId pulumi.StringPtrInput `pulumi:"logSetId"`
	// Specify id of existing CLS log topic, or auto create a new topic by leave it empty.
	TopicId pulumi.StringPtrInput `pulumi:"topicId"`
}

func (ClusterClusterAuditArgs) ElementType

func (ClusterClusterAuditArgs) ElementType() reflect.Type

func (ClusterClusterAuditArgs) ToClusterClusterAuditOutput

func (i ClusterClusterAuditArgs) ToClusterClusterAuditOutput() ClusterClusterAuditOutput

func (ClusterClusterAuditArgs) ToClusterClusterAuditOutputWithContext

func (i ClusterClusterAuditArgs) ToClusterClusterAuditOutputWithContext(ctx context.Context) ClusterClusterAuditOutput

func (ClusterClusterAuditArgs) ToClusterClusterAuditPtrOutput

func (i ClusterClusterAuditArgs) ToClusterClusterAuditPtrOutput() ClusterClusterAuditPtrOutput

func (ClusterClusterAuditArgs) ToClusterClusterAuditPtrOutputWithContext

func (i ClusterClusterAuditArgs) ToClusterClusterAuditPtrOutputWithContext(ctx context.Context) ClusterClusterAuditPtrOutput

type ClusterClusterAuditInput

type ClusterClusterAuditInput interface {
	pulumi.Input

	ToClusterClusterAuditOutput() ClusterClusterAuditOutput
	ToClusterClusterAuditOutputWithContext(context.Context) ClusterClusterAuditOutput
}

ClusterClusterAuditInput is an input type that accepts ClusterClusterAuditArgs and ClusterClusterAuditOutput values. You can construct a concrete instance of `ClusterClusterAuditInput` via:

ClusterClusterAuditArgs{...}

type ClusterClusterAuditOutput

type ClusterClusterAuditOutput struct{ *pulumi.OutputState }

func (ClusterClusterAuditOutput) ElementType

func (ClusterClusterAuditOutput) ElementType() reflect.Type

func (ClusterClusterAuditOutput) Enabled

Specify weather the Cluster Audit enabled. NOTE: Enable Cluster Audit will also auto install Log Agent.

func (ClusterClusterAuditOutput) LogSetId

Specify id of existing CLS log set, or auto create a new set by leave it empty.

func (ClusterClusterAuditOutput) ToClusterClusterAuditOutput

func (o ClusterClusterAuditOutput) ToClusterClusterAuditOutput() ClusterClusterAuditOutput

func (ClusterClusterAuditOutput) ToClusterClusterAuditOutputWithContext

func (o ClusterClusterAuditOutput) ToClusterClusterAuditOutputWithContext(ctx context.Context) ClusterClusterAuditOutput

func (ClusterClusterAuditOutput) ToClusterClusterAuditPtrOutput

func (o ClusterClusterAuditOutput) ToClusterClusterAuditPtrOutput() ClusterClusterAuditPtrOutput

func (ClusterClusterAuditOutput) ToClusterClusterAuditPtrOutputWithContext

func (o ClusterClusterAuditOutput) ToClusterClusterAuditPtrOutputWithContext(ctx context.Context) ClusterClusterAuditPtrOutput

func (ClusterClusterAuditOutput) TopicId

Specify id of existing CLS log topic, or auto create a new topic by leave it empty.

type ClusterClusterAuditPtrInput

type ClusterClusterAuditPtrInput interface {
	pulumi.Input

	ToClusterClusterAuditPtrOutput() ClusterClusterAuditPtrOutput
	ToClusterClusterAuditPtrOutputWithContext(context.Context) ClusterClusterAuditPtrOutput
}

ClusterClusterAuditPtrInput is an input type that accepts ClusterClusterAuditArgs, ClusterClusterAuditPtr and ClusterClusterAuditPtrOutput values. You can construct a concrete instance of `ClusterClusterAuditPtrInput` via:

        ClusterClusterAuditArgs{...}

or:

        nil

type ClusterClusterAuditPtrOutput

type ClusterClusterAuditPtrOutput struct{ *pulumi.OutputState }

func (ClusterClusterAuditPtrOutput) Elem

func (ClusterClusterAuditPtrOutput) ElementType

func (ClusterClusterAuditPtrOutput) Enabled

Specify weather the Cluster Audit enabled. NOTE: Enable Cluster Audit will also auto install Log Agent.

func (ClusterClusterAuditPtrOutput) LogSetId

Specify id of existing CLS log set, or auto create a new set by leave it empty.

func (ClusterClusterAuditPtrOutput) ToClusterClusterAuditPtrOutput

func (o ClusterClusterAuditPtrOutput) ToClusterClusterAuditPtrOutput() ClusterClusterAuditPtrOutput

func (ClusterClusterAuditPtrOutput) ToClusterClusterAuditPtrOutputWithContext

func (o ClusterClusterAuditPtrOutput) ToClusterClusterAuditPtrOutputWithContext(ctx context.Context) ClusterClusterAuditPtrOutput

func (ClusterClusterAuditPtrOutput) TopicId

Specify id of existing CLS log topic, or auto create a new topic by leave it empty.

type ClusterClusterExtraArgs

type ClusterClusterExtraArgs struct {
	// The customized parameters for kube-apiserver.
	KubeApiservers []string `pulumi:"kubeApiservers"`
	// The customized parameters for kube-controller-manager.
	KubeControllerManagers []string `pulumi:"kubeControllerManagers"`
	// The customized parameters for kube-scheduler.
	KubeSchedulers []string `pulumi:"kubeSchedulers"`
}

type ClusterClusterExtraArgsArgs

type ClusterClusterExtraArgsArgs struct {
	// The customized parameters for kube-apiserver.
	KubeApiservers pulumi.StringArrayInput `pulumi:"kubeApiservers"`
	// The customized parameters for kube-controller-manager.
	KubeControllerManagers pulumi.StringArrayInput `pulumi:"kubeControllerManagers"`
	// The customized parameters for kube-scheduler.
	KubeSchedulers pulumi.StringArrayInput `pulumi:"kubeSchedulers"`
}

func (ClusterClusterExtraArgsArgs) ElementType

func (ClusterClusterExtraArgsArgs) ToClusterClusterExtraArgsOutput

func (i ClusterClusterExtraArgsArgs) ToClusterClusterExtraArgsOutput() ClusterClusterExtraArgsOutput

func (ClusterClusterExtraArgsArgs) ToClusterClusterExtraArgsOutputWithContext

func (i ClusterClusterExtraArgsArgs) ToClusterClusterExtraArgsOutputWithContext(ctx context.Context) ClusterClusterExtraArgsOutput

func (ClusterClusterExtraArgsArgs) ToClusterClusterExtraArgsPtrOutput

func (i ClusterClusterExtraArgsArgs) ToClusterClusterExtraArgsPtrOutput() ClusterClusterExtraArgsPtrOutput

func (ClusterClusterExtraArgsArgs) ToClusterClusterExtraArgsPtrOutputWithContext

func (i ClusterClusterExtraArgsArgs) ToClusterClusterExtraArgsPtrOutputWithContext(ctx context.Context) ClusterClusterExtraArgsPtrOutput

type ClusterClusterExtraArgsInput

type ClusterClusterExtraArgsInput interface {
	pulumi.Input

	ToClusterClusterExtraArgsOutput() ClusterClusterExtraArgsOutput
	ToClusterClusterExtraArgsOutputWithContext(context.Context) ClusterClusterExtraArgsOutput
}

ClusterClusterExtraArgsInput is an input type that accepts ClusterClusterExtraArgsArgs and ClusterClusterExtraArgsOutput values. You can construct a concrete instance of `ClusterClusterExtraArgsInput` via:

ClusterClusterExtraArgsArgs{...}

type ClusterClusterExtraArgsOutput

type ClusterClusterExtraArgsOutput struct{ *pulumi.OutputState }

func (ClusterClusterExtraArgsOutput) ElementType

func (ClusterClusterExtraArgsOutput) KubeApiservers

The customized parameters for kube-apiserver.

func (ClusterClusterExtraArgsOutput) KubeControllerManagers

func (o ClusterClusterExtraArgsOutput) KubeControllerManagers() pulumi.StringArrayOutput

The customized parameters for kube-controller-manager.

func (ClusterClusterExtraArgsOutput) KubeSchedulers

The customized parameters for kube-scheduler.

func (ClusterClusterExtraArgsOutput) ToClusterClusterExtraArgsOutput

func (o ClusterClusterExtraArgsOutput) ToClusterClusterExtraArgsOutput() ClusterClusterExtraArgsOutput

func (ClusterClusterExtraArgsOutput) ToClusterClusterExtraArgsOutputWithContext

func (o ClusterClusterExtraArgsOutput) ToClusterClusterExtraArgsOutputWithContext(ctx context.Context) ClusterClusterExtraArgsOutput

func (ClusterClusterExtraArgsOutput) ToClusterClusterExtraArgsPtrOutput

func (o ClusterClusterExtraArgsOutput) ToClusterClusterExtraArgsPtrOutput() ClusterClusterExtraArgsPtrOutput

func (ClusterClusterExtraArgsOutput) ToClusterClusterExtraArgsPtrOutputWithContext

func (o ClusterClusterExtraArgsOutput) ToClusterClusterExtraArgsPtrOutputWithContext(ctx context.Context) ClusterClusterExtraArgsPtrOutput

type ClusterClusterExtraArgsPtrInput

type ClusterClusterExtraArgsPtrInput interface {
	pulumi.Input

	ToClusterClusterExtraArgsPtrOutput() ClusterClusterExtraArgsPtrOutput
	ToClusterClusterExtraArgsPtrOutputWithContext(context.Context) ClusterClusterExtraArgsPtrOutput
}

ClusterClusterExtraArgsPtrInput is an input type that accepts ClusterClusterExtraArgsArgs, ClusterClusterExtraArgsPtr and ClusterClusterExtraArgsPtrOutput values. You can construct a concrete instance of `ClusterClusterExtraArgsPtrInput` via:

        ClusterClusterExtraArgsArgs{...}

or:

        nil

type ClusterClusterExtraArgsPtrOutput

type ClusterClusterExtraArgsPtrOutput struct{ *pulumi.OutputState }

func (ClusterClusterExtraArgsPtrOutput) Elem

func (ClusterClusterExtraArgsPtrOutput) ElementType

func (ClusterClusterExtraArgsPtrOutput) KubeApiservers

The customized parameters for kube-apiserver.

func (ClusterClusterExtraArgsPtrOutput) KubeControllerManagers

func (o ClusterClusterExtraArgsPtrOutput) KubeControllerManagers() pulumi.StringArrayOutput

The customized parameters for kube-controller-manager.

func (ClusterClusterExtraArgsPtrOutput) KubeSchedulers

The customized parameters for kube-scheduler.

func (ClusterClusterExtraArgsPtrOutput) ToClusterClusterExtraArgsPtrOutput

func (o ClusterClusterExtraArgsPtrOutput) ToClusterClusterExtraArgsPtrOutput() ClusterClusterExtraArgsPtrOutput

func (ClusterClusterExtraArgsPtrOutput) ToClusterClusterExtraArgsPtrOutputWithContext

func (o ClusterClusterExtraArgsPtrOutput) ToClusterClusterExtraArgsPtrOutputWithContext(ctx context.Context) ClusterClusterExtraArgsPtrOutput

type ClusterEndpoint

type ClusterEndpoint struct {
	pulumi.CustomResourceState

	// The certificate used for access.
	CertificationAuthority pulumi.StringOutput `pulumi:"certificationAuthority"`
	// Cluster deploy type of `MANAGED_CLUSTER` or `INDEPENDENT_CLUSTER`.
	ClusterDeployType pulumi.StringOutput `pulumi:"clusterDeployType"`
	// External network address to access.
	ClusterExternalEndpoint pulumi.StringOutput `pulumi:"clusterExternalEndpoint"`
	// Specify cluster ID.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// Open internet access or not.
	ClusterInternet pulumi.BoolPtrOutput `pulumi:"clusterInternet"`
	// Specify security group, NOTE: This argument must not be empty if cluster internet enabled.
	ClusterInternetSecurityGroup pulumi.StringPtrOutput `pulumi:"clusterInternetSecurityGroup"`
	// Open intranet access or not.
	ClusterIntranet pulumi.BoolPtrOutput `pulumi:"clusterIntranet"`
	// Subnet id who can access this independent cluster, this field must and can only set  when `clusterIntranet` is true. `clusterIntranetSubnetId` can not modify once be set.
	ClusterIntranetSubnetId pulumi.StringPtrOutput `pulumi:"clusterIntranetSubnetId"`
	// Domain name for access.
	Domain pulumi.StringOutput `pulumi:"domain"`
	// this argument was deprecated, use `clusterInternetSecurityGroup` instead. Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field `clusterDeployType` is 'MANAGED_CLUSTER' and `clusterInternet` is true. `managedClusterInternetSecurityPolicies` can not delete or empty once be set.
	//
	// Deprecated: this argument was deprecated, use `cluster_internet_security_group` instead.
	ManagedClusterInternetSecurityPolicies pulumi.StringArrayOutput `pulumi:"managedClusterInternetSecurityPolicies"`
	// Password of account.
	Password pulumi.StringOutput `pulumi:"password"`
	// The Intranet address used for access.
	PgwEndpoint pulumi.StringOutput `pulumi:"pgwEndpoint"`
	// User name of account.
	UserName pulumi.StringOutput `pulumi:"userName"`
}

Provide a resource to create a KubernetesClusterEndpoint. This resource allows you to create an empty cluster first without any workers. Only all attached node depends create complete, cluster endpoint will finally be enabled.

> **NOTE:** Recommend using `dependsOn` to make sure endpoint create after node pools or workers does.

## Import

KubernetesClusterEndpoint instance can be imported by passing cluster id, e.g.

```sh

$ pulumi import tencentcloud:Kubernetes/clusterEndpoint:ClusterEndpoint test cluster-id

```

func GetClusterEndpoint

func GetClusterEndpoint(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ClusterEndpointState, opts ...pulumi.ResourceOption) (*ClusterEndpoint, error)

GetClusterEndpoint gets an existing ClusterEndpoint 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 NewClusterEndpoint

func NewClusterEndpoint(ctx *pulumi.Context,
	name string, args *ClusterEndpointArgs, opts ...pulumi.ResourceOption) (*ClusterEndpoint, error)

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

func (*ClusterEndpoint) ElementType

func (*ClusterEndpoint) ElementType() reflect.Type

func (*ClusterEndpoint) ToClusterEndpointOutput

func (i *ClusterEndpoint) ToClusterEndpointOutput() ClusterEndpointOutput

func (*ClusterEndpoint) ToClusterEndpointOutputWithContext

func (i *ClusterEndpoint) ToClusterEndpointOutputWithContext(ctx context.Context) ClusterEndpointOutput

type ClusterEndpointArgs

type ClusterEndpointArgs struct {
	// Specify cluster ID.
	ClusterId pulumi.StringInput
	// Open internet access or not.
	ClusterInternet pulumi.BoolPtrInput
	// Specify security group, NOTE: This argument must not be empty if cluster internet enabled.
	ClusterInternetSecurityGroup pulumi.StringPtrInput
	// Open intranet access or not.
	ClusterIntranet pulumi.BoolPtrInput
	// Subnet id who can access this independent cluster, this field must and can only set  when `clusterIntranet` is true. `clusterIntranetSubnetId` can not modify once be set.
	ClusterIntranetSubnetId pulumi.StringPtrInput
	// this argument was deprecated, use `clusterInternetSecurityGroup` instead. Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field `clusterDeployType` is 'MANAGED_CLUSTER' and `clusterInternet` is true. `managedClusterInternetSecurityPolicies` can not delete or empty once be set.
	//
	// Deprecated: this argument was deprecated, use `cluster_internet_security_group` instead.
	ManagedClusterInternetSecurityPolicies pulumi.StringArrayInput
}

The set of arguments for constructing a ClusterEndpoint resource.

func (ClusterEndpointArgs) ElementType

func (ClusterEndpointArgs) ElementType() reflect.Type

type ClusterEndpointArray

type ClusterEndpointArray []ClusterEndpointInput

func (ClusterEndpointArray) ElementType

func (ClusterEndpointArray) ElementType() reflect.Type

func (ClusterEndpointArray) ToClusterEndpointArrayOutput

func (i ClusterEndpointArray) ToClusterEndpointArrayOutput() ClusterEndpointArrayOutput

func (ClusterEndpointArray) ToClusterEndpointArrayOutputWithContext

func (i ClusterEndpointArray) ToClusterEndpointArrayOutputWithContext(ctx context.Context) ClusterEndpointArrayOutput

type ClusterEndpointArrayInput

type ClusterEndpointArrayInput interface {
	pulumi.Input

	ToClusterEndpointArrayOutput() ClusterEndpointArrayOutput
	ToClusterEndpointArrayOutputWithContext(context.Context) ClusterEndpointArrayOutput
}

ClusterEndpointArrayInput is an input type that accepts ClusterEndpointArray and ClusterEndpointArrayOutput values. You can construct a concrete instance of `ClusterEndpointArrayInput` via:

ClusterEndpointArray{ ClusterEndpointArgs{...} }

type ClusterEndpointArrayOutput

type ClusterEndpointArrayOutput struct{ *pulumi.OutputState }

func (ClusterEndpointArrayOutput) ElementType

func (ClusterEndpointArrayOutput) ElementType() reflect.Type

func (ClusterEndpointArrayOutput) Index

func (ClusterEndpointArrayOutput) ToClusterEndpointArrayOutput

func (o ClusterEndpointArrayOutput) ToClusterEndpointArrayOutput() ClusterEndpointArrayOutput

func (ClusterEndpointArrayOutput) ToClusterEndpointArrayOutputWithContext

func (o ClusterEndpointArrayOutput) ToClusterEndpointArrayOutputWithContext(ctx context.Context) ClusterEndpointArrayOutput

type ClusterEndpointInput

type ClusterEndpointInput interface {
	pulumi.Input

	ToClusterEndpointOutput() ClusterEndpointOutput
	ToClusterEndpointOutputWithContext(ctx context.Context) ClusterEndpointOutput
}

type ClusterEndpointMap

type ClusterEndpointMap map[string]ClusterEndpointInput

func (ClusterEndpointMap) ElementType

func (ClusterEndpointMap) ElementType() reflect.Type

func (ClusterEndpointMap) ToClusterEndpointMapOutput

func (i ClusterEndpointMap) ToClusterEndpointMapOutput() ClusterEndpointMapOutput

func (ClusterEndpointMap) ToClusterEndpointMapOutputWithContext

func (i ClusterEndpointMap) ToClusterEndpointMapOutputWithContext(ctx context.Context) ClusterEndpointMapOutput

type ClusterEndpointMapInput

type ClusterEndpointMapInput interface {
	pulumi.Input

	ToClusterEndpointMapOutput() ClusterEndpointMapOutput
	ToClusterEndpointMapOutputWithContext(context.Context) ClusterEndpointMapOutput
}

ClusterEndpointMapInput is an input type that accepts ClusterEndpointMap and ClusterEndpointMapOutput values. You can construct a concrete instance of `ClusterEndpointMapInput` via:

ClusterEndpointMap{ "key": ClusterEndpointArgs{...} }

type ClusterEndpointMapOutput

type ClusterEndpointMapOutput struct{ *pulumi.OutputState }

func (ClusterEndpointMapOutput) ElementType

func (ClusterEndpointMapOutput) ElementType() reflect.Type

func (ClusterEndpointMapOutput) MapIndex

func (ClusterEndpointMapOutput) ToClusterEndpointMapOutput

func (o ClusterEndpointMapOutput) ToClusterEndpointMapOutput() ClusterEndpointMapOutput

func (ClusterEndpointMapOutput) ToClusterEndpointMapOutputWithContext

func (o ClusterEndpointMapOutput) ToClusterEndpointMapOutputWithContext(ctx context.Context) ClusterEndpointMapOutput

type ClusterEndpointOutput

type ClusterEndpointOutput struct{ *pulumi.OutputState }

func (ClusterEndpointOutput) CertificationAuthority

func (o ClusterEndpointOutput) CertificationAuthority() pulumi.StringOutput

The certificate used for access.

func (ClusterEndpointOutput) ClusterDeployType

func (o ClusterEndpointOutput) ClusterDeployType() pulumi.StringOutput

Cluster deploy type of `MANAGED_CLUSTER` or `INDEPENDENT_CLUSTER`.

func (ClusterEndpointOutput) ClusterExternalEndpoint

func (o ClusterEndpointOutput) ClusterExternalEndpoint() pulumi.StringOutput

External network address to access.

func (ClusterEndpointOutput) ClusterId

Specify cluster ID.

func (ClusterEndpointOutput) ClusterInternet

func (o ClusterEndpointOutput) ClusterInternet() pulumi.BoolPtrOutput

Open internet access or not.

func (ClusterEndpointOutput) ClusterInternetSecurityGroup

func (o ClusterEndpointOutput) ClusterInternetSecurityGroup() pulumi.StringPtrOutput

Specify security group, NOTE: This argument must not be empty if cluster internet enabled.

func (ClusterEndpointOutput) ClusterIntranet

func (o ClusterEndpointOutput) ClusterIntranet() pulumi.BoolPtrOutput

Open intranet access or not.

func (ClusterEndpointOutput) ClusterIntranetSubnetId

func (o ClusterEndpointOutput) ClusterIntranetSubnetId() pulumi.StringPtrOutput

Subnet id who can access this independent cluster, this field must and can only set when `clusterIntranet` is true. `clusterIntranetSubnetId` can not modify once be set.

func (ClusterEndpointOutput) Domain

Domain name for access.

func (ClusterEndpointOutput) ElementType

func (ClusterEndpointOutput) ElementType() reflect.Type

func (ClusterEndpointOutput) ManagedClusterInternetSecurityPolicies deprecated

func (o ClusterEndpointOutput) ManagedClusterInternetSecurityPolicies() pulumi.StringArrayOutput

this argument was deprecated, use `clusterInternetSecurityGroup` instead. Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field `clusterDeployType` is 'MANAGED_CLUSTER' and `clusterInternet` is true. `managedClusterInternetSecurityPolicies` can not delete or empty once be set.

Deprecated: this argument was deprecated, use `cluster_internet_security_group` instead.

func (ClusterEndpointOutput) Password

Password of account.

func (ClusterEndpointOutput) PgwEndpoint

func (o ClusterEndpointOutput) PgwEndpoint() pulumi.StringOutput

The Intranet address used for access.

func (ClusterEndpointOutput) ToClusterEndpointOutput

func (o ClusterEndpointOutput) ToClusterEndpointOutput() ClusterEndpointOutput

func (ClusterEndpointOutput) ToClusterEndpointOutputWithContext

func (o ClusterEndpointOutput) ToClusterEndpointOutputWithContext(ctx context.Context) ClusterEndpointOutput

func (ClusterEndpointOutput) UserName

User name of account.

type ClusterEndpointState

type ClusterEndpointState struct {
	// The certificate used for access.
	CertificationAuthority pulumi.StringPtrInput
	// Cluster deploy type of `MANAGED_CLUSTER` or `INDEPENDENT_CLUSTER`.
	ClusterDeployType pulumi.StringPtrInput
	// External network address to access.
	ClusterExternalEndpoint pulumi.StringPtrInput
	// Specify cluster ID.
	ClusterId pulumi.StringPtrInput
	// Open internet access or not.
	ClusterInternet pulumi.BoolPtrInput
	// Specify security group, NOTE: This argument must not be empty if cluster internet enabled.
	ClusterInternetSecurityGroup pulumi.StringPtrInput
	// Open intranet access or not.
	ClusterIntranet pulumi.BoolPtrInput
	// Subnet id who can access this independent cluster, this field must and can only set  when `clusterIntranet` is true. `clusterIntranetSubnetId` can not modify once be set.
	ClusterIntranetSubnetId pulumi.StringPtrInput
	// Domain name for access.
	Domain pulumi.StringPtrInput
	// this argument was deprecated, use `clusterInternetSecurityGroup` instead. Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field `clusterDeployType` is 'MANAGED_CLUSTER' and `clusterInternet` is true. `managedClusterInternetSecurityPolicies` can not delete or empty once be set.
	//
	// Deprecated: this argument was deprecated, use `cluster_internet_security_group` instead.
	ManagedClusterInternetSecurityPolicies pulumi.StringArrayInput
	// Password of account.
	Password pulumi.StringPtrInput
	// The Intranet address used for access.
	PgwEndpoint pulumi.StringPtrInput
	// User name of account.
	UserName pulumi.StringPtrInput
}

func (ClusterEndpointState) ElementType

func (ClusterEndpointState) ElementType() reflect.Type

type ClusterEventPersistence

type ClusterEventPersistence struct {
	// Specify weather the Event Persistence enabled.
	Enabled bool `pulumi:"enabled"`
	// Specify id of existing CLS log set, or auto create a new set by leave it empty.
	LogSetId *string `pulumi:"logSetId"`
	// Specify id of existing CLS log topic, or auto create a new topic by leave it empty.
	TopicId *string `pulumi:"topicId"`
}

type ClusterEventPersistenceArgs

type ClusterEventPersistenceArgs struct {
	// Specify weather the Event Persistence enabled.
	Enabled pulumi.BoolInput `pulumi:"enabled"`
	// Specify id of existing CLS log set, or auto create a new set by leave it empty.
	LogSetId pulumi.StringPtrInput `pulumi:"logSetId"`
	// Specify id of existing CLS log topic, or auto create a new topic by leave it empty.
	TopicId pulumi.StringPtrInput `pulumi:"topicId"`
}

func (ClusterEventPersistenceArgs) ElementType

func (ClusterEventPersistenceArgs) ToClusterEventPersistenceOutput

func (i ClusterEventPersistenceArgs) ToClusterEventPersistenceOutput() ClusterEventPersistenceOutput

func (ClusterEventPersistenceArgs) ToClusterEventPersistenceOutputWithContext

func (i ClusterEventPersistenceArgs) ToClusterEventPersistenceOutputWithContext(ctx context.Context) ClusterEventPersistenceOutput

func (ClusterEventPersistenceArgs) ToClusterEventPersistencePtrOutput

func (i ClusterEventPersistenceArgs) ToClusterEventPersistencePtrOutput() ClusterEventPersistencePtrOutput

func (ClusterEventPersistenceArgs) ToClusterEventPersistencePtrOutputWithContext

func (i ClusterEventPersistenceArgs) ToClusterEventPersistencePtrOutputWithContext(ctx context.Context) ClusterEventPersistencePtrOutput

type ClusterEventPersistenceInput

type ClusterEventPersistenceInput interface {
	pulumi.Input

	ToClusterEventPersistenceOutput() ClusterEventPersistenceOutput
	ToClusterEventPersistenceOutputWithContext(context.Context) ClusterEventPersistenceOutput
}

ClusterEventPersistenceInput is an input type that accepts ClusterEventPersistenceArgs and ClusterEventPersistenceOutput values. You can construct a concrete instance of `ClusterEventPersistenceInput` via:

ClusterEventPersistenceArgs{...}

type ClusterEventPersistenceOutput

type ClusterEventPersistenceOutput struct{ *pulumi.OutputState }

func (ClusterEventPersistenceOutput) ElementType

func (ClusterEventPersistenceOutput) Enabled

Specify weather the Event Persistence enabled.

func (ClusterEventPersistenceOutput) LogSetId

Specify id of existing CLS log set, or auto create a new set by leave it empty.

func (ClusterEventPersistenceOutput) ToClusterEventPersistenceOutput

func (o ClusterEventPersistenceOutput) ToClusterEventPersistenceOutput() ClusterEventPersistenceOutput

func (ClusterEventPersistenceOutput) ToClusterEventPersistenceOutputWithContext

func (o ClusterEventPersistenceOutput) ToClusterEventPersistenceOutputWithContext(ctx context.Context) ClusterEventPersistenceOutput

func (ClusterEventPersistenceOutput) ToClusterEventPersistencePtrOutput

func (o ClusterEventPersistenceOutput) ToClusterEventPersistencePtrOutput() ClusterEventPersistencePtrOutput

func (ClusterEventPersistenceOutput) ToClusterEventPersistencePtrOutputWithContext

func (o ClusterEventPersistenceOutput) ToClusterEventPersistencePtrOutputWithContext(ctx context.Context) ClusterEventPersistencePtrOutput

func (ClusterEventPersistenceOutput) TopicId

Specify id of existing CLS log topic, or auto create a new topic by leave it empty.

type ClusterEventPersistencePtrInput

type ClusterEventPersistencePtrInput interface {
	pulumi.Input

	ToClusterEventPersistencePtrOutput() ClusterEventPersistencePtrOutput
	ToClusterEventPersistencePtrOutputWithContext(context.Context) ClusterEventPersistencePtrOutput
}

ClusterEventPersistencePtrInput is an input type that accepts ClusterEventPersistenceArgs, ClusterEventPersistencePtr and ClusterEventPersistencePtrOutput values. You can construct a concrete instance of `ClusterEventPersistencePtrInput` via:

        ClusterEventPersistenceArgs{...}

or:

        nil

type ClusterEventPersistencePtrOutput

type ClusterEventPersistencePtrOutput struct{ *pulumi.OutputState }

func (ClusterEventPersistencePtrOutput) Elem

func (ClusterEventPersistencePtrOutput) ElementType

func (ClusterEventPersistencePtrOutput) Enabled

Specify weather the Event Persistence enabled.

func (ClusterEventPersistencePtrOutput) LogSetId

Specify id of existing CLS log set, or auto create a new set by leave it empty.

func (ClusterEventPersistencePtrOutput) ToClusterEventPersistencePtrOutput

func (o ClusterEventPersistencePtrOutput) ToClusterEventPersistencePtrOutput() ClusterEventPersistencePtrOutput

func (ClusterEventPersistencePtrOutput) ToClusterEventPersistencePtrOutputWithContext

func (o ClusterEventPersistencePtrOutput) ToClusterEventPersistencePtrOutputWithContext(ctx context.Context) ClusterEventPersistencePtrOutput

func (ClusterEventPersistencePtrOutput) TopicId

Specify id of existing CLS log topic, or auto create a new topic by leave it empty.

type ClusterExistInstance

type ClusterExistInstance struct {
	// Custom mode cluster, you can specify the number of pods for each node. corresponding to the existed_instances_para.instance_ids parameter.
	DesiredPodNumbers []int `pulumi:"desiredPodNumbers"`
	// Reinstallation parameters of an existing instance.
	InstancesPara *ClusterExistInstanceInstancesPara `pulumi:"instancesPara"`
	// Role of existed node. value:MASTER_ETCD or WORKER.
	NodeRole *string `pulumi:"nodeRole"`
}

type ClusterExistInstanceArgs

type ClusterExistInstanceArgs struct {
	// Custom mode cluster, you can specify the number of pods for each node. corresponding to the existed_instances_para.instance_ids parameter.
	DesiredPodNumbers pulumi.IntArrayInput `pulumi:"desiredPodNumbers"`
	// Reinstallation parameters of an existing instance.
	InstancesPara ClusterExistInstanceInstancesParaPtrInput `pulumi:"instancesPara"`
	// Role of existed node. value:MASTER_ETCD or WORKER.
	NodeRole pulumi.StringPtrInput `pulumi:"nodeRole"`
}

func (ClusterExistInstanceArgs) ElementType

func (ClusterExistInstanceArgs) ElementType() reflect.Type

func (ClusterExistInstanceArgs) ToClusterExistInstanceOutput

func (i ClusterExistInstanceArgs) ToClusterExistInstanceOutput() ClusterExistInstanceOutput

func (ClusterExistInstanceArgs) ToClusterExistInstanceOutputWithContext

func (i ClusterExistInstanceArgs) ToClusterExistInstanceOutputWithContext(ctx context.Context) ClusterExistInstanceOutput

type ClusterExistInstanceArray

type ClusterExistInstanceArray []ClusterExistInstanceInput

func (ClusterExistInstanceArray) ElementType

func (ClusterExistInstanceArray) ElementType() reflect.Type

func (ClusterExistInstanceArray) ToClusterExistInstanceArrayOutput

func (i ClusterExistInstanceArray) ToClusterExistInstanceArrayOutput() ClusterExistInstanceArrayOutput

func (ClusterExistInstanceArray) ToClusterExistInstanceArrayOutputWithContext

func (i ClusterExistInstanceArray) ToClusterExistInstanceArrayOutputWithContext(ctx context.Context) ClusterExistInstanceArrayOutput

type ClusterExistInstanceArrayInput

type ClusterExistInstanceArrayInput interface {
	pulumi.Input

	ToClusterExistInstanceArrayOutput() ClusterExistInstanceArrayOutput
	ToClusterExistInstanceArrayOutputWithContext(context.Context) ClusterExistInstanceArrayOutput
}

ClusterExistInstanceArrayInput is an input type that accepts ClusterExistInstanceArray and ClusterExistInstanceArrayOutput values. You can construct a concrete instance of `ClusterExistInstanceArrayInput` via:

ClusterExistInstanceArray{ ClusterExistInstanceArgs{...} }

type ClusterExistInstanceArrayOutput

type ClusterExistInstanceArrayOutput struct{ *pulumi.OutputState }

func (ClusterExistInstanceArrayOutput) ElementType

func (ClusterExistInstanceArrayOutput) Index

func (ClusterExistInstanceArrayOutput) ToClusterExistInstanceArrayOutput

func (o ClusterExistInstanceArrayOutput) ToClusterExistInstanceArrayOutput() ClusterExistInstanceArrayOutput

func (ClusterExistInstanceArrayOutput) ToClusterExistInstanceArrayOutputWithContext

func (o ClusterExistInstanceArrayOutput) ToClusterExistInstanceArrayOutputWithContext(ctx context.Context) ClusterExistInstanceArrayOutput

type ClusterExistInstanceInput

type ClusterExistInstanceInput interface {
	pulumi.Input

	ToClusterExistInstanceOutput() ClusterExistInstanceOutput
	ToClusterExistInstanceOutputWithContext(context.Context) ClusterExistInstanceOutput
}

ClusterExistInstanceInput is an input type that accepts ClusterExistInstanceArgs and ClusterExistInstanceOutput values. You can construct a concrete instance of `ClusterExistInstanceInput` via:

ClusterExistInstanceArgs{...}

type ClusterExistInstanceInstancesPara

type ClusterExistInstanceInstancesPara struct {
	// Cluster IDs.
	InstanceIds []string `pulumi:"instanceIds"`
}

type ClusterExistInstanceInstancesParaArgs

type ClusterExistInstanceInstancesParaArgs struct {
	// Cluster IDs.
	InstanceIds pulumi.StringArrayInput `pulumi:"instanceIds"`
}

func (ClusterExistInstanceInstancesParaArgs) ElementType

func (ClusterExistInstanceInstancesParaArgs) ToClusterExistInstanceInstancesParaOutput

func (i ClusterExistInstanceInstancesParaArgs) ToClusterExistInstanceInstancesParaOutput() ClusterExistInstanceInstancesParaOutput

func (ClusterExistInstanceInstancesParaArgs) ToClusterExistInstanceInstancesParaOutputWithContext

func (i ClusterExistInstanceInstancesParaArgs) ToClusterExistInstanceInstancesParaOutputWithContext(ctx context.Context) ClusterExistInstanceInstancesParaOutput

func (ClusterExistInstanceInstancesParaArgs) ToClusterExistInstanceInstancesParaPtrOutput

func (i ClusterExistInstanceInstancesParaArgs) ToClusterExistInstanceInstancesParaPtrOutput() ClusterExistInstanceInstancesParaPtrOutput

func (ClusterExistInstanceInstancesParaArgs) ToClusterExistInstanceInstancesParaPtrOutputWithContext

func (i ClusterExistInstanceInstancesParaArgs) ToClusterExistInstanceInstancesParaPtrOutputWithContext(ctx context.Context) ClusterExistInstanceInstancesParaPtrOutput

type ClusterExistInstanceInstancesParaInput

type ClusterExistInstanceInstancesParaInput interface {
	pulumi.Input

	ToClusterExistInstanceInstancesParaOutput() ClusterExistInstanceInstancesParaOutput
	ToClusterExistInstanceInstancesParaOutputWithContext(context.Context) ClusterExistInstanceInstancesParaOutput
}

ClusterExistInstanceInstancesParaInput is an input type that accepts ClusterExistInstanceInstancesParaArgs and ClusterExistInstanceInstancesParaOutput values. You can construct a concrete instance of `ClusterExistInstanceInstancesParaInput` via:

ClusterExistInstanceInstancesParaArgs{...}

type ClusterExistInstanceInstancesParaOutput

type ClusterExistInstanceInstancesParaOutput struct{ *pulumi.OutputState }

func (ClusterExistInstanceInstancesParaOutput) ElementType

func (ClusterExistInstanceInstancesParaOutput) InstanceIds

Cluster IDs.

func (ClusterExistInstanceInstancesParaOutput) ToClusterExistInstanceInstancesParaOutput

func (o ClusterExistInstanceInstancesParaOutput) ToClusterExistInstanceInstancesParaOutput() ClusterExistInstanceInstancesParaOutput

func (ClusterExistInstanceInstancesParaOutput) ToClusterExistInstanceInstancesParaOutputWithContext

func (o ClusterExistInstanceInstancesParaOutput) ToClusterExistInstanceInstancesParaOutputWithContext(ctx context.Context) ClusterExistInstanceInstancesParaOutput

func (ClusterExistInstanceInstancesParaOutput) ToClusterExistInstanceInstancesParaPtrOutput

func (o ClusterExistInstanceInstancesParaOutput) ToClusterExistInstanceInstancesParaPtrOutput() ClusterExistInstanceInstancesParaPtrOutput

func (ClusterExistInstanceInstancesParaOutput) ToClusterExistInstanceInstancesParaPtrOutputWithContext

func (o ClusterExistInstanceInstancesParaOutput) ToClusterExistInstanceInstancesParaPtrOutputWithContext(ctx context.Context) ClusterExistInstanceInstancesParaPtrOutput

type ClusterExistInstanceInstancesParaPtrInput

type ClusterExistInstanceInstancesParaPtrInput interface {
	pulumi.Input

	ToClusterExistInstanceInstancesParaPtrOutput() ClusterExistInstanceInstancesParaPtrOutput
	ToClusterExistInstanceInstancesParaPtrOutputWithContext(context.Context) ClusterExistInstanceInstancesParaPtrOutput
}

ClusterExistInstanceInstancesParaPtrInput is an input type that accepts ClusterExistInstanceInstancesParaArgs, ClusterExistInstanceInstancesParaPtr and ClusterExistInstanceInstancesParaPtrOutput values. You can construct a concrete instance of `ClusterExistInstanceInstancesParaPtrInput` via:

        ClusterExistInstanceInstancesParaArgs{...}

or:

        nil

type ClusterExistInstanceInstancesParaPtrOutput

type ClusterExistInstanceInstancesParaPtrOutput struct{ *pulumi.OutputState }

func (ClusterExistInstanceInstancesParaPtrOutput) Elem

func (ClusterExistInstanceInstancesParaPtrOutput) ElementType

func (ClusterExistInstanceInstancesParaPtrOutput) InstanceIds

Cluster IDs.

func (ClusterExistInstanceInstancesParaPtrOutput) ToClusterExistInstanceInstancesParaPtrOutput

func (o ClusterExistInstanceInstancesParaPtrOutput) ToClusterExistInstanceInstancesParaPtrOutput() ClusterExistInstanceInstancesParaPtrOutput

func (ClusterExistInstanceInstancesParaPtrOutput) ToClusterExistInstanceInstancesParaPtrOutputWithContext

func (o ClusterExistInstanceInstancesParaPtrOutput) ToClusterExistInstanceInstancesParaPtrOutputWithContext(ctx context.Context) ClusterExistInstanceInstancesParaPtrOutput

type ClusterExistInstanceOutput

type ClusterExistInstanceOutput struct{ *pulumi.OutputState }

func (ClusterExistInstanceOutput) DesiredPodNumbers

func (o ClusterExistInstanceOutput) DesiredPodNumbers() pulumi.IntArrayOutput

Custom mode cluster, you can specify the number of pods for each node. corresponding to the existed_instances_para.instance_ids parameter.

func (ClusterExistInstanceOutput) ElementType

func (ClusterExistInstanceOutput) ElementType() reflect.Type

func (ClusterExistInstanceOutput) InstancesPara

Reinstallation parameters of an existing instance.

func (ClusterExistInstanceOutput) NodeRole

Role of existed node. value:MASTER_ETCD or WORKER.

func (ClusterExistInstanceOutput) ToClusterExistInstanceOutput

func (o ClusterExistInstanceOutput) ToClusterExistInstanceOutput() ClusterExistInstanceOutput

func (ClusterExistInstanceOutput) ToClusterExistInstanceOutputWithContext

func (o ClusterExistInstanceOutput) ToClusterExistInstanceOutputWithContext(ctx context.Context) ClusterExistInstanceOutput

type ClusterExtensionAddon

type ClusterExtensionAddon struct {
	// Add-on name.
	Name string `pulumi:"name"`
	// Description of the add-on resource object in JSON string format.
	Param string `pulumi:"param"`
}

type ClusterExtensionAddonArgs

type ClusterExtensionAddonArgs struct {
	// Add-on name.
	Name pulumi.StringInput `pulumi:"name"`
	// Description of the add-on resource object in JSON string format.
	Param pulumi.StringInput `pulumi:"param"`
}

func (ClusterExtensionAddonArgs) ElementType

func (ClusterExtensionAddonArgs) ElementType() reflect.Type

func (ClusterExtensionAddonArgs) ToClusterExtensionAddonOutput

func (i ClusterExtensionAddonArgs) ToClusterExtensionAddonOutput() ClusterExtensionAddonOutput

func (ClusterExtensionAddonArgs) ToClusterExtensionAddonOutputWithContext

func (i ClusterExtensionAddonArgs) ToClusterExtensionAddonOutputWithContext(ctx context.Context) ClusterExtensionAddonOutput

type ClusterExtensionAddonArray

type ClusterExtensionAddonArray []ClusterExtensionAddonInput

func (ClusterExtensionAddonArray) ElementType

func (ClusterExtensionAddonArray) ElementType() reflect.Type

func (ClusterExtensionAddonArray) ToClusterExtensionAddonArrayOutput

func (i ClusterExtensionAddonArray) ToClusterExtensionAddonArrayOutput() ClusterExtensionAddonArrayOutput

func (ClusterExtensionAddonArray) ToClusterExtensionAddonArrayOutputWithContext

func (i ClusterExtensionAddonArray) ToClusterExtensionAddonArrayOutputWithContext(ctx context.Context) ClusterExtensionAddonArrayOutput

type ClusterExtensionAddonArrayInput

type ClusterExtensionAddonArrayInput interface {
	pulumi.Input

	ToClusterExtensionAddonArrayOutput() ClusterExtensionAddonArrayOutput
	ToClusterExtensionAddonArrayOutputWithContext(context.Context) ClusterExtensionAddonArrayOutput
}

ClusterExtensionAddonArrayInput is an input type that accepts ClusterExtensionAddonArray and ClusterExtensionAddonArrayOutput values. You can construct a concrete instance of `ClusterExtensionAddonArrayInput` via:

ClusterExtensionAddonArray{ ClusterExtensionAddonArgs{...} }

type ClusterExtensionAddonArrayOutput

type ClusterExtensionAddonArrayOutput struct{ *pulumi.OutputState }

func (ClusterExtensionAddonArrayOutput) ElementType

func (ClusterExtensionAddonArrayOutput) Index

func (ClusterExtensionAddonArrayOutput) ToClusterExtensionAddonArrayOutput

func (o ClusterExtensionAddonArrayOutput) ToClusterExtensionAddonArrayOutput() ClusterExtensionAddonArrayOutput

func (ClusterExtensionAddonArrayOutput) ToClusterExtensionAddonArrayOutputWithContext

func (o ClusterExtensionAddonArrayOutput) ToClusterExtensionAddonArrayOutputWithContext(ctx context.Context) ClusterExtensionAddonArrayOutput

type ClusterExtensionAddonInput

type ClusterExtensionAddonInput interface {
	pulumi.Input

	ToClusterExtensionAddonOutput() ClusterExtensionAddonOutput
	ToClusterExtensionAddonOutputWithContext(context.Context) ClusterExtensionAddonOutput
}

ClusterExtensionAddonInput is an input type that accepts ClusterExtensionAddonArgs and ClusterExtensionAddonOutput values. You can construct a concrete instance of `ClusterExtensionAddonInput` via:

ClusterExtensionAddonArgs{...}

type ClusterExtensionAddonOutput

type ClusterExtensionAddonOutput struct{ *pulumi.OutputState }

func (ClusterExtensionAddonOutput) ElementType

func (ClusterExtensionAddonOutput) Name

Add-on name.

func (ClusterExtensionAddonOutput) Param

Description of the add-on resource object in JSON string format.

func (ClusterExtensionAddonOutput) ToClusterExtensionAddonOutput

func (o ClusterExtensionAddonOutput) ToClusterExtensionAddonOutput() ClusterExtensionAddonOutput

func (ClusterExtensionAddonOutput) ToClusterExtensionAddonOutputWithContext

func (o ClusterExtensionAddonOutput) ToClusterExtensionAddonOutputWithContext(ctx context.Context) ClusterExtensionAddonOutput

type ClusterInput

type ClusterInput interface {
	pulumi.Input

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

type ClusterLogAgent

type ClusterLogAgent struct {
	// Whether the log agent enabled.
	Enabled bool `pulumi:"enabled"`
	// Kubelet root directory as the literal.
	KubeletRootDir *string `pulumi:"kubeletRootDir"`
}

type ClusterLogAgentArgs

type ClusterLogAgentArgs struct {
	// Whether the log agent enabled.
	Enabled pulumi.BoolInput `pulumi:"enabled"`
	// Kubelet root directory as the literal.
	KubeletRootDir pulumi.StringPtrInput `pulumi:"kubeletRootDir"`
}

func (ClusterLogAgentArgs) ElementType

func (ClusterLogAgentArgs) ElementType() reflect.Type

func (ClusterLogAgentArgs) ToClusterLogAgentOutput

func (i ClusterLogAgentArgs) ToClusterLogAgentOutput() ClusterLogAgentOutput

func (ClusterLogAgentArgs) ToClusterLogAgentOutputWithContext

func (i ClusterLogAgentArgs) ToClusterLogAgentOutputWithContext(ctx context.Context) ClusterLogAgentOutput

func (ClusterLogAgentArgs) ToClusterLogAgentPtrOutput

func (i ClusterLogAgentArgs) ToClusterLogAgentPtrOutput() ClusterLogAgentPtrOutput

func (ClusterLogAgentArgs) ToClusterLogAgentPtrOutputWithContext

func (i ClusterLogAgentArgs) ToClusterLogAgentPtrOutputWithContext(ctx context.Context) ClusterLogAgentPtrOutput

type ClusterLogAgentInput

type ClusterLogAgentInput interface {
	pulumi.Input

	ToClusterLogAgentOutput() ClusterLogAgentOutput
	ToClusterLogAgentOutputWithContext(context.Context) ClusterLogAgentOutput
}

ClusterLogAgentInput is an input type that accepts ClusterLogAgentArgs and ClusterLogAgentOutput values. You can construct a concrete instance of `ClusterLogAgentInput` via:

ClusterLogAgentArgs{...}

type ClusterLogAgentOutput

type ClusterLogAgentOutput struct{ *pulumi.OutputState }

func (ClusterLogAgentOutput) ElementType

func (ClusterLogAgentOutput) ElementType() reflect.Type

func (ClusterLogAgentOutput) Enabled

Whether the log agent enabled.

func (ClusterLogAgentOutput) KubeletRootDir

func (o ClusterLogAgentOutput) KubeletRootDir() pulumi.StringPtrOutput

Kubelet root directory as the literal.

func (ClusterLogAgentOutput) ToClusterLogAgentOutput

func (o ClusterLogAgentOutput) ToClusterLogAgentOutput() ClusterLogAgentOutput

func (ClusterLogAgentOutput) ToClusterLogAgentOutputWithContext

func (o ClusterLogAgentOutput) ToClusterLogAgentOutputWithContext(ctx context.Context) ClusterLogAgentOutput

func (ClusterLogAgentOutput) ToClusterLogAgentPtrOutput

func (o ClusterLogAgentOutput) ToClusterLogAgentPtrOutput() ClusterLogAgentPtrOutput

func (ClusterLogAgentOutput) ToClusterLogAgentPtrOutputWithContext

func (o ClusterLogAgentOutput) ToClusterLogAgentPtrOutputWithContext(ctx context.Context) ClusterLogAgentPtrOutput

type ClusterLogAgentPtrInput

type ClusterLogAgentPtrInput interface {
	pulumi.Input

	ToClusterLogAgentPtrOutput() ClusterLogAgentPtrOutput
	ToClusterLogAgentPtrOutputWithContext(context.Context) ClusterLogAgentPtrOutput
}

ClusterLogAgentPtrInput is an input type that accepts ClusterLogAgentArgs, ClusterLogAgentPtr and ClusterLogAgentPtrOutput values. You can construct a concrete instance of `ClusterLogAgentPtrInput` via:

        ClusterLogAgentArgs{...}

or:

        nil

type ClusterLogAgentPtrOutput

type ClusterLogAgentPtrOutput struct{ *pulumi.OutputState }

func (ClusterLogAgentPtrOutput) Elem

func (ClusterLogAgentPtrOutput) ElementType

func (ClusterLogAgentPtrOutput) ElementType() reflect.Type

func (ClusterLogAgentPtrOutput) Enabled

Whether the log agent enabled.

func (ClusterLogAgentPtrOutput) KubeletRootDir

func (o ClusterLogAgentPtrOutput) KubeletRootDir() pulumi.StringPtrOutput

Kubelet root directory as the literal.

func (ClusterLogAgentPtrOutput) ToClusterLogAgentPtrOutput

func (o ClusterLogAgentPtrOutput) ToClusterLogAgentPtrOutput() ClusterLogAgentPtrOutput

func (ClusterLogAgentPtrOutput) ToClusterLogAgentPtrOutputWithContext

func (o ClusterLogAgentPtrOutput) ToClusterLogAgentPtrOutputWithContext(ctx context.Context) ClusterLogAgentPtrOutput

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 ClusterMasterConfig

type ClusterMasterConfig struct {
	// Indicates which availability zone will be used.
	AvailabilityZone *string `pulumi:"availabilityZone"`
	// bandwidth package id. if user is standard user, then the bandwidthPackageId is needed, or default has bandwidth_package_id.
	BandwidthPackageId *string `pulumi:"bandwidthPackageId"`
	// CAM role name authorized to access.
	CamRoleName *string `pulumi:"camRoleName"`
	// Number of cvm.
	Count *int `pulumi:"count"`
	// Configurations of data disk.
	DataDisks []ClusterMasterConfigDataDisk `pulumi:"dataDisks"`
	// Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override `[globe_]desired_pod_num` for current node. Either all the fields `desiredPodNum` or none.
	DesiredPodNum *int `pulumi:"desiredPodNum"`
	// Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
	DisasterRecoverGroupIds *string `pulumi:"disasterRecoverGroupIds"`
	// To specify whether to enable cloud monitor service. Default is TRUE.
	EnhancedMonitorService *bool `pulumi:"enhancedMonitorService"`
	// To specify whether to enable cloud security service. Default is TRUE.
	EnhancedSecurityService *bool `pulumi:"enhancedSecurityService"`
	// The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
	Hostname *string `pulumi:"hostname"`
	// The valid image id, format of img-xxx.
	ImgId *string `pulumi:"imgId"`
	// The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`, `PREPAID` instance will not terminated after cluster deleted, and may not allow to delete before expired.
	InstanceChargeType *string `pulumi:"instanceChargeType"`
	// The tenancy (time unit is month) of the prepaid instance. NOTE: it only works when instanceChargeType is set to `PREPAID`. Valid values are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`.
	InstanceChargeTypePrepaidPeriod *int `pulumi:"instanceChargeTypePrepaidPeriod"`
	// Auto renewal flag. Valid values: `NOTIFY_AND_AUTO_RENEW`: notify upon expiration and renew automatically, `NOTIFY_AND_MANUAL_RENEW`: notify upon expiration but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: neither notify upon expiration nor renew automatically. Default value: `NOTIFY_AND_MANUAL_RENEW`. If this parameter is specified as `NOTIFY_AND_AUTO_RENEW`, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instanceChargeType is set to `PREPAID`.
	InstanceChargeTypePrepaidRenewFlag *string `pulumi:"instanceChargeTypePrepaidRenewFlag"`
	// Name of the CVMs.
	InstanceName *string `pulumi:"instanceName"`
	// Specified types of CVM instance.
	InstanceType string `pulumi:"instanceType"`
	// Charge types for network traffic. Available values include `TRAFFIC_POSTPAID_BY_HOUR`.
	InternetChargeType *string `pulumi:"internetChargeType"`
	// Max bandwidth of Internet access in Mbps. Default is 0.
	InternetMaxBandwidthOut *int `pulumi:"internetMaxBandwidthOut"`
	// ID list of keys, should be set if `password` not set.
	KeyIds *string `pulumi:"keyIds"`
	// Password to access, should be set if `keyIds` not set.
	Password *string `pulumi:"password"`
	// Specify whether to assign an Internet IP address.
	PublicIpAssigned *bool `pulumi:"publicIpAssigned"`
	// Security groups to which a CVM instance belongs.
	SecurityGroupIds []string `pulumi:"securityGroupIds"`
	// Private network ID.
	SubnetId string `pulumi:"subnetId"`
	// Volume of system disk in GB. Default is `50`.
	SystemDiskSize *int `pulumi:"systemDiskSize"`
	// System disk type. For more information on limits of system disk types, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952). Valid values: `LOCAL_BASIC`: local disk, `LOCAL_SSD`: local SSD disk, `CLOUD_SSD`: SSD, `CLOUD_PREMIUM`: Premium Cloud Storage. NOTE: `CLOUD_BASIC`, `LOCAL_BASIC` and `LOCAL_SSD` are deprecated.
	SystemDiskType *string `pulumi:"systemDiskType"`
	// ase64-encoded User Data text, the length limit is 16KB.
	UserData *string `pulumi:"userData"`
}

type ClusterMasterConfigArgs

type ClusterMasterConfigArgs struct {
	// Indicates which availability zone will be used.
	AvailabilityZone pulumi.StringPtrInput `pulumi:"availabilityZone"`
	// bandwidth package id. if user is standard user, then the bandwidthPackageId is needed, or default has bandwidth_package_id.
	BandwidthPackageId pulumi.StringPtrInput `pulumi:"bandwidthPackageId"`
	// CAM role name authorized to access.
	CamRoleName pulumi.StringPtrInput `pulumi:"camRoleName"`
	// Number of cvm.
	Count pulumi.IntPtrInput `pulumi:"count"`
	// Configurations of data disk.
	DataDisks ClusterMasterConfigDataDiskArrayInput `pulumi:"dataDisks"`
	// Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override `[globe_]desired_pod_num` for current node. Either all the fields `desiredPodNum` or none.
	DesiredPodNum pulumi.IntPtrInput `pulumi:"desiredPodNum"`
	// Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
	DisasterRecoverGroupIds pulumi.StringPtrInput `pulumi:"disasterRecoverGroupIds"`
	// To specify whether to enable cloud monitor service. Default is TRUE.
	EnhancedMonitorService pulumi.BoolPtrInput `pulumi:"enhancedMonitorService"`
	// To specify whether to enable cloud security service. Default is TRUE.
	EnhancedSecurityService pulumi.BoolPtrInput `pulumi:"enhancedSecurityService"`
	// The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
	Hostname pulumi.StringPtrInput `pulumi:"hostname"`
	// The valid image id, format of img-xxx.
	ImgId pulumi.StringPtrInput `pulumi:"imgId"`
	// The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`, `PREPAID` instance will not terminated after cluster deleted, and may not allow to delete before expired.
	InstanceChargeType pulumi.StringPtrInput `pulumi:"instanceChargeType"`
	// The tenancy (time unit is month) of the prepaid instance. NOTE: it only works when instanceChargeType is set to `PREPAID`. Valid values are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`.
	InstanceChargeTypePrepaidPeriod pulumi.IntPtrInput `pulumi:"instanceChargeTypePrepaidPeriod"`
	// Auto renewal flag. Valid values: `NOTIFY_AND_AUTO_RENEW`: notify upon expiration and renew automatically, `NOTIFY_AND_MANUAL_RENEW`: notify upon expiration but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: neither notify upon expiration nor renew automatically. Default value: `NOTIFY_AND_MANUAL_RENEW`. If this parameter is specified as `NOTIFY_AND_AUTO_RENEW`, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instanceChargeType is set to `PREPAID`.
	InstanceChargeTypePrepaidRenewFlag pulumi.StringPtrInput `pulumi:"instanceChargeTypePrepaidRenewFlag"`
	// Name of the CVMs.
	InstanceName pulumi.StringPtrInput `pulumi:"instanceName"`
	// Specified types of CVM instance.
	InstanceType pulumi.StringInput `pulumi:"instanceType"`
	// Charge types for network traffic. Available values include `TRAFFIC_POSTPAID_BY_HOUR`.
	InternetChargeType pulumi.StringPtrInput `pulumi:"internetChargeType"`
	// Max bandwidth of Internet access in Mbps. Default is 0.
	InternetMaxBandwidthOut pulumi.IntPtrInput `pulumi:"internetMaxBandwidthOut"`
	// ID list of keys, should be set if `password` not set.
	KeyIds pulumi.StringPtrInput `pulumi:"keyIds"`
	// Password to access, should be set if `keyIds` not set.
	Password pulumi.StringPtrInput `pulumi:"password"`
	// Specify whether to assign an Internet IP address.
	PublicIpAssigned pulumi.BoolPtrInput `pulumi:"publicIpAssigned"`
	// Security groups to which a CVM instance belongs.
	SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"`
	// Private network ID.
	SubnetId pulumi.StringInput `pulumi:"subnetId"`
	// Volume of system disk in GB. Default is `50`.
	SystemDiskSize pulumi.IntPtrInput `pulumi:"systemDiskSize"`
	// System disk type. For more information on limits of system disk types, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952). Valid values: `LOCAL_BASIC`: local disk, `LOCAL_SSD`: local SSD disk, `CLOUD_SSD`: SSD, `CLOUD_PREMIUM`: Premium Cloud Storage. NOTE: `CLOUD_BASIC`, `LOCAL_BASIC` and `LOCAL_SSD` are deprecated.
	SystemDiskType pulumi.StringPtrInput `pulumi:"systemDiskType"`
	// ase64-encoded User Data text, the length limit is 16KB.
	UserData pulumi.StringPtrInput `pulumi:"userData"`
}

func (ClusterMasterConfigArgs) ElementType

func (ClusterMasterConfigArgs) ElementType() reflect.Type

func (ClusterMasterConfigArgs) ToClusterMasterConfigOutput

func (i ClusterMasterConfigArgs) ToClusterMasterConfigOutput() ClusterMasterConfigOutput

func (ClusterMasterConfigArgs) ToClusterMasterConfigOutputWithContext

func (i ClusterMasterConfigArgs) ToClusterMasterConfigOutputWithContext(ctx context.Context) ClusterMasterConfigOutput

type ClusterMasterConfigArray

type ClusterMasterConfigArray []ClusterMasterConfigInput

func (ClusterMasterConfigArray) ElementType

func (ClusterMasterConfigArray) ElementType() reflect.Type

func (ClusterMasterConfigArray) ToClusterMasterConfigArrayOutput

func (i ClusterMasterConfigArray) ToClusterMasterConfigArrayOutput() ClusterMasterConfigArrayOutput

func (ClusterMasterConfigArray) ToClusterMasterConfigArrayOutputWithContext

func (i ClusterMasterConfigArray) ToClusterMasterConfigArrayOutputWithContext(ctx context.Context) ClusterMasterConfigArrayOutput

type ClusterMasterConfigArrayInput

type ClusterMasterConfigArrayInput interface {
	pulumi.Input

	ToClusterMasterConfigArrayOutput() ClusterMasterConfigArrayOutput
	ToClusterMasterConfigArrayOutputWithContext(context.Context) ClusterMasterConfigArrayOutput
}

ClusterMasterConfigArrayInput is an input type that accepts ClusterMasterConfigArray and ClusterMasterConfigArrayOutput values. You can construct a concrete instance of `ClusterMasterConfigArrayInput` via:

ClusterMasterConfigArray{ ClusterMasterConfigArgs{...} }

type ClusterMasterConfigArrayOutput

type ClusterMasterConfigArrayOutput struct{ *pulumi.OutputState }

func (ClusterMasterConfigArrayOutput) ElementType

func (ClusterMasterConfigArrayOutput) Index

func (ClusterMasterConfigArrayOutput) ToClusterMasterConfigArrayOutput

func (o ClusterMasterConfigArrayOutput) ToClusterMasterConfigArrayOutput() ClusterMasterConfigArrayOutput

func (ClusterMasterConfigArrayOutput) ToClusterMasterConfigArrayOutputWithContext

func (o ClusterMasterConfigArrayOutput) ToClusterMasterConfigArrayOutputWithContext(ctx context.Context) ClusterMasterConfigArrayOutput

type ClusterMasterConfigDataDisk

type ClusterMasterConfigDataDisk struct {
	// Indicate whether to auto format and mount or not. Default is `false`.
	AutoFormatAndMount *bool `pulumi:"autoFormatAndMount"`
	// The name of the device or partition to mount.
	DiskPartition *string `pulumi:"diskPartition"`
	// Volume of disk in GB. Default is `0`.
	DiskSize *int `pulumi:"diskSize"`
	// Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD` and `CLOUD_HSSD` and `CLOUD_TSSD`.
	DiskType *string `pulumi:"diskType"`
	// Indicates whether to encrypt data disk, default `false`.
	Encrypt *bool `pulumi:"encrypt"`
	// File system, e.g. `ext3/ext4/xfs`.
	FileSystem *string `pulumi:"fileSystem"`
	// ID of the custom CMK in the format of UUID or `kms-abcd1234`. This parameter is used to encrypt cloud disks.
	KmsKeyId *string `pulumi:"kmsKeyId"`
	// Mount target.
	MountTarget *string `pulumi:"mountTarget"`
	// Data disk snapshot ID.
	SnapshotId *string `pulumi:"snapshotId"`
}

type ClusterMasterConfigDataDiskArgs

type ClusterMasterConfigDataDiskArgs struct {
	// Indicate whether to auto format and mount or not. Default is `false`.
	AutoFormatAndMount pulumi.BoolPtrInput `pulumi:"autoFormatAndMount"`
	// The name of the device or partition to mount.
	DiskPartition pulumi.StringPtrInput `pulumi:"diskPartition"`
	// Volume of disk in GB. Default is `0`.
	DiskSize pulumi.IntPtrInput `pulumi:"diskSize"`
	// Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD` and `CLOUD_HSSD` and `CLOUD_TSSD`.
	DiskType pulumi.StringPtrInput `pulumi:"diskType"`
	// Indicates whether to encrypt data disk, default `false`.
	Encrypt pulumi.BoolPtrInput `pulumi:"encrypt"`
	// File system, e.g. `ext3/ext4/xfs`.
	FileSystem pulumi.StringPtrInput `pulumi:"fileSystem"`
	// ID of the custom CMK in the format of UUID or `kms-abcd1234`. This parameter is used to encrypt cloud disks.
	KmsKeyId pulumi.StringPtrInput `pulumi:"kmsKeyId"`
	// Mount target.
	MountTarget pulumi.StringPtrInput `pulumi:"mountTarget"`
	// Data disk snapshot ID.
	SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"`
}

func (ClusterMasterConfigDataDiskArgs) ElementType

func (ClusterMasterConfigDataDiskArgs) ToClusterMasterConfigDataDiskOutput

func (i ClusterMasterConfigDataDiskArgs) ToClusterMasterConfigDataDiskOutput() ClusterMasterConfigDataDiskOutput

func (ClusterMasterConfigDataDiskArgs) ToClusterMasterConfigDataDiskOutputWithContext

func (i ClusterMasterConfigDataDiskArgs) ToClusterMasterConfigDataDiskOutputWithContext(ctx context.Context) ClusterMasterConfigDataDiskOutput

type ClusterMasterConfigDataDiskArray

type ClusterMasterConfigDataDiskArray []ClusterMasterConfigDataDiskInput

func (ClusterMasterConfigDataDiskArray) ElementType

func (ClusterMasterConfigDataDiskArray) ToClusterMasterConfigDataDiskArrayOutput

func (i ClusterMasterConfigDataDiskArray) ToClusterMasterConfigDataDiskArrayOutput() ClusterMasterConfigDataDiskArrayOutput

func (ClusterMasterConfigDataDiskArray) ToClusterMasterConfigDataDiskArrayOutputWithContext

func (i ClusterMasterConfigDataDiskArray) ToClusterMasterConfigDataDiskArrayOutputWithContext(ctx context.Context) ClusterMasterConfigDataDiskArrayOutput

type ClusterMasterConfigDataDiskArrayInput

type ClusterMasterConfigDataDiskArrayInput interface {
	pulumi.Input

	ToClusterMasterConfigDataDiskArrayOutput() ClusterMasterConfigDataDiskArrayOutput
	ToClusterMasterConfigDataDiskArrayOutputWithContext(context.Context) ClusterMasterConfigDataDiskArrayOutput
}

ClusterMasterConfigDataDiskArrayInput is an input type that accepts ClusterMasterConfigDataDiskArray and ClusterMasterConfigDataDiskArrayOutput values. You can construct a concrete instance of `ClusterMasterConfigDataDiskArrayInput` via:

ClusterMasterConfigDataDiskArray{ ClusterMasterConfigDataDiskArgs{...} }

type ClusterMasterConfigDataDiskArrayOutput

type ClusterMasterConfigDataDiskArrayOutput struct{ *pulumi.OutputState }

func (ClusterMasterConfigDataDiskArrayOutput) ElementType

func (ClusterMasterConfigDataDiskArrayOutput) Index

func (ClusterMasterConfigDataDiskArrayOutput) ToClusterMasterConfigDataDiskArrayOutput

func (o ClusterMasterConfigDataDiskArrayOutput) ToClusterMasterConfigDataDiskArrayOutput() ClusterMasterConfigDataDiskArrayOutput

func (ClusterMasterConfigDataDiskArrayOutput) ToClusterMasterConfigDataDiskArrayOutputWithContext

func (o ClusterMasterConfigDataDiskArrayOutput) ToClusterMasterConfigDataDiskArrayOutputWithContext(ctx context.Context) ClusterMasterConfigDataDiskArrayOutput

type ClusterMasterConfigDataDiskInput

type ClusterMasterConfigDataDiskInput interface {
	pulumi.Input

	ToClusterMasterConfigDataDiskOutput() ClusterMasterConfigDataDiskOutput
	ToClusterMasterConfigDataDiskOutputWithContext(context.Context) ClusterMasterConfigDataDiskOutput
}

ClusterMasterConfigDataDiskInput is an input type that accepts ClusterMasterConfigDataDiskArgs and ClusterMasterConfigDataDiskOutput values. You can construct a concrete instance of `ClusterMasterConfigDataDiskInput` via:

ClusterMasterConfigDataDiskArgs{...}

type ClusterMasterConfigDataDiskOutput

type ClusterMasterConfigDataDiskOutput struct{ *pulumi.OutputState }

func (ClusterMasterConfigDataDiskOutput) AutoFormatAndMount

Indicate whether to auto format and mount or not. Default is `false`.

func (ClusterMasterConfigDataDiskOutput) DiskPartition

The name of the device or partition to mount.

func (ClusterMasterConfigDataDiskOutput) DiskSize

Volume of disk in GB. Default is `0`.

func (ClusterMasterConfigDataDiskOutput) DiskType

Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD` and `CLOUD_HSSD` and `CLOUD_TSSD`.

func (ClusterMasterConfigDataDiskOutput) ElementType

func (ClusterMasterConfigDataDiskOutput) Encrypt

Indicates whether to encrypt data disk, default `false`.

func (ClusterMasterConfigDataDiskOutput) FileSystem

File system, e.g. `ext3/ext4/xfs`.

func (ClusterMasterConfigDataDiskOutput) KmsKeyId

ID of the custom CMK in the format of UUID or `kms-abcd1234`. This parameter is used to encrypt cloud disks.

func (ClusterMasterConfigDataDiskOutput) MountTarget

Mount target.

func (ClusterMasterConfigDataDiskOutput) SnapshotId

Data disk snapshot ID.

func (ClusterMasterConfigDataDiskOutput) ToClusterMasterConfigDataDiskOutput

func (o ClusterMasterConfigDataDiskOutput) ToClusterMasterConfigDataDiskOutput() ClusterMasterConfigDataDiskOutput

func (ClusterMasterConfigDataDiskOutput) ToClusterMasterConfigDataDiskOutputWithContext

func (o ClusterMasterConfigDataDiskOutput) ToClusterMasterConfigDataDiskOutputWithContext(ctx context.Context) ClusterMasterConfigDataDiskOutput

type ClusterMasterConfigInput

type ClusterMasterConfigInput interface {
	pulumi.Input

	ToClusterMasterConfigOutput() ClusterMasterConfigOutput
	ToClusterMasterConfigOutputWithContext(context.Context) ClusterMasterConfigOutput
}

ClusterMasterConfigInput is an input type that accepts ClusterMasterConfigArgs and ClusterMasterConfigOutput values. You can construct a concrete instance of `ClusterMasterConfigInput` via:

ClusterMasterConfigArgs{...}

type ClusterMasterConfigOutput

type ClusterMasterConfigOutput struct{ *pulumi.OutputState }

func (ClusterMasterConfigOutput) AvailabilityZone

func (o ClusterMasterConfigOutput) AvailabilityZone() pulumi.StringPtrOutput

Indicates which availability zone will be used.

func (ClusterMasterConfigOutput) BandwidthPackageId

func (o ClusterMasterConfigOutput) BandwidthPackageId() pulumi.StringPtrOutput

bandwidth package id. if user is standard user, then the bandwidthPackageId is needed, or default has bandwidth_package_id.

func (ClusterMasterConfigOutput) CamRoleName

CAM role name authorized to access.

func (ClusterMasterConfigOutput) Count

Number of cvm.

func (ClusterMasterConfigOutput) DataDisks

Configurations of data disk.

func (ClusterMasterConfigOutput) DesiredPodNum

func (o ClusterMasterConfigOutput) DesiredPodNum() pulumi.IntPtrOutput

Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override `[globe_]desired_pod_num` for current node. Either all the fields `desiredPodNum` or none.

func (ClusterMasterConfigOutput) DisasterRecoverGroupIds

func (o ClusterMasterConfigOutput) DisasterRecoverGroupIds() pulumi.StringPtrOutput

Disaster recover groups to which a CVM instance belongs. Only support maximum 1.

func (ClusterMasterConfigOutput) ElementType

func (ClusterMasterConfigOutput) ElementType() reflect.Type

func (ClusterMasterConfigOutput) EnhancedMonitorService

func (o ClusterMasterConfigOutput) EnhancedMonitorService() pulumi.BoolPtrOutput

To specify whether to enable cloud monitor service. Default is TRUE.

func (ClusterMasterConfigOutput) EnhancedSecurityService

func (o ClusterMasterConfigOutput) EnhancedSecurityService() pulumi.BoolPtrOutput

To specify whether to enable cloud security service. Default is TRUE.

func (ClusterMasterConfigOutput) Hostname

The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).

func (ClusterMasterConfigOutput) ImgId

The valid image id, format of img-xxx.

func (ClusterMasterConfigOutput) InstanceChargeType

func (o ClusterMasterConfigOutput) InstanceChargeType() pulumi.StringPtrOutput

The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`, `PREPAID` instance will not terminated after cluster deleted, and may not allow to delete before expired.

func (ClusterMasterConfigOutput) InstanceChargeTypePrepaidPeriod

func (o ClusterMasterConfigOutput) InstanceChargeTypePrepaidPeriod() pulumi.IntPtrOutput

The tenancy (time unit is month) of the prepaid instance. NOTE: it only works when instanceChargeType is set to `PREPAID`. Valid values are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`.

func (ClusterMasterConfigOutput) InstanceChargeTypePrepaidRenewFlag

func (o ClusterMasterConfigOutput) InstanceChargeTypePrepaidRenewFlag() pulumi.StringPtrOutput

Auto renewal flag. Valid values: `NOTIFY_AND_AUTO_RENEW`: notify upon expiration and renew automatically, `NOTIFY_AND_MANUAL_RENEW`: notify upon expiration but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: neither notify upon expiration nor renew automatically. Default value: `NOTIFY_AND_MANUAL_RENEW`. If this parameter is specified as `NOTIFY_AND_AUTO_RENEW`, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instanceChargeType is set to `PREPAID`.

func (ClusterMasterConfigOutput) InstanceName

Name of the CVMs.

func (ClusterMasterConfigOutput) InstanceType

Specified types of CVM instance.

func (ClusterMasterConfigOutput) InternetChargeType

func (o ClusterMasterConfigOutput) InternetChargeType() pulumi.StringPtrOutput

Charge types for network traffic. Available values include `TRAFFIC_POSTPAID_BY_HOUR`.

func (ClusterMasterConfigOutput) InternetMaxBandwidthOut

func (o ClusterMasterConfigOutput) InternetMaxBandwidthOut() pulumi.IntPtrOutput

Max bandwidth of Internet access in Mbps. Default is 0.

func (ClusterMasterConfigOutput) KeyIds

ID list of keys, should be set if `password` not set.

func (ClusterMasterConfigOutput) Password

Password to access, should be set if `keyIds` not set.

func (ClusterMasterConfigOutput) PublicIpAssigned

func (o ClusterMasterConfigOutput) PublicIpAssigned() pulumi.BoolPtrOutput

Specify whether to assign an Internet IP address.

func (ClusterMasterConfigOutput) SecurityGroupIds

func (o ClusterMasterConfigOutput) SecurityGroupIds() pulumi.StringArrayOutput

Security groups to which a CVM instance belongs.

func (ClusterMasterConfigOutput) SubnetId

Private network ID.

func (ClusterMasterConfigOutput) SystemDiskSize

func (o ClusterMasterConfigOutput) SystemDiskSize() pulumi.IntPtrOutput

Volume of system disk in GB. Default is `50`.

func (ClusterMasterConfigOutput) SystemDiskType

System disk type. For more information on limits of system disk types, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952). Valid values: `LOCAL_BASIC`: local disk, `LOCAL_SSD`: local SSD disk, `CLOUD_SSD`: SSD, `CLOUD_PREMIUM`: Premium Cloud Storage. NOTE: `CLOUD_BASIC`, `LOCAL_BASIC` and `LOCAL_SSD` are deprecated.

func (ClusterMasterConfigOutput) ToClusterMasterConfigOutput

func (o ClusterMasterConfigOutput) ToClusterMasterConfigOutput() ClusterMasterConfigOutput

func (ClusterMasterConfigOutput) ToClusterMasterConfigOutputWithContext

func (o ClusterMasterConfigOutput) ToClusterMasterConfigOutputWithContext(ctx context.Context) ClusterMasterConfigOutput

func (ClusterMasterConfigOutput) UserData

ase64-encoded User Data text, the length limit is 16KB.

type ClusterNodePoolGlobalConfig

type ClusterNodePoolGlobalConfig struct {
	// Indicates which scale-out method will be used when there are multiple scaling groups. Valid values: `random` - select a random scaling group, `most-pods` - select the scaling group that can schedule the most pods, `least-waste` - select the scaling group that can ensure the fewest remaining resources after Pod scheduling.
	Expander *string `pulumi:"expander"`
	// Whether to ignore DaemonSet pods by default when calculating resource usage.
	IgnoreDaemonSetsUtilization *bool `pulumi:"ignoreDaemonSetsUtilization"`
	// Indicates whether to enable scale-in.
	IsScaleInEnabled *bool `pulumi:"isScaleInEnabled"`
	// Max concurrent scale-in volume.
	MaxConcurrentScaleIn *int `pulumi:"maxConcurrentScaleIn"`
	// Number of minutes after cluster scale-out when the system starts judging whether to perform scale-in.
	ScaleInDelay *int `pulumi:"scaleInDelay"`
	// Number of consecutive minutes of idleness after which the node is subject to scale-in.
	ScaleInUnneededTime *int `pulumi:"scaleInUnneededTime"`
	// Percentage of node resource usage below which the node is considered to be idle.
	ScaleInUtilizationThreshold *int `pulumi:"scaleInUtilizationThreshold"`
	// During scale-in, ignore nodes with local storage pods.
	SkipNodesWithLocalStorage *bool `pulumi:"skipNodesWithLocalStorage"`
	// During scale-in, ignore nodes with pods in the kube-system namespace that are not managed by DaemonSet.
	SkipNodesWithSystemPods *bool `pulumi:"skipNodesWithSystemPods"`
}

type ClusterNodePoolGlobalConfigArgs

type ClusterNodePoolGlobalConfigArgs struct {
	// Indicates which scale-out method will be used when there are multiple scaling groups. Valid values: `random` - select a random scaling group, `most-pods` - select the scaling group that can schedule the most pods, `least-waste` - select the scaling group that can ensure the fewest remaining resources after Pod scheduling.
	Expander pulumi.StringPtrInput `pulumi:"expander"`
	// Whether to ignore DaemonSet pods by default when calculating resource usage.
	IgnoreDaemonSetsUtilization pulumi.BoolPtrInput `pulumi:"ignoreDaemonSetsUtilization"`
	// Indicates whether to enable scale-in.
	IsScaleInEnabled pulumi.BoolPtrInput `pulumi:"isScaleInEnabled"`
	// Max concurrent scale-in volume.
	MaxConcurrentScaleIn pulumi.IntPtrInput `pulumi:"maxConcurrentScaleIn"`
	// Number of minutes after cluster scale-out when the system starts judging whether to perform scale-in.
	ScaleInDelay pulumi.IntPtrInput `pulumi:"scaleInDelay"`
	// Number of consecutive minutes of idleness after which the node is subject to scale-in.
	ScaleInUnneededTime pulumi.IntPtrInput `pulumi:"scaleInUnneededTime"`
	// Percentage of node resource usage below which the node is considered to be idle.
	ScaleInUtilizationThreshold pulumi.IntPtrInput `pulumi:"scaleInUtilizationThreshold"`
	// During scale-in, ignore nodes with local storage pods.
	SkipNodesWithLocalStorage pulumi.BoolPtrInput `pulumi:"skipNodesWithLocalStorage"`
	// During scale-in, ignore nodes with pods in the kube-system namespace that are not managed by DaemonSet.
	SkipNodesWithSystemPods pulumi.BoolPtrInput `pulumi:"skipNodesWithSystemPods"`
}

func (ClusterNodePoolGlobalConfigArgs) ElementType

func (ClusterNodePoolGlobalConfigArgs) ToClusterNodePoolGlobalConfigOutput

func (i ClusterNodePoolGlobalConfigArgs) ToClusterNodePoolGlobalConfigOutput() ClusterNodePoolGlobalConfigOutput

func (ClusterNodePoolGlobalConfigArgs) ToClusterNodePoolGlobalConfigOutputWithContext

func (i ClusterNodePoolGlobalConfigArgs) ToClusterNodePoolGlobalConfigOutputWithContext(ctx context.Context) ClusterNodePoolGlobalConfigOutput

type ClusterNodePoolGlobalConfigArray

type ClusterNodePoolGlobalConfigArray []ClusterNodePoolGlobalConfigInput

func (ClusterNodePoolGlobalConfigArray) ElementType

func (ClusterNodePoolGlobalConfigArray) ToClusterNodePoolGlobalConfigArrayOutput

func (i ClusterNodePoolGlobalConfigArray) ToClusterNodePoolGlobalConfigArrayOutput() ClusterNodePoolGlobalConfigArrayOutput

func (ClusterNodePoolGlobalConfigArray) ToClusterNodePoolGlobalConfigArrayOutputWithContext

func (i ClusterNodePoolGlobalConfigArray) ToClusterNodePoolGlobalConfigArrayOutputWithContext(ctx context.Context) ClusterNodePoolGlobalConfigArrayOutput

type ClusterNodePoolGlobalConfigArrayInput

type ClusterNodePoolGlobalConfigArrayInput interface {
	pulumi.Input

	ToClusterNodePoolGlobalConfigArrayOutput() ClusterNodePoolGlobalConfigArrayOutput
	ToClusterNodePoolGlobalConfigArrayOutputWithContext(context.Context) ClusterNodePoolGlobalConfigArrayOutput
}

ClusterNodePoolGlobalConfigArrayInput is an input type that accepts ClusterNodePoolGlobalConfigArray and ClusterNodePoolGlobalConfigArrayOutput values. You can construct a concrete instance of `ClusterNodePoolGlobalConfigArrayInput` via:

ClusterNodePoolGlobalConfigArray{ ClusterNodePoolGlobalConfigArgs{...} }

type ClusterNodePoolGlobalConfigArrayOutput

type ClusterNodePoolGlobalConfigArrayOutput struct{ *pulumi.OutputState }

func (ClusterNodePoolGlobalConfigArrayOutput) ElementType

func (ClusterNodePoolGlobalConfigArrayOutput) Index

func (ClusterNodePoolGlobalConfigArrayOutput) ToClusterNodePoolGlobalConfigArrayOutput

func (o ClusterNodePoolGlobalConfigArrayOutput) ToClusterNodePoolGlobalConfigArrayOutput() ClusterNodePoolGlobalConfigArrayOutput

func (ClusterNodePoolGlobalConfigArrayOutput) ToClusterNodePoolGlobalConfigArrayOutputWithContext

func (o ClusterNodePoolGlobalConfigArrayOutput) ToClusterNodePoolGlobalConfigArrayOutputWithContext(ctx context.Context) ClusterNodePoolGlobalConfigArrayOutput

type ClusterNodePoolGlobalConfigInput

type ClusterNodePoolGlobalConfigInput interface {
	pulumi.Input

	ToClusterNodePoolGlobalConfigOutput() ClusterNodePoolGlobalConfigOutput
	ToClusterNodePoolGlobalConfigOutputWithContext(context.Context) ClusterNodePoolGlobalConfigOutput
}

ClusterNodePoolGlobalConfigInput is an input type that accepts ClusterNodePoolGlobalConfigArgs and ClusterNodePoolGlobalConfigOutput values. You can construct a concrete instance of `ClusterNodePoolGlobalConfigInput` via:

ClusterNodePoolGlobalConfigArgs{...}

type ClusterNodePoolGlobalConfigOutput

type ClusterNodePoolGlobalConfigOutput struct{ *pulumi.OutputState }

func (ClusterNodePoolGlobalConfigOutput) ElementType

func (ClusterNodePoolGlobalConfigOutput) Expander

Indicates which scale-out method will be used when there are multiple scaling groups. Valid values: `random` - select a random scaling group, `most-pods` - select the scaling group that can schedule the most pods, `least-waste` - select the scaling group that can ensure the fewest remaining resources after Pod scheduling.

func (ClusterNodePoolGlobalConfigOutput) IgnoreDaemonSetsUtilization

func (o ClusterNodePoolGlobalConfigOutput) IgnoreDaemonSetsUtilization() pulumi.BoolPtrOutput

Whether to ignore DaemonSet pods by default when calculating resource usage.

func (ClusterNodePoolGlobalConfigOutput) IsScaleInEnabled

Indicates whether to enable scale-in.

func (ClusterNodePoolGlobalConfigOutput) MaxConcurrentScaleIn

func (o ClusterNodePoolGlobalConfigOutput) MaxConcurrentScaleIn() pulumi.IntPtrOutput

Max concurrent scale-in volume.

func (ClusterNodePoolGlobalConfigOutput) ScaleInDelay

Number of minutes after cluster scale-out when the system starts judging whether to perform scale-in.

func (ClusterNodePoolGlobalConfigOutput) ScaleInUnneededTime

func (o ClusterNodePoolGlobalConfigOutput) ScaleInUnneededTime() pulumi.IntPtrOutput

Number of consecutive minutes of idleness after which the node is subject to scale-in.

func (ClusterNodePoolGlobalConfigOutput) ScaleInUtilizationThreshold

func (o ClusterNodePoolGlobalConfigOutput) ScaleInUtilizationThreshold() pulumi.IntPtrOutput

Percentage of node resource usage below which the node is considered to be idle.

func (ClusterNodePoolGlobalConfigOutput) SkipNodesWithLocalStorage

func (o ClusterNodePoolGlobalConfigOutput) SkipNodesWithLocalStorage() pulumi.BoolPtrOutput

During scale-in, ignore nodes with local storage pods.

func (ClusterNodePoolGlobalConfigOutput) SkipNodesWithSystemPods

func (o ClusterNodePoolGlobalConfigOutput) SkipNodesWithSystemPods() pulumi.BoolPtrOutput

During scale-in, ignore nodes with pods in the kube-system namespace that are not managed by DaemonSet.

func (ClusterNodePoolGlobalConfigOutput) ToClusterNodePoolGlobalConfigOutput

func (o ClusterNodePoolGlobalConfigOutput) ToClusterNodePoolGlobalConfigOutput() ClusterNodePoolGlobalConfigOutput

func (ClusterNodePoolGlobalConfigOutput) ToClusterNodePoolGlobalConfigOutputWithContext

func (o ClusterNodePoolGlobalConfigOutput) ToClusterNodePoolGlobalConfigOutputWithContext(ctx context.Context) ClusterNodePoolGlobalConfigOutput

type ClusterOutput

type ClusterOutput struct{ *pulumi.OutputState }

func (ClusterOutput) AcquireClusterAdminRole

func (o ClusterOutput) AcquireClusterAdminRole() pulumi.BoolPtrOutput

If set to true, it will acquire the ClusterRole tke:admin. NOTE: this arguments cannot revoke to `false` after acquired.

func (ClusterOutput) AuthOptions

Specify cluster authentication configuration. Only available for managed cluster and `clusterVersion` >= 1.20.

func (ClusterOutput) AutoUpgradeClusterLevel

func (o ClusterOutput) AutoUpgradeClusterLevel() pulumi.BoolPtrOutput

Whether the cluster level auto upgraded, valid for managed cluster.

func (ClusterOutput) BasePodNum

func (o ClusterOutput) BasePodNum() pulumi.IntPtrOutput

The number of basic pods. valid when enable_customized_pod_cidr=true.

func (ClusterOutput) CertificationAuthority

func (o ClusterOutput) CertificationAuthority() pulumi.StringOutput

The certificate used for access.

func (ClusterOutput) ClaimExpiredSeconds

func (o ClusterOutput) ClaimExpiredSeconds() pulumi.IntPtrOutput

Claim expired seconds to recycle ENI. This field can only set when field `networkType` is 'VPC-CNI'. `claimExpiredSeconds` must greater or equal than 300 and less than 15768000.

func (ClusterOutput) ClusterAsEnabled deprecated

func (o ClusterOutput) ClusterAsEnabled() pulumi.BoolPtrOutput

This argument is deprecated because the TKE auto-scaling group was no longer available. Indicates whether to enable cluster node auto scaling. Default is false.

Deprecated: This argument is deprecated because the TKE auto-scaling group was no longer available.

func (ClusterOutput) ClusterAudit

Specify Cluster Audit config. NOTE: Please make sure your TKE CamRole have permission to access CLS service.

func (ClusterOutput) ClusterCidr

func (o ClusterOutput) ClusterCidr() pulumi.StringPtrOutput

A network address block of the cluster. Different from vpc cidr and cidr of other clusters within this vpc. Must be in 10./192.168/172.[16-31] segments.

func (ClusterOutput) ClusterDeployType

func (o ClusterOutput) ClusterDeployType() pulumi.StringPtrOutput

Deployment type of the cluster, the available values include: 'MANAGED_CLUSTER' and 'INDEPENDENT_CLUSTER'. Default is 'MANAGED_CLUSTER'.

func (ClusterOutput) ClusterDesc

func (o ClusterOutput) ClusterDesc() pulumi.StringPtrOutput

Description of the cluster.

func (ClusterOutput) ClusterExternalEndpoint

func (o ClusterOutput) ClusterExternalEndpoint() pulumi.StringOutput

External network address to access.

func (ClusterOutput) ClusterExtraArgs

func (o ClusterOutput) ClusterExtraArgs() ClusterClusterExtraArgsPtrOutput

Customized parameters for master component,such as kube-apiserver, kube-controller-manager, kube-scheduler.

func (ClusterOutput) ClusterInternet

func (o ClusterOutput) ClusterInternet() pulumi.BoolPtrOutput

Open internet access or not. If this field is set 'true', the field below `workerConfig` must be set. Because only cluster with node is allowed enable access endpoint.

func (ClusterOutput) ClusterInternetSecurityGroup

func (o ClusterOutput) ClusterInternetSecurityGroup() pulumi.StringPtrOutput

Specify security group, NOTE: This argument must not be empty if cluster internet enabled.

func (ClusterOutput) ClusterIntranet

func (o ClusterOutput) ClusterIntranet() pulumi.BoolPtrOutput

Open intranet access or not. If this field is set 'true', the field below `workerConfig` must be set. Because only cluster with node is allowed enable access endpoint.

func (ClusterOutput) ClusterIntranetSubnetId

func (o ClusterOutput) ClusterIntranetSubnetId() pulumi.StringPtrOutput

Subnet id who can access this independent cluster, this field must and can only set when `clusterIntranet` is true. `clusterIntranetSubnetId` can not modify once be set.

func (ClusterOutput) ClusterIpvs

func (o ClusterOutput) ClusterIpvs() pulumi.BoolPtrOutput

Indicates whether `ipvs` is enabled. Default is true. False means `iptables` is enabled.

func (ClusterOutput) ClusterLevel

func (o ClusterOutput) ClusterLevel() pulumi.StringOutput

Specify cluster level, valid for managed cluster, use data source `Kubernetes.getClusterLevels` to query available levels. Available value examples `L5`, `L20`, `L50`, `L100`, etc.

func (ClusterOutput) ClusterMaxPodNum

func (o ClusterOutput) ClusterMaxPodNum() pulumi.IntPtrOutput

The maximum number of Pods per node in the cluster. Default is 256. The minimum value is 4. When its power unequal to 2, it will round upward to the closest power of 2.

func (ClusterOutput) ClusterMaxServiceNum

func (o ClusterOutput) ClusterMaxServiceNum() pulumi.IntPtrOutput

The maximum number of services in the cluster. Default is 256. The range is from 32 to 32768. When its power unequal to 2, it will round upward to the closest power of 2.

func (ClusterOutput) ClusterName

func (o ClusterOutput) ClusterName() pulumi.StringPtrOutput

Name of the cluster.

func (ClusterOutput) ClusterNodeNum

func (o ClusterOutput) ClusterNodeNum() pulumi.IntOutput

Number of nodes in the cluster.

func (ClusterOutput) ClusterOs

func (o ClusterOutput) ClusterOs() pulumi.StringPtrOutput

Operating system of the cluster, the available values include: 'centos7.6.0_x64','ubuntu18.04.1x86_64','tlinux2.4x86_64'. Default is 'tlinux2.4x86_64'.

func (ClusterOutput) ClusterOsType

func (o ClusterOutput) ClusterOsType() pulumi.StringPtrOutput

Image type of the cluster os, the available values include: 'GENERAL'. Default is 'GENERAL'.

func (ClusterOutput) ClusterVersion

func (o ClusterOutput) ClusterVersion() pulumi.StringPtrOutput

Version of the cluster, Default is '1.10.5'.

func (ClusterOutput) ContainerRuntime

func (o ClusterOutput) ContainerRuntime() pulumi.StringPtrOutput

Runtime type of the cluster, the available values include: 'docker' and 'containerd'. Default is 'docker'.

func (ClusterOutput) DeletionProtection

func (o ClusterOutput) DeletionProtection() pulumi.BoolPtrOutput

Indicates whether cluster deletion protection is enabled. Default is false.

func (ClusterOutput) DockerGraphPath

func (o ClusterOutput) DockerGraphPath() pulumi.StringPtrOutput

Docker graph path. Default is `/var/lib/docker`.

func (ClusterOutput) Domain

func (o ClusterOutput) Domain() pulumi.StringOutput

Domain name for access.

func (ClusterOutput) ElementType

func (ClusterOutput) ElementType() reflect.Type

func (ClusterOutput) EnableCustomizedPodCidr

func (o ClusterOutput) EnableCustomizedPodCidr() pulumi.BoolPtrOutput

Whether to enable the custom mode of node podCIDR size. Default is false.

func (ClusterOutput) EniSubnetIds

func (o ClusterOutput) EniSubnetIds() pulumi.StringArrayOutput

Subnet Ids for cluster with VPC-CNI network mode. This field can only set when field `networkType` is 'VPC-CNI'. `eniSubnetIds` can not empty once be set.

func (ClusterOutput) EventPersistence

func (o ClusterOutput) EventPersistence() ClusterEventPersistencePtrOutput

Specify cluster Event Persistence config. NOTE: Please make sure your TKE CamRole have permission to access CLS service.

func (ClusterOutput) ExistInstances

create tke cluster by existed instances.

func (ClusterOutput) ExtensionAddons

func (o ClusterOutput) ExtensionAddons() ClusterExtensionAddonArrayOutput

Information of the add-on to be installed.

func (ClusterOutput) ExtraArgs

func (o ClusterOutput) ExtraArgs() pulumi.StringArrayOutput

Custom parameter information related to the node.

func (ClusterOutput) GlobeDesiredPodNum

func (o ClusterOutput) GlobeDesiredPodNum() pulumi.IntPtrOutput

Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it takes effect for all nodes.

func (ClusterOutput) IgnoreClusterCidrConflict

func (o ClusterOutput) IgnoreClusterCidrConflict() pulumi.BoolPtrOutput

Indicates whether to ignore the cluster cidr conflict error. Default is false.

func (ClusterOutput) IsNonStaticIpMode

func (o ClusterOutput) IsNonStaticIpMode() pulumi.BoolPtrOutput

Indicates whether non-static ip mode is enabled. Default is false.

func (ClusterOutput) KubeConfig

func (o ClusterOutput) KubeConfig() pulumi.StringOutput

Kubernetes config.

func (ClusterOutput) KubeConfigIntranet

func (o ClusterOutput) KubeConfigIntranet() pulumi.StringOutput

Kubernetes config of private network.

func (ClusterOutput) KubeProxyMode

func (o ClusterOutput) KubeProxyMode() pulumi.StringPtrOutput

Cluster kube-proxy mode, the available values include: 'kube-proxy-bpf'. Default is not set.When set to kube-proxy-bpf, cluster version greater than 1.14 and with Tencent Linux 2.4 is required.

func (ClusterOutput) Labels

func (o ClusterOutput) Labels() pulumi.MapOutput

Labels of tke cluster nodes.

func (ClusterOutput) LogAgent

Specify cluster log agent config.

func (ClusterOutput) ManagedClusterInternetSecurityPolicies deprecated

func (o ClusterOutput) ManagedClusterInternetSecurityPolicies() pulumi.StringArrayOutput

this argument was deprecated, use `clusterInternetSecurityGroup` instead. Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field `clusterDeployType` is 'MANAGED_CLUSTER' and `clusterInternet` is true. `managedClusterInternetSecurityPolicies` can not delete or empty once be set.

Deprecated: this argument was deprecated, use `cluster_internet_security_group` instead.

func (ClusterOutput) MasterConfigs

Deploy the machine configuration information of the 'MASTER_ETCD' service, and create <=7 units for common users.

func (ClusterOutput) MountTarget

func (o ClusterOutput) MountTarget() pulumi.StringPtrOutput

Mount target. Default is not mounting.

func (ClusterOutput) NetworkType

func (o ClusterOutput) NetworkType() pulumi.StringPtrOutput

Cluster network type, GR or VPC-CNI. Default is GR.

func (ClusterOutput) NodeNameType

func (o ClusterOutput) NodeNameType() pulumi.StringPtrOutput

Node name type of Cluster, the available values include: 'lan-ip' and 'hostname', Default is 'lan-ip'.

func (ClusterOutput) NodePoolGlobalConfigs

func (o ClusterOutput) NodePoolGlobalConfigs() ClusterNodePoolGlobalConfigArrayOutput

Global config effective for all node pools.

func (ClusterOutput) Password

func (o ClusterOutput) Password() pulumi.StringOutput

Password to access, should be set if `keyIds` not set.

func (ClusterOutput) PgwEndpoint

func (o ClusterOutput) PgwEndpoint() pulumi.StringOutput

The Intranet address used for access.

func (ClusterOutput) ProjectId

func (o ClusterOutput) ProjectId() pulumi.IntPtrOutput

Project ID, default value is 0.

func (ClusterOutput) RuntimeVersion

func (o ClusterOutput) RuntimeVersion() pulumi.StringPtrOutput

Container Runtime version.

func (ClusterOutput) SecurityPolicies

func (o ClusterOutput) SecurityPolicies() pulumi.StringArrayOutput

Access policy.

func (ClusterOutput) ServiceCidr

func (o ClusterOutput) ServiceCidr() pulumi.StringPtrOutput

A network address block of the service. Different from vpc cidr and cidr of other clusters within this vpc. Must be in 10./192.168/172.[16-31] segments.

func (ClusterOutput) Tags

func (o ClusterOutput) Tags() pulumi.MapOutput

The tags of the cluster.

func (ClusterOutput) ToClusterOutput

func (o ClusterOutput) ToClusterOutput() ClusterOutput

func (ClusterOutput) ToClusterOutputWithContext

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

func (ClusterOutput) Unschedulable

func (o ClusterOutput) Unschedulable() pulumi.IntPtrOutput

Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.

func (ClusterOutput) UpgradeInstancesFollowCluster

func (o ClusterOutput) UpgradeInstancesFollowCluster() pulumi.BoolPtrOutput

Indicates whether upgrade all instances when clusterVersion change. Default is false.

func (ClusterOutput) UserName

func (o ClusterOutput) UserName() pulumi.StringOutput

User name of account.

func (ClusterOutput) VpcId

func (o ClusterOutput) VpcId() pulumi.StringOutput

Vpc Id of the cluster.

func (ClusterOutput) WorkerConfigs

Deploy the machine configuration information of the 'WORKER' service, and create <=20 units for common users. The other 'WORK' service are added by 'tencentcloud_kubernetes_worker'.

func (ClusterOutput) WorkerInstancesLists

func (o ClusterOutput) WorkerInstancesLists() ClusterWorkerInstancesListArrayOutput

An information list of cvm within the 'WORKER' clusters. Each element contains the following attributes:

type ClusterState

type ClusterState struct {
	// If set to true, it will acquire the ClusterRole tke:admin. NOTE: this arguments cannot revoke to `false` after acquired.
	AcquireClusterAdminRole pulumi.BoolPtrInput
	// Specify cluster authentication configuration. Only available for managed cluster and `clusterVersion` >= 1.20.
	AuthOptions ClusterAuthOptionsPtrInput
	// Whether the cluster level auto upgraded, valid for managed cluster.
	AutoUpgradeClusterLevel pulumi.BoolPtrInput
	// The number of basic pods. valid when enable_customized_pod_cidr=true.
	BasePodNum pulumi.IntPtrInput
	// The certificate used for access.
	CertificationAuthority pulumi.StringPtrInput
	// Claim expired seconds to recycle ENI. This field can only set when field `networkType` is 'VPC-CNI'. `claimExpiredSeconds` must greater or equal than 300 and less than 15768000.
	ClaimExpiredSeconds pulumi.IntPtrInput
	// This argument is deprecated because the TKE auto-scaling group was no longer available. Indicates whether to enable cluster node auto scaling. Default is false.
	//
	// Deprecated: This argument is deprecated because the TKE auto-scaling group was no longer available.
	ClusterAsEnabled pulumi.BoolPtrInput
	// Specify Cluster Audit config. NOTE: Please make sure your TKE CamRole have permission to access CLS service.
	ClusterAudit ClusterClusterAuditPtrInput
	// A network address block of the cluster. Different from vpc cidr and cidr of other clusters within this vpc. Must be in  10./192.168/172.[16-31] segments.
	ClusterCidr pulumi.StringPtrInput
	// Deployment type of the cluster, the available values include: 'MANAGED_CLUSTER' and 'INDEPENDENT_CLUSTER'. Default is 'MANAGED_CLUSTER'.
	ClusterDeployType pulumi.StringPtrInput
	// Description of the cluster.
	ClusterDesc pulumi.StringPtrInput
	// External network address to access.
	ClusterExternalEndpoint pulumi.StringPtrInput
	// Customized parameters for master component,such as kube-apiserver, kube-controller-manager, kube-scheduler.
	ClusterExtraArgs ClusterClusterExtraArgsPtrInput
	// Open internet access or not. If this field is set 'true', the field below `workerConfig` must be set. Because only cluster with node is allowed enable access endpoint.
	ClusterInternet pulumi.BoolPtrInput
	// Specify security group, NOTE: This argument must not be empty if cluster internet enabled.
	ClusterInternetSecurityGroup pulumi.StringPtrInput
	// Open intranet access or not. If this field is set 'true', the field below `workerConfig` must be set. Because only cluster with node is allowed enable access endpoint.
	ClusterIntranet pulumi.BoolPtrInput
	// Subnet id who can access this independent cluster, this field must and can only set  when `clusterIntranet` is true. `clusterIntranetSubnetId` can not modify once be set.
	ClusterIntranetSubnetId pulumi.StringPtrInput
	// Indicates whether `ipvs` is enabled. Default is true. False means `iptables` is enabled.
	ClusterIpvs pulumi.BoolPtrInput
	// Specify cluster level, valid for managed cluster, use data source `Kubernetes.getClusterLevels` to query available levels. Available value examples `L5`, `L20`, `L50`, `L100`, etc.
	ClusterLevel pulumi.StringPtrInput
	// The maximum number of Pods per node in the cluster. Default is 256. The minimum value is 4. When its power unequal to 2, it will round upward to the closest power of 2.
	ClusterMaxPodNum pulumi.IntPtrInput
	// The maximum number of services in the cluster. Default is 256. The range is from 32 to 32768. When its power unequal to 2, it will round upward to the closest power of 2.
	ClusterMaxServiceNum pulumi.IntPtrInput
	// Name of the cluster.
	ClusterName pulumi.StringPtrInput
	// Number of nodes in the cluster.
	ClusterNodeNum pulumi.IntPtrInput
	// Operating system of the cluster, the available values include: 'centos7.6.0_x64','ubuntu18.04.1x86_64','tlinux2.4x86_64'. Default is 'tlinux2.4x86_64'.
	ClusterOs pulumi.StringPtrInput
	// Image type of the cluster os, the available values include: 'GENERAL'. Default is 'GENERAL'.
	ClusterOsType pulumi.StringPtrInput
	// Version of the cluster, Default is '1.10.5'.
	ClusterVersion pulumi.StringPtrInput
	// Runtime type of the cluster, the available values include: 'docker' and 'containerd'. Default is 'docker'.
	ContainerRuntime pulumi.StringPtrInput
	// Indicates whether cluster deletion protection is enabled. Default is false.
	DeletionProtection pulumi.BoolPtrInput
	// Docker graph path. Default is `/var/lib/docker`.
	DockerGraphPath pulumi.StringPtrInput
	// Domain name for access.
	Domain pulumi.StringPtrInput
	// Whether to enable the custom mode of node podCIDR size. Default is false.
	EnableCustomizedPodCidr pulumi.BoolPtrInput
	// Subnet Ids for cluster with VPC-CNI network mode. This field can only set when field `networkType` is 'VPC-CNI'. `eniSubnetIds` can not empty once be set.
	EniSubnetIds pulumi.StringArrayInput
	// Specify cluster Event Persistence config. NOTE: Please make sure your TKE CamRole have permission to access CLS service.
	EventPersistence ClusterEventPersistencePtrInput
	// create tke cluster by existed instances.
	ExistInstances ClusterExistInstanceArrayInput
	// Information of the add-on to be installed.
	ExtensionAddons ClusterExtensionAddonArrayInput
	// Custom parameter information related to the node.
	ExtraArgs pulumi.StringArrayInput
	// Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it takes effect for all nodes.
	GlobeDesiredPodNum pulumi.IntPtrInput
	// Indicates whether to ignore the cluster cidr conflict error. Default is false.
	IgnoreClusterCidrConflict pulumi.BoolPtrInput
	// Indicates whether non-static ip mode is enabled. Default is false.
	IsNonStaticIpMode pulumi.BoolPtrInput
	// Kubernetes config.
	KubeConfig pulumi.StringPtrInput
	// Kubernetes config of private network.
	KubeConfigIntranet pulumi.StringPtrInput
	// Cluster kube-proxy mode, the available values include: 'kube-proxy-bpf'. Default is not set.When set to kube-proxy-bpf, cluster version greater than 1.14 and with Tencent Linux 2.4 is required.
	KubeProxyMode pulumi.StringPtrInput
	// Labels of tke cluster nodes.
	Labels pulumi.MapInput
	// Specify cluster log agent config.
	LogAgent ClusterLogAgentPtrInput
	// this argument was deprecated, use `clusterInternetSecurityGroup` instead. Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field `clusterDeployType` is 'MANAGED_CLUSTER' and `clusterInternet` is true. `managedClusterInternetSecurityPolicies` can not delete or empty once be set.
	//
	// Deprecated: this argument was deprecated, use `cluster_internet_security_group` instead.
	ManagedClusterInternetSecurityPolicies pulumi.StringArrayInput
	// Deploy the machine configuration information of the 'MASTER_ETCD' service, and create <=7 units for common users.
	MasterConfigs ClusterMasterConfigArrayInput
	// Mount target. Default is not mounting.
	MountTarget pulumi.StringPtrInput
	// Cluster network type, GR or VPC-CNI. Default is GR.
	NetworkType pulumi.StringPtrInput
	// Node name type of Cluster, the available values include: 'lan-ip' and 'hostname', Default is 'lan-ip'.
	NodeNameType pulumi.StringPtrInput
	// Global config effective for all node pools.
	NodePoolGlobalConfigs ClusterNodePoolGlobalConfigArrayInput
	// Password to access, should be set if `keyIds` not set.
	Password pulumi.StringPtrInput
	// The Intranet address used for access.
	PgwEndpoint pulumi.StringPtrInput
	// Project ID, default value is 0.
	ProjectId pulumi.IntPtrInput
	// Container Runtime version.
	RuntimeVersion pulumi.StringPtrInput
	// Access policy.
	SecurityPolicies pulumi.StringArrayInput
	// A network address block of the service. Different from vpc cidr and cidr of other clusters within this vpc. Must be in  10./192.168/172.[16-31] segments.
	ServiceCidr pulumi.StringPtrInput
	// The tags of the cluster.
	Tags pulumi.MapInput
	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	Unschedulable pulumi.IntPtrInput
	// Indicates whether upgrade all instances when clusterVersion change. Default is false.
	UpgradeInstancesFollowCluster pulumi.BoolPtrInput
	// User name of account.
	UserName pulumi.StringPtrInput
	// Vpc Id of the cluster.
	VpcId pulumi.StringPtrInput
	// Deploy the machine configuration information of the 'WORKER' service, and create <=20 units for common users. The other 'WORK' service are added by 'tencentcloud_kubernetes_worker'.
	WorkerConfigs ClusterWorkerConfigArrayInput
	// An information list of cvm within the 'WORKER' clusters. Each element contains the following attributes:
	WorkerInstancesLists ClusterWorkerInstancesListArrayInput
}

func (ClusterState) ElementType

func (ClusterState) ElementType() reflect.Type

type ClusterWorkerConfig

type ClusterWorkerConfig struct {
	// Indicates which availability zone will be used.
	AvailabilityZone *string `pulumi:"availabilityZone"`
	// bandwidth package id. if user is standard user, then the bandwidthPackageId is needed, or default has bandwidth_package_id.
	BandwidthPackageId *string `pulumi:"bandwidthPackageId"`
	// CAM role name authorized to access.
	CamRoleName *string `pulumi:"camRoleName"`
	// Number of cvm.
	Count *int `pulumi:"count"`
	// Configurations of data disk.
	DataDisks []ClusterWorkerConfigDataDisk `pulumi:"dataDisks"`
	// Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override `[globe_]desired_pod_num` for current node. Either all the fields `desiredPodNum` or none.
	DesiredPodNum *int `pulumi:"desiredPodNum"`
	// Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
	DisasterRecoverGroupIds *string `pulumi:"disasterRecoverGroupIds"`
	// To specify whether to enable cloud monitor service. Default is TRUE.
	EnhancedMonitorService *bool `pulumi:"enhancedMonitorService"`
	// To specify whether to enable cloud security service. Default is TRUE.
	EnhancedSecurityService *bool `pulumi:"enhancedSecurityService"`
	// The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
	Hostname *string `pulumi:"hostname"`
	// The valid image id, format of img-xxx.
	ImgId *string `pulumi:"imgId"`
	// The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`, `PREPAID` instance will not terminated after cluster deleted, and may not allow to delete before expired.
	InstanceChargeType *string `pulumi:"instanceChargeType"`
	// The tenancy (time unit is month) of the prepaid instance. NOTE: it only works when instanceChargeType is set to `PREPAID`. Valid values are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`.
	InstanceChargeTypePrepaidPeriod *int `pulumi:"instanceChargeTypePrepaidPeriod"`
	// Auto renewal flag. Valid values: `NOTIFY_AND_AUTO_RENEW`: notify upon expiration and renew automatically, `NOTIFY_AND_MANUAL_RENEW`: notify upon expiration but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: neither notify upon expiration nor renew automatically. Default value: `NOTIFY_AND_MANUAL_RENEW`. If this parameter is specified as `NOTIFY_AND_AUTO_RENEW`, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instanceChargeType is set to `PREPAID`.
	InstanceChargeTypePrepaidRenewFlag *string `pulumi:"instanceChargeTypePrepaidRenewFlag"`
	// Name of the CVMs.
	InstanceName *string `pulumi:"instanceName"`
	// Specified types of CVM instance.
	InstanceType string `pulumi:"instanceType"`
	// Charge types for network traffic. Available values include `TRAFFIC_POSTPAID_BY_HOUR`.
	InternetChargeType *string `pulumi:"internetChargeType"`
	// Max bandwidth of Internet access in Mbps. Default is 0.
	InternetMaxBandwidthOut *int `pulumi:"internetMaxBandwidthOut"`
	// ID list of keys, should be set if `password` not set.
	KeyIds *string `pulumi:"keyIds"`
	// Password to access, should be set if `keyIds` not set.
	Password *string `pulumi:"password"`
	// Specify whether to assign an Internet IP address.
	PublicIpAssigned *bool `pulumi:"publicIpAssigned"`
	// Security groups to which a CVM instance belongs.
	SecurityGroupIds []string `pulumi:"securityGroupIds"`
	// Private network ID.
	SubnetId string `pulumi:"subnetId"`
	// Volume of system disk in GB. Default is `50`.
	SystemDiskSize *int `pulumi:"systemDiskSize"`
	// System disk type. For more information on limits of system disk types, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952). Valid values: `LOCAL_BASIC`: local disk, `LOCAL_SSD`: local SSD disk, `CLOUD_SSD`: SSD, `CLOUD_PREMIUM`: Premium Cloud Storage. NOTE: `CLOUD_BASIC`, `LOCAL_BASIC` and `LOCAL_SSD` are deprecated.
	SystemDiskType *string `pulumi:"systemDiskType"`
	// ase64-encoded User Data text, the length limit is 16KB.
	UserData *string `pulumi:"userData"`
}

type ClusterWorkerConfigArgs

type ClusterWorkerConfigArgs struct {
	// Indicates which availability zone will be used.
	AvailabilityZone pulumi.StringPtrInput `pulumi:"availabilityZone"`
	// bandwidth package id. if user is standard user, then the bandwidthPackageId is needed, or default has bandwidth_package_id.
	BandwidthPackageId pulumi.StringPtrInput `pulumi:"bandwidthPackageId"`
	// CAM role name authorized to access.
	CamRoleName pulumi.StringPtrInput `pulumi:"camRoleName"`
	// Number of cvm.
	Count pulumi.IntPtrInput `pulumi:"count"`
	// Configurations of data disk.
	DataDisks ClusterWorkerConfigDataDiskArrayInput `pulumi:"dataDisks"`
	// Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override `[globe_]desired_pod_num` for current node. Either all the fields `desiredPodNum` or none.
	DesiredPodNum pulumi.IntPtrInput `pulumi:"desiredPodNum"`
	// Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
	DisasterRecoverGroupIds pulumi.StringPtrInput `pulumi:"disasterRecoverGroupIds"`
	// To specify whether to enable cloud monitor service. Default is TRUE.
	EnhancedMonitorService pulumi.BoolPtrInput `pulumi:"enhancedMonitorService"`
	// To specify whether to enable cloud security service. Default is TRUE.
	EnhancedSecurityService pulumi.BoolPtrInput `pulumi:"enhancedSecurityService"`
	// The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
	Hostname pulumi.StringPtrInput `pulumi:"hostname"`
	// The valid image id, format of img-xxx.
	ImgId pulumi.StringPtrInput `pulumi:"imgId"`
	// The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`, `PREPAID` instance will not terminated after cluster deleted, and may not allow to delete before expired.
	InstanceChargeType pulumi.StringPtrInput `pulumi:"instanceChargeType"`
	// The tenancy (time unit is month) of the prepaid instance. NOTE: it only works when instanceChargeType is set to `PREPAID`. Valid values are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`.
	InstanceChargeTypePrepaidPeriod pulumi.IntPtrInput `pulumi:"instanceChargeTypePrepaidPeriod"`
	// Auto renewal flag. Valid values: `NOTIFY_AND_AUTO_RENEW`: notify upon expiration and renew automatically, `NOTIFY_AND_MANUAL_RENEW`: notify upon expiration but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: neither notify upon expiration nor renew automatically. Default value: `NOTIFY_AND_MANUAL_RENEW`. If this parameter is specified as `NOTIFY_AND_AUTO_RENEW`, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instanceChargeType is set to `PREPAID`.
	InstanceChargeTypePrepaidRenewFlag pulumi.StringPtrInput `pulumi:"instanceChargeTypePrepaidRenewFlag"`
	// Name of the CVMs.
	InstanceName pulumi.StringPtrInput `pulumi:"instanceName"`
	// Specified types of CVM instance.
	InstanceType pulumi.StringInput `pulumi:"instanceType"`
	// Charge types for network traffic. Available values include `TRAFFIC_POSTPAID_BY_HOUR`.
	InternetChargeType pulumi.StringPtrInput `pulumi:"internetChargeType"`
	// Max bandwidth of Internet access in Mbps. Default is 0.
	InternetMaxBandwidthOut pulumi.IntPtrInput `pulumi:"internetMaxBandwidthOut"`
	// ID list of keys, should be set if `password` not set.
	KeyIds pulumi.StringPtrInput `pulumi:"keyIds"`
	// Password to access, should be set if `keyIds` not set.
	Password pulumi.StringPtrInput `pulumi:"password"`
	// Specify whether to assign an Internet IP address.
	PublicIpAssigned pulumi.BoolPtrInput `pulumi:"publicIpAssigned"`
	// Security groups to which a CVM instance belongs.
	SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"`
	// Private network ID.
	SubnetId pulumi.StringInput `pulumi:"subnetId"`
	// Volume of system disk in GB. Default is `50`.
	SystemDiskSize pulumi.IntPtrInput `pulumi:"systemDiskSize"`
	// System disk type. For more information on limits of system disk types, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952). Valid values: `LOCAL_BASIC`: local disk, `LOCAL_SSD`: local SSD disk, `CLOUD_SSD`: SSD, `CLOUD_PREMIUM`: Premium Cloud Storage. NOTE: `CLOUD_BASIC`, `LOCAL_BASIC` and `LOCAL_SSD` are deprecated.
	SystemDiskType pulumi.StringPtrInput `pulumi:"systemDiskType"`
	// ase64-encoded User Data text, the length limit is 16KB.
	UserData pulumi.StringPtrInput `pulumi:"userData"`
}

func (ClusterWorkerConfigArgs) ElementType

func (ClusterWorkerConfigArgs) ElementType() reflect.Type

func (ClusterWorkerConfigArgs) ToClusterWorkerConfigOutput

func (i ClusterWorkerConfigArgs) ToClusterWorkerConfigOutput() ClusterWorkerConfigOutput

func (ClusterWorkerConfigArgs) ToClusterWorkerConfigOutputWithContext

func (i ClusterWorkerConfigArgs) ToClusterWorkerConfigOutputWithContext(ctx context.Context) ClusterWorkerConfigOutput

type ClusterWorkerConfigArray

type ClusterWorkerConfigArray []ClusterWorkerConfigInput

func (ClusterWorkerConfigArray) ElementType

func (ClusterWorkerConfigArray) ElementType() reflect.Type

func (ClusterWorkerConfigArray) ToClusterWorkerConfigArrayOutput

func (i ClusterWorkerConfigArray) ToClusterWorkerConfigArrayOutput() ClusterWorkerConfigArrayOutput

func (ClusterWorkerConfigArray) ToClusterWorkerConfigArrayOutputWithContext

func (i ClusterWorkerConfigArray) ToClusterWorkerConfigArrayOutputWithContext(ctx context.Context) ClusterWorkerConfigArrayOutput

type ClusterWorkerConfigArrayInput

type ClusterWorkerConfigArrayInput interface {
	pulumi.Input

	ToClusterWorkerConfigArrayOutput() ClusterWorkerConfigArrayOutput
	ToClusterWorkerConfigArrayOutputWithContext(context.Context) ClusterWorkerConfigArrayOutput
}

ClusterWorkerConfigArrayInput is an input type that accepts ClusterWorkerConfigArray and ClusterWorkerConfigArrayOutput values. You can construct a concrete instance of `ClusterWorkerConfigArrayInput` via:

ClusterWorkerConfigArray{ ClusterWorkerConfigArgs{...} }

type ClusterWorkerConfigArrayOutput

type ClusterWorkerConfigArrayOutput struct{ *pulumi.OutputState }

func (ClusterWorkerConfigArrayOutput) ElementType

func (ClusterWorkerConfigArrayOutput) Index

func (ClusterWorkerConfigArrayOutput) ToClusterWorkerConfigArrayOutput

func (o ClusterWorkerConfigArrayOutput) ToClusterWorkerConfigArrayOutput() ClusterWorkerConfigArrayOutput

func (ClusterWorkerConfigArrayOutput) ToClusterWorkerConfigArrayOutputWithContext

func (o ClusterWorkerConfigArrayOutput) ToClusterWorkerConfigArrayOutputWithContext(ctx context.Context) ClusterWorkerConfigArrayOutput

type ClusterWorkerConfigDataDisk

type ClusterWorkerConfigDataDisk struct {
	// Indicate whether to auto format and mount or not. Default is `false`.
	AutoFormatAndMount *bool `pulumi:"autoFormatAndMount"`
	// The name of the device or partition to mount.
	DiskPartition *string `pulumi:"diskPartition"`
	// Volume of disk in GB. Default is `0`.
	DiskSize *int `pulumi:"diskSize"`
	// Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD` and `CLOUD_HSSD` and `CLOUD_TSSD`.
	DiskType *string `pulumi:"diskType"`
	// Indicates whether to encrypt data disk, default `false`.
	Encrypt *bool `pulumi:"encrypt"`
	// File system, e.g. `ext3/ext4/xfs`.
	FileSystem *string `pulumi:"fileSystem"`
	// ID of the custom CMK in the format of UUID or `kms-abcd1234`. This parameter is used to encrypt cloud disks.
	KmsKeyId *string `pulumi:"kmsKeyId"`
	// Mount target.
	MountTarget *string `pulumi:"mountTarget"`
	// Data disk snapshot ID.
	SnapshotId *string `pulumi:"snapshotId"`
}

type ClusterWorkerConfigDataDiskArgs

type ClusterWorkerConfigDataDiskArgs struct {
	// Indicate whether to auto format and mount or not. Default is `false`.
	AutoFormatAndMount pulumi.BoolPtrInput `pulumi:"autoFormatAndMount"`
	// The name of the device or partition to mount.
	DiskPartition pulumi.StringPtrInput `pulumi:"diskPartition"`
	// Volume of disk in GB. Default is `0`.
	DiskSize pulumi.IntPtrInput `pulumi:"diskSize"`
	// Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD` and `CLOUD_HSSD` and `CLOUD_TSSD`.
	DiskType pulumi.StringPtrInput `pulumi:"diskType"`
	// Indicates whether to encrypt data disk, default `false`.
	Encrypt pulumi.BoolPtrInput `pulumi:"encrypt"`
	// File system, e.g. `ext3/ext4/xfs`.
	FileSystem pulumi.StringPtrInput `pulumi:"fileSystem"`
	// ID of the custom CMK in the format of UUID or `kms-abcd1234`. This parameter is used to encrypt cloud disks.
	KmsKeyId pulumi.StringPtrInput `pulumi:"kmsKeyId"`
	// Mount target.
	MountTarget pulumi.StringPtrInput `pulumi:"mountTarget"`
	// Data disk snapshot ID.
	SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"`
}

func (ClusterWorkerConfigDataDiskArgs) ElementType

func (ClusterWorkerConfigDataDiskArgs) ToClusterWorkerConfigDataDiskOutput

func (i ClusterWorkerConfigDataDiskArgs) ToClusterWorkerConfigDataDiskOutput() ClusterWorkerConfigDataDiskOutput

func (ClusterWorkerConfigDataDiskArgs) ToClusterWorkerConfigDataDiskOutputWithContext

func (i ClusterWorkerConfigDataDiskArgs) ToClusterWorkerConfigDataDiskOutputWithContext(ctx context.Context) ClusterWorkerConfigDataDiskOutput

type ClusterWorkerConfigDataDiskArray

type ClusterWorkerConfigDataDiskArray []ClusterWorkerConfigDataDiskInput

func (ClusterWorkerConfigDataDiskArray) ElementType

func (ClusterWorkerConfigDataDiskArray) ToClusterWorkerConfigDataDiskArrayOutput

func (i ClusterWorkerConfigDataDiskArray) ToClusterWorkerConfigDataDiskArrayOutput() ClusterWorkerConfigDataDiskArrayOutput

func (ClusterWorkerConfigDataDiskArray) ToClusterWorkerConfigDataDiskArrayOutputWithContext

func (i ClusterWorkerConfigDataDiskArray) ToClusterWorkerConfigDataDiskArrayOutputWithContext(ctx context.Context) ClusterWorkerConfigDataDiskArrayOutput

type ClusterWorkerConfigDataDiskArrayInput

type ClusterWorkerConfigDataDiskArrayInput interface {
	pulumi.Input

	ToClusterWorkerConfigDataDiskArrayOutput() ClusterWorkerConfigDataDiskArrayOutput
	ToClusterWorkerConfigDataDiskArrayOutputWithContext(context.Context) ClusterWorkerConfigDataDiskArrayOutput
}

ClusterWorkerConfigDataDiskArrayInput is an input type that accepts ClusterWorkerConfigDataDiskArray and ClusterWorkerConfigDataDiskArrayOutput values. You can construct a concrete instance of `ClusterWorkerConfigDataDiskArrayInput` via:

ClusterWorkerConfigDataDiskArray{ ClusterWorkerConfigDataDiskArgs{...} }

type ClusterWorkerConfigDataDiskArrayOutput

type ClusterWorkerConfigDataDiskArrayOutput struct{ *pulumi.OutputState }

func (ClusterWorkerConfigDataDiskArrayOutput) ElementType

func (ClusterWorkerConfigDataDiskArrayOutput) Index

func (ClusterWorkerConfigDataDiskArrayOutput) ToClusterWorkerConfigDataDiskArrayOutput

func (o ClusterWorkerConfigDataDiskArrayOutput) ToClusterWorkerConfigDataDiskArrayOutput() ClusterWorkerConfigDataDiskArrayOutput

func (ClusterWorkerConfigDataDiskArrayOutput) ToClusterWorkerConfigDataDiskArrayOutputWithContext

func (o ClusterWorkerConfigDataDiskArrayOutput) ToClusterWorkerConfigDataDiskArrayOutputWithContext(ctx context.Context) ClusterWorkerConfigDataDiskArrayOutput

type ClusterWorkerConfigDataDiskInput

type ClusterWorkerConfigDataDiskInput interface {
	pulumi.Input

	ToClusterWorkerConfigDataDiskOutput() ClusterWorkerConfigDataDiskOutput
	ToClusterWorkerConfigDataDiskOutputWithContext(context.Context) ClusterWorkerConfigDataDiskOutput
}

ClusterWorkerConfigDataDiskInput is an input type that accepts ClusterWorkerConfigDataDiskArgs and ClusterWorkerConfigDataDiskOutput values. You can construct a concrete instance of `ClusterWorkerConfigDataDiskInput` via:

ClusterWorkerConfigDataDiskArgs{...}

type ClusterWorkerConfigDataDiskOutput

type ClusterWorkerConfigDataDiskOutput struct{ *pulumi.OutputState }

func (ClusterWorkerConfigDataDiskOutput) AutoFormatAndMount

Indicate whether to auto format and mount or not. Default is `false`.

func (ClusterWorkerConfigDataDiskOutput) DiskPartition

The name of the device or partition to mount.

func (ClusterWorkerConfigDataDiskOutput) DiskSize

Volume of disk in GB. Default is `0`.

func (ClusterWorkerConfigDataDiskOutput) DiskType

Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD` and `CLOUD_HSSD` and `CLOUD_TSSD`.

func (ClusterWorkerConfigDataDiskOutput) ElementType

func (ClusterWorkerConfigDataDiskOutput) Encrypt

Indicates whether to encrypt data disk, default `false`.

func (ClusterWorkerConfigDataDiskOutput) FileSystem

File system, e.g. `ext3/ext4/xfs`.

func (ClusterWorkerConfigDataDiskOutput) KmsKeyId

ID of the custom CMK in the format of UUID or `kms-abcd1234`. This parameter is used to encrypt cloud disks.

func (ClusterWorkerConfigDataDiskOutput) MountTarget

Mount target.

func (ClusterWorkerConfigDataDiskOutput) SnapshotId

Data disk snapshot ID.

func (ClusterWorkerConfigDataDiskOutput) ToClusterWorkerConfigDataDiskOutput

func (o ClusterWorkerConfigDataDiskOutput) ToClusterWorkerConfigDataDiskOutput() ClusterWorkerConfigDataDiskOutput

func (ClusterWorkerConfigDataDiskOutput) ToClusterWorkerConfigDataDiskOutputWithContext

func (o ClusterWorkerConfigDataDiskOutput) ToClusterWorkerConfigDataDiskOutputWithContext(ctx context.Context) ClusterWorkerConfigDataDiskOutput

type ClusterWorkerConfigInput

type ClusterWorkerConfigInput interface {
	pulumi.Input

	ToClusterWorkerConfigOutput() ClusterWorkerConfigOutput
	ToClusterWorkerConfigOutputWithContext(context.Context) ClusterWorkerConfigOutput
}

ClusterWorkerConfigInput is an input type that accepts ClusterWorkerConfigArgs and ClusterWorkerConfigOutput values. You can construct a concrete instance of `ClusterWorkerConfigInput` via:

ClusterWorkerConfigArgs{...}

type ClusterWorkerConfigOutput

type ClusterWorkerConfigOutput struct{ *pulumi.OutputState }

func (ClusterWorkerConfigOutput) AvailabilityZone

func (o ClusterWorkerConfigOutput) AvailabilityZone() pulumi.StringPtrOutput

Indicates which availability zone will be used.

func (ClusterWorkerConfigOutput) BandwidthPackageId

func (o ClusterWorkerConfigOutput) BandwidthPackageId() pulumi.StringPtrOutput

bandwidth package id. if user is standard user, then the bandwidthPackageId is needed, or default has bandwidth_package_id.

func (ClusterWorkerConfigOutput) CamRoleName

CAM role name authorized to access.

func (ClusterWorkerConfigOutput) Count

Number of cvm.

func (ClusterWorkerConfigOutput) DataDisks

Configurations of data disk.

func (ClusterWorkerConfigOutput) DesiredPodNum

func (o ClusterWorkerConfigOutput) DesiredPodNum() pulumi.IntPtrOutput

Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override `[globe_]desired_pod_num` for current node. Either all the fields `desiredPodNum` or none.

func (ClusterWorkerConfigOutput) DisasterRecoverGroupIds

func (o ClusterWorkerConfigOutput) DisasterRecoverGroupIds() pulumi.StringPtrOutput

Disaster recover groups to which a CVM instance belongs. Only support maximum 1.

func (ClusterWorkerConfigOutput) ElementType

func (ClusterWorkerConfigOutput) ElementType() reflect.Type

func (ClusterWorkerConfigOutput) EnhancedMonitorService

func (o ClusterWorkerConfigOutput) EnhancedMonitorService() pulumi.BoolPtrOutput

To specify whether to enable cloud monitor service. Default is TRUE.

func (ClusterWorkerConfigOutput) EnhancedSecurityService

func (o ClusterWorkerConfigOutput) EnhancedSecurityService() pulumi.BoolPtrOutput

To specify whether to enable cloud security service. Default is TRUE.

func (ClusterWorkerConfigOutput) Hostname

The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).

func (ClusterWorkerConfigOutput) ImgId

The valid image id, format of img-xxx.

func (ClusterWorkerConfigOutput) InstanceChargeType

func (o ClusterWorkerConfigOutput) InstanceChargeType() pulumi.StringPtrOutput

The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`, `PREPAID` instance will not terminated after cluster deleted, and may not allow to delete before expired.

func (ClusterWorkerConfigOutput) InstanceChargeTypePrepaidPeriod

func (o ClusterWorkerConfigOutput) InstanceChargeTypePrepaidPeriod() pulumi.IntPtrOutput

The tenancy (time unit is month) of the prepaid instance. NOTE: it only works when instanceChargeType is set to `PREPAID`. Valid values are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`.

func (ClusterWorkerConfigOutput) InstanceChargeTypePrepaidRenewFlag

func (o ClusterWorkerConfigOutput) InstanceChargeTypePrepaidRenewFlag() pulumi.StringPtrOutput

Auto renewal flag. Valid values: `NOTIFY_AND_AUTO_RENEW`: notify upon expiration and renew automatically, `NOTIFY_AND_MANUAL_RENEW`: notify upon expiration but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: neither notify upon expiration nor renew automatically. Default value: `NOTIFY_AND_MANUAL_RENEW`. If this parameter is specified as `NOTIFY_AND_AUTO_RENEW`, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instanceChargeType is set to `PREPAID`.

func (ClusterWorkerConfigOutput) InstanceName

Name of the CVMs.

func (ClusterWorkerConfigOutput) InstanceType

Specified types of CVM instance.

func (ClusterWorkerConfigOutput) InternetChargeType

func (o ClusterWorkerConfigOutput) InternetChargeType() pulumi.StringPtrOutput

Charge types for network traffic. Available values include `TRAFFIC_POSTPAID_BY_HOUR`.

func (ClusterWorkerConfigOutput) InternetMaxBandwidthOut

func (o ClusterWorkerConfigOutput) InternetMaxBandwidthOut() pulumi.IntPtrOutput

Max bandwidth of Internet access in Mbps. Default is 0.

func (ClusterWorkerConfigOutput) KeyIds

ID list of keys, should be set if `password` not set.

func (ClusterWorkerConfigOutput) Password

Password to access, should be set if `keyIds` not set.

func (ClusterWorkerConfigOutput) PublicIpAssigned

func (o ClusterWorkerConfigOutput) PublicIpAssigned() pulumi.BoolPtrOutput

Specify whether to assign an Internet IP address.

func (ClusterWorkerConfigOutput) SecurityGroupIds

func (o ClusterWorkerConfigOutput) SecurityGroupIds() pulumi.StringArrayOutput

Security groups to which a CVM instance belongs.

func (ClusterWorkerConfigOutput) SubnetId

Private network ID.

func (ClusterWorkerConfigOutput) SystemDiskSize

func (o ClusterWorkerConfigOutput) SystemDiskSize() pulumi.IntPtrOutput

Volume of system disk in GB. Default is `50`.

func (ClusterWorkerConfigOutput) SystemDiskType

System disk type. For more information on limits of system disk types, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952). Valid values: `LOCAL_BASIC`: local disk, `LOCAL_SSD`: local SSD disk, `CLOUD_SSD`: SSD, `CLOUD_PREMIUM`: Premium Cloud Storage. NOTE: `CLOUD_BASIC`, `LOCAL_BASIC` and `LOCAL_SSD` are deprecated.

func (ClusterWorkerConfigOutput) ToClusterWorkerConfigOutput

func (o ClusterWorkerConfigOutput) ToClusterWorkerConfigOutput() ClusterWorkerConfigOutput

func (ClusterWorkerConfigOutput) ToClusterWorkerConfigOutputWithContext

func (o ClusterWorkerConfigOutput) ToClusterWorkerConfigOutputWithContext(ctx context.Context) ClusterWorkerConfigOutput

func (ClusterWorkerConfigOutput) UserData

ase64-encoded User Data text, the length limit is 16KB.

type ClusterWorkerInstancesList

type ClusterWorkerInstancesList struct {
	// Information of the cvm when it is failed.
	FailedReason *string `pulumi:"failedReason"`
	// ID of the cvm.
	InstanceId *string `pulumi:"instanceId"`
	// Role of the cvm.
	InstanceRole *string `pulumi:"instanceRole"`
	// State of the cvm.
	InstanceState *string `pulumi:"instanceState"`
	// LAN IP of the cvm.
	LanIp *string `pulumi:"lanIp"`
}

type ClusterWorkerInstancesListArgs

type ClusterWorkerInstancesListArgs struct {
	// Information of the cvm when it is failed.
	FailedReason pulumi.StringPtrInput `pulumi:"failedReason"`
	// ID of the cvm.
	InstanceId pulumi.StringPtrInput `pulumi:"instanceId"`
	// Role of the cvm.
	InstanceRole pulumi.StringPtrInput `pulumi:"instanceRole"`
	// State of the cvm.
	InstanceState pulumi.StringPtrInput `pulumi:"instanceState"`
	// LAN IP of the cvm.
	LanIp pulumi.StringPtrInput `pulumi:"lanIp"`
}

func (ClusterWorkerInstancesListArgs) ElementType

func (ClusterWorkerInstancesListArgs) ToClusterWorkerInstancesListOutput

func (i ClusterWorkerInstancesListArgs) ToClusterWorkerInstancesListOutput() ClusterWorkerInstancesListOutput

func (ClusterWorkerInstancesListArgs) ToClusterWorkerInstancesListOutputWithContext

func (i ClusterWorkerInstancesListArgs) ToClusterWorkerInstancesListOutputWithContext(ctx context.Context) ClusterWorkerInstancesListOutput

type ClusterWorkerInstancesListArray

type ClusterWorkerInstancesListArray []ClusterWorkerInstancesListInput

func (ClusterWorkerInstancesListArray) ElementType

func (ClusterWorkerInstancesListArray) ToClusterWorkerInstancesListArrayOutput

func (i ClusterWorkerInstancesListArray) ToClusterWorkerInstancesListArrayOutput() ClusterWorkerInstancesListArrayOutput

func (ClusterWorkerInstancesListArray) ToClusterWorkerInstancesListArrayOutputWithContext

func (i ClusterWorkerInstancesListArray) ToClusterWorkerInstancesListArrayOutputWithContext(ctx context.Context) ClusterWorkerInstancesListArrayOutput

type ClusterWorkerInstancesListArrayInput

type ClusterWorkerInstancesListArrayInput interface {
	pulumi.Input

	ToClusterWorkerInstancesListArrayOutput() ClusterWorkerInstancesListArrayOutput
	ToClusterWorkerInstancesListArrayOutputWithContext(context.Context) ClusterWorkerInstancesListArrayOutput
}

ClusterWorkerInstancesListArrayInput is an input type that accepts ClusterWorkerInstancesListArray and ClusterWorkerInstancesListArrayOutput values. You can construct a concrete instance of `ClusterWorkerInstancesListArrayInput` via:

ClusterWorkerInstancesListArray{ ClusterWorkerInstancesListArgs{...} }

type ClusterWorkerInstancesListArrayOutput

type ClusterWorkerInstancesListArrayOutput struct{ *pulumi.OutputState }

func (ClusterWorkerInstancesListArrayOutput) ElementType

func (ClusterWorkerInstancesListArrayOutput) Index

func (ClusterWorkerInstancesListArrayOutput) ToClusterWorkerInstancesListArrayOutput

func (o ClusterWorkerInstancesListArrayOutput) ToClusterWorkerInstancesListArrayOutput() ClusterWorkerInstancesListArrayOutput

func (ClusterWorkerInstancesListArrayOutput) ToClusterWorkerInstancesListArrayOutputWithContext

func (o ClusterWorkerInstancesListArrayOutput) ToClusterWorkerInstancesListArrayOutputWithContext(ctx context.Context) ClusterWorkerInstancesListArrayOutput

type ClusterWorkerInstancesListInput

type ClusterWorkerInstancesListInput interface {
	pulumi.Input

	ToClusterWorkerInstancesListOutput() ClusterWorkerInstancesListOutput
	ToClusterWorkerInstancesListOutputWithContext(context.Context) ClusterWorkerInstancesListOutput
}

ClusterWorkerInstancesListInput is an input type that accepts ClusterWorkerInstancesListArgs and ClusterWorkerInstancesListOutput values. You can construct a concrete instance of `ClusterWorkerInstancesListInput` via:

ClusterWorkerInstancesListArgs{...}

type ClusterWorkerInstancesListOutput

type ClusterWorkerInstancesListOutput struct{ *pulumi.OutputState }

func (ClusterWorkerInstancesListOutput) ElementType

func (ClusterWorkerInstancesListOutput) FailedReason

Information of the cvm when it is failed.

func (ClusterWorkerInstancesListOutput) InstanceId

ID of the cvm.

func (ClusterWorkerInstancesListOutput) InstanceRole

Role of the cvm.

func (ClusterWorkerInstancesListOutput) InstanceState

State of the cvm.

func (ClusterWorkerInstancesListOutput) LanIp

LAN IP of the cvm.

func (ClusterWorkerInstancesListOutput) ToClusterWorkerInstancesListOutput

func (o ClusterWorkerInstancesListOutput) ToClusterWorkerInstancesListOutput() ClusterWorkerInstancesListOutput

func (ClusterWorkerInstancesListOutput) ToClusterWorkerInstancesListOutputWithContext

func (o ClusterWorkerInstancesListOutput) ToClusterWorkerInstancesListOutputWithContext(ctx context.Context) ClusterWorkerInstancesListOutput

type GetChartsArgs

type GetChartsArgs struct {
	// Operation system app supported. Available values: `arm32`, `arm64`, `amd64`.
	Arch *string `pulumi:"arch"`
	// Cluster type. Available values: `tke`, `eks`.
	ClusterType *string `pulumi:"clusterType"`
	// Kind of app chart. Available values: `log`, `scheduler`, `network`, `storage`, `monitor`, `dns`, `image`, `other`, `invisible`.
	Kind *string `pulumi:"kind"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getCharts.

type GetChartsChartList

type GetChartsChartList struct {
	// Label of chart.
	Label map[string]interface{} `pulumi:"label"`
	// Chart latest version.
	LatestVersion string `pulumi:"latestVersion"`
	// Name of chart.
	Name string `pulumi:"name"`
}

type GetChartsChartListArgs

type GetChartsChartListArgs struct {
	// Label of chart.
	Label pulumi.MapInput `pulumi:"label"`
	// Chart latest version.
	LatestVersion pulumi.StringInput `pulumi:"latestVersion"`
	// Name of chart.
	Name pulumi.StringInput `pulumi:"name"`
}

func (GetChartsChartListArgs) ElementType

func (GetChartsChartListArgs) ElementType() reflect.Type

func (GetChartsChartListArgs) ToGetChartsChartListOutput

func (i GetChartsChartListArgs) ToGetChartsChartListOutput() GetChartsChartListOutput

func (GetChartsChartListArgs) ToGetChartsChartListOutputWithContext

func (i GetChartsChartListArgs) ToGetChartsChartListOutputWithContext(ctx context.Context) GetChartsChartListOutput

type GetChartsChartListArray

type GetChartsChartListArray []GetChartsChartListInput

func (GetChartsChartListArray) ElementType

func (GetChartsChartListArray) ElementType() reflect.Type

func (GetChartsChartListArray) ToGetChartsChartListArrayOutput

func (i GetChartsChartListArray) ToGetChartsChartListArrayOutput() GetChartsChartListArrayOutput

func (GetChartsChartListArray) ToGetChartsChartListArrayOutputWithContext

func (i GetChartsChartListArray) ToGetChartsChartListArrayOutputWithContext(ctx context.Context) GetChartsChartListArrayOutput

type GetChartsChartListArrayInput

type GetChartsChartListArrayInput interface {
	pulumi.Input

	ToGetChartsChartListArrayOutput() GetChartsChartListArrayOutput
	ToGetChartsChartListArrayOutputWithContext(context.Context) GetChartsChartListArrayOutput
}

GetChartsChartListArrayInput is an input type that accepts GetChartsChartListArray and GetChartsChartListArrayOutput values. You can construct a concrete instance of `GetChartsChartListArrayInput` via:

GetChartsChartListArray{ GetChartsChartListArgs{...} }

type GetChartsChartListArrayOutput

type GetChartsChartListArrayOutput struct{ *pulumi.OutputState }

func (GetChartsChartListArrayOutput) ElementType

func (GetChartsChartListArrayOutput) Index

func (GetChartsChartListArrayOutput) ToGetChartsChartListArrayOutput

func (o GetChartsChartListArrayOutput) ToGetChartsChartListArrayOutput() GetChartsChartListArrayOutput

func (GetChartsChartListArrayOutput) ToGetChartsChartListArrayOutputWithContext

func (o GetChartsChartListArrayOutput) ToGetChartsChartListArrayOutputWithContext(ctx context.Context) GetChartsChartListArrayOutput

type GetChartsChartListInput

type GetChartsChartListInput interface {
	pulumi.Input

	ToGetChartsChartListOutput() GetChartsChartListOutput
	ToGetChartsChartListOutputWithContext(context.Context) GetChartsChartListOutput
}

GetChartsChartListInput is an input type that accepts GetChartsChartListArgs and GetChartsChartListOutput values. You can construct a concrete instance of `GetChartsChartListInput` via:

GetChartsChartListArgs{...}

type GetChartsChartListOutput

type GetChartsChartListOutput struct{ *pulumi.OutputState }

func (GetChartsChartListOutput) ElementType

func (GetChartsChartListOutput) ElementType() reflect.Type

func (GetChartsChartListOutput) Label

Label of chart.

func (GetChartsChartListOutput) LatestVersion

func (o GetChartsChartListOutput) LatestVersion() pulumi.StringOutput

Chart latest version.

func (GetChartsChartListOutput) Name

Name of chart.

func (GetChartsChartListOutput) ToGetChartsChartListOutput

func (o GetChartsChartListOutput) ToGetChartsChartListOutput() GetChartsChartListOutput

func (GetChartsChartListOutput) ToGetChartsChartListOutputWithContext

func (o GetChartsChartListOutput) ToGetChartsChartListOutputWithContext(ctx context.Context) GetChartsChartListOutput

type GetChartsOutputArgs

type GetChartsOutputArgs struct {
	// Operation system app supported. Available values: `arm32`, `arm64`, `amd64`.
	Arch pulumi.StringPtrInput `pulumi:"arch"`
	// Cluster type. Available values: `tke`, `eks`.
	ClusterType pulumi.StringPtrInput `pulumi:"clusterType"`
	// Kind of app chart. Available values: `log`, `scheduler`, `network`, `storage`, `monitor`, `dns`, `image`, `other`, `invisible`.
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getCharts.

func (GetChartsOutputArgs) ElementType

func (GetChartsOutputArgs) ElementType() reflect.Type

type GetChartsResult

type GetChartsResult struct {
	Arch *string `pulumi:"arch"`
	// App chart list.
	ChartLists  []GetChartsChartList `pulumi:"chartLists"`
	ClusterType *string              `pulumi:"clusterType"`
	// The provider-assigned unique ID for this managed resource.
	Id               string  `pulumi:"id"`
	Kind             *string `pulumi:"kind"`
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of values returned by getCharts.

func GetCharts

func GetCharts(ctx *pulumi.Context, args *GetChartsArgs, opts ...pulumi.InvokeOption) (*GetChartsResult, error)

Use this data source to query detailed information of kubernetes cluster addons.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"

)

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

```

type GetChartsResultOutput

type GetChartsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCharts.

func (GetChartsResultOutput) Arch

func (GetChartsResultOutput) ChartLists

App chart list.

func (GetChartsResultOutput) ClusterType

func (GetChartsResultOutput) ElementType

func (GetChartsResultOutput) ElementType() reflect.Type

func (GetChartsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetChartsResultOutput) Kind

func (GetChartsResultOutput) ResultOutputFile

func (o GetChartsResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (GetChartsResultOutput) ToGetChartsResultOutput

func (o GetChartsResultOutput) ToGetChartsResultOutput() GetChartsResultOutput

func (GetChartsResultOutput) ToGetChartsResultOutputWithContext

func (o GetChartsResultOutput) ToGetChartsResultOutputWithContext(ctx context.Context) GetChartsResultOutput

type GetClusterCommonNamesArgs

type GetClusterCommonNamesArgs struct {
	// Cluster ID.
	ClusterId *string `pulumi:"clusterId"`
	// Used for save result.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// List of Role ID. Up to 50 sub-accounts can be passed in at a time.
	RoleIds []string `pulumi:"roleIds"`
	// List of sub-account. Up to 50 sub-accounts can be passed in at a time.
	SubaccountUins []string `pulumi:"subaccountUins"`
}

A collection of arguments for invoking getClusterCommonNames.

type GetClusterCommonNamesList

type GetClusterCommonNamesList struct {
	// The CommonName in the certificate of the client corresponding to the sub-account.
	CommonNames string `pulumi:"commonNames"`
	// User UIN.
	SubaccountUin string `pulumi:"subaccountUin"`
}

type GetClusterCommonNamesListArgs

type GetClusterCommonNamesListArgs struct {
	// The CommonName in the certificate of the client corresponding to the sub-account.
	CommonNames pulumi.StringInput `pulumi:"commonNames"`
	// User UIN.
	SubaccountUin pulumi.StringInput `pulumi:"subaccountUin"`
}

func (GetClusterCommonNamesListArgs) ElementType

func (GetClusterCommonNamesListArgs) ToGetClusterCommonNamesListOutput

func (i GetClusterCommonNamesListArgs) ToGetClusterCommonNamesListOutput() GetClusterCommonNamesListOutput

func (GetClusterCommonNamesListArgs) ToGetClusterCommonNamesListOutputWithContext

func (i GetClusterCommonNamesListArgs) ToGetClusterCommonNamesListOutputWithContext(ctx context.Context) GetClusterCommonNamesListOutput

type GetClusterCommonNamesListArray

type GetClusterCommonNamesListArray []GetClusterCommonNamesListInput

func (GetClusterCommonNamesListArray) ElementType

func (GetClusterCommonNamesListArray) ToGetClusterCommonNamesListArrayOutput

func (i GetClusterCommonNamesListArray) ToGetClusterCommonNamesListArrayOutput() GetClusterCommonNamesListArrayOutput

func (GetClusterCommonNamesListArray) ToGetClusterCommonNamesListArrayOutputWithContext

func (i GetClusterCommonNamesListArray) ToGetClusterCommonNamesListArrayOutputWithContext(ctx context.Context) GetClusterCommonNamesListArrayOutput

type GetClusterCommonNamesListArrayInput

type GetClusterCommonNamesListArrayInput interface {
	pulumi.Input

	ToGetClusterCommonNamesListArrayOutput() GetClusterCommonNamesListArrayOutput
	ToGetClusterCommonNamesListArrayOutputWithContext(context.Context) GetClusterCommonNamesListArrayOutput
}

GetClusterCommonNamesListArrayInput is an input type that accepts GetClusterCommonNamesListArray and GetClusterCommonNamesListArrayOutput values. You can construct a concrete instance of `GetClusterCommonNamesListArrayInput` via:

GetClusterCommonNamesListArray{ GetClusterCommonNamesListArgs{...} }

type GetClusterCommonNamesListArrayOutput

type GetClusterCommonNamesListArrayOutput struct{ *pulumi.OutputState }

func (GetClusterCommonNamesListArrayOutput) ElementType

func (GetClusterCommonNamesListArrayOutput) Index

func (GetClusterCommonNamesListArrayOutput) ToGetClusterCommonNamesListArrayOutput

func (o GetClusterCommonNamesListArrayOutput) ToGetClusterCommonNamesListArrayOutput() GetClusterCommonNamesListArrayOutput

func (GetClusterCommonNamesListArrayOutput) ToGetClusterCommonNamesListArrayOutputWithContext

func (o GetClusterCommonNamesListArrayOutput) ToGetClusterCommonNamesListArrayOutputWithContext(ctx context.Context) GetClusterCommonNamesListArrayOutput

type GetClusterCommonNamesListInput

type GetClusterCommonNamesListInput interface {
	pulumi.Input

	ToGetClusterCommonNamesListOutput() GetClusterCommonNamesListOutput
	ToGetClusterCommonNamesListOutputWithContext(context.Context) GetClusterCommonNamesListOutput
}

GetClusterCommonNamesListInput is an input type that accepts GetClusterCommonNamesListArgs and GetClusterCommonNamesListOutput values. You can construct a concrete instance of `GetClusterCommonNamesListInput` via:

GetClusterCommonNamesListArgs{...}

type GetClusterCommonNamesListOutput

type GetClusterCommonNamesListOutput struct{ *pulumi.OutputState }

func (GetClusterCommonNamesListOutput) CommonNames

The CommonName in the certificate of the client corresponding to the sub-account.

func (GetClusterCommonNamesListOutput) ElementType

func (GetClusterCommonNamesListOutput) SubaccountUin

User UIN.

func (GetClusterCommonNamesListOutput) ToGetClusterCommonNamesListOutput

func (o GetClusterCommonNamesListOutput) ToGetClusterCommonNamesListOutput() GetClusterCommonNamesListOutput

func (GetClusterCommonNamesListOutput) ToGetClusterCommonNamesListOutputWithContext

func (o GetClusterCommonNamesListOutput) ToGetClusterCommonNamesListOutputWithContext(ctx context.Context) GetClusterCommonNamesListOutput

type GetClusterCommonNamesOutputArgs

type GetClusterCommonNamesOutputArgs struct {
	// Cluster ID.
	ClusterId pulumi.StringPtrInput `pulumi:"clusterId"`
	// Used for save result.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	// List of Role ID. Up to 50 sub-accounts can be passed in at a time.
	RoleIds pulumi.StringArrayInput `pulumi:"roleIds"`
	// List of sub-account. Up to 50 sub-accounts can be passed in at a time.
	SubaccountUins pulumi.StringArrayInput `pulumi:"subaccountUins"`
}

A collection of arguments for invoking getClusterCommonNames.

func (GetClusterCommonNamesOutputArgs) ElementType

type GetClusterCommonNamesResult

type GetClusterCommonNamesResult struct {
	ClusterId *string `pulumi:"clusterId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// List of the CommonName in the certificate of the client corresponding to the sub-account UIN.
	Lists            []GetClusterCommonNamesList `pulumi:"lists"`
	ResultOutputFile *string                     `pulumi:"resultOutputFile"`
	RoleIds          []string                    `pulumi:"roleIds"`
	SubaccountUins   []string                    `pulumi:"subaccountUins"`
}

A collection of values returned by getClusterCommonNames.

func GetClusterCommonNames

func GetClusterCommonNames(ctx *pulumi.Context, args *GetClusterCommonNamesArgs, opts ...pulumi.InvokeOption) (*GetClusterCommonNamesResult, error)

Provide a datasource to query cluster CommonNames.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Kubernetes.GetClusterCommonNames(ctx, &kubernetes.GetClusterCommonNamesArgs{
			ClusterId: pulumi.StringRef("cls-12345678"),
			SubaccountUins: []string{
				"1234567890",
				"0987654321",
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetClusterCommonNamesResultOutput

type GetClusterCommonNamesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getClusterCommonNames.

func (GetClusterCommonNamesResultOutput) ClusterId

func (GetClusterCommonNamesResultOutput) ElementType

func (GetClusterCommonNamesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetClusterCommonNamesResultOutput) Lists

List of the CommonName in the certificate of the client corresponding to the sub-account UIN.

func (GetClusterCommonNamesResultOutput) ResultOutputFile

func (GetClusterCommonNamesResultOutput) RoleIds

func (GetClusterCommonNamesResultOutput) SubaccountUins

func (GetClusterCommonNamesResultOutput) ToGetClusterCommonNamesResultOutput

func (o GetClusterCommonNamesResultOutput) ToGetClusterCommonNamesResultOutput() GetClusterCommonNamesResultOutput

func (GetClusterCommonNamesResultOutput) ToGetClusterCommonNamesResultOutputWithContext

func (o GetClusterCommonNamesResultOutput) ToGetClusterCommonNamesResultOutputWithContext(ctx context.Context) GetClusterCommonNamesResultOutput

type GetClusterLevelsArgs

type GetClusterLevelsArgs struct {
	// Specify cluster Id, if set will only query current cluster's available levels.
	ClusterId *string `pulumi:"clusterId"`
	// Used for save result.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getClusterLevels.

type GetClusterLevelsList

type GetClusterLevelsList struct {
	// Alias used for pass to cluster level arguments.
	Alias string `pulumi:"alias"`
	// Number of ConfigMaps.
	ConfigMapCount int `pulumi:"configMapCount"`
	// Number of CRDs.
	CrdCount int `pulumi:"crdCount"`
	// Indicates whether the current level enabled.
	Enable bool `pulumi:"enable"`
	// Level name.
	Name string `pulumi:"name"`
	// Number of nodes.
	NodeCount int `pulumi:"nodeCount"`
	// Number of others.
	OtherCount int `pulumi:"otherCount"`
	// Number of pods.
	PodCount int `pulumi:"podCount"`
}

type GetClusterLevelsListArgs

type GetClusterLevelsListArgs struct {
	// Alias used for pass to cluster level arguments.
	Alias pulumi.StringInput `pulumi:"alias"`
	// Number of ConfigMaps.
	ConfigMapCount pulumi.IntInput `pulumi:"configMapCount"`
	// Number of CRDs.
	CrdCount pulumi.IntInput `pulumi:"crdCount"`
	// Indicates whether the current level enabled.
	Enable pulumi.BoolInput `pulumi:"enable"`
	// Level name.
	Name pulumi.StringInput `pulumi:"name"`
	// Number of nodes.
	NodeCount pulumi.IntInput `pulumi:"nodeCount"`
	// Number of others.
	OtherCount pulumi.IntInput `pulumi:"otherCount"`
	// Number of pods.
	PodCount pulumi.IntInput `pulumi:"podCount"`
}

func (GetClusterLevelsListArgs) ElementType

func (GetClusterLevelsListArgs) ElementType() reflect.Type

func (GetClusterLevelsListArgs) ToGetClusterLevelsListOutput

func (i GetClusterLevelsListArgs) ToGetClusterLevelsListOutput() GetClusterLevelsListOutput

func (GetClusterLevelsListArgs) ToGetClusterLevelsListOutputWithContext

func (i GetClusterLevelsListArgs) ToGetClusterLevelsListOutputWithContext(ctx context.Context) GetClusterLevelsListOutput

type GetClusterLevelsListArray

type GetClusterLevelsListArray []GetClusterLevelsListInput

func (GetClusterLevelsListArray) ElementType

func (GetClusterLevelsListArray) ElementType() reflect.Type

func (GetClusterLevelsListArray) ToGetClusterLevelsListArrayOutput

func (i GetClusterLevelsListArray) ToGetClusterLevelsListArrayOutput() GetClusterLevelsListArrayOutput

func (GetClusterLevelsListArray) ToGetClusterLevelsListArrayOutputWithContext

func (i GetClusterLevelsListArray) ToGetClusterLevelsListArrayOutputWithContext(ctx context.Context) GetClusterLevelsListArrayOutput

type GetClusterLevelsListArrayInput

type GetClusterLevelsListArrayInput interface {
	pulumi.Input

	ToGetClusterLevelsListArrayOutput() GetClusterLevelsListArrayOutput
	ToGetClusterLevelsListArrayOutputWithContext(context.Context) GetClusterLevelsListArrayOutput
}

GetClusterLevelsListArrayInput is an input type that accepts GetClusterLevelsListArray and GetClusterLevelsListArrayOutput values. You can construct a concrete instance of `GetClusterLevelsListArrayInput` via:

GetClusterLevelsListArray{ GetClusterLevelsListArgs{...} }

type GetClusterLevelsListArrayOutput

type GetClusterLevelsListArrayOutput struct{ *pulumi.OutputState }

func (GetClusterLevelsListArrayOutput) ElementType

func (GetClusterLevelsListArrayOutput) Index

func (GetClusterLevelsListArrayOutput) ToGetClusterLevelsListArrayOutput

func (o GetClusterLevelsListArrayOutput) ToGetClusterLevelsListArrayOutput() GetClusterLevelsListArrayOutput

func (GetClusterLevelsListArrayOutput) ToGetClusterLevelsListArrayOutputWithContext

func (o GetClusterLevelsListArrayOutput) ToGetClusterLevelsListArrayOutputWithContext(ctx context.Context) GetClusterLevelsListArrayOutput

type GetClusterLevelsListInput

type GetClusterLevelsListInput interface {
	pulumi.Input

	ToGetClusterLevelsListOutput() GetClusterLevelsListOutput
	ToGetClusterLevelsListOutputWithContext(context.Context) GetClusterLevelsListOutput
}

GetClusterLevelsListInput is an input type that accepts GetClusterLevelsListArgs and GetClusterLevelsListOutput values. You can construct a concrete instance of `GetClusterLevelsListInput` via:

GetClusterLevelsListArgs{...}

type GetClusterLevelsListOutput

type GetClusterLevelsListOutput struct{ *pulumi.OutputState }

func (GetClusterLevelsListOutput) Alias

Alias used for pass to cluster level arguments.

func (GetClusterLevelsListOutput) ConfigMapCount

func (o GetClusterLevelsListOutput) ConfigMapCount() pulumi.IntOutput

Number of ConfigMaps.

func (GetClusterLevelsListOutput) CrdCount

Number of CRDs.

func (GetClusterLevelsListOutput) ElementType

func (GetClusterLevelsListOutput) ElementType() reflect.Type

func (GetClusterLevelsListOutput) Enable

Indicates whether the current level enabled.

func (GetClusterLevelsListOutput) Name

Level name.

func (GetClusterLevelsListOutput) NodeCount

Number of nodes.

func (GetClusterLevelsListOutput) OtherCount

Number of others.

func (GetClusterLevelsListOutput) PodCount

Number of pods.

func (GetClusterLevelsListOutput) ToGetClusterLevelsListOutput

func (o GetClusterLevelsListOutput) ToGetClusterLevelsListOutput() GetClusterLevelsListOutput

func (GetClusterLevelsListOutput) ToGetClusterLevelsListOutputWithContext

func (o GetClusterLevelsListOutput) ToGetClusterLevelsListOutputWithContext(ctx context.Context) GetClusterLevelsListOutput

type GetClusterLevelsOutputArgs

type GetClusterLevelsOutputArgs struct {
	// Specify cluster Id, if set will only query current cluster's available levels.
	ClusterId pulumi.StringPtrInput `pulumi:"clusterId"`
	// Used for save result.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getClusterLevels.

func (GetClusterLevelsOutputArgs) ElementType

func (GetClusterLevelsOutputArgs) ElementType() reflect.Type

type GetClusterLevelsResult

type GetClusterLevelsResult struct {
	ClusterId *string `pulumi:"clusterId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// List of level information.
	Lists            []GetClusterLevelsList `pulumi:"lists"`
	ResultOutputFile *string                `pulumi:"resultOutputFile"`
}

A collection of values returned by getClusterLevels.

func GetClusterLevels

func GetClusterLevels(ctx *pulumi.Context, args *GetClusterLevelsArgs, opts ...pulumi.InvokeOption) (*GetClusterLevelsResult, error)

Provide a datasource to query TKE cluster levels.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		foo, err := Kubernetes.GetClusterLevels(ctx, nil, nil)
		if err != nil {
			return err
		}
		ctx.Export("level5", foo.Lists[0].Alias)
		return nil
	})
}

```

type GetClusterLevelsResultOutput

type GetClusterLevelsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getClusterLevels.

func (GetClusterLevelsResultOutput) ClusterId

func (GetClusterLevelsResultOutput) ElementType

func (GetClusterLevelsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetClusterLevelsResultOutput) Lists

List of level information.

func (GetClusterLevelsResultOutput) ResultOutputFile

func (GetClusterLevelsResultOutput) ToGetClusterLevelsResultOutput

func (o GetClusterLevelsResultOutput) ToGetClusterLevelsResultOutput() GetClusterLevelsResultOutput

func (GetClusterLevelsResultOutput) ToGetClusterLevelsResultOutputWithContext

func (o GetClusterLevelsResultOutput) ToGetClusterLevelsResultOutputWithContext(ctx context.Context) GetClusterLevelsResultOutput

type GetClustersArgs

type GetClustersArgs struct {
	// ID of the cluster. Conflict with cluster_name, can not be set at the same time.
	ClusterId *string `pulumi:"clusterId"`
	// Name of the cluster. Conflict with cluster_id, can not be set at the same time.
	ClusterName *string `pulumi:"clusterName"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// Tags of the cluster.
	Tags map[string]interface{} `pulumi:"tags"`
}

A collection of arguments for invoking getClusters.

type GetClustersList

type GetClustersList struct {
	// The certificate used for access.
	CertificationAuthority string `pulumi:"certificationAuthority"`
	// The expired seconds to recycle ENI.
	ClaimExpiredSeconds int `pulumi:"claimExpiredSeconds"`
	// Indicates whether to enable cluster node auto scaler.
	ClusterAsEnabled bool `pulumi:"clusterAsEnabled"`
	// A network address block of the cluster. Different from vpc cidr and cidr of other clusters within this VPC.
	ClusterCidr string `pulumi:"clusterCidr"`
	// Deployment type of the cluster.
	ClusterDeployType string `pulumi:"clusterDeployType"`
	// Description of the cluster.
	ClusterDesc string `pulumi:"clusterDesc"`
	// External network address to access.
	ClusterExternalEndpoint string `pulumi:"clusterExternalEndpoint"`
	// Customized parameters for master component.
	ClusterExtraArgs []GetClustersListClusterExtraArg `pulumi:"clusterExtraArgs"`
	// ID of the cluster. Conflict with cluster_name, can not be set at the same time.
	ClusterId string `pulumi:"clusterId"`
	// Indicates whether ipvs is enabled.
	ClusterIpvs bool `pulumi:"clusterIpvs"`
	// The maximum number of Pods per node in the cluster.
	ClusterMaxPodNum int `pulumi:"clusterMaxPodNum"`
	// The maximum number of services in the cluster.
	ClusterMaxServiceNum int `pulumi:"clusterMaxServiceNum"`
	// Name of the cluster. Conflict with cluster_id, can not be set at the same time.
	ClusterName string `pulumi:"clusterName"`
	// Number of nodes in the cluster.
	ClusterNodeNum int `pulumi:"clusterNodeNum"`
	// Operating system of the cluster.
	ClusterOs string `pulumi:"clusterOs"`
	// Version of the cluster.
	ClusterVersion string `pulumi:"clusterVersion"`
	// (**Deprecated**) It has been deprecated from version 1.18.1. Container runtime of the cluster.
	//
	// Deprecated: It has been deprecated from version 1.18.1.
	ContainerRuntime string `pulumi:"containerRuntime"`
	// Indicates whether cluster deletion protection is enabled.
	DeletionProtection bool `pulumi:"deletionProtection"`
	// Domain name for access.
	Domain string `pulumi:"domain"`
	// Subnet IDs for cluster with VPC-CNI network mode.
	EniSubnetIds []string `pulumi:"eniSubnetIds"`
	// Indicates whether to ignore the cluster cidr conflict error.
	IgnoreClusterCidrConflict bool `pulumi:"ignoreClusterCidrConflict"`
	// Indicates whether non-static ip mode is enabled.
	IsNonStaticIpMode bool `pulumi:"isNonStaticIpMode"`
	// Kubernetes config.
	KubeConfig string `pulumi:"kubeConfig"`
	// Kubernetes config of private network.
	KubeConfigIntranet string `pulumi:"kubeConfigIntranet"`
	// Cluster kube-proxy mode.
	KubeProxyMode string `pulumi:"kubeProxyMode"`
	// Cluster network type.
	NetworkType string `pulumi:"networkType"`
	// Node name type of cluster.
	NodeNameType string `pulumi:"nodeNameType"`
	// Password of account.
	Password string `pulumi:"password"`
	// The Intranet address used for access.
	PgwEndpoint string `pulumi:"pgwEndpoint"`
	// Project ID of the cluster.
	ProjectId int `pulumi:"projectId"`
	// Access policy.
	SecurityPolicies []string `pulumi:"securityPolicies"`
	// The network address block of the cluster.
	ServiceCidr string `pulumi:"serviceCidr"`
	// Tags of the cluster.
	Tags map[string]interface{} `pulumi:"tags"`
	// User name of account.
	UserName string `pulumi:"userName"`
	// Vpc ID of the cluster.
	VpcId string `pulumi:"vpcId"`
	// An information list of cvm within the WORKER clusters. Each element contains the following attributes.
	WorkerInstancesLists []GetClustersListWorkerInstancesList `pulumi:"workerInstancesLists"`
}

type GetClustersListArgs

type GetClustersListArgs struct {
	// The certificate used for access.
	CertificationAuthority pulumi.StringInput `pulumi:"certificationAuthority"`
	// The expired seconds to recycle ENI.
	ClaimExpiredSeconds pulumi.IntInput `pulumi:"claimExpiredSeconds"`
	// Indicates whether to enable cluster node auto scaler.
	ClusterAsEnabled pulumi.BoolInput `pulumi:"clusterAsEnabled"`
	// A network address block of the cluster. Different from vpc cidr and cidr of other clusters within this VPC.
	ClusterCidr pulumi.StringInput `pulumi:"clusterCidr"`
	// Deployment type of the cluster.
	ClusterDeployType pulumi.StringInput `pulumi:"clusterDeployType"`
	// Description of the cluster.
	ClusterDesc pulumi.StringInput `pulumi:"clusterDesc"`
	// External network address to access.
	ClusterExternalEndpoint pulumi.StringInput `pulumi:"clusterExternalEndpoint"`
	// Customized parameters for master component.
	ClusterExtraArgs GetClustersListClusterExtraArgArrayInput `pulumi:"clusterExtraArgs"`
	// ID of the cluster. Conflict with cluster_name, can not be set at the same time.
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// Indicates whether ipvs is enabled.
	ClusterIpvs pulumi.BoolInput `pulumi:"clusterIpvs"`
	// The maximum number of Pods per node in the cluster.
	ClusterMaxPodNum pulumi.IntInput `pulumi:"clusterMaxPodNum"`
	// The maximum number of services in the cluster.
	ClusterMaxServiceNum pulumi.IntInput `pulumi:"clusterMaxServiceNum"`
	// Name of the cluster. Conflict with cluster_id, can not be set at the same time.
	ClusterName pulumi.StringInput `pulumi:"clusterName"`
	// Number of nodes in the cluster.
	ClusterNodeNum pulumi.IntInput `pulumi:"clusterNodeNum"`
	// Operating system of the cluster.
	ClusterOs pulumi.StringInput `pulumi:"clusterOs"`
	// Version of the cluster.
	ClusterVersion pulumi.StringInput `pulumi:"clusterVersion"`
	// (**Deprecated**) It has been deprecated from version 1.18.1. Container runtime of the cluster.
	//
	// Deprecated: It has been deprecated from version 1.18.1.
	ContainerRuntime pulumi.StringInput `pulumi:"containerRuntime"`
	// Indicates whether cluster deletion protection is enabled.
	DeletionProtection pulumi.BoolInput `pulumi:"deletionProtection"`
	// Domain name for access.
	Domain pulumi.StringInput `pulumi:"domain"`
	// Subnet IDs for cluster with VPC-CNI network mode.
	EniSubnetIds pulumi.StringArrayInput `pulumi:"eniSubnetIds"`
	// Indicates whether to ignore the cluster cidr conflict error.
	IgnoreClusterCidrConflict pulumi.BoolInput `pulumi:"ignoreClusterCidrConflict"`
	// Indicates whether non-static ip mode is enabled.
	IsNonStaticIpMode pulumi.BoolInput `pulumi:"isNonStaticIpMode"`
	// Kubernetes config.
	KubeConfig pulumi.StringInput `pulumi:"kubeConfig"`
	// Kubernetes config of private network.
	KubeConfigIntranet pulumi.StringInput `pulumi:"kubeConfigIntranet"`
	// Cluster kube-proxy mode.
	KubeProxyMode pulumi.StringInput `pulumi:"kubeProxyMode"`
	// Cluster network type.
	NetworkType pulumi.StringInput `pulumi:"networkType"`
	// Node name type of cluster.
	NodeNameType pulumi.StringInput `pulumi:"nodeNameType"`
	// Password of account.
	Password pulumi.StringInput `pulumi:"password"`
	// The Intranet address used for access.
	PgwEndpoint pulumi.StringInput `pulumi:"pgwEndpoint"`
	// Project ID of the cluster.
	ProjectId pulumi.IntInput `pulumi:"projectId"`
	// Access policy.
	SecurityPolicies pulumi.StringArrayInput `pulumi:"securityPolicies"`
	// The network address block of the cluster.
	ServiceCidr pulumi.StringInput `pulumi:"serviceCidr"`
	// Tags of the cluster.
	Tags pulumi.MapInput `pulumi:"tags"`
	// User name of account.
	UserName pulumi.StringInput `pulumi:"userName"`
	// Vpc ID of the cluster.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
	// An information list of cvm within the WORKER clusters. Each element contains the following attributes.
	WorkerInstancesLists GetClustersListWorkerInstancesListArrayInput `pulumi:"workerInstancesLists"`
}

func (GetClustersListArgs) ElementType

func (GetClustersListArgs) ElementType() reflect.Type

func (GetClustersListArgs) ToGetClustersListOutput

func (i GetClustersListArgs) ToGetClustersListOutput() GetClustersListOutput

func (GetClustersListArgs) ToGetClustersListOutputWithContext

func (i GetClustersListArgs) ToGetClustersListOutputWithContext(ctx context.Context) GetClustersListOutput

type GetClustersListArray

type GetClustersListArray []GetClustersListInput

func (GetClustersListArray) ElementType

func (GetClustersListArray) ElementType() reflect.Type

func (GetClustersListArray) ToGetClustersListArrayOutput

func (i GetClustersListArray) ToGetClustersListArrayOutput() GetClustersListArrayOutput

func (GetClustersListArray) ToGetClustersListArrayOutputWithContext

func (i GetClustersListArray) ToGetClustersListArrayOutputWithContext(ctx context.Context) GetClustersListArrayOutput

type GetClustersListArrayInput

type GetClustersListArrayInput interface {
	pulumi.Input

	ToGetClustersListArrayOutput() GetClustersListArrayOutput
	ToGetClustersListArrayOutputWithContext(context.Context) GetClustersListArrayOutput
}

GetClustersListArrayInput is an input type that accepts GetClustersListArray and GetClustersListArrayOutput values. You can construct a concrete instance of `GetClustersListArrayInput` via:

GetClustersListArray{ GetClustersListArgs{...} }

type GetClustersListArrayOutput

type GetClustersListArrayOutput struct{ *pulumi.OutputState }

func (GetClustersListArrayOutput) ElementType

func (GetClustersListArrayOutput) ElementType() reflect.Type

func (GetClustersListArrayOutput) Index

func (GetClustersListArrayOutput) ToGetClustersListArrayOutput

func (o GetClustersListArrayOutput) ToGetClustersListArrayOutput() GetClustersListArrayOutput

func (GetClustersListArrayOutput) ToGetClustersListArrayOutputWithContext

func (o GetClustersListArrayOutput) ToGetClustersListArrayOutputWithContext(ctx context.Context) GetClustersListArrayOutput

type GetClustersListClusterExtraArg

type GetClustersListClusterExtraArg struct {
	// The customized parameters for kube-apiserver.
	KubeApiservers []string `pulumi:"kubeApiservers"`
	// The customized parameters for kube-controller-manager.
	KubeControllerManagers []string `pulumi:"kubeControllerManagers"`
	// The customized parameters for kube-scheduler.
	KubeSchedulers []string `pulumi:"kubeSchedulers"`
}

type GetClustersListClusterExtraArgArgs

type GetClustersListClusterExtraArgArgs struct {
	// The customized parameters for kube-apiserver.
	KubeApiservers pulumi.StringArrayInput `pulumi:"kubeApiservers"`
	// The customized parameters for kube-controller-manager.
	KubeControllerManagers pulumi.StringArrayInput `pulumi:"kubeControllerManagers"`
	// The customized parameters for kube-scheduler.
	KubeSchedulers pulumi.StringArrayInput `pulumi:"kubeSchedulers"`
}

func (GetClustersListClusterExtraArgArgs) ElementType

func (GetClustersListClusterExtraArgArgs) ToGetClustersListClusterExtraArgOutput

func (i GetClustersListClusterExtraArgArgs) ToGetClustersListClusterExtraArgOutput() GetClustersListClusterExtraArgOutput

func (GetClustersListClusterExtraArgArgs) ToGetClustersListClusterExtraArgOutputWithContext

func (i GetClustersListClusterExtraArgArgs) ToGetClustersListClusterExtraArgOutputWithContext(ctx context.Context) GetClustersListClusterExtraArgOutput

type GetClustersListClusterExtraArgArray

type GetClustersListClusterExtraArgArray []GetClustersListClusterExtraArgInput

func (GetClustersListClusterExtraArgArray) ElementType

func (GetClustersListClusterExtraArgArray) ToGetClustersListClusterExtraArgArrayOutput

func (i GetClustersListClusterExtraArgArray) ToGetClustersListClusterExtraArgArrayOutput() GetClustersListClusterExtraArgArrayOutput

func (GetClustersListClusterExtraArgArray) ToGetClustersListClusterExtraArgArrayOutputWithContext

func (i GetClustersListClusterExtraArgArray) ToGetClustersListClusterExtraArgArrayOutputWithContext(ctx context.Context) GetClustersListClusterExtraArgArrayOutput

type GetClustersListClusterExtraArgArrayInput

type GetClustersListClusterExtraArgArrayInput interface {
	pulumi.Input

	ToGetClustersListClusterExtraArgArrayOutput() GetClustersListClusterExtraArgArrayOutput
	ToGetClustersListClusterExtraArgArrayOutputWithContext(context.Context) GetClustersListClusterExtraArgArrayOutput
}

GetClustersListClusterExtraArgArrayInput is an input type that accepts GetClustersListClusterExtraArgArray and GetClustersListClusterExtraArgArrayOutput values. You can construct a concrete instance of `GetClustersListClusterExtraArgArrayInput` via:

GetClustersListClusterExtraArgArray{ GetClustersListClusterExtraArgArgs{...} }

type GetClustersListClusterExtraArgArrayOutput

type GetClustersListClusterExtraArgArrayOutput struct{ *pulumi.OutputState }

func (GetClustersListClusterExtraArgArrayOutput) ElementType

func (GetClustersListClusterExtraArgArrayOutput) Index

func (GetClustersListClusterExtraArgArrayOutput) ToGetClustersListClusterExtraArgArrayOutput

func (o GetClustersListClusterExtraArgArrayOutput) ToGetClustersListClusterExtraArgArrayOutput() GetClustersListClusterExtraArgArrayOutput

func (GetClustersListClusterExtraArgArrayOutput) ToGetClustersListClusterExtraArgArrayOutputWithContext

func (o GetClustersListClusterExtraArgArrayOutput) ToGetClustersListClusterExtraArgArrayOutputWithContext(ctx context.Context) GetClustersListClusterExtraArgArrayOutput

type GetClustersListClusterExtraArgInput

type GetClustersListClusterExtraArgInput interface {
	pulumi.Input

	ToGetClustersListClusterExtraArgOutput() GetClustersListClusterExtraArgOutput
	ToGetClustersListClusterExtraArgOutputWithContext(context.Context) GetClustersListClusterExtraArgOutput
}

GetClustersListClusterExtraArgInput is an input type that accepts GetClustersListClusterExtraArgArgs and GetClustersListClusterExtraArgOutput values. You can construct a concrete instance of `GetClustersListClusterExtraArgInput` via:

GetClustersListClusterExtraArgArgs{...}

type GetClustersListClusterExtraArgOutput

type GetClustersListClusterExtraArgOutput struct{ *pulumi.OutputState }

func (GetClustersListClusterExtraArgOutput) ElementType

func (GetClustersListClusterExtraArgOutput) KubeApiservers

The customized parameters for kube-apiserver.

func (GetClustersListClusterExtraArgOutput) KubeControllerManagers

The customized parameters for kube-controller-manager.

func (GetClustersListClusterExtraArgOutput) KubeSchedulers

The customized parameters for kube-scheduler.

func (GetClustersListClusterExtraArgOutput) ToGetClustersListClusterExtraArgOutput

func (o GetClustersListClusterExtraArgOutput) ToGetClustersListClusterExtraArgOutput() GetClustersListClusterExtraArgOutput

func (GetClustersListClusterExtraArgOutput) ToGetClustersListClusterExtraArgOutputWithContext

func (o GetClustersListClusterExtraArgOutput) ToGetClustersListClusterExtraArgOutputWithContext(ctx context.Context) GetClustersListClusterExtraArgOutput

type GetClustersListInput

type GetClustersListInput interface {
	pulumi.Input

	ToGetClustersListOutput() GetClustersListOutput
	ToGetClustersListOutputWithContext(context.Context) GetClustersListOutput
}

GetClustersListInput is an input type that accepts GetClustersListArgs and GetClustersListOutput values. You can construct a concrete instance of `GetClustersListInput` via:

GetClustersListArgs{...}

type GetClustersListOutput

type GetClustersListOutput struct{ *pulumi.OutputState }

func (GetClustersListOutput) CertificationAuthority

func (o GetClustersListOutput) CertificationAuthority() pulumi.StringOutput

The certificate used for access.

func (GetClustersListOutput) ClaimExpiredSeconds

func (o GetClustersListOutput) ClaimExpiredSeconds() pulumi.IntOutput

The expired seconds to recycle ENI.

func (GetClustersListOutput) ClusterAsEnabled

func (o GetClustersListOutput) ClusterAsEnabled() pulumi.BoolOutput

Indicates whether to enable cluster node auto scaler.

func (GetClustersListOutput) ClusterCidr

func (o GetClustersListOutput) ClusterCidr() pulumi.StringOutput

A network address block of the cluster. Different from vpc cidr and cidr of other clusters within this VPC.

func (GetClustersListOutput) ClusterDeployType

func (o GetClustersListOutput) ClusterDeployType() pulumi.StringOutput

Deployment type of the cluster.

func (GetClustersListOutput) ClusterDesc

func (o GetClustersListOutput) ClusterDesc() pulumi.StringOutput

Description of the cluster.

func (GetClustersListOutput) ClusterExternalEndpoint

func (o GetClustersListOutput) ClusterExternalEndpoint() pulumi.StringOutput

External network address to access.

func (GetClustersListOutput) ClusterExtraArgs

Customized parameters for master component.

func (GetClustersListOutput) ClusterId

ID of the cluster. Conflict with cluster_name, can not be set at the same time.

func (GetClustersListOutput) ClusterIpvs

func (o GetClustersListOutput) ClusterIpvs() pulumi.BoolOutput

Indicates whether ipvs is enabled.

func (GetClustersListOutput) ClusterMaxPodNum

func (o GetClustersListOutput) ClusterMaxPodNum() pulumi.IntOutput

The maximum number of Pods per node in the cluster.

func (GetClustersListOutput) ClusterMaxServiceNum

func (o GetClustersListOutput) ClusterMaxServiceNum() pulumi.IntOutput

The maximum number of services in the cluster.

func (GetClustersListOutput) ClusterName

func (o GetClustersListOutput) ClusterName() pulumi.StringOutput

Name of the cluster. Conflict with cluster_id, can not be set at the same time.

func (GetClustersListOutput) ClusterNodeNum

func (o GetClustersListOutput) ClusterNodeNum() pulumi.IntOutput

Number of nodes in the cluster.

func (GetClustersListOutput) ClusterOs

Operating system of the cluster.

func (GetClustersListOutput) ClusterVersion

func (o GetClustersListOutput) ClusterVersion() pulumi.StringOutput

Version of the cluster.

func (GetClustersListOutput) ContainerRuntime deprecated

func (o GetClustersListOutput) ContainerRuntime() pulumi.StringOutput

(**Deprecated**) It has been deprecated from version 1.18.1. Container runtime of the cluster.

Deprecated: It has been deprecated from version 1.18.1.

func (GetClustersListOutput) DeletionProtection

func (o GetClustersListOutput) DeletionProtection() pulumi.BoolOutput

Indicates whether cluster deletion protection is enabled.

func (GetClustersListOutput) Domain

Domain name for access.

func (GetClustersListOutput) ElementType

func (GetClustersListOutput) ElementType() reflect.Type

func (GetClustersListOutput) EniSubnetIds

Subnet IDs for cluster with VPC-CNI network mode.

func (GetClustersListOutput) IgnoreClusterCidrConflict

func (o GetClustersListOutput) IgnoreClusterCidrConflict() pulumi.BoolOutput

Indicates whether to ignore the cluster cidr conflict error.

func (GetClustersListOutput) IsNonStaticIpMode

func (o GetClustersListOutput) IsNonStaticIpMode() pulumi.BoolOutput

Indicates whether non-static ip mode is enabled.

func (GetClustersListOutput) KubeConfig

func (o GetClustersListOutput) KubeConfig() pulumi.StringOutput

Kubernetes config.

func (GetClustersListOutput) KubeConfigIntranet

func (o GetClustersListOutput) KubeConfigIntranet() pulumi.StringOutput

Kubernetes config of private network.

func (GetClustersListOutput) KubeProxyMode

func (o GetClustersListOutput) KubeProxyMode() pulumi.StringOutput

Cluster kube-proxy mode.

func (GetClustersListOutput) NetworkType

func (o GetClustersListOutput) NetworkType() pulumi.StringOutput

Cluster network type.

func (GetClustersListOutput) NodeNameType

func (o GetClustersListOutput) NodeNameType() pulumi.StringOutput

Node name type of cluster.

func (GetClustersListOutput) Password

Password of account.

func (GetClustersListOutput) PgwEndpoint

func (o GetClustersListOutput) PgwEndpoint() pulumi.StringOutput

The Intranet address used for access.

func (GetClustersListOutput) ProjectId

func (o GetClustersListOutput) ProjectId() pulumi.IntOutput

Project ID of the cluster.

func (GetClustersListOutput) SecurityPolicies

func (o GetClustersListOutput) SecurityPolicies() pulumi.StringArrayOutput

Access policy.

func (GetClustersListOutput) ServiceCidr

func (o GetClustersListOutput) ServiceCidr() pulumi.StringOutput

The network address block of the cluster.

func (GetClustersListOutput) Tags

Tags of the cluster.

func (GetClustersListOutput) ToGetClustersListOutput

func (o GetClustersListOutput) ToGetClustersListOutput() GetClustersListOutput

func (GetClustersListOutput) ToGetClustersListOutputWithContext

func (o GetClustersListOutput) ToGetClustersListOutputWithContext(ctx context.Context) GetClustersListOutput

func (GetClustersListOutput) UserName

User name of account.

func (GetClustersListOutput) VpcId

Vpc ID of the cluster.

func (GetClustersListOutput) WorkerInstancesLists

An information list of cvm within the WORKER clusters. Each element contains the following attributes.

type GetClustersListWorkerInstancesList

type GetClustersListWorkerInstancesList struct {
	// Information of the cvm when it is failed.
	FailedReason string `pulumi:"failedReason"`
	// ID of the cvm.
	InstanceId string `pulumi:"instanceId"`
	// Role of the cvm.
	InstanceRole string `pulumi:"instanceRole"`
	// State of the cvm.
	InstanceState string `pulumi:"instanceState"`
	// LAN IP of the cvm.
	LanIp string `pulumi:"lanIp"`
}

type GetClustersListWorkerInstancesListArgs

type GetClustersListWorkerInstancesListArgs struct {
	// Information of the cvm when it is failed.
	FailedReason pulumi.StringInput `pulumi:"failedReason"`
	// ID of the cvm.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// Role of the cvm.
	InstanceRole pulumi.StringInput `pulumi:"instanceRole"`
	// State of the cvm.
	InstanceState pulumi.StringInput `pulumi:"instanceState"`
	// LAN IP of the cvm.
	LanIp pulumi.StringInput `pulumi:"lanIp"`
}

func (GetClustersListWorkerInstancesListArgs) ElementType

func (GetClustersListWorkerInstancesListArgs) ToGetClustersListWorkerInstancesListOutput

func (i GetClustersListWorkerInstancesListArgs) ToGetClustersListWorkerInstancesListOutput() GetClustersListWorkerInstancesListOutput

func (GetClustersListWorkerInstancesListArgs) ToGetClustersListWorkerInstancesListOutputWithContext

func (i GetClustersListWorkerInstancesListArgs) ToGetClustersListWorkerInstancesListOutputWithContext(ctx context.Context) GetClustersListWorkerInstancesListOutput

type GetClustersListWorkerInstancesListArray

type GetClustersListWorkerInstancesListArray []GetClustersListWorkerInstancesListInput

func (GetClustersListWorkerInstancesListArray) ElementType

func (GetClustersListWorkerInstancesListArray) ToGetClustersListWorkerInstancesListArrayOutput

func (i GetClustersListWorkerInstancesListArray) ToGetClustersListWorkerInstancesListArrayOutput() GetClustersListWorkerInstancesListArrayOutput

func (GetClustersListWorkerInstancesListArray) ToGetClustersListWorkerInstancesListArrayOutputWithContext

func (i GetClustersListWorkerInstancesListArray) ToGetClustersListWorkerInstancesListArrayOutputWithContext(ctx context.Context) GetClustersListWorkerInstancesListArrayOutput

type GetClustersListWorkerInstancesListArrayInput

type GetClustersListWorkerInstancesListArrayInput interface {
	pulumi.Input

	ToGetClustersListWorkerInstancesListArrayOutput() GetClustersListWorkerInstancesListArrayOutput
	ToGetClustersListWorkerInstancesListArrayOutputWithContext(context.Context) GetClustersListWorkerInstancesListArrayOutput
}

GetClustersListWorkerInstancesListArrayInput is an input type that accepts GetClustersListWorkerInstancesListArray and GetClustersListWorkerInstancesListArrayOutput values. You can construct a concrete instance of `GetClustersListWorkerInstancesListArrayInput` via:

GetClustersListWorkerInstancesListArray{ GetClustersListWorkerInstancesListArgs{...} }

type GetClustersListWorkerInstancesListArrayOutput

type GetClustersListWorkerInstancesListArrayOutput struct{ *pulumi.OutputState }

func (GetClustersListWorkerInstancesListArrayOutput) ElementType

func (GetClustersListWorkerInstancesListArrayOutput) Index

func (GetClustersListWorkerInstancesListArrayOutput) ToGetClustersListWorkerInstancesListArrayOutput

func (o GetClustersListWorkerInstancesListArrayOutput) ToGetClustersListWorkerInstancesListArrayOutput() GetClustersListWorkerInstancesListArrayOutput

func (GetClustersListWorkerInstancesListArrayOutput) ToGetClustersListWorkerInstancesListArrayOutputWithContext

func (o GetClustersListWorkerInstancesListArrayOutput) ToGetClustersListWorkerInstancesListArrayOutputWithContext(ctx context.Context) GetClustersListWorkerInstancesListArrayOutput

type GetClustersListWorkerInstancesListInput

type GetClustersListWorkerInstancesListInput interface {
	pulumi.Input

	ToGetClustersListWorkerInstancesListOutput() GetClustersListWorkerInstancesListOutput
	ToGetClustersListWorkerInstancesListOutputWithContext(context.Context) GetClustersListWorkerInstancesListOutput
}

GetClustersListWorkerInstancesListInput is an input type that accepts GetClustersListWorkerInstancesListArgs and GetClustersListWorkerInstancesListOutput values. You can construct a concrete instance of `GetClustersListWorkerInstancesListInput` via:

GetClustersListWorkerInstancesListArgs{...}

type GetClustersListWorkerInstancesListOutput

type GetClustersListWorkerInstancesListOutput struct{ *pulumi.OutputState }

func (GetClustersListWorkerInstancesListOutput) ElementType

func (GetClustersListWorkerInstancesListOutput) FailedReason

Information of the cvm when it is failed.

func (GetClustersListWorkerInstancesListOutput) InstanceId

ID of the cvm.

func (GetClustersListWorkerInstancesListOutput) InstanceRole

Role of the cvm.

func (GetClustersListWorkerInstancesListOutput) InstanceState

State of the cvm.

func (GetClustersListWorkerInstancesListOutput) LanIp

LAN IP of the cvm.

func (GetClustersListWorkerInstancesListOutput) ToGetClustersListWorkerInstancesListOutput

func (o GetClustersListWorkerInstancesListOutput) ToGetClustersListWorkerInstancesListOutput() GetClustersListWorkerInstancesListOutput

func (GetClustersListWorkerInstancesListOutput) ToGetClustersListWorkerInstancesListOutputWithContext

func (o GetClustersListWorkerInstancesListOutput) ToGetClustersListWorkerInstancesListOutputWithContext(ctx context.Context) GetClustersListWorkerInstancesListOutput

type GetClustersOutputArgs

type GetClustersOutputArgs struct {
	// ID of the cluster. Conflict with cluster_name, can not be set at the same time.
	ClusterId pulumi.StringPtrInput `pulumi:"clusterId"`
	// Name of the cluster. Conflict with cluster_id, can not be set at the same time.
	ClusterName pulumi.StringPtrInput `pulumi:"clusterName"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	// Tags of the cluster.
	Tags pulumi.MapInput `pulumi:"tags"`
}

A collection of arguments for invoking getClusters.

func (GetClustersOutputArgs) ElementType

func (GetClustersOutputArgs) ElementType() reflect.Type

type GetClustersResult

type GetClustersResult struct {
	// ID of cluster.
	ClusterId *string `pulumi:"clusterId"`
	// Name of the cluster.
	ClusterName *string `pulumi:"clusterName"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// An information list of kubernetes clusters. Each element contains the following attributes:
	Lists            []GetClustersList `pulumi:"lists"`
	ResultOutputFile *string           `pulumi:"resultOutputFile"`
	// Tags of the cluster.
	Tags map[string]interface{} `pulumi:"tags"`
}

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 query detailed information of kubernetes clusters.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Kubernetes.GetClusters(ctx, &kubernetes.GetClustersArgs{
			ClusterName: pulumi.StringRef("terraform"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = Kubernetes.GetClusters(ctx, &kubernetes.GetClustersArgs{
			ClusterId: pulumi.StringRef("cls-godovr32"),
		}, 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

ID of cluster.

func (GetClustersResultOutput) ClusterName

Name of the cluster.

func (GetClustersResultOutput) ElementType

func (GetClustersResultOutput) ElementType() reflect.Type

func (GetClustersResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetClustersResultOutput) Lists

An information list of kubernetes clusters. Each element contains the following attributes:

func (GetClustersResultOutput) ResultOutputFile

func (o GetClustersResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (GetClustersResultOutput) Tags

Tags of the cluster.

func (GetClustersResultOutput) ToGetClustersResultOutput

func (o GetClustersResultOutput) ToGetClustersResultOutput() GetClustersResultOutput

func (GetClustersResultOutput) ToGetClustersResultOutputWithContext

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

type NodePool

type NodePool struct {
	pulumi.CustomResourceState

	// Auto scaling config parameters.
	AutoScalingConfig NodePoolAutoScalingConfigOutput `pulumi:"autoScalingConfig"`
	// The auto scaling group ID.
	AutoScalingGroupId pulumi.StringOutput `pulumi:"autoScalingGroupId"`
	// The total of autoscaling added node.
	AutoscalingAddedTotal pulumi.IntOutput `pulumi:"autoscalingAddedTotal"`
	// ID of the cluster.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// Seconds of scaling group cool down. Default value is `300`.
	DefaultCooldown pulumi.IntOutput `pulumi:"defaultCooldown"`
	// Indicate to keep the CVM instance when delete the node pool. Default is `true`.
	DeleteKeepInstance pulumi.BoolPtrOutput `pulumi:"deleteKeepInstance"`
	// Desired capacity ot the node. If `enableAutoScale` is set `true`, this will be a computed parameter.
	DesiredCapacity pulumi.IntOutput `pulumi:"desiredCapacity"`
	// Indicate whether to enable auto scaling or not.
	EnableAutoScale pulumi.BoolPtrOutput `pulumi:"enableAutoScale"`
	// Labels of kubernetes node pool created nodes. The label key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/').
	Labels pulumi.MapOutput `pulumi:"labels"`
	// The launch config ID.
	LaunchConfigId pulumi.StringOutput `pulumi:"launchConfigId"`
	// The total of manually added node.
	ManuallyAddedTotal pulumi.IntOutput `pulumi:"manuallyAddedTotal"`
	// Maximum number of node.
	MaxSize pulumi.IntOutput `pulumi:"maxSize"`
	// Minimum number of node.
	MinSize pulumi.IntOutput `pulumi:"minSize"`
	// Multi-availability zone/subnet policy. Valid values: PRIORITY and EQUALITY. Default value: PRIORITY.
	MultiZoneSubnetPolicy pulumi.StringPtrOutput `pulumi:"multiZoneSubnetPolicy"`
	// Name of the node pool. The name does not exceed 25 characters, and only supports Chinese, English, numbers, underscores, separators (`-`) and decimal points.
	Name pulumi.StringOutput `pulumi:"name"`
	// Node config.
	NodeConfig NodePoolNodeConfigPtrOutput `pulumi:"nodeConfig"`
	// The total node count.
	NodeCount pulumi.IntOutput `pulumi:"nodeCount"`
	// Operating system of the cluster, the available values include: `tlinux2.4x86_64`, `ubuntu18.04.1x86_64`, `ubuntu16.04.1 LTSx86_64`, `centos7.6.0_x64` and `centos7.2x86_64`. Default is 'tlinux2.4x86_64'. This parameter will only affect new nodes, not including the existing nodes.
	NodeOs pulumi.StringPtrOutput `pulumi:"nodeOs"`
	// The image version of the node. Valida values are `DOCKER_CUSTOMIZE` and `GENERAL`. Default is `GENERAL`. This parameter will only affect new nodes, not including the existing nodes.
	NodeOsType pulumi.StringPtrOutput `pulumi:"nodeOsType"`
	// Available values for retry policies include `IMMEDIATE_RETRY` and `INCREMENTAL_INTERVALS`.
	RetryPolicy pulumi.StringPtrOutput `pulumi:"retryPolicy"`
	// Name of relative scaling group.
	ScalingGroupName pulumi.StringOutput `pulumi:"scalingGroupName"`
	// Project ID the scaling group belongs to.
	ScalingGroupProjectId pulumi.IntPtrOutput `pulumi:"scalingGroupProjectId"`
	// Auto scaling mode. Valid values are `CLASSIC_SCALING`(scaling by create/destroy instances), `WAKE_UP_STOPPED_SCALING`(Boot priority for expansion. When expanding the capacity, the shutdown operation is given priority to the shutdown of the instance. If the number of instances is still lower than the expected number of instances after the startup, the instance will be created, and the method of destroying the instance will still be used for shrinking).
	ScalingMode pulumi.StringPtrOutput `pulumi:"scalingMode"`
	// Status of the node pool.
	Status pulumi.StringOutput `pulumi:"status"`
	// ID list of subnet, and for VPC it is required.
	SubnetIds pulumi.StringArrayOutput `pulumi:"subnetIds"`
	// Taints of kubernetes node pool created nodes.
	Taints NodePoolTaintArrayOutput `pulumi:"taints"`
	// Policy of scaling group termination. Available values: `["OLDEST_INSTANCE"]`, `["NEWEST_INSTANCE"]`.
	TerminationPolicies pulumi.StringOutput `pulumi:"terminationPolicies"`
	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	Unschedulable pulumi.IntPtrOutput `pulumi:"unschedulable"`
	// ID of VPC network.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
	// List of auto scaling group available zones, for Basic network it is required.
	Zones pulumi.StringArrayOutput `pulumi:"zones"`
}

Provide a resource to create an auto scaling group for kubernetes cluster.

> **NOTE:** We recommend the usage of one cluster with essential worker config + node pool to manage cluster and nodes. Its a more flexible way than manage worker config with tencentcloud_kubernetes_cluster, Kubernetes.ScaleWorker or exist node management of `tencentcloudKubernetesAttachment`. Cause some unchangeable parameters of `workerConfig` may cause the whole cluster resource `force new`.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Vpc"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		availabilityZone := "ap-guangzhou-3"
		if param := cfg.Get("availabilityZone"); param != "" {
			availabilityZone = param
		}
		clusterCidr := "172.31.0.0/16"
		if param := cfg.Get("clusterCidr"); param != "" {
			clusterCidr = param
		}
		vpc, err := Vpc.GetSubnets(ctx, &vpc.GetSubnetsArgs{
			IsDefault:        pulumi.BoolRef(true),
			AvailabilityZone: pulumi.StringRef(availabilityZone),
		}, nil)
		if err != nil {
			return err
		}
		defaultInstanceType := "S1.SMALL1"
		if param := cfg.Get("defaultInstanceType"); param != "" {
			defaultInstanceType = param
		}
		managedCluster, err := Kubernetes.NewCluster(ctx, "managedCluster", &Kubernetes.ClusterArgs{
			VpcId:                pulumi.String(vpc.InstanceLists[0].VpcId),
			ClusterCidr:          pulumi.String(clusterCidr),
			ClusterMaxPodNum:     pulumi.Int(32),
			ClusterName:          pulumi.String("tf-tke-unit-test"),
			ClusterDesc:          pulumi.String("test cluster desc"),
			ClusterMaxServiceNum: pulumi.Int(32),
			ClusterVersion:       pulumi.String("1.18.4"),
			ClusterDeployType:    pulumi.String("MANAGED_CLUSTER"),
		})
		if err != nil {
			return err
		}
		_, err = Kubernetes.NewNodePool(ctx, "mynodepool", &Kubernetes.NodePoolArgs{
			ClusterId: managedCluster.ID(),
			MaxSize:   pulumi.Int(6),
			MinSize:   pulumi.Int(1),
			VpcId:     pulumi.String(vpc.InstanceLists[0].VpcId),
			SubnetIds: pulumi.StringArray{
				pulumi.String(vpc.InstanceLists[0].SubnetId),
			},
			RetryPolicy:           pulumi.String("INCREMENTAL_INTERVALS"),
			DesiredCapacity:       pulumi.Int(4),
			EnableAutoScale:       pulumi.Bool(true),
			MultiZoneSubnetPolicy: pulumi.String("EQUALITY"),
			AutoScalingConfig: &kubernetes.NodePoolAutoScalingConfigArgs{
				InstanceType:   pulumi.String(defaultInstanceType),
				SystemDiskType: pulumi.String("CLOUD_PREMIUM"),
				SystemDiskSize: pulumi.Int(50),
				SecurityGroupIds: pulumi.StringArray{
					pulumi.String("sg-24vswocp"),
				},
				DataDisks: kubernetes.NodePoolAutoScalingConfigDataDiskArray{
					&kubernetes.NodePoolAutoScalingConfigDataDiskArgs{
						DiskType: pulumi.String("CLOUD_PREMIUM"),
						DiskSize: pulumi.Int(50),
					},
				},
				InternetChargeType:      pulumi.String("TRAFFIC_POSTPAID_BY_HOUR"),
				InternetMaxBandwidthOut: pulumi.Int(10),
				PublicIpAssigned:        pulumi.Bool(true),
				Password:                pulumi.String("test123#"),
				EnhancedSecurityService: pulumi.Bool(false),
				EnhancedMonitorService:  pulumi.Bool(false),
			},
			Labels: pulumi.AnyMap{
				"test1": pulumi.Any("test1"),
				"test2": pulumi.Any("test2"),
			},
			Taints: kubernetes.NodePoolTaintArray{
				&kubernetes.NodePoolTaintArgs{
					Key:    pulumi.String("test_taint"),
					Value:  pulumi.String("taint_value"),
					Effect: pulumi.String("PreferNoSchedule"),
				},
				&kubernetes.NodePoolTaintArgs{
					Key:    pulumi.String("test_taint2"),
					Value:  pulumi.String("taint_value2"),
					Effect: pulumi.String("PreferNoSchedule"),
				},
			},
			NodeConfig: &kubernetes.NodePoolNodeConfigArgs{
				ExtraArgs: pulumi.StringArray{
					pulumi.String("root-dir=/var/lib/kubelet"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Using Spot CVM Instance

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Kubernetes.NewNodePool(ctx, "mynodepool", &Kubernetes.NodePoolArgs{
			ClusterId: pulumi.Any(tencentcloud_kubernetes_cluster.Managed_cluster.Id),
			MaxSize:   pulumi.Int(6),
			MinSize:   pulumi.Int(1),
			VpcId:     pulumi.Any(data.Tencentcloud_vpc_subnets.Vpc.Instance_list[0].Vpc_id),
			SubnetIds: pulumi.StringArray{
				pulumi.Any(data.Tencentcloud_vpc_subnets.Vpc.Instance_list[0].Subnet_id),
			},
			RetryPolicy:           pulumi.String("INCREMENTAL_INTERVALS"),
			DesiredCapacity:       pulumi.Int(4),
			EnableAutoScale:       pulumi.Bool(true),
			MultiZoneSubnetPolicy: pulumi.String("EQUALITY"),
			AutoScalingConfig: &kubernetes.NodePoolAutoScalingConfigArgs{
				InstanceType:   pulumi.Any(_var.Default_instance_type),
				SystemDiskType: pulumi.String("CLOUD_PREMIUM"),
				SystemDiskSize: pulumi.Int(50),
				SecurityGroupIds: pulumi.StringArray{
					pulumi.String("sg-24vswocp"),
				},
				InstanceChargeType: pulumi.String("SPOTPAID"),
				SpotInstanceType:   pulumi.String("one-time"),
				SpotMaxPrice:       pulumi.String("1000"),
				DataDisks: kubernetes.NodePoolAutoScalingConfigDataDiskArray{
					&kubernetes.NodePoolAutoScalingConfigDataDiskArgs{
						DiskType: pulumi.String("CLOUD_PREMIUM"),
						DiskSize: pulumi.Int(50),
					},
				},
				InternetChargeType:      pulumi.String("TRAFFIC_POSTPAID_BY_HOUR"),
				InternetMaxBandwidthOut: pulumi.Int(10),
				PublicIpAssigned:        pulumi.Bool(true),
				Password:                pulumi.String("test123#"),
				EnhancedSecurityService: pulumi.Bool(false),
				EnhancedMonitorService:  pulumi.Bool(false),
			},
			Labels: pulumi.AnyMap{
				"test1": pulumi.Any("test1"),
				"test2": pulumi.Any("test2"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

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 {
	// Auto scaling config parameters.
	AutoScalingConfig NodePoolAutoScalingConfigInput
	// ID of the cluster.
	ClusterId pulumi.StringInput
	// Seconds of scaling group cool down. Default value is `300`.
	DefaultCooldown pulumi.IntPtrInput
	// Indicate to keep the CVM instance when delete the node pool. Default is `true`.
	DeleteKeepInstance pulumi.BoolPtrInput
	// Desired capacity ot the node. If `enableAutoScale` is set `true`, this will be a computed parameter.
	DesiredCapacity pulumi.IntPtrInput
	// Indicate whether to enable auto scaling or not.
	EnableAutoScale pulumi.BoolPtrInput
	// Labels of kubernetes node pool created nodes. The label key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/').
	Labels pulumi.MapInput
	// Maximum number of node.
	MaxSize pulumi.IntInput
	// Minimum number of node.
	MinSize pulumi.IntInput
	// Multi-availability zone/subnet policy. Valid values: PRIORITY and EQUALITY. Default value: PRIORITY.
	MultiZoneSubnetPolicy pulumi.StringPtrInput
	// Name of the node pool. The name does not exceed 25 characters, and only supports Chinese, English, numbers, underscores, separators (`-`) and decimal points.
	Name pulumi.StringPtrInput
	// Node config.
	NodeConfig NodePoolNodeConfigPtrInput
	// Operating system of the cluster, the available values include: `tlinux2.4x86_64`, `ubuntu18.04.1x86_64`, `ubuntu16.04.1 LTSx86_64`, `centos7.6.0_x64` and `centos7.2x86_64`. Default is 'tlinux2.4x86_64'. This parameter will only affect new nodes, not including the existing nodes.
	NodeOs pulumi.StringPtrInput
	// The image version of the node. Valida values are `DOCKER_CUSTOMIZE` and `GENERAL`. Default is `GENERAL`. This parameter will only affect new nodes, not including the existing nodes.
	NodeOsType pulumi.StringPtrInput
	// Available values for retry policies include `IMMEDIATE_RETRY` and `INCREMENTAL_INTERVALS`.
	RetryPolicy pulumi.StringPtrInput
	// Name of relative scaling group.
	ScalingGroupName pulumi.StringPtrInput
	// Project ID the scaling group belongs to.
	ScalingGroupProjectId pulumi.IntPtrInput
	// Auto scaling mode. Valid values are `CLASSIC_SCALING`(scaling by create/destroy instances), `WAKE_UP_STOPPED_SCALING`(Boot priority for expansion. When expanding the capacity, the shutdown operation is given priority to the shutdown of the instance. If the number of instances is still lower than the expected number of instances after the startup, the instance will be created, and the method of destroying the instance will still be used for shrinking).
	ScalingMode pulumi.StringPtrInput
	// ID list of subnet, and for VPC it is required.
	SubnetIds pulumi.StringArrayInput
	// Taints of kubernetes node pool created nodes.
	Taints NodePoolTaintArrayInput
	// Policy of scaling group termination. Available values: `["OLDEST_INSTANCE"]`, `["NEWEST_INSTANCE"]`.
	TerminationPolicies pulumi.StringPtrInput
	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	Unschedulable pulumi.IntPtrInput
	// ID of VPC network.
	VpcId pulumi.StringInput
	// List of auto scaling group available zones, for Basic network it is required.
	Zones pulumi.StringArrayInput
}

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 NodePoolAutoScalingConfig

type NodePoolAutoScalingConfig struct {
	// Backup CVM instance types if specified instance type sold out or mismatch.
	BackupInstanceTypes []string `pulumi:"backupInstanceTypes"`
	// bandwidth package id. if user is standard user, then the bandwidthPackageId is needed, or default has bandwidth_package_id.
	BandwidthPackageId *string `pulumi:"bandwidthPackageId"`
	// Name of cam role.
	CamRoleName *string `pulumi:"camRoleName"`
	// Configurations of data disk.
	DataDisks []NodePoolAutoScalingConfigDataDisk `pulumi:"dataDisks"`
	// To specify whether to enable cloud monitor service. Default is TRUE.
	EnhancedMonitorService *bool `pulumi:"enhancedMonitorService"`
	// To specify whether to enable cloud security service. Default is TRUE.
	EnhancedSecurityService *bool `pulumi:"enhancedSecurityService"`
	// Charge type of instance. Valid values are `PREPAID`, `POSTPAID_BY_HOUR`, `SPOTPAID`. The default is `POSTPAID_BY_HOUR`. NOTE: `SPOTPAID` instance must set `spotInstanceType` and `spotMaxPrice` at the same time.
	InstanceChargeType *string `pulumi:"instanceChargeType"`
	// The tenancy (in month) of the prepaid instance, NOTE: it only works when instanceChargeType is set to `PREPAID`. Valid values are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`.
	InstanceChargeTypePrepaidPeriod *int `pulumi:"instanceChargeTypePrepaidPeriod"`
	// Auto renewal flag. Valid values: `NOTIFY_AND_AUTO_RENEW`: notify upon expiration and renew automatically, `NOTIFY_AND_MANUAL_RENEW`: notify upon expiration but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: neither notify upon expiration nor renew automatically. Default value: `NOTIFY_AND_MANUAL_RENEW`. If this parameter is specified as `NOTIFY_AND_AUTO_RENEW`, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instanceChargeType is set to `PREPAID`.
	InstanceChargeTypePrepaidRenewFlag *string `pulumi:"instanceChargeTypePrepaidRenewFlag"`
	// Specified types of CVM instance.
	InstanceType string `pulumi:"instanceType"`
	// Charge types for network traffic. Valid value: `BANDWIDTH_PREPAID`, `TRAFFIC_POSTPAID_BY_HOUR`, `TRAFFIC_POSTPAID_BY_HOUR` and `BANDWIDTH_PACKAGE`.
	InternetChargeType *string `pulumi:"internetChargeType"`
	// Max bandwidth of Internet access in Mbps. Default is `0`.
	InternetMaxBandwidthOut *int `pulumi:"internetMaxBandwidthOut"`
	// ID list of keys.
	KeyIds []string `pulumi:"keyIds"`
	// Password to access.
	Password *string `pulumi:"password"`
	// Specify whether to assign an Internet IP address.
	PublicIpAssigned *bool `pulumi:"publicIpAssigned"`
	// Security groups to which a CVM instance belongs.
	SecurityGroupIds []string `pulumi:"securityGroupIds"`
	// Type of spot instance, only support `one-time` now. Note: it only works when instanceChargeType is set to `SPOTPAID`.
	SpotInstanceType *string `pulumi:"spotInstanceType"`
	// Max price of a spot instance, is the format of decimal string, for example "0.50". Note: it only works when instanceChargeType is set to `SPOTPAID`.
	SpotMaxPrice *string `pulumi:"spotMaxPrice"`
	// Volume of system disk in GB. Default is `50`.
	SystemDiskSize *int `pulumi:"systemDiskSize"`
	// Type of a CVM disk. Valid value: `CLOUD_PREMIUM` and `CLOUD_SSD`. Default is `CLOUD_PREMIUM`.
	SystemDiskType *string `pulumi:"systemDiskType"`
}

type NodePoolAutoScalingConfigArgs

type NodePoolAutoScalingConfigArgs struct {
	// Backup CVM instance types if specified instance type sold out or mismatch.
	BackupInstanceTypes pulumi.StringArrayInput `pulumi:"backupInstanceTypes"`
	// bandwidth package id. if user is standard user, then the bandwidthPackageId is needed, or default has bandwidth_package_id.
	BandwidthPackageId pulumi.StringPtrInput `pulumi:"bandwidthPackageId"`
	// Name of cam role.
	CamRoleName pulumi.StringPtrInput `pulumi:"camRoleName"`
	// Configurations of data disk.
	DataDisks NodePoolAutoScalingConfigDataDiskArrayInput `pulumi:"dataDisks"`
	// To specify whether to enable cloud monitor service. Default is TRUE.
	EnhancedMonitorService pulumi.BoolPtrInput `pulumi:"enhancedMonitorService"`
	// To specify whether to enable cloud security service. Default is TRUE.
	EnhancedSecurityService pulumi.BoolPtrInput `pulumi:"enhancedSecurityService"`
	// Charge type of instance. Valid values are `PREPAID`, `POSTPAID_BY_HOUR`, `SPOTPAID`. The default is `POSTPAID_BY_HOUR`. NOTE: `SPOTPAID` instance must set `spotInstanceType` and `spotMaxPrice` at the same time.
	InstanceChargeType pulumi.StringPtrInput `pulumi:"instanceChargeType"`
	// The tenancy (in month) of the prepaid instance, NOTE: it only works when instanceChargeType is set to `PREPAID`. Valid values are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`.
	InstanceChargeTypePrepaidPeriod pulumi.IntPtrInput `pulumi:"instanceChargeTypePrepaidPeriod"`
	// Auto renewal flag. Valid values: `NOTIFY_AND_AUTO_RENEW`: notify upon expiration and renew automatically, `NOTIFY_AND_MANUAL_RENEW`: notify upon expiration but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: neither notify upon expiration nor renew automatically. Default value: `NOTIFY_AND_MANUAL_RENEW`. If this parameter is specified as `NOTIFY_AND_AUTO_RENEW`, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instanceChargeType is set to `PREPAID`.
	InstanceChargeTypePrepaidRenewFlag pulumi.StringPtrInput `pulumi:"instanceChargeTypePrepaidRenewFlag"`
	// Specified types of CVM instance.
	InstanceType pulumi.StringInput `pulumi:"instanceType"`
	// Charge types for network traffic. Valid value: `BANDWIDTH_PREPAID`, `TRAFFIC_POSTPAID_BY_HOUR`, `TRAFFIC_POSTPAID_BY_HOUR` and `BANDWIDTH_PACKAGE`.
	InternetChargeType pulumi.StringPtrInput `pulumi:"internetChargeType"`
	// Max bandwidth of Internet access in Mbps. Default is `0`.
	InternetMaxBandwidthOut pulumi.IntPtrInput `pulumi:"internetMaxBandwidthOut"`
	// ID list of keys.
	KeyIds pulumi.StringArrayInput `pulumi:"keyIds"`
	// Password to access.
	Password pulumi.StringPtrInput `pulumi:"password"`
	// Specify whether to assign an Internet IP address.
	PublicIpAssigned pulumi.BoolPtrInput `pulumi:"publicIpAssigned"`
	// Security groups to which a CVM instance belongs.
	SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"`
	// Type of spot instance, only support `one-time` now. Note: it only works when instanceChargeType is set to `SPOTPAID`.
	SpotInstanceType pulumi.StringPtrInput `pulumi:"spotInstanceType"`
	// Max price of a spot instance, is the format of decimal string, for example "0.50". Note: it only works when instanceChargeType is set to `SPOTPAID`.
	SpotMaxPrice pulumi.StringPtrInput `pulumi:"spotMaxPrice"`
	// Volume of system disk in GB. Default is `50`.
	SystemDiskSize pulumi.IntPtrInput `pulumi:"systemDiskSize"`
	// Type of a CVM disk. Valid value: `CLOUD_PREMIUM` and `CLOUD_SSD`. Default is `CLOUD_PREMIUM`.
	SystemDiskType pulumi.StringPtrInput `pulumi:"systemDiskType"`
}

func (NodePoolAutoScalingConfigArgs) ElementType

func (NodePoolAutoScalingConfigArgs) ToNodePoolAutoScalingConfigOutput

func (i NodePoolAutoScalingConfigArgs) ToNodePoolAutoScalingConfigOutput() NodePoolAutoScalingConfigOutput

func (NodePoolAutoScalingConfigArgs) ToNodePoolAutoScalingConfigOutputWithContext

func (i NodePoolAutoScalingConfigArgs) ToNodePoolAutoScalingConfigOutputWithContext(ctx context.Context) NodePoolAutoScalingConfigOutput

func (NodePoolAutoScalingConfigArgs) ToNodePoolAutoScalingConfigPtrOutput

func (i NodePoolAutoScalingConfigArgs) ToNodePoolAutoScalingConfigPtrOutput() NodePoolAutoScalingConfigPtrOutput

func (NodePoolAutoScalingConfigArgs) ToNodePoolAutoScalingConfigPtrOutputWithContext

func (i NodePoolAutoScalingConfigArgs) ToNodePoolAutoScalingConfigPtrOutputWithContext(ctx context.Context) NodePoolAutoScalingConfigPtrOutput

type NodePoolAutoScalingConfigDataDisk

type NodePoolAutoScalingConfigDataDisk struct {
	// Indicates whether the disk remove after instance terminated.
	DeleteWithInstance *bool `pulumi:"deleteWithInstance"`
	// Volume of disk in GB. Default is `0`.
	DiskSize *int `pulumi:"diskSize"`
	// Types of disk. Valid value: `CLOUD_PREMIUM` and `CLOUD_SSD`.
	DiskType *string `pulumi:"diskType"`
	// Data disk snapshot ID.
	SnapshotId *string `pulumi:"snapshotId"`
}

type NodePoolAutoScalingConfigDataDiskArgs

type NodePoolAutoScalingConfigDataDiskArgs struct {
	// Indicates whether the disk remove after instance terminated.
	DeleteWithInstance pulumi.BoolPtrInput `pulumi:"deleteWithInstance"`
	// Volume of disk in GB. Default is `0`.
	DiskSize pulumi.IntPtrInput `pulumi:"diskSize"`
	// Types of disk. Valid value: `CLOUD_PREMIUM` and `CLOUD_SSD`.
	DiskType pulumi.StringPtrInput `pulumi:"diskType"`
	// Data disk snapshot ID.
	SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"`
}

func (NodePoolAutoScalingConfigDataDiskArgs) ElementType

func (NodePoolAutoScalingConfigDataDiskArgs) ToNodePoolAutoScalingConfigDataDiskOutput

func (i NodePoolAutoScalingConfigDataDiskArgs) ToNodePoolAutoScalingConfigDataDiskOutput() NodePoolAutoScalingConfigDataDiskOutput

func (NodePoolAutoScalingConfigDataDiskArgs) ToNodePoolAutoScalingConfigDataDiskOutputWithContext

func (i NodePoolAutoScalingConfigDataDiskArgs) ToNodePoolAutoScalingConfigDataDiskOutputWithContext(ctx context.Context) NodePoolAutoScalingConfigDataDiskOutput

type NodePoolAutoScalingConfigDataDiskArray

type NodePoolAutoScalingConfigDataDiskArray []NodePoolAutoScalingConfigDataDiskInput

func (NodePoolAutoScalingConfigDataDiskArray) ElementType

func (NodePoolAutoScalingConfigDataDiskArray) ToNodePoolAutoScalingConfigDataDiskArrayOutput

func (i NodePoolAutoScalingConfigDataDiskArray) ToNodePoolAutoScalingConfigDataDiskArrayOutput() NodePoolAutoScalingConfigDataDiskArrayOutput

func (NodePoolAutoScalingConfigDataDiskArray) ToNodePoolAutoScalingConfigDataDiskArrayOutputWithContext

func (i NodePoolAutoScalingConfigDataDiskArray) ToNodePoolAutoScalingConfigDataDiskArrayOutputWithContext(ctx context.Context) NodePoolAutoScalingConfigDataDiskArrayOutput

type NodePoolAutoScalingConfigDataDiskArrayInput

type NodePoolAutoScalingConfigDataDiskArrayInput interface {
	pulumi.Input

	ToNodePoolAutoScalingConfigDataDiskArrayOutput() NodePoolAutoScalingConfigDataDiskArrayOutput
	ToNodePoolAutoScalingConfigDataDiskArrayOutputWithContext(context.Context) NodePoolAutoScalingConfigDataDiskArrayOutput
}

NodePoolAutoScalingConfigDataDiskArrayInput is an input type that accepts NodePoolAutoScalingConfigDataDiskArray and NodePoolAutoScalingConfigDataDiskArrayOutput values. You can construct a concrete instance of `NodePoolAutoScalingConfigDataDiskArrayInput` via:

NodePoolAutoScalingConfigDataDiskArray{ NodePoolAutoScalingConfigDataDiskArgs{...} }

type NodePoolAutoScalingConfigDataDiskArrayOutput

type NodePoolAutoScalingConfigDataDiskArrayOutput struct{ *pulumi.OutputState }

func (NodePoolAutoScalingConfigDataDiskArrayOutput) ElementType

func (NodePoolAutoScalingConfigDataDiskArrayOutput) Index

func (NodePoolAutoScalingConfigDataDiskArrayOutput) ToNodePoolAutoScalingConfigDataDiskArrayOutput

func (o NodePoolAutoScalingConfigDataDiskArrayOutput) ToNodePoolAutoScalingConfigDataDiskArrayOutput() NodePoolAutoScalingConfigDataDiskArrayOutput

func (NodePoolAutoScalingConfigDataDiskArrayOutput) ToNodePoolAutoScalingConfigDataDiskArrayOutputWithContext

func (o NodePoolAutoScalingConfigDataDiskArrayOutput) ToNodePoolAutoScalingConfigDataDiskArrayOutputWithContext(ctx context.Context) NodePoolAutoScalingConfigDataDiskArrayOutput

type NodePoolAutoScalingConfigDataDiskInput

type NodePoolAutoScalingConfigDataDiskInput interface {
	pulumi.Input

	ToNodePoolAutoScalingConfigDataDiskOutput() NodePoolAutoScalingConfigDataDiskOutput
	ToNodePoolAutoScalingConfigDataDiskOutputWithContext(context.Context) NodePoolAutoScalingConfigDataDiskOutput
}

NodePoolAutoScalingConfigDataDiskInput is an input type that accepts NodePoolAutoScalingConfigDataDiskArgs and NodePoolAutoScalingConfigDataDiskOutput values. You can construct a concrete instance of `NodePoolAutoScalingConfigDataDiskInput` via:

NodePoolAutoScalingConfigDataDiskArgs{...}

type NodePoolAutoScalingConfigDataDiskOutput

type NodePoolAutoScalingConfigDataDiskOutput struct{ *pulumi.OutputState }

func (NodePoolAutoScalingConfigDataDiskOutput) DeleteWithInstance

Indicates whether the disk remove after instance terminated.

func (NodePoolAutoScalingConfigDataDiskOutput) DiskSize

Volume of disk in GB. Default is `0`.

func (NodePoolAutoScalingConfigDataDiskOutput) DiskType

Types of disk. Valid value: `CLOUD_PREMIUM` and `CLOUD_SSD`.

func (NodePoolAutoScalingConfigDataDiskOutput) ElementType

func (NodePoolAutoScalingConfigDataDiskOutput) SnapshotId

Data disk snapshot ID.

func (NodePoolAutoScalingConfigDataDiskOutput) ToNodePoolAutoScalingConfigDataDiskOutput

func (o NodePoolAutoScalingConfigDataDiskOutput) ToNodePoolAutoScalingConfigDataDiskOutput() NodePoolAutoScalingConfigDataDiskOutput

func (NodePoolAutoScalingConfigDataDiskOutput) ToNodePoolAutoScalingConfigDataDiskOutputWithContext

func (o NodePoolAutoScalingConfigDataDiskOutput) ToNodePoolAutoScalingConfigDataDiskOutputWithContext(ctx context.Context) NodePoolAutoScalingConfigDataDiskOutput

type NodePoolAutoScalingConfigInput

type NodePoolAutoScalingConfigInput interface {
	pulumi.Input

	ToNodePoolAutoScalingConfigOutput() NodePoolAutoScalingConfigOutput
	ToNodePoolAutoScalingConfigOutputWithContext(context.Context) NodePoolAutoScalingConfigOutput
}

NodePoolAutoScalingConfigInput is an input type that accepts NodePoolAutoScalingConfigArgs and NodePoolAutoScalingConfigOutput values. You can construct a concrete instance of `NodePoolAutoScalingConfigInput` via:

NodePoolAutoScalingConfigArgs{...}

type NodePoolAutoScalingConfigOutput

type NodePoolAutoScalingConfigOutput struct{ *pulumi.OutputState }

func (NodePoolAutoScalingConfigOutput) BackupInstanceTypes

Backup CVM instance types if specified instance type sold out or mismatch.

func (NodePoolAutoScalingConfigOutput) BandwidthPackageId

bandwidth package id. if user is standard user, then the bandwidthPackageId is needed, or default has bandwidth_package_id.

func (NodePoolAutoScalingConfigOutput) CamRoleName

Name of cam role.

func (NodePoolAutoScalingConfigOutput) DataDisks

Configurations of data disk.

func (NodePoolAutoScalingConfigOutput) ElementType

func (NodePoolAutoScalingConfigOutput) EnhancedMonitorService

func (o NodePoolAutoScalingConfigOutput) EnhancedMonitorService() pulumi.BoolPtrOutput

To specify whether to enable cloud monitor service. Default is TRUE.

func (NodePoolAutoScalingConfigOutput) EnhancedSecurityService

func (o NodePoolAutoScalingConfigOutput) EnhancedSecurityService() pulumi.BoolPtrOutput

To specify whether to enable cloud security service. Default is TRUE.

func (NodePoolAutoScalingConfigOutput) InstanceChargeType

Charge type of instance. Valid values are `PREPAID`, `POSTPAID_BY_HOUR`, `SPOTPAID`. The default is `POSTPAID_BY_HOUR`. NOTE: `SPOTPAID` instance must set `spotInstanceType` and `spotMaxPrice` at the same time.

func (NodePoolAutoScalingConfigOutput) InstanceChargeTypePrepaidPeriod

func (o NodePoolAutoScalingConfigOutput) InstanceChargeTypePrepaidPeriod() pulumi.IntPtrOutput

The tenancy (in month) of the prepaid instance, NOTE: it only works when instanceChargeType is set to `PREPAID`. Valid values are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`.

func (NodePoolAutoScalingConfigOutput) InstanceChargeTypePrepaidRenewFlag

func (o NodePoolAutoScalingConfigOutput) InstanceChargeTypePrepaidRenewFlag() pulumi.StringPtrOutput

Auto renewal flag. Valid values: `NOTIFY_AND_AUTO_RENEW`: notify upon expiration and renew automatically, `NOTIFY_AND_MANUAL_RENEW`: notify upon expiration but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: neither notify upon expiration nor renew automatically. Default value: `NOTIFY_AND_MANUAL_RENEW`. If this parameter is specified as `NOTIFY_AND_AUTO_RENEW`, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instanceChargeType is set to `PREPAID`.

func (NodePoolAutoScalingConfigOutput) InstanceType

Specified types of CVM instance.

func (NodePoolAutoScalingConfigOutput) InternetChargeType

Charge types for network traffic. Valid value: `BANDWIDTH_PREPAID`, `TRAFFIC_POSTPAID_BY_HOUR`, `TRAFFIC_POSTPAID_BY_HOUR` and `BANDWIDTH_PACKAGE`.

func (NodePoolAutoScalingConfigOutput) InternetMaxBandwidthOut

func (o NodePoolAutoScalingConfigOutput) InternetMaxBandwidthOut() pulumi.IntPtrOutput

Max bandwidth of Internet access in Mbps. Default is `0`.

func (NodePoolAutoScalingConfigOutput) KeyIds

ID list of keys.

func (NodePoolAutoScalingConfigOutput) Password

Password to access.

func (NodePoolAutoScalingConfigOutput) PublicIpAssigned

Specify whether to assign an Internet IP address.

func (NodePoolAutoScalingConfigOutput) SecurityGroupIds

Security groups to which a CVM instance belongs.

func (NodePoolAutoScalingConfigOutput) SpotInstanceType

Type of spot instance, only support `one-time` now. Note: it only works when instanceChargeType is set to `SPOTPAID`.

func (NodePoolAutoScalingConfigOutput) SpotMaxPrice

Max price of a spot instance, is the format of decimal string, for example "0.50". Note: it only works when instanceChargeType is set to `SPOTPAID`.

func (NodePoolAutoScalingConfigOutput) SystemDiskSize

Volume of system disk in GB. Default is `50`.

func (NodePoolAutoScalingConfigOutput) SystemDiskType

Type of a CVM disk. Valid value: `CLOUD_PREMIUM` and `CLOUD_SSD`. Default is `CLOUD_PREMIUM`.

func (NodePoolAutoScalingConfigOutput) ToNodePoolAutoScalingConfigOutput

func (o NodePoolAutoScalingConfigOutput) ToNodePoolAutoScalingConfigOutput() NodePoolAutoScalingConfigOutput

func (NodePoolAutoScalingConfigOutput) ToNodePoolAutoScalingConfigOutputWithContext

func (o NodePoolAutoScalingConfigOutput) ToNodePoolAutoScalingConfigOutputWithContext(ctx context.Context) NodePoolAutoScalingConfigOutput

func (NodePoolAutoScalingConfigOutput) ToNodePoolAutoScalingConfigPtrOutput

func (o NodePoolAutoScalingConfigOutput) ToNodePoolAutoScalingConfigPtrOutput() NodePoolAutoScalingConfigPtrOutput

func (NodePoolAutoScalingConfigOutput) ToNodePoolAutoScalingConfigPtrOutputWithContext

func (o NodePoolAutoScalingConfigOutput) ToNodePoolAutoScalingConfigPtrOutputWithContext(ctx context.Context) NodePoolAutoScalingConfigPtrOutput

type NodePoolAutoScalingConfigPtrInput

type NodePoolAutoScalingConfigPtrInput interface {
	pulumi.Input

	ToNodePoolAutoScalingConfigPtrOutput() NodePoolAutoScalingConfigPtrOutput
	ToNodePoolAutoScalingConfigPtrOutputWithContext(context.Context) NodePoolAutoScalingConfigPtrOutput
}

NodePoolAutoScalingConfigPtrInput is an input type that accepts NodePoolAutoScalingConfigArgs, NodePoolAutoScalingConfigPtr and NodePoolAutoScalingConfigPtrOutput values. You can construct a concrete instance of `NodePoolAutoScalingConfigPtrInput` via:

        NodePoolAutoScalingConfigArgs{...}

or:

        nil

type NodePoolAutoScalingConfigPtrOutput

type NodePoolAutoScalingConfigPtrOutput struct{ *pulumi.OutputState }

func (NodePoolAutoScalingConfigPtrOutput) BackupInstanceTypes

Backup CVM instance types if specified instance type sold out or mismatch.

func (NodePoolAutoScalingConfigPtrOutput) BandwidthPackageId

bandwidth package id. if user is standard user, then the bandwidthPackageId is needed, or default has bandwidth_package_id.

func (NodePoolAutoScalingConfigPtrOutput) CamRoleName

Name of cam role.

func (NodePoolAutoScalingConfigPtrOutput) DataDisks

Configurations of data disk.

func (NodePoolAutoScalingConfigPtrOutput) Elem

func (NodePoolAutoScalingConfigPtrOutput) ElementType

func (NodePoolAutoScalingConfigPtrOutput) EnhancedMonitorService

func (o NodePoolAutoScalingConfigPtrOutput) EnhancedMonitorService() pulumi.BoolPtrOutput

To specify whether to enable cloud monitor service. Default is TRUE.

func (NodePoolAutoScalingConfigPtrOutput) EnhancedSecurityService

func (o NodePoolAutoScalingConfigPtrOutput) EnhancedSecurityService() pulumi.BoolPtrOutput

To specify whether to enable cloud security service. Default is TRUE.

func (NodePoolAutoScalingConfigPtrOutput) InstanceChargeType

Charge type of instance. Valid values are `PREPAID`, `POSTPAID_BY_HOUR`, `SPOTPAID`. The default is `POSTPAID_BY_HOUR`. NOTE: `SPOTPAID` instance must set `spotInstanceType` and `spotMaxPrice` at the same time.

func (NodePoolAutoScalingConfigPtrOutput) InstanceChargeTypePrepaidPeriod

func (o NodePoolAutoScalingConfigPtrOutput) InstanceChargeTypePrepaidPeriod() pulumi.IntPtrOutput

The tenancy (in month) of the prepaid instance, NOTE: it only works when instanceChargeType is set to `PREPAID`. Valid values are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`.

func (NodePoolAutoScalingConfigPtrOutput) InstanceChargeTypePrepaidRenewFlag

func (o NodePoolAutoScalingConfigPtrOutput) InstanceChargeTypePrepaidRenewFlag() pulumi.StringPtrOutput

Auto renewal flag. Valid values: `NOTIFY_AND_AUTO_RENEW`: notify upon expiration and renew automatically, `NOTIFY_AND_MANUAL_RENEW`: notify upon expiration but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: neither notify upon expiration nor renew automatically. Default value: `NOTIFY_AND_MANUAL_RENEW`. If this parameter is specified as `NOTIFY_AND_AUTO_RENEW`, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instanceChargeType is set to `PREPAID`.

func (NodePoolAutoScalingConfigPtrOutput) InstanceType

Specified types of CVM instance.

func (NodePoolAutoScalingConfigPtrOutput) InternetChargeType

Charge types for network traffic. Valid value: `BANDWIDTH_PREPAID`, `TRAFFIC_POSTPAID_BY_HOUR`, `TRAFFIC_POSTPAID_BY_HOUR` and `BANDWIDTH_PACKAGE`.

func (NodePoolAutoScalingConfigPtrOutput) InternetMaxBandwidthOut

func (o NodePoolAutoScalingConfigPtrOutput) InternetMaxBandwidthOut() pulumi.IntPtrOutput

Max bandwidth of Internet access in Mbps. Default is `0`.

func (NodePoolAutoScalingConfigPtrOutput) KeyIds

ID list of keys.

func (NodePoolAutoScalingConfigPtrOutput) Password

Password to access.

func (NodePoolAutoScalingConfigPtrOutput) PublicIpAssigned

Specify whether to assign an Internet IP address.

func (NodePoolAutoScalingConfigPtrOutput) SecurityGroupIds

Security groups to which a CVM instance belongs.

func (NodePoolAutoScalingConfigPtrOutput) SpotInstanceType

Type of spot instance, only support `one-time` now. Note: it only works when instanceChargeType is set to `SPOTPAID`.

func (NodePoolAutoScalingConfigPtrOutput) SpotMaxPrice

Max price of a spot instance, is the format of decimal string, for example "0.50". Note: it only works when instanceChargeType is set to `SPOTPAID`.

func (NodePoolAutoScalingConfigPtrOutput) SystemDiskSize

Volume of system disk in GB. Default is `50`.

func (NodePoolAutoScalingConfigPtrOutput) SystemDiskType

Type of a CVM disk. Valid value: `CLOUD_PREMIUM` and `CLOUD_SSD`. Default is `CLOUD_PREMIUM`.

func (NodePoolAutoScalingConfigPtrOutput) ToNodePoolAutoScalingConfigPtrOutput

func (o NodePoolAutoScalingConfigPtrOutput) ToNodePoolAutoScalingConfigPtrOutput() NodePoolAutoScalingConfigPtrOutput

func (NodePoolAutoScalingConfigPtrOutput) ToNodePoolAutoScalingConfigPtrOutputWithContext

func (o NodePoolAutoScalingConfigPtrOutput) ToNodePoolAutoScalingConfigPtrOutputWithContext(ctx context.Context) NodePoolAutoScalingConfigPtrOutput

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 NodePoolNodeConfig

type NodePoolNodeConfig struct {
	// Configurations of data disk.
	DataDisks []NodePoolNodeConfigDataDisk `pulumi:"dataDisks"`
	// Indicate to set desired pod number in node. valid when the cluster is podCIDR.
	DesiredPodNum *int `pulumi:"desiredPodNum"`
	// Docker graph path. Default is `/var/lib/docker`.
	DockerGraphPath *string `pulumi:"dockerGraphPath"`
	// Custom parameter information related to the node. This is a white-list parameter.
	ExtraArgs []string `pulumi:"extraArgs"`
	// Indicate to schedule the adding node or not. Default is true.
	IsSchedule *bool `pulumi:"isSchedule"`
	// Mount target. Default is not mounting.
	MountTarget *string `pulumi:"mountTarget"`
	// Base64-encoded User Data text, the length limit is 16KB.
	UserData *string `pulumi:"userData"`
}

type NodePoolNodeConfigArgs

type NodePoolNodeConfigArgs struct {
	// Configurations of data disk.
	DataDisks NodePoolNodeConfigDataDiskArrayInput `pulumi:"dataDisks"`
	// Indicate to set desired pod number in node. valid when the cluster is podCIDR.
	DesiredPodNum pulumi.IntPtrInput `pulumi:"desiredPodNum"`
	// Docker graph path. Default is `/var/lib/docker`.
	DockerGraphPath pulumi.StringPtrInput `pulumi:"dockerGraphPath"`
	// Custom parameter information related to the node. This is a white-list parameter.
	ExtraArgs pulumi.StringArrayInput `pulumi:"extraArgs"`
	// Indicate to schedule the adding node or not. Default is true.
	IsSchedule pulumi.BoolPtrInput `pulumi:"isSchedule"`
	// Mount target. Default is not mounting.
	MountTarget pulumi.StringPtrInput `pulumi:"mountTarget"`
	// Base64-encoded User Data text, the length limit is 16KB.
	UserData pulumi.StringPtrInput `pulumi:"userData"`
}

func (NodePoolNodeConfigArgs) ElementType

func (NodePoolNodeConfigArgs) ElementType() reflect.Type

func (NodePoolNodeConfigArgs) ToNodePoolNodeConfigOutput

func (i NodePoolNodeConfigArgs) ToNodePoolNodeConfigOutput() NodePoolNodeConfigOutput

func (NodePoolNodeConfigArgs) ToNodePoolNodeConfigOutputWithContext

func (i NodePoolNodeConfigArgs) ToNodePoolNodeConfigOutputWithContext(ctx context.Context) NodePoolNodeConfigOutput

func (NodePoolNodeConfigArgs) ToNodePoolNodeConfigPtrOutput

func (i NodePoolNodeConfigArgs) ToNodePoolNodeConfigPtrOutput() NodePoolNodeConfigPtrOutput

func (NodePoolNodeConfigArgs) ToNodePoolNodeConfigPtrOutputWithContext

func (i NodePoolNodeConfigArgs) ToNodePoolNodeConfigPtrOutputWithContext(ctx context.Context) NodePoolNodeConfigPtrOutput

type NodePoolNodeConfigDataDisk

type NodePoolNodeConfigDataDisk struct {
	// Indicate whether to auto format and mount or not. Default is `false`.
	AutoFormatAndMount *bool `pulumi:"autoFormatAndMount"`
	// The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
	DiskPartition *string `pulumi:"diskPartition"`
	// Volume of disk in GB. Default is `0`.
	DiskSize *int `pulumi:"diskSize"`
	// Types of disk. Valid value: `CLOUD_PREMIUM` and `CLOUD_SSD`.
	DiskType *string `pulumi:"diskType"`
	// File system, e.g. `ext3/ext4/xfs`.
	FileSystem *string `pulumi:"fileSystem"`
	// Mount target.
	MountTarget *string `pulumi:"mountTarget"`
}

type NodePoolNodeConfigDataDiskArgs

type NodePoolNodeConfigDataDiskArgs struct {
	// Indicate whether to auto format and mount or not. Default is `false`.
	AutoFormatAndMount pulumi.BoolPtrInput `pulumi:"autoFormatAndMount"`
	// The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
	DiskPartition pulumi.StringPtrInput `pulumi:"diskPartition"`
	// Volume of disk in GB. Default is `0`.
	DiskSize pulumi.IntPtrInput `pulumi:"diskSize"`
	// Types of disk. Valid value: `CLOUD_PREMIUM` and `CLOUD_SSD`.
	DiskType pulumi.StringPtrInput `pulumi:"diskType"`
	// File system, e.g. `ext3/ext4/xfs`.
	FileSystem pulumi.StringPtrInput `pulumi:"fileSystem"`
	// Mount target.
	MountTarget pulumi.StringPtrInput `pulumi:"mountTarget"`
}

func (NodePoolNodeConfigDataDiskArgs) ElementType

func (NodePoolNodeConfigDataDiskArgs) ToNodePoolNodeConfigDataDiskOutput

func (i NodePoolNodeConfigDataDiskArgs) ToNodePoolNodeConfigDataDiskOutput() NodePoolNodeConfigDataDiskOutput

func (NodePoolNodeConfigDataDiskArgs) ToNodePoolNodeConfigDataDiskOutputWithContext

func (i NodePoolNodeConfigDataDiskArgs) ToNodePoolNodeConfigDataDiskOutputWithContext(ctx context.Context) NodePoolNodeConfigDataDiskOutput

type NodePoolNodeConfigDataDiskArray

type NodePoolNodeConfigDataDiskArray []NodePoolNodeConfigDataDiskInput

func (NodePoolNodeConfigDataDiskArray) ElementType

func (NodePoolNodeConfigDataDiskArray) ToNodePoolNodeConfigDataDiskArrayOutput

func (i NodePoolNodeConfigDataDiskArray) ToNodePoolNodeConfigDataDiskArrayOutput() NodePoolNodeConfigDataDiskArrayOutput

func (NodePoolNodeConfigDataDiskArray) ToNodePoolNodeConfigDataDiskArrayOutputWithContext

func (i NodePoolNodeConfigDataDiskArray) ToNodePoolNodeConfigDataDiskArrayOutputWithContext(ctx context.Context) NodePoolNodeConfigDataDiskArrayOutput

type NodePoolNodeConfigDataDiskArrayInput

type NodePoolNodeConfigDataDiskArrayInput interface {
	pulumi.Input

	ToNodePoolNodeConfigDataDiskArrayOutput() NodePoolNodeConfigDataDiskArrayOutput
	ToNodePoolNodeConfigDataDiskArrayOutputWithContext(context.Context) NodePoolNodeConfigDataDiskArrayOutput
}

NodePoolNodeConfigDataDiskArrayInput is an input type that accepts NodePoolNodeConfigDataDiskArray and NodePoolNodeConfigDataDiskArrayOutput values. You can construct a concrete instance of `NodePoolNodeConfigDataDiskArrayInput` via:

NodePoolNodeConfigDataDiskArray{ NodePoolNodeConfigDataDiskArgs{...} }

type NodePoolNodeConfigDataDiskArrayOutput

type NodePoolNodeConfigDataDiskArrayOutput struct{ *pulumi.OutputState }

func (NodePoolNodeConfigDataDiskArrayOutput) ElementType

func (NodePoolNodeConfigDataDiskArrayOutput) Index

func (NodePoolNodeConfigDataDiskArrayOutput) ToNodePoolNodeConfigDataDiskArrayOutput

func (o NodePoolNodeConfigDataDiskArrayOutput) ToNodePoolNodeConfigDataDiskArrayOutput() NodePoolNodeConfigDataDiskArrayOutput

func (NodePoolNodeConfigDataDiskArrayOutput) ToNodePoolNodeConfigDataDiskArrayOutputWithContext

func (o NodePoolNodeConfigDataDiskArrayOutput) ToNodePoolNodeConfigDataDiskArrayOutputWithContext(ctx context.Context) NodePoolNodeConfigDataDiskArrayOutput

type NodePoolNodeConfigDataDiskInput

type NodePoolNodeConfigDataDiskInput interface {
	pulumi.Input

	ToNodePoolNodeConfigDataDiskOutput() NodePoolNodeConfigDataDiskOutput
	ToNodePoolNodeConfigDataDiskOutputWithContext(context.Context) NodePoolNodeConfigDataDiskOutput
}

NodePoolNodeConfigDataDiskInput is an input type that accepts NodePoolNodeConfigDataDiskArgs and NodePoolNodeConfigDataDiskOutput values. You can construct a concrete instance of `NodePoolNodeConfigDataDiskInput` via:

NodePoolNodeConfigDataDiskArgs{...}

type NodePoolNodeConfigDataDiskOutput

type NodePoolNodeConfigDataDiskOutput struct{ *pulumi.OutputState }

func (NodePoolNodeConfigDataDiskOutput) AutoFormatAndMount

func (o NodePoolNodeConfigDataDiskOutput) AutoFormatAndMount() pulumi.BoolPtrOutput

Indicate whether to auto format and mount or not. Default is `false`.

func (NodePoolNodeConfigDataDiskOutput) DiskPartition

The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.

func (NodePoolNodeConfigDataDiskOutput) DiskSize

Volume of disk in GB. Default is `0`.

func (NodePoolNodeConfigDataDiskOutput) DiskType

Types of disk. Valid value: `CLOUD_PREMIUM` and `CLOUD_SSD`.

func (NodePoolNodeConfigDataDiskOutput) ElementType

func (NodePoolNodeConfigDataDiskOutput) FileSystem

File system, e.g. `ext3/ext4/xfs`.

func (NodePoolNodeConfigDataDiskOutput) MountTarget

Mount target.

func (NodePoolNodeConfigDataDiskOutput) ToNodePoolNodeConfigDataDiskOutput

func (o NodePoolNodeConfigDataDiskOutput) ToNodePoolNodeConfigDataDiskOutput() NodePoolNodeConfigDataDiskOutput

func (NodePoolNodeConfigDataDiskOutput) ToNodePoolNodeConfigDataDiskOutputWithContext

func (o NodePoolNodeConfigDataDiskOutput) ToNodePoolNodeConfigDataDiskOutputWithContext(ctx context.Context) NodePoolNodeConfigDataDiskOutput

type NodePoolNodeConfigInput

type NodePoolNodeConfigInput interface {
	pulumi.Input

	ToNodePoolNodeConfigOutput() NodePoolNodeConfigOutput
	ToNodePoolNodeConfigOutputWithContext(context.Context) NodePoolNodeConfigOutput
}

NodePoolNodeConfigInput is an input type that accepts NodePoolNodeConfigArgs and NodePoolNodeConfigOutput values. You can construct a concrete instance of `NodePoolNodeConfigInput` via:

NodePoolNodeConfigArgs{...}

type NodePoolNodeConfigOutput

type NodePoolNodeConfigOutput struct{ *pulumi.OutputState }

func (NodePoolNodeConfigOutput) DataDisks

Configurations of data disk.

func (NodePoolNodeConfigOutput) DesiredPodNum

func (o NodePoolNodeConfigOutput) DesiredPodNum() pulumi.IntPtrOutput

Indicate to set desired pod number in node. valid when the cluster is podCIDR.

func (NodePoolNodeConfigOutput) DockerGraphPath

func (o NodePoolNodeConfigOutput) DockerGraphPath() pulumi.StringPtrOutput

Docker graph path. Default is `/var/lib/docker`.

func (NodePoolNodeConfigOutput) ElementType

func (NodePoolNodeConfigOutput) ElementType() reflect.Type

func (NodePoolNodeConfigOutput) ExtraArgs

Custom parameter information related to the node. This is a white-list parameter.

func (NodePoolNodeConfigOutput) IsSchedule

Indicate to schedule the adding node or not. Default is true.

func (NodePoolNodeConfigOutput) MountTarget

Mount target. Default is not mounting.

func (NodePoolNodeConfigOutput) ToNodePoolNodeConfigOutput

func (o NodePoolNodeConfigOutput) ToNodePoolNodeConfigOutput() NodePoolNodeConfigOutput

func (NodePoolNodeConfigOutput) ToNodePoolNodeConfigOutputWithContext

func (o NodePoolNodeConfigOutput) ToNodePoolNodeConfigOutputWithContext(ctx context.Context) NodePoolNodeConfigOutput

func (NodePoolNodeConfigOutput) ToNodePoolNodeConfigPtrOutput

func (o NodePoolNodeConfigOutput) ToNodePoolNodeConfigPtrOutput() NodePoolNodeConfigPtrOutput

func (NodePoolNodeConfigOutput) ToNodePoolNodeConfigPtrOutputWithContext

func (o NodePoolNodeConfigOutput) ToNodePoolNodeConfigPtrOutputWithContext(ctx context.Context) NodePoolNodeConfigPtrOutput

func (NodePoolNodeConfigOutput) UserData

Base64-encoded User Data text, the length limit is 16KB.

type NodePoolNodeConfigPtrInput

type NodePoolNodeConfigPtrInput interface {
	pulumi.Input

	ToNodePoolNodeConfigPtrOutput() NodePoolNodeConfigPtrOutput
	ToNodePoolNodeConfigPtrOutputWithContext(context.Context) NodePoolNodeConfigPtrOutput
}

NodePoolNodeConfigPtrInput is an input type that accepts NodePoolNodeConfigArgs, NodePoolNodeConfigPtr and NodePoolNodeConfigPtrOutput values. You can construct a concrete instance of `NodePoolNodeConfigPtrInput` via:

        NodePoolNodeConfigArgs{...}

or:

        nil

type NodePoolNodeConfigPtrOutput

type NodePoolNodeConfigPtrOutput struct{ *pulumi.OutputState }

func (NodePoolNodeConfigPtrOutput) DataDisks

Configurations of data disk.

func (NodePoolNodeConfigPtrOutput) DesiredPodNum

Indicate to set desired pod number in node. valid when the cluster is podCIDR.

func (NodePoolNodeConfigPtrOutput) DockerGraphPath

Docker graph path. Default is `/var/lib/docker`.

func (NodePoolNodeConfigPtrOutput) Elem

func (NodePoolNodeConfigPtrOutput) ElementType

func (NodePoolNodeConfigPtrOutput) ExtraArgs

Custom parameter information related to the node. This is a white-list parameter.

func (NodePoolNodeConfigPtrOutput) IsSchedule

Indicate to schedule the adding node or not. Default is true.

func (NodePoolNodeConfigPtrOutput) MountTarget

Mount target. Default is not mounting.

func (NodePoolNodeConfigPtrOutput) ToNodePoolNodeConfigPtrOutput

func (o NodePoolNodeConfigPtrOutput) ToNodePoolNodeConfigPtrOutput() NodePoolNodeConfigPtrOutput

func (NodePoolNodeConfigPtrOutput) ToNodePoolNodeConfigPtrOutputWithContext

func (o NodePoolNodeConfigPtrOutput) ToNodePoolNodeConfigPtrOutputWithContext(ctx context.Context) NodePoolNodeConfigPtrOutput

func (NodePoolNodeConfigPtrOutput) UserData

Base64-encoded User Data text, the length limit is 16KB.

type NodePoolOutput

type NodePoolOutput struct{ *pulumi.OutputState }

func (NodePoolOutput) AutoScalingConfig

func (o NodePoolOutput) AutoScalingConfig() NodePoolAutoScalingConfigOutput

Auto scaling config parameters.

func (NodePoolOutput) AutoScalingGroupId

func (o NodePoolOutput) AutoScalingGroupId() pulumi.StringOutput

The auto scaling group ID.

func (NodePoolOutput) AutoscalingAddedTotal

func (o NodePoolOutput) AutoscalingAddedTotal() pulumi.IntOutput

The total of autoscaling added node.

func (NodePoolOutput) ClusterId

func (o NodePoolOutput) ClusterId() pulumi.StringOutput

ID of the cluster.

func (NodePoolOutput) DefaultCooldown

func (o NodePoolOutput) DefaultCooldown() pulumi.IntOutput

Seconds of scaling group cool down. Default value is `300`.

func (NodePoolOutput) DeleteKeepInstance

func (o NodePoolOutput) DeleteKeepInstance() pulumi.BoolPtrOutput

Indicate to keep the CVM instance when delete the node pool. Default is `true`.

func (NodePoolOutput) DesiredCapacity

func (o NodePoolOutput) DesiredCapacity() pulumi.IntOutput

Desired capacity ot the node. If `enableAutoScale` is set `true`, this will be a computed parameter.

func (NodePoolOutput) ElementType

func (NodePoolOutput) ElementType() reflect.Type

func (NodePoolOutput) EnableAutoScale

func (o NodePoolOutput) EnableAutoScale() pulumi.BoolPtrOutput

Indicate whether to enable auto scaling or not.

func (NodePoolOutput) Labels

func (o NodePoolOutput) Labels() pulumi.MapOutput

Labels of kubernetes node pool created nodes. The label key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/').

func (NodePoolOutput) LaunchConfigId

func (o NodePoolOutput) LaunchConfigId() pulumi.StringOutput

The launch config ID.

func (NodePoolOutput) ManuallyAddedTotal

func (o NodePoolOutput) ManuallyAddedTotal() pulumi.IntOutput

The total of manually added node.

func (NodePoolOutput) MaxSize

func (o NodePoolOutput) MaxSize() pulumi.IntOutput

Maximum number of node.

func (NodePoolOutput) MinSize

func (o NodePoolOutput) MinSize() pulumi.IntOutput

Minimum number of node.

func (NodePoolOutput) MultiZoneSubnetPolicy

func (o NodePoolOutput) MultiZoneSubnetPolicy() pulumi.StringPtrOutput

Multi-availability zone/subnet policy. Valid values: PRIORITY and EQUALITY. Default value: PRIORITY.

func (NodePoolOutput) Name

Name of the node pool. The name does not exceed 25 characters, and only supports Chinese, English, numbers, underscores, separators (`-`) and decimal points.

func (NodePoolOutput) NodeConfig

Node config.

func (NodePoolOutput) NodeCount

func (o NodePoolOutput) NodeCount() pulumi.IntOutput

The total node count.

func (NodePoolOutput) NodeOs

Operating system of the cluster, the available values include: `tlinux2.4x86_64`, `ubuntu18.04.1x86_64`, `ubuntu16.04.1 LTSx86_64`, `centos7.6.0_x64` and `centos7.2x86_64`. Default is 'tlinux2.4x86_64'. This parameter will only affect new nodes, not including the existing nodes.

func (NodePoolOutput) NodeOsType

func (o NodePoolOutput) NodeOsType() pulumi.StringPtrOutput

The image version of the node. Valida values are `DOCKER_CUSTOMIZE` and `GENERAL`. Default is `GENERAL`. This parameter will only affect new nodes, not including the existing nodes.

func (NodePoolOutput) RetryPolicy

func (o NodePoolOutput) RetryPolicy() pulumi.StringPtrOutput

Available values for retry policies include `IMMEDIATE_RETRY` and `INCREMENTAL_INTERVALS`.

func (NodePoolOutput) ScalingGroupName

func (o NodePoolOutput) ScalingGroupName() pulumi.StringOutput

Name of relative scaling group.

func (NodePoolOutput) ScalingGroupProjectId

func (o NodePoolOutput) ScalingGroupProjectId() pulumi.IntPtrOutput

Project ID the scaling group belongs to.

func (NodePoolOutput) ScalingMode

func (o NodePoolOutput) ScalingMode() pulumi.StringPtrOutput

Auto scaling mode. Valid values are `CLASSIC_SCALING`(scaling by create/destroy instances), `WAKE_UP_STOPPED_SCALING`(Boot priority for expansion. When expanding the capacity, the shutdown operation is given priority to the shutdown of the instance. If the number of instances is still lower than the expected number of instances after the startup, the instance will be created, and the method of destroying the instance will still be used for shrinking).

func (NodePoolOutput) Status

func (o NodePoolOutput) Status() pulumi.StringOutput

Status of the node pool.

func (NodePoolOutput) SubnetIds

func (o NodePoolOutput) SubnetIds() pulumi.StringArrayOutput

ID list of subnet, and for VPC it is required.

func (NodePoolOutput) Taints

Taints of kubernetes node pool created nodes.

func (NodePoolOutput) TerminationPolicies

func (o NodePoolOutput) TerminationPolicies() pulumi.StringOutput

Policy of scaling group termination. Available values: `["OLDEST_INSTANCE"]`, `["NEWEST_INSTANCE"]`.

func (NodePoolOutput) ToNodePoolOutput

func (o NodePoolOutput) ToNodePoolOutput() NodePoolOutput

func (NodePoolOutput) ToNodePoolOutputWithContext

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

func (NodePoolOutput) Unschedulable

func (o NodePoolOutput) Unschedulable() pulumi.IntPtrOutput

Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.

func (NodePoolOutput) VpcId

ID of VPC network.

func (NodePoolOutput) Zones

List of auto scaling group available zones, for Basic network it is required.

type NodePoolState

type NodePoolState struct {
	// Auto scaling config parameters.
	AutoScalingConfig NodePoolAutoScalingConfigPtrInput
	// The auto scaling group ID.
	AutoScalingGroupId pulumi.StringPtrInput
	// The total of autoscaling added node.
	AutoscalingAddedTotal pulumi.IntPtrInput
	// ID of the cluster.
	ClusterId pulumi.StringPtrInput
	// Seconds of scaling group cool down. Default value is `300`.
	DefaultCooldown pulumi.IntPtrInput
	// Indicate to keep the CVM instance when delete the node pool. Default is `true`.
	DeleteKeepInstance pulumi.BoolPtrInput
	// Desired capacity ot the node. If `enableAutoScale` is set `true`, this will be a computed parameter.
	DesiredCapacity pulumi.IntPtrInput
	// Indicate whether to enable auto scaling or not.
	EnableAutoScale pulumi.BoolPtrInput
	// Labels of kubernetes node pool created nodes. The label key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/').
	Labels pulumi.MapInput
	// The launch config ID.
	LaunchConfigId pulumi.StringPtrInput
	// The total of manually added node.
	ManuallyAddedTotal pulumi.IntPtrInput
	// Maximum number of node.
	MaxSize pulumi.IntPtrInput
	// Minimum number of node.
	MinSize pulumi.IntPtrInput
	// Multi-availability zone/subnet policy. Valid values: PRIORITY and EQUALITY. Default value: PRIORITY.
	MultiZoneSubnetPolicy pulumi.StringPtrInput
	// Name of the node pool. The name does not exceed 25 characters, and only supports Chinese, English, numbers, underscores, separators (`-`) and decimal points.
	Name pulumi.StringPtrInput
	// Node config.
	NodeConfig NodePoolNodeConfigPtrInput
	// The total node count.
	NodeCount pulumi.IntPtrInput
	// Operating system of the cluster, the available values include: `tlinux2.4x86_64`, `ubuntu18.04.1x86_64`, `ubuntu16.04.1 LTSx86_64`, `centos7.6.0_x64` and `centos7.2x86_64`. Default is 'tlinux2.4x86_64'. This parameter will only affect new nodes, not including the existing nodes.
	NodeOs pulumi.StringPtrInput
	// The image version of the node. Valida values are `DOCKER_CUSTOMIZE` and `GENERAL`. Default is `GENERAL`. This parameter will only affect new nodes, not including the existing nodes.
	NodeOsType pulumi.StringPtrInput
	// Available values for retry policies include `IMMEDIATE_RETRY` and `INCREMENTAL_INTERVALS`.
	RetryPolicy pulumi.StringPtrInput
	// Name of relative scaling group.
	ScalingGroupName pulumi.StringPtrInput
	// Project ID the scaling group belongs to.
	ScalingGroupProjectId pulumi.IntPtrInput
	// Auto scaling mode. Valid values are `CLASSIC_SCALING`(scaling by create/destroy instances), `WAKE_UP_STOPPED_SCALING`(Boot priority for expansion. When expanding the capacity, the shutdown operation is given priority to the shutdown of the instance. If the number of instances is still lower than the expected number of instances after the startup, the instance will be created, and the method of destroying the instance will still be used for shrinking).
	ScalingMode pulumi.StringPtrInput
	// Status of the node pool.
	Status pulumi.StringPtrInput
	// ID list of subnet, and for VPC it is required.
	SubnetIds pulumi.StringArrayInput
	// Taints of kubernetes node pool created nodes.
	Taints NodePoolTaintArrayInput
	// Policy of scaling group termination. Available values: `["OLDEST_INSTANCE"]`, `["NEWEST_INSTANCE"]`.
	TerminationPolicies pulumi.StringPtrInput
	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	Unschedulable pulumi.IntPtrInput
	// ID of VPC network.
	VpcId pulumi.StringPtrInput
	// List of auto scaling group available zones, for Basic network it is required.
	Zones pulumi.StringArrayInput
}

func (NodePoolState) ElementType

func (NodePoolState) ElementType() reflect.Type

type NodePoolTaint

type NodePoolTaint struct {
	// Effect of the taint. Valid values are: `NoSchedule`, `PreferNoSchedule`, `NoExecute`.
	Effect string `pulumi:"effect"`
	// Key of the taint. The taint key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/').
	Key string `pulumi:"key"`
	// Value of the taint.
	Value string `pulumi:"value"`
}

type NodePoolTaintArgs

type NodePoolTaintArgs struct {
	// Effect of the taint. Valid values are: `NoSchedule`, `PreferNoSchedule`, `NoExecute`.
	Effect pulumi.StringInput `pulumi:"effect"`
	// Key of the taint. The taint key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/').
	Key pulumi.StringInput `pulumi:"key"`
	// Value of the taint.
	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

Effect of the taint. Valid values are: `NoSchedule`, `PreferNoSchedule`, `NoExecute`.

func (NodePoolTaintOutput) ElementType

func (NodePoolTaintOutput) ElementType() reflect.Type

func (NodePoolTaintOutput) Key

Key of the taint. The taint key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/').

func (NodePoolTaintOutput) ToNodePoolTaintOutput

func (o NodePoolTaintOutput) ToNodePoolTaintOutput() NodePoolTaintOutput

func (NodePoolTaintOutput) ToNodePoolTaintOutputWithContext

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

func (NodePoolTaintOutput) Value

Value of the taint.

type ScaleWorker

type ScaleWorker struct {
	pulumi.CustomResourceState

	// ID of the cluster.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// Configurations of data disk.
	DataDisks ScaleWorkerDataDiskArrayOutput `pulumi:"dataDisks"`
	// Indicate to set desired pod number in current node. Valid when the cluster enable customized pod cidr.
	DesiredPodNum pulumi.IntPtrOutput `pulumi:"desiredPodNum"`
	// Docker graph path. Default is `/var/lib/docker`.
	DockerGraphPath pulumi.StringPtrOutput `pulumi:"dockerGraphPath"`
	// Custom parameter information related to the node.
	ExtraArgs pulumi.StringArrayOutput `pulumi:"extraArgs"`
	// Labels of kubernetes scale worker created nodes.
	Labels pulumi.MapOutput `pulumi:"labels"`
	// Mount target. Default is not mounting.
	MountTarget pulumi.StringPtrOutput `pulumi:"mountTarget"`
	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	Unschedulable pulumi.IntPtrOutput `pulumi:"unschedulable"`
	// Deploy the machine configuration information of the 'WORK' service, and create <=20 units for common users.
	WorkerConfig ScaleWorkerWorkerConfigOutput `pulumi:"workerConfig"`
	// An information list of kubernetes cluster 'WORKER'. Each element contains the following attributes:
	WorkerInstancesLists ScaleWorkerWorkerInstancesListArrayOutput `pulumi:"workerInstancesLists"`
}

Provide a resource to increase instance to cluster

> **NOTE:** To use the custom Kubernetes component startup parameter function (parameter `extraArgs`), you need to submit a ticket for application.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		availabilityZone := "ap-guangzhou-3"
		if param := cfg.Get("availabilityZone"); param != "" {
			availabilityZone = param
		}
		subnet := "subnet-pqfek0t8"
		if param := cfg.Get("subnet"); param != "" {
			subnet = param
		}
		scaleInstanceType := "S2.LARGE16"
		if param := cfg.Get("scaleInstanceType"); param != "" {
			scaleInstanceType = param
		}
		_, err := Kubernetes.NewScaleWorker(ctx, "testScale", &Kubernetes.ScaleWorkerArgs{
			ClusterId:     pulumi.String("cls-godovr32"),
			DesiredPodNum: pulumi.Int(16),
			Labels: pulumi.AnyMap{
				"test1": pulumi.Any("test1"),
				"test2": pulumi.Any("test2"),
			},
			WorkerConfig: &kubernetes.ScaleWorkerWorkerConfigArgs{
				Count:                   pulumi.Int(3),
				AvailabilityZone:        pulumi.String(availabilityZone),
				InstanceType:            pulumi.String(scaleInstanceType),
				SubnetId:                pulumi.String(subnet),
				SystemDiskType:          pulumi.String("CLOUD_SSD"),
				SystemDiskSize:          pulumi.Int(50),
				InternetChargeType:      pulumi.String("TRAFFIC_POSTPAID_BY_HOUR"),
				InternetMaxBandwidthOut: pulumi.Int(100),
				PublicIpAssigned:        pulumi.Bool(true),
				DataDisks: kubernetes.ScaleWorkerWorkerConfigDataDiskArray{
					&kubernetes.ScaleWorkerWorkerConfigDataDiskArgs{
						DiskType: pulumi.String("CLOUD_PREMIUM"),
						DiskSize: pulumi.Int(50),
					},
				},
				EnhancedSecurityService: pulumi.Bool(false),
				EnhancedMonitorService:  pulumi.Bool(false),
				UserData:                pulumi.String("dGVzdA=="),
				Password:                pulumi.String("AABBccdd1122"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Use Kubelet

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		availabilityZone := "ap-guangzhou-3"
		if param := cfg.Get("availabilityZone"); param != "" {
			availabilityZone = param
		}
		subnet := "subnet-pqfek0t8"
		if param := cfg.Get("subnet"); param != "" {
			subnet = param
		}
		scaleInstanceType := "S2.LARGE16"
		if param := cfg.Get("scaleInstanceType"); param != "" {
			scaleInstanceType = param
		}
		_, err := Kubernetes.NewScaleWorker(ctx, "testScale", &Kubernetes.ScaleWorkerArgs{
			ClusterId: pulumi.String("cls-godovr32"),
			ExtraArgs: pulumi.StringArray{
				pulumi.String("root-dir=/var/lib/kubelet"),
			},
			Labels: pulumi.AnyMap{
				"test1": pulumi.Any("test1"),
				"test2": pulumi.Any("test2"),
			},
			WorkerConfig: &kubernetes.ScaleWorkerWorkerConfigArgs{
				Count:                   pulumi.Int(3),
				AvailabilityZone:        pulumi.String(availabilityZone),
				InstanceType:            pulumi.String(scaleInstanceType),
				SubnetId:                pulumi.String(subnet),
				SystemDiskType:          pulumi.String("CLOUD_SSD"),
				SystemDiskSize:          pulumi.Int(50),
				InternetChargeType:      pulumi.String("TRAFFIC_POSTPAID_BY_HOUR"),
				InternetMaxBandwidthOut: pulumi.Int(100),
				PublicIpAssigned:        pulumi.Bool(true),
				DataDisks: kubernetes.ScaleWorkerWorkerConfigDataDiskArray{
					&kubernetes.ScaleWorkerWorkerConfigDataDiskArgs{
						DiskType: pulumi.String("CLOUD_PREMIUM"),
						DiskSize: pulumi.Int(50),
					},
				},
				EnhancedSecurityService: pulumi.Bool(false),
				EnhancedMonitorService:  pulumi.Bool(false),
				UserData:                pulumi.String("dGVzdA=="),
				Password:                pulumi.String("AABBccdd1122"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetScaleWorker

func GetScaleWorker(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ScaleWorkerState, opts ...pulumi.ResourceOption) (*ScaleWorker, error)

GetScaleWorker gets an existing ScaleWorker 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 NewScaleWorker

func NewScaleWorker(ctx *pulumi.Context,
	name string, args *ScaleWorkerArgs, opts ...pulumi.ResourceOption) (*ScaleWorker, error)

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

func (*ScaleWorker) ElementType

func (*ScaleWorker) ElementType() reflect.Type

func (*ScaleWorker) ToScaleWorkerOutput

func (i *ScaleWorker) ToScaleWorkerOutput() ScaleWorkerOutput

func (*ScaleWorker) ToScaleWorkerOutputWithContext

func (i *ScaleWorker) ToScaleWorkerOutputWithContext(ctx context.Context) ScaleWorkerOutput

type ScaleWorkerArgs

type ScaleWorkerArgs struct {
	// ID of the cluster.
	ClusterId pulumi.StringInput
	// Configurations of data disk.
	DataDisks ScaleWorkerDataDiskArrayInput
	// Indicate to set desired pod number in current node. Valid when the cluster enable customized pod cidr.
	DesiredPodNum pulumi.IntPtrInput
	// Docker graph path. Default is `/var/lib/docker`.
	DockerGraphPath pulumi.StringPtrInput
	// Custom parameter information related to the node.
	ExtraArgs pulumi.StringArrayInput
	// Labels of kubernetes scale worker created nodes.
	Labels pulumi.MapInput
	// Mount target. Default is not mounting.
	MountTarget pulumi.StringPtrInput
	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	Unschedulable pulumi.IntPtrInput
	// Deploy the machine configuration information of the 'WORK' service, and create <=20 units for common users.
	WorkerConfig ScaleWorkerWorkerConfigInput
}

The set of arguments for constructing a ScaleWorker resource.

func (ScaleWorkerArgs) ElementType

func (ScaleWorkerArgs) ElementType() reflect.Type

type ScaleWorkerArray

type ScaleWorkerArray []ScaleWorkerInput

func (ScaleWorkerArray) ElementType

func (ScaleWorkerArray) ElementType() reflect.Type

func (ScaleWorkerArray) ToScaleWorkerArrayOutput

func (i ScaleWorkerArray) ToScaleWorkerArrayOutput() ScaleWorkerArrayOutput

func (ScaleWorkerArray) ToScaleWorkerArrayOutputWithContext

func (i ScaleWorkerArray) ToScaleWorkerArrayOutputWithContext(ctx context.Context) ScaleWorkerArrayOutput

type ScaleWorkerArrayInput

type ScaleWorkerArrayInput interface {
	pulumi.Input

	ToScaleWorkerArrayOutput() ScaleWorkerArrayOutput
	ToScaleWorkerArrayOutputWithContext(context.Context) ScaleWorkerArrayOutput
}

ScaleWorkerArrayInput is an input type that accepts ScaleWorkerArray and ScaleWorkerArrayOutput values. You can construct a concrete instance of `ScaleWorkerArrayInput` via:

ScaleWorkerArray{ ScaleWorkerArgs{...} }

type ScaleWorkerArrayOutput

type ScaleWorkerArrayOutput struct{ *pulumi.OutputState }

func (ScaleWorkerArrayOutput) ElementType

func (ScaleWorkerArrayOutput) ElementType() reflect.Type

func (ScaleWorkerArrayOutput) Index

func (ScaleWorkerArrayOutput) ToScaleWorkerArrayOutput

func (o ScaleWorkerArrayOutput) ToScaleWorkerArrayOutput() ScaleWorkerArrayOutput

func (ScaleWorkerArrayOutput) ToScaleWorkerArrayOutputWithContext

func (o ScaleWorkerArrayOutput) ToScaleWorkerArrayOutputWithContext(ctx context.Context) ScaleWorkerArrayOutput

type ScaleWorkerDataDisk

type ScaleWorkerDataDisk struct {
	// Indicate whether to auto format and mount or not. Default is `false`.
	AutoFormatAndMount *bool `pulumi:"autoFormatAndMount"`
	// Volume of disk in GB. Default is `0`.
	DiskSize *int `pulumi:"diskSize"`
	// Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD` and `CLOUD_HSSD` and `CLOUD_TSSD`.
	DiskType *string `pulumi:"diskType"`
	// File system, e.g. `ext3/ext4/xfs`.
	FileSystem *string `pulumi:"fileSystem"`
	// Mount target.
	MountTarget *string `pulumi:"mountTarget"`
}

type ScaleWorkerDataDiskArgs

type ScaleWorkerDataDiskArgs struct {
	// Indicate whether to auto format and mount or not. Default is `false`.
	AutoFormatAndMount pulumi.BoolPtrInput `pulumi:"autoFormatAndMount"`
	// Volume of disk in GB. Default is `0`.
	DiskSize pulumi.IntPtrInput `pulumi:"diskSize"`
	// Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD` and `CLOUD_HSSD` and `CLOUD_TSSD`.
	DiskType pulumi.StringPtrInput `pulumi:"diskType"`
	// File system, e.g. `ext3/ext4/xfs`.
	FileSystem pulumi.StringPtrInput `pulumi:"fileSystem"`
	// Mount target.
	MountTarget pulumi.StringPtrInput `pulumi:"mountTarget"`
}

func (ScaleWorkerDataDiskArgs) ElementType

func (ScaleWorkerDataDiskArgs) ElementType() reflect.Type

func (ScaleWorkerDataDiskArgs) ToScaleWorkerDataDiskOutput

func (i ScaleWorkerDataDiskArgs) ToScaleWorkerDataDiskOutput() ScaleWorkerDataDiskOutput

func (ScaleWorkerDataDiskArgs) ToScaleWorkerDataDiskOutputWithContext

func (i ScaleWorkerDataDiskArgs) ToScaleWorkerDataDiskOutputWithContext(ctx context.Context) ScaleWorkerDataDiskOutput

type ScaleWorkerDataDiskArray

type ScaleWorkerDataDiskArray []ScaleWorkerDataDiskInput

func (ScaleWorkerDataDiskArray) ElementType

func (ScaleWorkerDataDiskArray) ElementType() reflect.Type

func (ScaleWorkerDataDiskArray) ToScaleWorkerDataDiskArrayOutput

func (i ScaleWorkerDataDiskArray) ToScaleWorkerDataDiskArrayOutput() ScaleWorkerDataDiskArrayOutput

func (ScaleWorkerDataDiskArray) ToScaleWorkerDataDiskArrayOutputWithContext

func (i ScaleWorkerDataDiskArray) ToScaleWorkerDataDiskArrayOutputWithContext(ctx context.Context) ScaleWorkerDataDiskArrayOutput

type ScaleWorkerDataDiskArrayInput

type ScaleWorkerDataDiskArrayInput interface {
	pulumi.Input

	ToScaleWorkerDataDiskArrayOutput() ScaleWorkerDataDiskArrayOutput
	ToScaleWorkerDataDiskArrayOutputWithContext(context.Context) ScaleWorkerDataDiskArrayOutput
}

ScaleWorkerDataDiskArrayInput is an input type that accepts ScaleWorkerDataDiskArray and ScaleWorkerDataDiskArrayOutput values. You can construct a concrete instance of `ScaleWorkerDataDiskArrayInput` via:

ScaleWorkerDataDiskArray{ ScaleWorkerDataDiskArgs{...} }

type ScaleWorkerDataDiskArrayOutput

type ScaleWorkerDataDiskArrayOutput struct{ *pulumi.OutputState }

func (ScaleWorkerDataDiskArrayOutput) ElementType

func (ScaleWorkerDataDiskArrayOutput) Index

func (ScaleWorkerDataDiskArrayOutput) ToScaleWorkerDataDiskArrayOutput

func (o ScaleWorkerDataDiskArrayOutput) ToScaleWorkerDataDiskArrayOutput() ScaleWorkerDataDiskArrayOutput

func (ScaleWorkerDataDiskArrayOutput) ToScaleWorkerDataDiskArrayOutputWithContext

func (o ScaleWorkerDataDiskArrayOutput) ToScaleWorkerDataDiskArrayOutputWithContext(ctx context.Context) ScaleWorkerDataDiskArrayOutput

type ScaleWorkerDataDiskInput

type ScaleWorkerDataDiskInput interface {
	pulumi.Input

	ToScaleWorkerDataDiskOutput() ScaleWorkerDataDiskOutput
	ToScaleWorkerDataDiskOutputWithContext(context.Context) ScaleWorkerDataDiskOutput
}

ScaleWorkerDataDiskInput is an input type that accepts ScaleWorkerDataDiskArgs and ScaleWorkerDataDiskOutput values. You can construct a concrete instance of `ScaleWorkerDataDiskInput` via:

ScaleWorkerDataDiskArgs{...}

type ScaleWorkerDataDiskOutput

type ScaleWorkerDataDiskOutput struct{ *pulumi.OutputState }

func (ScaleWorkerDataDiskOutput) AutoFormatAndMount

func (o ScaleWorkerDataDiskOutput) AutoFormatAndMount() pulumi.BoolPtrOutput

Indicate whether to auto format and mount or not. Default is `false`.

func (ScaleWorkerDataDiskOutput) DiskSize

Volume of disk in GB. Default is `0`.

func (ScaleWorkerDataDiskOutput) DiskType

Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD` and `CLOUD_HSSD` and `CLOUD_TSSD`.

func (ScaleWorkerDataDiskOutput) ElementType

func (ScaleWorkerDataDiskOutput) ElementType() reflect.Type

func (ScaleWorkerDataDiskOutput) FileSystem

File system, e.g. `ext3/ext4/xfs`.

func (ScaleWorkerDataDiskOutput) MountTarget

Mount target.

func (ScaleWorkerDataDiskOutput) ToScaleWorkerDataDiskOutput

func (o ScaleWorkerDataDiskOutput) ToScaleWorkerDataDiskOutput() ScaleWorkerDataDiskOutput

func (ScaleWorkerDataDiskOutput) ToScaleWorkerDataDiskOutputWithContext

func (o ScaleWorkerDataDiskOutput) ToScaleWorkerDataDiskOutputWithContext(ctx context.Context) ScaleWorkerDataDiskOutput

type ScaleWorkerInput

type ScaleWorkerInput interface {
	pulumi.Input

	ToScaleWorkerOutput() ScaleWorkerOutput
	ToScaleWorkerOutputWithContext(ctx context.Context) ScaleWorkerOutput
}

type ScaleWorkerMap

type ScaleWorkerMap map[string]ScaleWorkerInput

func (ScaleWorkerMap) ElementType

func (ScaleWorkerMap) ElementType() reflect.Type

func (ScaleWorkerMap) ToScaleWorkerMapOutput

func (i ScaleWorkerMap) ToScaleWorkerMapOutput() ScaleWorkerMapOutput

func (ScaleWorkerMap) ToScaleWorkerMapOutputWithContext

func (i ScaleWorkerMap) ToScaleWorkerMapOutputWithContext(ctx context.Context) ScaleWorkerMapOutput

type ScaleWorkerMapInput

type ScaleWorkerMapInput interface {
	pulumi.Input

	ToScaleWorkerMapOutput() ScaleWorkerMapOutput
	ToScaleWorkerMapOutputWithContext(context.Context) ScaleWorkerMapOutput
}

ScaleWorkerMapInput is an input type that accepts ScaleWorkerMap and ScaleWorkerMapOutput values. You can construct a concrete instance of `ScaleWorkerMapInput` via:

ScaleWorkerMap{ "key": ScaleWorkerArgs{...} }

type ScaleWorkerMapOutput

type ScaleWorkerMapOutput struct{ *pulumi.OutputState }

func (ScaleWorkerMapOutput) ElementType

func (ScaleWorkerMapOutput) ElementType() reflect.Type

func (ScaleWorkerMapOutput) MapIndex

func (ScaleWorkerMapOutput) ToScaleWorkerMapOutput

func (o ScaleWorkerMapOutput) ToScaleWorkerMapOutput() ScaleWorkerMapOutput

func (ScaleWorkerMapOutput) ToScaleWorkerMapOutputWithContext

func (o ScaleWorkerMapOutput) ToScaleWorkerMapOutputWithContext(ctx context.Context) ScaleWorkerMapOutput

type ScaleWorkerOutput

type ScaleWorkerOutput struct{ *pulumi.OutputState }

func (ScaleWorkerOutput) ClusterId

func (o ScaleWorkerOutput) ClusterId() pulumi.StringOutput

ID of the cluster.

func (ScaleWorkerOutput) DataDisks

Configurations of data disk.

func (ScaleWorkerOutput) DesiredPodNum

func (o ScaleWorkerOutput) DesiredPodNum() pulumi.IntPtrOutput

Indicate to set desired pod number in current node. Valid when the cluster enable customized pod cidr.

func (ScaleWorkerOutput) DockerGraphPath

func (o ScaleWorkerOutput) DockerGraphPath() pulumi.StringPtrOutput

Docker graph path. Default is `/var/lib/docker`.

func (ScaleWorkerOutput) ElementType

func (ScaleWorkerOutput) ElementType() reflect.Type

func (ScaleWorkerOutput) ExtraArgs

Custom parameter information related to the node.

func (ScaleWorkerOutput) Labels

func (o ScaleWorkerOutput) Labels() pulumi.MapOutput

Labels of kubernetes scale worker created nodes.

func (ScaleWorkerOutput) MountTarget

func (o ScaleWorkerOutput) MountTarget() pulumi.StringPtrOutput

Mount target. Default is not mounting.

func (ScaleWorkerOutput) ToScaleWorkerOutput

func (o ScaleWorkerOutput) ToScaleWorkerOutput() ScaleWorkerOutput

func (ScaleWorkerOutput) ToScaleWorkerOutputWithContext

func (o ScaleWorkerOutput) ToScaleWorkerOutputWithContext(ctx context.Context) ScaleWorkerOutput

func (ScaleWorkerOutput) Unschedulable

func (o ScaleWorkerOutput) Unschedulable() pulumi.IntPtrOutput

Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.

func (ScaleWorkerOutput) WorkerConfig

Deploy the machine configuration information of the 'WORK' service, and create <=20 units for common users.

func (ScaleWorkerOutput) WorkerInstancesLists

An information list of kubernetes cluster 'WORKER'. Each element contains the following attributes:

type ScaleWorkerState

type ScaleWorkerState struct {
	// ID of the cluster.
	ClusterId pulumi.StringPtrInput
	// Configurations of data disk.
	DataDisks ScaleWorkerDataDiskArrayInput
	// Indicate to set desired pod number in current node. Valid when the cluster enable customized pod cidr.
	DesiredPodNum pulumi.IntPtrInput
	// Docker graph path. Default is `/var/lib/docker`.
	DockerGraphPath pulumi.StringPtrInput
	// Custom parameter information related to the node.
	ExtraArgs pulumi.StringArrayInput
	// Labels of kubernetes scale worker created nodes.
	Labels pulumi.MapInput
	// Mount target. Default is not mounting.
	MountTarget pulumi.StringPtrInput
	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	Unschedulable pulumi.IntPtrInput
	// Deploy the machine configuration information of the 'WORK' service, and create <=20 units for common users.
	WorkerConfig ScaleWorkerWorkerConfigPtrInput
	// An information list of kubernetes cluster 'WORKER'. Each element contains the following attributes:
	WorkerInstancesLists ScaleWorkerWorkerInstancesListArrayInput
}

func (ScaleWorkerState) ElementType

func (ScaleWorkerState) ElementType() reflect.Type

type ScaleWorkerWorkerConfig

type ScaleWorkerWorkerConfig struct {
	// Indicates which availability zone will be used.
	AvailabilityZone *string `pulumi:"availabilityZone"`
	// bandwidth package id. if user is standard user, then the bandwidthPackageId is needed, or default has bandwidth_package_id.
	BandwidthPackageId *string `pulumi:"bandwidthPackageId"`
	// CAM role name authorized to access.
	CamRoleName *string `pulumi:"camRoleName"`
	// Number of cvm.
	Count *int `pulumi:"count"`
	// Configurations of data disk.
	DataDisks []ScaleWorkerWorkerConfigDataDisk `pulumi:"dataDisks"`
	// Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override `[globe_]desired_pod_num` for current node. Either all the fields `desiredPodNum` or none.
	DesiredPodNum *int `pulumi:"desiredPodNum"`
	// Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
	DisasterRecoverGroupIds *string `pulumi:"disasterRecoverGroupIds"`
	// To specify whether to enable cloud monitor service. Default is TRUE.
	EnhancedMonitorService *bool `pulumi:"enhancedMonitorService"`
	// To specify whether to enable cloud security service. Default is TRUE.
	EnhancedSecurityService *bool `pulumi:"enhancedSecurityService"`
	// The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
	Hostname *string `pulumi:"hostname"`
	// The valid image id, format of img-xxx.
	ImgId *string `pulumi:"imgId"`
	// The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`, `PREPAID` instance will not terminated after cluster deleted, and may not allow to delete before expired.
	InstanceChargeType *string `pulumi:"instanceChargeType"`
	// The tenancy (time unit is month) of the prepaid instance. NOTE: it only works when instanceChargeType is set to `PREPAID`. Valid values are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`.
	InstanceChargeTypePrepaidPeriod *int `pulumi:"instanceChargeTypePrepaidPeriod"`
	// Auto renewal flag. Valid values: `NOTIFY_AND_AUTO_RENEW`: notify upon expiration and renew automatically, `NOTIFY_AND_MANUAL_RENEW`: notify upon expiration but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: neither notify upon expiration nor renew automatically. Default value: `NOTIFY_AND_MANUAL_RENEW`. If this parameter is specified as `NOTIFY_AND_AUTO_RENEW`, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instanceChargeType is set to `PREPAID`.
	InstanceChargeTypePrepaidRenewFlag *string `pulumi:"instanceChargeTypePrepaidRenewFlag"`
	// Name of the CVMs.
	InstanceName *string `pulumi:"instanceName"`
	// Specified types of CVM instance.
	InstanceType string `pulumi:"instanceType"`
	// Charge types for network traffic. Available values include `TRAFFIC_POSTPAID_BY_HOUR`.
	InternetChargeType *string `pulumi:"internetChargeType"`
	// Max bandwidth of Internet access in Mbps. Default is 0.
	InternetMaxBandwidthOut *int `pulumi:"internetMaxBandwidthOut"`
	// ID list of keys, should be set if `password` not set.
	KeyIds *string `pulumi:"keyIds"`
	// Password to access, should be set if `keyIds` not set.
	Password *string `pulumi:"password"`
	// Specify whether to assign an Internet IP address.
	PublicIpAssigned *bool `pulumi:"publicIpAssigned"`
	// Security groups to which a CVM instance belongs.
	SecurityGroupIds []string `pulumi:"securityGroupIds"`
	// Private network ID.
	SubnetId string `pulumi:"subnetId"`
	// Volume of system disk in GB. Default is `50`.
	SystemDiskSize *int `pulumi:"systemDiskSize"`
	// System disk type. For more information on limits of system disk types, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952). Valid values: `LOCAL_BASIC`: local disk, `LOCAL_SSD`: local SSD disk, `CLOUD_SSD`: SSD, `CLOUD_PREMIUM`: Premium Cloud Storage. NOTE: `CLOUD_BASIC`, `LOCAL_BASIC` and `LOCAL_SSD` are deprecated.
	SystemDiskType *string `pulumi:"systemDiskType"`
	// ase64-encoded User Data text, the length limit is 16KB.
	UserData *string `pulumi:"userData"`
}

type ScaleWorkerWorkerConfigArgs

type ScaleWorkerWorkerConfigArgs struct {
	// Indicates which availability zone will be used.
	AvailabilityZone pulumi.StringPtrInput `pulumi:"availabilityZone"`
	// bandwidth package id. if user is standard user, then the bandwidthPackageId is needed, or default has bandwidth_package_id.
	BandwidthPackageId pulumi.StringPtrInput `pulumi:"bandwidthPackageId"`
	// CAM role name authorized to access.
	CamRoleName pulumi.StringPtrInput `pulumi:"camRoleName"`
	// Number of cvm.
	Count pulumi.IntPtrInput `pulumi:"count"`
	// Configurations of data disk.
	DataDisks ScaleWorkerWorkerConfigDataDiskArrayInput `pulumi:"dataDisks"`
	// Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override `[globe_]desired_pod_num` for current node. Either all the fields `desiredPodNum` or none.
	DesiredPodNum pulumi.IntPtrInput `pulumi:"desiredPodNum"`
	// Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
	DisasterRecoverGroupIds pulumi.StringPtrInput `pulumi:"disasterRecoverGroupIds"`
	// To specify whether to enable cloud monitor service. Default is TRUE.
	EnhancedMonitorService pulumi.BoolPtrInput `pulumi:"enhancedMonitorService"`
	// To specify whether to enable cloud security service. Default is TRUE.
	EnhancedSecurityService pulumi.BoolPtrInput `pulumi:"enhancedSecurityService"`
	// The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
	Hostname pulumi.StringPtrInput `pulumi:"hostname"`
	// The valid image id, format of img-xxx.
	ImgId pulumi.StringPtrInput `pulumi:"imgId"`
	// The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`, `PREPAID` instance will not terminated after cluster deleted, and may not allow to delete before expired.
	InstanceChargeType pulumi.StringPtrInput `pulumi:"instanceChargeType"`
	// The tenancy (time unit is month) of the prepaid instance. NOTE: it only works when instanceChargeType is set to `PREPAID`. Valid values are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`.
	InstanceChargeTypePrepaidPeriod pulumi.IntPtrInput `pulumi:"instanceChargeTypePrepaidPeriod"`
	// Auto renewal flag. Valid values: `NOTIFY_AND_AUTO_RENEW`: notify upon expiration and renew automatically, `NOTIFY_AND_MANUAL_RENEW`: notify upon expiration but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: neither notify upon expiration nor renew automatically. Default value: `NOTIFY_AND_MANUAL_RENEW`. If this parameter is specified as `NOTIFY_AND_AUTO_RENEW`, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instanceChargeType is set to `PREPAID`.
	InstanceChargeTypePrepaidRenewFlag pulumi.StringPtrInput `pulumi:"instanceChargeTypePrepaidRenewFlag"`
	// Name of the CVMs.
	InstanceName pulumi.StringPtrInput `pulumi:"instanceName"`
	// Specified types of CVM instance.
	InstanceType pulumi.StringInput `pulumi:"instanceType"`
	// Charge types for network traffic. Available values include `TRAFFIC_POSTPAID_BY_HOUR`.
	InternetChargeType pulumi.StringPtrInput `pulumi:"internetChargeType"`
	// Max bandwidth of Internet access in Mbps. Default is 0.
	InternetMaxBandwidthOut pulumi.IntPtrInput `pulumi:"internetMaxBandwidthOut"`
	// ID list of keys, should be set if `password` not set.
	KeyIds pulumi.StringPtrInput `pulumi:"keyIds"`
	// Password to access, should be set if `keyIds` not set.
	Password pulumi.StringPtrInput `pulumi:"password"`
	// Specify whether to assign an Internet IP address.
	PublicIpAssigned pulumi.BoolPtrInput `pulumi:"publicIpAssigned"`
	// Security groups to which a CVM instance belongs.
	SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"`
	// Private network ID.
	SubnetId pulumi.StringInput `pulumi:"subnetId"`
	// Volume of system disk in GB. Default is `50`.
	SystemDiskSize pulumi.IntPtrInput `pulumi:"systemDiskSize"`
	// System disk type. For more information on limits of system disk types, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952). Valid values: `LOCAL_BASIC`: local disk, `LOCAL_SSD`: local SSD disk, `CLOUD_SSD`: SSD, `CLOUD_PREMIUM`: Premium Cloud Storage. NOTE: `CLOUD_BASIC`, `LOCAL_BASIC` and `LOCAL_SSD` are deprecated.
	SystemDiskType pulumi.StringPtrInput `pulumi:"systemDiskType"`
	// ase64-encoded User Data text, the length limit is 16KB.
	UserData pulumi.StringPtrInput `pulumi:"userData"`
}

func (ScaleWorkerWorkerConfigArgs) ElementType

func (ScaleWorkerWorkerConfigArgs) ToScaleWorkerWorkerConfigOutput

func (i ScaleWorkerWorkerConfigArgs) ToScaleWorkerWorkerConfigOutput() ScaleWorkerWorkerConfigOutput

func (ScaleWorkerWorkerConfigArgs) ToScaleWorkerWorkerConfigOutputWithContext

func (i ScaleWorkerWorkerConfigArgs) ToScaleWorkerWorkerConfigOutputWithContext(ctx context.Context) ScaleWorkerWorkerConfigOutput

func (ScaleWorkerWorkerConfigArgs) ToScaleWorkerWorkerConfigPtrOutput

func (i ScaleWorkerWorkerConfigArgs) ToScaleWorkerWorkerConfigPtrOutput() ScaleWorkerWorkerConfigPtrOutput

func (ScaleWorkerWorkerConfigArgs) ToScaleWorkerWorkerConfigPtrOutputWithContext

func (i ScaleWorkerWorkerConfigArgs) ToScaleWorkerWorkerConfigPtrOutputWithContext(ctx context.Context) ScaleWorkerWorkerConfigPtrOutput

type ScaleWorkerWorkerConfigDataDisk

type ScaleWorkerWorkerConfigDataDisk struct {
	// Indicate whether to auto format and mount or not. Default is `false`.
	AutoFormatAndMount *bool `pulumi:"autoFormatAndMount"`
	// The name of the device or partition to mount.
	DiskPartition *string `pulumi:"diskPartition"`
	// Volume of disk in GB. Default is `0`.
	DiskSize *int `pulumi:"diskSize"`
	// Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD` and `CLOUD_HSSD` and `CLOUD_TSSD`.
	DiskType *string `pulumi:"diskType"`
	// Indicates whether to encrypt data disk, default `false`.
	Encrypt *bool `pulumi:"encrypt"`
	// File system, e.g. `ext3/ext4/xfs`.
	FileSystem *string `pulumi:"fileSystem"`
	// ID of the custom CMK in the format of UUID or `kms-abcd1234`. This parameter is used to encrypt cloud disks.
	KmsKeyId *string `pulumi:"kmsKeyId"`
	// Mount target.
	MountTarget *string `pulumi:"mountTarget"`
	// Data disk snapshot ID.
	SnapshotId *string `pulumi:"snapshotId"`
}

type ScaleWorkerWorkerConfigDataDiskArgs

type ScaleWorkerWorkerConfigDataDiskArgs struct {
	// Indicate whether to auto format and mount or not. Default is `false`.
	AutoFormatAndMount pulumi.BoolPtrInput `pulumi:"autoFormatAndMount"`
	// The name of the device or partition to mount.
	DiskPartition pulumi.StringPtrInput `pulumi:"diskPartition"`
	// Volume of disk in GB. Default is `0`.
	DiskSize pulumi.IntPtrInput `pulumi:"diskSize"`
	// Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD` and `CLOUD_HSSD` and `CLOUD_TSSD`.
	DiskType pulumi.StringPtrInput `pulumi:"diskType"`
	// Indicates whether to encrypt data disk, default `false`.
	Encrypt pulumi.BoolPtrInput `pulumi:"encrypt"`
	// File system, e.g. `ext3/ext4/xfs`.
	FileSystem pulumi.StringPtrInput `pulumi:"fileSystem"`
	// ID of the custom CMK in the format of UUID or `kms-abcd1234`. This parameter is used to encrypt cloud disks.
	KmsKeyId pulumi.StringPtrInput `pulumi:"kmsKeyId"`
	// Mount target.
	MountTarget pulumi.StringPtrInput `pulumi:"mountTarget"`
	// Data disk snapshot ID.
	SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"`
}

func (ScaleWorkerWorkerConfigDataDiskArgs) ElementType

func (ScaleWorkerWorkerConfigDataDiskArgs) ToScaleWorkerWorkerConfigDataDiskOutput

func (i ScaleWorkerWorkerConfigDataDiskArgs) ToScaleWorkerWorkerConfigDataDiskOutput() ScaleWorkerWorkerConfigDataDiskOutput

func (ScaleWorkerWorkerConfigDataDiskArgs) ToScaleWorkerWorkerConfigDataDiskOutputWithContext

func (i ScaleWorkerWorkerConfigDataDiskArgs) ToScaleWorkerWorkerConfigDataDiskOutputWithContext(ctx context.Context) ScaleWorkerWorkerConfigDataDiskOutput

type ScaleWorkerWorkerConfigDataDiskArray

type ScaleWorkerWorkerConfigDataDiskArray []ScaleWorkerWorkerConfigDataDiskInput

func (ScaleWorkerWorkerConfigDataDiskArray) ElementType

func (ScaleWorkerWorkerConfigDataDiskArray) ToScaleWorkerWorkerConfigDataDiskArrayOutput

func (i ScaleWorkerWorkerConfigDataDiskArray) ToScaleWorkerWorkerConfigDataDiskArrayOutput() ScaleWorkerWorkerConfigDataDiskArrayOutput

func (ScaleWorkerWorkerConfigDataDiskArray) ToScaleWorkerWorkerConfigDataDiskArrayOutputWithContext

func (i ScaleWorkerWorkerConfigDataDiskArray) ToScaleWorkerWorkerConfigDataDiskArrayOutputWithContext(ctx context.Context) ScaleWorkerWorkerConfigDataDiskArrayOutput

type ScaleWorkerWorkerConfigDataDiskArrayInput

type ScaleWorkerWorkerConfigDataDiskArrayInput interface {
	pulumi.Input

	ToScaleWorkerWorkerConfigDataDiskArrayOutput() ScaleWorkerWorkerConfigDataDiskArrayOutput
	ToScaleWorkerWorkerConfigDataDiskArrayOutputWithContext(context.Context) ScaleWorkerWorkerConfigDataDiskArrayOutput
}

ScaleWorkerWorkerConfigDataDiskArrayInput is an input type that accepts ScaleWorkerWorkerConfigDataDiskArray and ScaleWorkerWorkerConfigDataDiskArrayOutput values. You can construct a concrete instance of `ScaleWorkerWorkerConfigDataDiskArrayInput` via:

ScaleWorkerWorkerConfigDataDiskArray{ ScaleWorkerWorkerConfigDataDiskArgs{...} }

type ScaleWorkerWorkerConfigDataDiskArrayOutput

type ScaleWorkerWorkerConfigDataDiskArrayOutput struct{ *pulumi.OutputState }

func (ScaleWorkerWorkerConfigDataDiskArrayOutput) ElementType

func (ScaleWorkerWorkerConfigDataDiskArrayOutput) Index

func (ScaleWorkerWorkerConfigDataDiskArrayOutput) ToScaleWorkerWorkerConfigDataDiskArrayOutput

func (o ScaleWorkerWorkerConfigDataDiskArrayOutput) ToScaleWorkerWorkerConfigDataDiskArrayOutput() ScaleWorkerWorkerConfigDataDiskArrayOutput

func (ScaleWorkerWorkerConfigDataDiskArrayOutput) ToScaleWorkerWorkerConfigDataDiskArrayOutputWithContext

func (o ScaleWorkerWorkerConfigDataDiskArrayOutput) ToScaleWorkerWorkerConfigDataDiskArrayOutputWithContext(ctx context.Context) ScaleWorkerWorkerConfigDataDiskArrayOutput

type ScaleWorkerWorkerConfigDataDiskInput

type ScaleWorkerWorkerConfigDataDiskInput interface {
	pulumi.Input

	ToScaleWorkerWorkerConfigDataDiskOutput() ScaleWorkerWorkerConfigDataDiskOutput
	ToScaleWorkerWorkerConfigDataDiskOutputWithContext(context.Context) ScaleWorkerWorkerConfigDataDiskOutput
}

ScaleWorkerWorkerConfigDataDiskInput is an input type that accepts ScaleWorkerWorkerConfigDataDiskArgs and ScaleWorkerWorkerConfigDataDiskOutput values. You can construct a concrete instance of `ScaleWorkerWorkerConfigDataDiskInput` via:

ScaleWorkerWorkerConfigDataDiskArgs{...}

type ScaleWorkerWorkerConfigDataDiskOutput

type ScaleWorkerWorkerConfigDataDiskOutput struct{ *pulumi.OutputState }

func (ScaleWorkerWorkerConfigDataDiskOutput) AutoFormatAndMount

Indicate whether to auto format and mount or not. Default is `false`.

func (ScaleWorkerWorkerConfigDataDiskOutput) DiskPartition

The name of the device or partition to mount.

func (ScaleWorkerWorkerConfigDataDiskOutput) DiskSize

Volume of disk in GB. Default is `0`.

func (ScaleWorkerWorkerConfigDataDiskOutput) DiskType

Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD` and `CLOUD_HSSD` and `CLOUD_TSSD`.

func (ScaleWorkerWorkerConfigDataDiskOutput) ElementType

func (ScaleWorkerWorkerConfigDataDiskOutput) Encrypt

Indicates whether to encrypt data disk, default `false`.

func (ScaleWorkerWorkerConfigDataDiskOutput) FileSystem

File system, e.g. `ext3/ext4/xfs`.

func (ScaleWorkerWorkerConfigDataDiskOutput) KmsKeyId

ID of the custom CMK in the format of UUID or `kms-abcd1234`. This parameter is used to encrypt cloud disks.

func (ScaleWorkerWorkerConfigDataDiskOutput) MountTarget

Mount target.

func (ScaleWorkerWorkerConfigDataDiskOutput) SnapshotId

Data disk snapshot ID.

func (ScaleWorkerWorkerConfigDataDiskOutput) ToScaleWorkerWorkerConfigDataDiskOutput

func (o ScaleWorkerWorkerConfigDataDiskOutput) ToScaleWorkerWorkerConfigDataDiskOutput() ScaleWorkerWorkerConfigDataDiskOutput

func (ScaleWorkerWorkerConfigDataDiskOutput) ToScaleWorkerWorkerConfigDataDiskOutputWithContext

func (o ScaleWorkerWorkerConfigDataDiskOutput) ToScaleWorkerWorkerConfigDataDiskOutputWithContext(ctx context.Context) ScaleWorkerWorkerConfigDataDiskOutput

type ScaleWorkerWorkerConfigInput

type ScaleWorkerWorkerConfigInput interface {
	pulumi.Input

	ToScaleWorkerWorkerConfigOutput() ScaleWorkerWorkerConfigOutput
	ToScaleWorkerWorkerConfigOutputWithContext(context.Context) ScaleWorkerWorkerConfigOutput
}

ScaleWorkerWorkerConfigInput is an input type that accepts ScaleWorkerWorkerConfigArgs and ScaleWorkerWorkerConfigOutput values. You can construct a concrete instance of `ScaleWorkerWorkerConfigInput` via:

ScaleWorkerWorkerConfigArgs{...}

type ScaleWorkerWorkerConfigOutput

type ScaleWorkerWorkerConfigOutput struct{ *pulumi.OutputState }

func (ScaleWorkerWorkerConfigOutput) AvailabilityZone

Indicates which availability zone will be used.

func (ScaleWorkerWorkerConfigOutput) BandwidthPackageId

func (o ScaleWorkerWorkerConfigOutput) BandwidthPackageId() pulumi.StringPtrOutput

bandwidth package id. if user is standard user, then the bandwidthPackageId is needed, or default has bandwidth_package_id.

func (ScaleWorkerWorkerConfigOutput) CamRoleName

CAM role name authorized to access.

func (ScaleWorkerWorkerConfigOutput) Count

Number of cvm.

func (ScaleWorkerWorkerConfigOutput) DataDisks

Configurations of data disk.

func (ScaleWorkerWorkerConfigOutput) DesiredPodNum

Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override `[globe_]desired_pod_num` for current node. Either all the fields `desiredPodNum` or none.

func (ScaleWorkerWorkerConfigOutput) DisasterRecoverGroupIds

func (o ScaleWorkerWorkerConfigOutput) DisasterRecoverGroupIds() pulumi.StringPtrOutput

Disaster recover groups to which a CVM instance belongs. Only support maximum 1.

func (ScaleWorkerWorkerConfigOutput) ElementType

func (ScaleWorkerWorkerConfigOutput) EnhancedMonitorService

func (o ScaleWorkerWorkerConfigOutput) EnhancedMonitorService() pulumi.BoolPtrOutput

To specify whether to enable cloud monitor service. Default is TRUE.

func (ScaleWorkerWorkerConfigOutput) EnhancedSecurityService

func (o ScaleWorkerWorkerConfigOutput) EnhancedSecurityService() pulumi.BoolPtrOutput

To specify whether to enable cloud security service. Default is TRUE.

func (ScaleWorkerWorkerConfigOutput) Hostname

The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).

func (ScaleWorkerWorkerConfigOutput) ImgId

The valid image id, format of img-xxx.

func (ScaleWorkerWorkerConfigOutput) InstanceChargeType

func (o ScaleWorkerWorkerConfigOutput) InstanceChargeType() pulumi.StringPtrOutput

The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`, `PREPAID` instance will not terminated after cluster deleted, and may not allow to delete before expired.

func (ScaleWorkerWorkerConfigOutput) InstanceChargeTypePrepaidPeriod

func (o ScaleWorkerWorkerConfigOutput) InstanceChargeTypePrepaidPeriod() pulumi.IntPtrOutput

The tenancy (time unit is month) of the prepaid instance. NOTE: it only works when instanceChargeType is set to `PREPAID`. Valid values are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`.

func (ScaleWorkerWorkerConfigOutput) InstanceChargeTypePrepaidRenewFlag

func (o ScaleWorkerWorkerConfigOutput) InstanceChargeTypePrepaidRenewFlag() pulumi.StringPtrOutput

Auto renewal flag. Valid values: `NOTIFY_AND_AUTO_RENEW`: notify upon expiration and renew automatically, `NOTIFY_AND_MANUAL_RENEW`: notify upon expiration but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: neither notify upon expiration nor renew automatically. Default value: `NOTIFY_AND_MANUAL_RENEW`. If this parameter is specified as `NOTIFY_AND_AUTO_RENEW`, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instanceChargeType is set to `PREPAID`.

func (ScaleWorkerWorkerConfigOutput) InstanceName

Name of the CVMs.

func (ScaleWorkerWorkerConfigOutput) InstanceType

Specified types of CVM instance.

func (ScaleWorkerWorkerConfigOutput) InternetChargeType

func (o ScaleWorkerWorkerConfigOutput) InternetChargeType() pulumi.StringPtrOutput

Charge types for network traffic. Available values include `TRAFFIC_POSTPAID_BY_HOUR`.

func (ScaleWorkerWorkerConfigOutput) InternetMaxBandwidthOut

func (o ScaleWorkerWorkerConfigOutput) InternetMaxBandwidthOut() pulumi.IntPtrOutput

Max bandwidth of Internet access in Mbps. Default is 0.

func (ScaleWorkerWorkerConfigOutput) KeyIds

ID list of keys, should be set if `password` not set.

func (ScaleWorkerWorkerConfigOutput) Password

Password to access, should be set if `keyIds` not set.

func (ScaleWorkerWorkerConfigOutput) PublicIpAssigned

func (o ScaleWorkerWorkerConfigOutput) PublicIpAssigned() pulumi.BoolPtrOutput

Specify whether to assign an Internet IP address.

func (ScaleWorkerWorkerConfigOutput) SecurityGroupIds

Security groups to which a CVM instance belongs.

func (ScaleWorkerWorkerConfigOutput) SubnetId

Private network ID.

func (ScaleWorkerWorkerConfigOutput) SystemDiskSize

Volume of system disk in GB. Default is `50`.

func (ScaleWorkerWorkerConfigOutput) SystemDiskType

System disk type. For more information on limits of system disk types, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952). Valid values: `LOCAL_BASIC`: local disk, `LOCAL_SSD`: local SSD disk, `CLOUD_SSD`: SSD, `CLOUD_PREMIUM`: Premium Cloud Storage. NOTE: `CLOUD_BASIC`, `LOCAL_BASIC` and `LOCAL_SSD` are deprecated.

func (ScaleWorkerWorkerConfigOutput) ToScaleWorkerWorkerConfigOutput

func (o ScaleWorkerWorkerConfigOutput) ToScaleWorkerWorkerConfigOutput() ScaleWorkerWorkerConfigOutput

func (ScaleWorkerWorkerConfigOutput) ToScaleWorkerWorkerConfigOutputWithContext

func (o ScaleWorkerWorkerConfigOutput) ToScaleWorkerWorkerConfigOutputWithContext(ctx context.Context) ScaleWorkerWorkerConfigOutput

func (ScaleWorkerWorkerConfigOutput) ToScaleWorkerWorkerConfigPtrOutput

func (o ScaleWorkerWorkerConfigOutput) ToScaleWorkerWorkerConfigPtrOutput() ScaleWorkerWorkerConfigPtrOutput

func (ScaleWorkerWorkerConfigOutput) ToScaleWorkerWorkerConfigPtrOutputWithContext

func (o ScaleWorkerWorkerConfigOutput) ToScaleWorkerWorkerConfigPtrOutputWithContext(ctx context.Context) ScaleWorkerWorkerConfigPtrOutput

func (ScaleWorkerWorkerConfigOutput) UserData

ase64-encoded User Data text, the length limit is 16KB.

type ScaleWorkerWorkerConfigPtrInput

type ScaleWorkerWorkerConfigPtrInput interface {
	pulumi.Input

	ToScaleWorkerWorkerConfigPtrOutput() ScaleWorkerWorkerConfigPtrOutput
	ToScaleWorkerWorkerConfigPtrOutputWithContext(context.Context) ScaleWorkerWorkerConfigPtrOutput
}

ScaleWorkerWorkerConfigPtrInput is an input type that accepts ScaleWorkerWorkerConfigArgs, ScaleWorkerWorkerConfigPtr and ScaleWorkerWorkerConfigPtrOutput values. You can construct a concrete instance of `ScaleWorkerWorkerConfigPtrInput` via:

        ScaleWorkerWorkerConfigArgs{...}

or:

        nil

type ScaleWorkerWorkerConfigPtrOutput

type ScaleWorkerWorkerConfigPtrOutput struct{ *pulumi.OutputState }

func (ScaleWorkerWorkerConfigPtrOutput) AvailabilityZone

Indicates which availability zone will be used.

func (ScaleWorkerWorkerConfigPtrOutput) BandwidthPackageId

bandwidth package id. if user is standard user, then the bandwidthPackageId is needed, or default has bandwidth_package_id.

func (ScaleWorkerWorkerConfigPtrOutput) CamRoleName

CAM role name authorized to access.

func (ScaleWorkerWorkerConfigPtrOutput) Count

Number of cvm.

func (ScaleWorkerWorkerConfigPtrOutput) DataDisks

Configurations of data disk.

func (ScaleWorkerWorkerConfigPtrOutput) DesiredPodNum

Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override `[globe_]desired_pod_num` for current node. Either all the fields `desiredPodNum` or none.

func (ScaleWorkerWorkerConfigPtrOutput) DisasterRecoverGroupIds

func (o ScaleWorkerWorkerConfigPtrOutput) DisasterRecoverGroupIds() pulumi.StringPtrOutput

Disaster recover groups to which a CVM instance belongs. Only support maximum 1.

func (ScaleWorkerWorkerConfigPtrOutput) Elem

func (ScaleWorkerWorkerConfigPtrOutput) ElementType

func (ScaleWorkerWorkerConfigPtrOutput) EnhancedMonitorService

func (o ScaleWorkerWorkerConfigPtrOutput) EnhancedMonitorService() pulumi.BoolPtrOutput

To specify whether to enable cloud monitor service. Default is TRUE.

func (ScaleWorkerWorkerConfigPtrOutput) EnhancedSecurityService

func (o ScaleWorkerWorkerConfigPtrOutput) EnhancedSecurityService() pulumi.BoolPtrOutput

To specify whether to enable cloud security service. Default is TRUE.

func (ScaleWorkerWorkerConfigPtrOutput) Hostname

The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).

func (ScaleWorkerWorkerConfigPtrOutput) ImgId

The valid image id, format of img-xxx.

func (ScaleWorkerWorkerConfigPtrOutput) InstanceChargeType

The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`, `PREPAID` instance will not terminated after cluster deleted, and may not allow to delete before expired.

func (ScaleWorkerWorkerConfigPtrOutput) InstanceChargeTypePrepaidPeriod

func (o ScaleWorkerWorkerConfigPtrOutput) InstanceChargeTypePrepaidPeriod() pulumi.IntPtrOutput

The tenancy (time unit is month) of the prepaid instance. NOTE: it only works when instanceChargeType is set to `PREPAID`. Valid values are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`.

func (ScaleWorkerWorkerConfigPtrOutput) InstanceChargeTypePrepaidRenewFlag

func (o ScaleWorkerWorkerConfigPtrOutput) InstanceChargeTypePrepaidRenewFlag() pulumi.StringPtrOutput

Auto renewal flag. Valid values: `NOTIFY_AND_AUTO_RENEW`: notify upon expiration and renew automatically, `NOTIFY_AND_MANUAL_RENEW`: notify upon expiration but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: neither notify upon expiration nor renew automatically. Default value: `NOTIFY_AND_MANUAL_RENEW`. If this parameter is specified as `NOTIFY_AND_AUTO_RENEW`, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instanceChargeType is set to `PREPAID`.

func (ScaleWorkerWorkerConfigPtrOutput) InstanceName

Name of the CVMs.

func (ScaleWorkerWorkerConfigPtrOutput) InstanceType

Specified types of CVM instance.

func (ScaleWorkerWorkerConfigPtrOutput) InternetChargeType

Charge types for network traffic. Available values include `TRAFFIC_POSTPAID_BY_HOUR`.

func (ScaleWorkerWorkerConfigPtrOutput) InternetMaxBandwidthOut

func (o ScaleWorkerWorkerConfigPtrOutput) InternetMaxBandwidthOut() pulumi.IntPtrOutput

Max bandwidth of Internet access in Mbps. Default is 0.

func (ScaleWorkerWorkerConfigPtrOutput) KeyIds

ID list of keys, should be set if `password` not set.

func (ScaleWorkerWorkerConfigPtrOutput) Password

Password to access, should be set if `keyIds` not set.

func (ScaleWorkerWorkerConfigPtrOutput) PublicIpAssigned

Specify whether to assign an Internet IP address.

func (ScaleWorkerWorkerConfigPtrOutput) SecurityGroupIds

Security groups to which a CVM instance belongs.

func (ScaleWorkerWorkerConfigPtrOutput) SubnetId

Private network ID.

func (ScaleWorkerWorkerConfigPtrOutput) SystemDiskSize

Volume of system disk in GB. Default is `50`.

func (ScaleWorkerWorkerConfigPtrOutput) SystemDiskType

System disk type. For more information on limits of system disk types, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952). Valid values: `LOCAL_BASIC`: local disk, `LOCAL_SSD`: local SSD disk, `CLOUD_SSD`: SSD, `CLOUD_PREMIUM`: Premium Cloud Storage. NOTE: `CLOUD_BASIC`, `LOCAL_BASIC` and `LOCAL_SSD` are deprecated.

func (ScaleWorkerWorkerConfigPtrOutput) ToScaleWorkerWorkerConfigPtrOutput

func (o ScaleWorkerWorkerConfigPtrOutput) ToScaleWorkerWorkerConfigPtrOutput() ScaleWorkerWorkerConfigPtrOutput

func (ScaleWorkerWorkerConfigPtrOutput) ToScaleWorkerWorkerConfigPtrOutputWithContext

func (o ScaleWorkerWorkerConfigPtrOutput) ToScaleWorkerWorkerConfigPtrOutputWithContext(ctx context.Context) ScaleWorkerWorkerConfigPtrOutput

func (ScaleWorkerWorkerConfigPtrOutput) UserData

ase64-encoded User Data text, the length limit is 16KB.

type ScaleWorkerWorkerInstancesList

type ScaleWorkerWorkerInstancesList struct {
	// Information of the cvm when it is failed.
	FailedReason *string `pulumi:"failedReason"`
	// ID of the cvm.
	InstanceId *string `pulumi:"instanceId"`
	// Role of the cvm.
	InstanceRole *string `pulumi:"instanceRole"`
	// State of the cvm.
	InstanceState *string `pulumi:"instanceState"`
	// LAN IP of the cvm.
	LanIp *string `pulumi:"lanIp"`
}

type ScaleWorkerWorkerInstancesListArgs

type ScaleWorkerWorkerInstancesListArgs struct {
	// Information of the cvm when it is failed.
	FailedReason pulumi.StringPtrInput `pulumi:"failedReason"`
	// ID of the cvm.
	InstanceId pulumi.StringPtrInput `pulumi:"instanceId"`
	// Role of the cvm.
	InstanceRole pulumi.StringPtrInput `pulumi:"instanceRole"`
	// State of the cvm.
	InstanceState pulumi.StringPtrInput `pulumi:"instanceState"`
	// LAN IP of the cvm.
	LanIp pulumi.StringPtrInput `pulumi:"lanIp"`
}

func (ScaleWorkerWorkerInstancesListArgs) ElementType

func (ScaleWorkerWorkerInstancesListArgs) ToScaleWorkerWorkerInstancesListOutput

func (i ScaleWorkerWorkerInstancesListArgs) ToScaleWorkerWorkerInstancesListOutput() ScaleWorkerWorkerInstancesListOutput

func (ScaleWorkerWorkerInstancesListArgs) ToScaleWorkerWorkerInstancesListOutputWithContext

func (i ScaleWorkerWorkerInstancesListArgs) ToScaleWorkerWorkerInstancesListOutputWithContext(ctx context.Context) ScaleWorkerWorkerInstancesListOutput

type ScaleWorkerWorkerInstancesListArray

type ScaleWorkerWorkerInstancesListArray []ScaleWorkerWorkerInstancesListInput

func (ScaleWorkerWorkerInstancesListArray) ElementType

func (ScaleWorkerWorkerInstancesListArray) ToScaleWorkerWorkerInstancesListArrayOutput

func (i ScaleWorkerWorkerInstancesListArray) ToScaleWorkerWorkerInstancesListArrayOutput() ScaleWorkerWorkerInstancesListArrayOutput

func (ScaleWorkerWorkerInstancesListArray) ToScaleWorkerWorkerInstancesListArrayOutputWithContext

func (i ScaleWorkerWorkerInstancesListArray) ToScaleWorkerWorkerInstancesListArrayOutputWithContext(ctx context.Context) ScaleWorkerWorkerInstancesListArrayOutput

type ScaleWorkerWorkerInstancesListArrayInput

type ScaleWorkerWorkerInstancesListArrayInput interface {
	pulumi.Input

	ToScaleWorkerWorkerInstancesListArrayOutput() ScaleWorkerWorkerInstancesListArrayOutput
	ToScaleWorkerWorkerInstancesListArrayOutputWithContext(context.Context) ScaleWorkerWorkerInstancesListArrayOutput
}

ScaleWorkerWorkerInstancesListArrayInput is an input type that accepts ScaleWorkerWorkerInstancesListArray and ScaleWorkerWorkerInstancesListArrayOutput values. You can construct a concrete instance of `ScaleWorkerWorkerInstancesListArrayInput` via:

ScaleWorkerWorkerInstancesListArray{ ScaleWorkerWorkerInstancesListArgs{...} }

type ScaleWorkerWorkerInstancesListArrayOutput

type ScaleWorkerWorkerInstancesListArrayOutput struct{ *pulumi.OutputState }

func (ScaleWorkerWorkerInstancesListArrayOutput) ElementType

func (ScaleWorkerWorkerInstancesListArrayOutput) Index

func (ScaleWorkerWorkerInstancesListArrayOutput) ToScaleWorkerWorkerInstancesListArrayOutput

func (o ScaleWorkerWorkerInstancesListArrayOutput) ToScaleWorkerWorkerInstancesListArrayOutput() ScaleWorkerWorkerInstancesListArrayOutput

func (ScaleWorkerWorkerInstancesListArrayOutput) ToScaleWorkerWorkerInstancesListArrayOutputWithContext

func (o ScaleWorkerWorkerInstancesListArrayOutput) ToScaleWorkerWorkerInstancesListArrayOutputWithContext(ctx context.Context) ScaleWorkerWorkerInstancesListArrayOutput

type ScaleWorkerWorkerInstancesListInput

type ScaleWorkerWorkerInstancesListInput interface {
	pulumi.Input

	ToScaleWorkerWorkerInstancesListOutput() ScaleWorkerWorkerInstancesListOutput
	ToScaleWorkerWorkerInstancesListOutputWithContext(context.Context) ScaleWorkerWorkerInstancesListOutput
}

ScaleWorkerWorkerInstancesListInput is an input type that accepts ScaleWorkerWorkerInstancesListArgs and ScaleWorkerWorkerInstancesListOutput values. You can construct a concrete instance of `ScaleWorkerWorkerInstancesListInput` via:

ScaleWorkerWorkerInstancesListArgs{...}

type ScaleWorkerWorkerInstancesListOutput

type ScaleWorkerWorkerInstancesListOutput struct{ *pulumi.OutputState }

func (ScaleWorkerWorkerInstancesListOutput) ElementType

func (ScaleWorkerWorkerInstancesListOutput) FailedReason

Information of the cvm when it is failed.

func (ScaleWorkerWorkerInstancesListOutput) InstanceId

ID of the cvm.

func (ScaleWorkerWorkerInstancesListOutput) InstanceRole

Role of the cvm.

func (ScaleWorkerWorkerInstancesListOutput) InstanceState

State of the cvm.

func (ScaleWorkerWorkerInstancesListOutput) LanIp

LAN IP of the cvm.

func (ScaleWorkerWorkerInstancesListOutput) ToScaleWorkerWorkerInstancesListOutput

func (o ScaleWorkerWorkerInstancesListOutput) ToScaleWorkerWorkerInstancesListOutput() ScaleWorkerWorkerInstancesListOutput

func (ScaleWorkerWorkerInstancesListOutput) ToScaleWorkerWorkerInstancesListOutputWithContext

func (o ScaleWorkerWorkerInstancesListOutput) ToScaleWorkerWorkerInstancesListOutputWithContext(ctx context.Context) ScaleWorkerWorkerInstancesListOutput

Jump to

Keyboard shortcuts

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