container

package
v0.0.0-...-9ab2e28 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	pulumi.CustomResourceState

	// The network bandwidth of the node.
	Bandwidth pulumi.IntOutput `pulumi:"bandwidth"`
	// The network type of the node.
	BandwidthType pulumi.StringOutput `pulumi:"bandwidthType"`
	// The CIDR which the cluster is going to use.
	ClusterCidr pulumi.StringOutput `pulumi:"clusterCidr"`
	// The description of the cluster.
	ClusterDesc pulumi.StringPtrOutput `pulumi:"clusterDesc"`
	// The name of the cluster.
	ClusterName pulumi.StringOutput `pulumi:"clusterName"`
	// The kubernetes version of the cluster.
	ClusterVersion pulumi.StringPtrOutput `pulumi:"clusterVersion"`
	// The cpu of the node.
	//
	// Deprecated: It has been deprecated from version 1.16.0. Set 'instance_type' instead.
	Cpu pulumi.IntPtrOutput `pulumi:"cpu"`
	// The type of node needed by cvm.
	CvmType pulumi.StringPtrOutput `pulumi:"cvmType"`
	// The docker graph path is going to mounted.
	DockerGraphPath pulumi.StringPtrOutput `pulumi:"dockerGraphPath"`
	// The node number is going to create in the cluster.
	GoodsNum pulumi.IntOutput `pulumi:"goodsNum"`
	// The name ot node.
	InstanceName pulumi.StringPtrOutput `pulumi:"instanceName"`
	// The instance type of the node needed by cvm.
	InstanceType pulumi.StringOutput `pulumi:"instanceType"`
	// Describe whether the node enable the gateway capability.
	IsVpcGateway pulumi.IntOutput `pulumi:"isVpcGateway"`
	// The key_id of each node(if using key pair to access).
	KeyId pulumi.StringPtrOutput `pulumi:"keyId"`
	// The kubernetes version of the cluster.
	KubernetesVersion pulumi.StringOutput `pulumi:"kubernetesVersion"`
	// The memory of the node.
	//
	// Deprecated: It has been deprecated from version 1.16.0. Set 'instance_type' instead.
	Mem pulumi.IntPtrOutput `pulumi:"mem"`
	// The path which volume is going to be mounted.
	MountTarget pulumi.StringPtrOutput `pulumi:"mountTarget"`
	// The node number of the cluster.
	NodesNum pulumi.IntOutput `pulumi:"nodesNum"`
	// The node status of the cluster.
	NodesStatus pulumi.StringOutput `pulumi:"nodesStatus"`
	// The system os name of the node.
	OsName pulumi.StringOutput `pulumi:"osName"`
	// The password of each node.
	Password pulumi.StringPtrOutput `pulumi:"password"`
	// The puchase duration of the node needed by cvm.
	Period pulumi.IntPtrOutput `pulumi:"period"`
	// Indicate whether wan ip is needed.
	RequireWanIp pulumi.IntPtrOutput `pulumi:"requireWanIp"`
	// The size of the root volume.
	RootSize pulumi.IntOutput `pulumi:"rootSize"`
	// The type of the root volume. see more from CVM.
	RootType pulumi.StringPtrOutput `pulumi:"rootType"`
	// The security group id.
	SgId pulumi.StringPtrOutput `pulumi:"sgId"`
	// The size of the data volume.
	StorageSize pulumi.IntOutput `pulumi:"storageSize"`
	// The type of the data volume. see more from CVM.
	StorageType pulumi.StringPtrOutput `pulumi:"storageType"`
	// The subnet id which the node stays in.
	SubnetId pulumi.StringOutput `pulumi:"subnetId"`
	// The total cpu of the cluster.
	TotalCpu pulumi.IntOutput `pulumi:"totalCpu"`
	// The total memory of the cluster.
	TotalMem pulumi.IntOutput `pulumi:"totalMem"`
	// Determine whether the node will be schedulable. 0 is the default meaning node will be schedulable. 1 for unschedulable.
	Unschedulable pulumi.IntPtrOutput `pulumi:"unschedulable"`
	// User defined script in a base64-format. The script runs after the kubernetes component is ready on node. see more from
	// CCS api documents.
	UserScript pulumi.StringPtrOutput `pulumi:"userScript"`
	// Specify vpc which the node(s) stay in.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
	// The zone which the node stays in.
	ZoneId pulumi.StringOutput `pulumi:"zoneId"`
}

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 {
	// The network bandwidth of the node.
	Bandwidth pulumi.IntInput
	// The network type of the node.
	BandwidthType pulumi.StringInput
	// The CIDR which the cluster is going to use.
	ClusterCidr pulumi.StringInput
	// The description of the cluster.
	ClusterDesc pulumi.StringPtrInput
	// The name of the cluster.
	ClusterName pulumi.StringInput
	// The kubernetes version of the cluster.
	ClusterVersion pulumi.StringPtrInput
	// The cpu of the node.
	//
	// Deprecated: It has been deprecated from version 1.16.0. Set 'instance_type' instead.
	Cpu pulumi.IntPtrInput
	// The type of node needed by cvm.
	CvmType pulumi.StringPtrInput
	// The docker graph path is going to mounted.
	DockerGraphPath pulumi.StringPtrInput
	// The node number is going to create in the cluster.
	GoodsNum pulumi.IntInput
	// The name ot node.
	InstanceName pulumi.StringPtrInput
	// The instance type of the node needed by cvm.
	InstanceType pulumi.StringInput
	// Describe whether the node enable the gateway capability.
	IsVpcGateway pulumi.IntInput
	// The key_id of each node(if using key pair to access).
	KeyId pulumi.StringPtrInput
	// The memory of the node.
	//
	// Deprecated: It has been deprecated from version 1.16.0. Set 'instance_type' instead.
	Mem pulumi.IntPtrInput
	// The path which volume is going to be mounted.
	MountTarget pulumi.StringPtrInput
	// The system os name of the node.
	OsName pulumi.StringInput
	// The password of each node.
	Password pulumi.StringPtrInput
	// The puchase duration of the node needed by cvm.
	Period pulumi.IntPtrInput
	// Indicate whether wan ip is needed.
	RequireWanIp pulumi.IntPtrInput
	// The size of the root volume.
	RootSize pulumi.IntInput
	// The type of the root volume. see more from CVM.
	RootType pulumi.StringPtrInput
	// The security group id.
	SgId pulumi.StringPtrInput
	// The size of the data volume.
	StorageSize pulumi.IntInput
	// The type of the data volume. see more from CVM.
	StorageType pulumi.StringPtrInput
	// The subnet id which the node stays in.
	SubnetId pulumi.StringInput
	// Determine whether the node will be schedulable. 0 is the default meaning node will be schedulable. 1 for unschedulable.
	Unschedulable pulumi.IntPtrInput
	// User defined script in a base64-format. The script runs after the kubernetes component is ready on node. see more from
	// CCS api documents.
	UserScript pulumi.StringPtrInput
	// Specify vpc which the node(s) stay in.
	VpcId pulumi.StringInput
	// The zone which the node stays in.
	ZoneId pulumi.StringInput
}

The set of arguments for constructing a Cluster resource.

func (ClusterArgs) ElementType

func (ClusterArgs) ElementType() reflect.Type

type ClusterArray

type ClusterArray []ClusterInput

func (ClusterArray) ElementType

func (ClusterArray) ElementType() reflect.Type

func (ClusterArray) ToClusterArrayOutput

func (i ClusterArray) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArray) ToClusterArrayOutputWithContext

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

type ClusterArrayInput

type ClusterArrayInput interface {
	pulumi.Input

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

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

ClusterArray{ ClusterArgs{...} }

type ClusterArrayOutput

type ClusterArrayOutput struct{ *pulumi.OutputState }

func (ClusterArrayOutput) ElementType

func (ClusterArrayOutput) ElementType() reflect.Type

func (ClusterArrayOutput) Index

func (ClusterArrayOutput) ToClusterArrayOutput

func (o ClusterArrayOutput) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArrayOutput) ToClusterArrayOutputWithContext

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

type ClusterInput

type ClusterInput interface {
	pulumi.Input

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

type ClusterInstance

type ClusterInstance struct {
	pulumi.CustomResourceState

	// Describe the reason when node is in abnormal state(if it was).
	AbnormalReason pulumi.StringOutput `pulumi:"abnormalReason"`
	// The network bandwidth of the node.
	Bandwidth pulumi.IntOutput `pulumi:"bandwidth"`
	// The network type of the node.
	BandwidthType pulumi.StringOutput `pulumi:"bandwidthType"`
	// The id of the cluster.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// The cpu of the node.
	//
	// Deprecated: It has been deprecated from version 1.16.0. Set 'instance_type' instead.
	Cpu pulumi.IntPtrOutput `pulumi:"cpu"`
	// The type of node needed by cvm.
	CvmType pulumi.StringPtrOutput `pulumi:"cvmType"`
	// The docker graph path is going to mounted.
	DockerGraphPath pulumi.StringPtrOutput `pulumi:"dockerGraphPath"`
	// An id identify the node, provided by cvm.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// The name ot node.
	InstanceName pulumi.StringPtrOutput `pulumi:"instanceName"`
	// The instance type of the node needed by cvm.
	InstanceType pulumi.StringPtrOutput `pulumi:"instanceType"`
	// Describe whether the node is normal.
	IsNormal pulumi.IntOutput `pulumi:"isNormal"`
	// Describe whether the node enable the gateway capability.
	IsVpcGateway pulumi.IntOutput `pulumi:"isVpcGateway"`
	// The key_id of each node(if using key pair to access).
	KeyId pulumi.StringPtrOutput `pulumi:"keyId"`
	// Describe the lan ip of the node.
	LanIp pulumi.StringOutput `pulumi:"lanIp"`
	// The memory of the node.
	//
	// Deprecated: It has been deprecated from version 1.16.0. Set 'instance_type' instead.
	Mem pulumi.IntPtrOutput `pulumi:"mem"`
	// The path which volume is going to be mounted.
	MountTarget pulumi.StringPtrOutput `pulumi:"mountTarget"`
	// The password of each node.
	Password pulumi.StringPtrOutput `pulumi:"password"`
	// The puchase duration of the node needed by cvm.
	Period pulumi.IntPtrOutput `pulumi:"period"`
	// Indicate whether wan ip is needed.
	RequireWanIp pulumi.IntPtrOutput `pulumi:"requireWanIp"`
	// The size of the root volume.
	RootSize pulumi.IntOutput `pulumi:"rootSize"`
	// The type of the root volume. see more from CVM.
	RootType pulumi.StringPtrOutput `pulumi:"rootType"`
	// The security group id.
	SgId pulumi.StringPtrOutput `pulumi:"sgId"`
	// The size of the data volume.
	StorageSize pulumi.IntOutput `pulumi:"storageSize"`
	// The type of the data volume. see more from CVM.
	StorageType pulumi.StringPtrOutput `pulumi:"storageType"`
	// The subnet id which the node stays in.
	SubnetId pulumi.StringOutput `pulumi:"subnetId"`
	// Determine whether the node will be schedulable. 0 is the default meaning node will be schedulable. 1 for unschedulable.
	Unschedulable pulumi.IntPtrOutput `pulumi:"unschedulable"`
	// User defined script in a base64-format. The script runs after the kubernetes component is ready on node. see more from
	// CCS api documents.
	UserScript pulumi.StringPtrOutput `pulumi:"userScript"`
	// Describe the wan ip of the node.
	WanIp pulumi.StringOutput `pulumi:"wanIp"`
	// The zone which the node stays in.
	ZoneId pulumi.StringOutput `pulumi:"zoneId"`
}

func GetClusterInstance

func GetClusterInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ClusterInstanceState, opts ...pulumi.ResourceOption) (*ClusterInstance, error)

GetClusterInstance gets an existing ClusterInstance 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 NewClusterInstance

func NewClusterInstance(ctx *pulumi.Context,
	name string, args *ClusterInstanceArgs, opts ...pulumi.ResourceOption) (*ClusterInstance, error)

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

func (*ClusterInstance) ElementType

func (*ClusterInstance) ElementType() reflect.Type

func (*ClusterInstance) ToClusterInstanceOutput

func (i *ClusterInstance) ToClusterInstanceOutput() ClusterInstanceOutput

func (*ClusterInstance) ToClusterInstanceOutputWithContext

func (i *ClusterInstance) ToClusterInstanceOutputWithContext(ctx context.Context) ClusterInstanceOutput

type ClusterInstanceArgs

type ClusterInstanceArgs struct {
	// The network bandwidth of the node.
	Bandwidth pulumi.IntInput
	// The network type of the node.
	BandwidthType pulumi.StringInput
	// The id of the cluster.
	ClusterId pulumi.StringInput
	// The cpu of the node.
	//
	// Deprecated: It has been deprecated from version 1.16.0. Set 'instance_type' instead.
	Cpu pulumi.IntPtrInput
	// The type of node needed by cvm.
	CvmType pulumi.StringPtrInput
	// The docker graph path is going to mounted.
	DockerGraphPath pulumi.StringPtrInput
	// The name ot node.
	InstanceName pulumi.StringPtrInput
	// The instance type of the node needed by cvm.
	InstanceType pulumi.StringPtrInput
	// Describe whether the node enable the gateway capability.
	IsVpcGateway pulumi.IntInput
	// The key_id of each node(if using key pair to access).
	KeyId pulumi.StringPtrInput
	// The memory of the node.
	//
	// Deprecated: It has been deprecated from version 1.16.0. Set 'instance_type' instead.
	Mem pulumi.IntPtrInput
	// The path which volume is going to be mounted.
	MountTarget pulumi.StringPtrInput
	// The password of each node.
	Password pulumi.StringPtrInput
	// The puchase duration of the node needed by cvm.
	Period pulumi.IntPtrInput
	// Indicate whether wan ip is needed.
	RequireWanIp pulumi.IntPtrInput
	// The size of the root volume.
	RootSize pulumi.IntInput
	// The type of the root volume. see more from CVM.
	RootType pulumi.StringPtrInput
	// The security group id.
	SgId pulumi.StringPtrInput
	// The size of the data volume.
	StorageSize pulumi.IntInput
	// The type of the data volume. see more from CVM.
	StorageType pulumi.StringPtrInput
	// The subnet id which the node stays in.
	SubnetId pulumi.StringInput
	// Determine whether the node will be schedulable. 0 is the default meaning node will be schedulable. 1 for unschedulable.
	Unschedulable pulumi.IntPtrInput
	// User defined script in a base64-format. The script runs after the kubernetes component is ready on node. see more from
	// CCS api documents.
	UserScript pulumi.StringPtrInput
	// The zone which the node stays in.
	ZoneId pulumi.StringInput
}

The set of arguments for constructing a ClusterInstance resource.

func (ClusterInstanceArgs) ElementType

func (ClusterInstanceArgs) ElementType() reflect.Type

type ClusterInstanceArray

type ClusterInstanceArray []ClusterInstanceInput

func (ClusterInstanceArray) ElementType

func (ClusterInstanceArray) ElementType() reflect.Type

func (ClusterInstanceArray) ToClusterInstanceArrayOutput

func (i ClusterInstanceArray) ToClusterInstanceArrayOutput() ClusterInstanceArrayOutput

func (ClusterInstanceArray) ToClusterInstanceArrayOutputWithContext

func (i ClusterInstanceArray) ToClusterInstanceArrayOutputWithContext(ctx context.Context) ClusterInstanceArrayOutput

type ClusterInstanceArrayInput

type ClusterInstanceArrayInput interface {
	pulumi.Input

	ToClusterInstanceArrayOutput() ClusterInstanceArrayOutput
	ToClusterInstanceArrayOutputWithContext(context.Context) ClusterInstanceArrayOutput
}

ClusterInstanceArrayInput is an input type that accepts ClusterInstanceArray and ClusterInstanceArrayOutput values. You can construct a concrete instance of `ClusterInstanceArrayInput` via:

ClusterInstanceArray{ ClusterInstanceArgs{...} }

type ClusterInstanceArrayOutput

type ClusterInstanceArrayOutput struct{ *pulumi.OutputState }

func (ClusterInstanceArrayOutput) ElementType

func (ClusterInstanceArrayOutput) ElementType() reflect.Type

func (ClusterInstanceArrayOutput) Index

func (ClusterInstanceArrayOutput) ToClusterInstanceArrayOutput

func (o ClusterInstanceArrayOutput) ToClusterInstanceArrayOutput() ClusterInstanceArrayOutput

func (ClusterInstanceArrayOutput) ToClusterInstanceArrayOutputWithContext

func (o ClusterInstanceArrayOutput) ToClusterInstanceArrayOutputWithContext(ctx context.Context) ClusterInstanceArrayOutput

type ClusterInstanceInput

type ClusterInstanceInput interface {
	pulumi.Input

	ToClusterInstanceOutput() ClusterInstanceOutput
	ToClusterInstanceOutputWithContext(ctx context.Context) ClusterInstanceOutput
}

type ClusterInstanceMap

type ClusterInstanceMap map[string]ClusterInstanceInput

func (ClusterInstanceMap) ElementType

func (ClusterInstanceMap) ElementType() reflect.Type

func (ClusterInstanceMap) ToClusterInstanceMapOutput

func (i ClusterInstanceMap) ToClusterInstanceMapOutput() ClusterInstanceMapOutput

func (ClusterInstanceMap) ToClusterInstanceMapOutputWithContext

func (i ClusterInstanceMap) ToClusterInstanceMapOutputWithContext(ctx context.Context) ClusterInstanceMapOutput

type ClusterInstanceMapInput

type ClusterInstanceMapInput interface {
	pulumi.Input

	ToClusterInstanceMapOutput() ClusterInstanceMapOutput
	ToClusterInstanceMapOutputWithContext(context.Context) ClusterInstanceMapOutput
}

ClusterInstanceMapInput is an input type that accepts ClusterInstanceMap and ClusterInstanceMapOutput values. You can construct a concrete instance of `ClusterInstanceMapInput` via:

ClusterInstanceMap{ "key": ClusterInstanceArgs{...} }

type ClusterInstanceMapOutput

type ClusterInstanceMapOutput struct{ *pulumi.OutputState }

func (ClusterInstanceMapOutput) ElementType

func (ClusterInstanceMapOutput) ElementType() reflect.Type

func (ClusterInstanceMapOutput) MapIndex

func (ClusterInstanceMapOutput) ToClusterInstanceMapOutput

func (o ClusterInstanceMapOutput) ToClusterInstanceMapOutput() ClusterInstanceMapOutput

func (ClusterInstanceMapOutput) ToClusterInstanceMapOutputWithContext

func (o ClusterInstanceMapOutput) ToClusterInstanceMapOutputWithContext(ctx context.Context) ClusterInstanceMapOutput

type ClusterInstanceOutput

type ClusterInstanceOutput struct{ *pulumi.OutputState }

func (ClusterInstanceOutput) AbnormalReason

func (o ClusterInstanceOutput) AbnormalReason() pulumi.StringOutput

Describe the reason when node is in abnormal state(if it was).

func (ClusterInstanceOutput) Bandwidth

func (o ClusterInstanceOutput) Bandwidth() pulumi.IntOutput

The network bandwidth of the node.

func (ClusterInstanceOutput) BandwidthType

func (o ClusterInstanceOutput) BandwidthType() pulumi.StringOutput

The network type of the node.

func (ClusterInstanceOutput) ClusterId

The id of the cluster.

func (ClusterInstanceOutput) Cpu deprecated

The cpu of the node.

Deprecated: It has been deprecated from version 1.16.0. Set 'instance_type' instead.

func (ClusterInstanceOutput) CvmType

The type of node needed by cvm.

func (ClusterInstanceOutput) DockerGraphPath

func (o ClusterInstanceOutput) DockerGraphPath() pulumi.StringPtrOutput

The docker graph path is going to mounted.

func (ClusterInstanceOutput) ElementType

func (ClusterInstanceOutput) ElementType() reflect.Type

func (ClusterInstanceOutput) InstanceId

func (o ClusterInstanceOutput) InstanceId() pulumi.StringOutput

An id identify the node, provided by cvm.

func (ClusterInstanceOutput) InstanceName

func (o ClusterInstanceOutput) InstanceName() pulumi.StringPtrOutput

The name ot node.

func (ClusterInstanceOutput) InstanceType

func (o ClusterInstanceOutput) InstanceType() pulumi.StringPtrOutput

The instance type of the node needed by cvm.

func (ClusterInstanceOutput) IsNormal

func (o ClusterInstanceOutput) IsNormal() pulumi.IntOutput

Describe whether the node is normal.

func (ClusterInstanceOutput) IsVpcGateway

func (o ClusterInstanceOutput) IsVpcGateway() pulumi.IntOutput

Describe whether the node enable the gateway capability.

func (ClusterInstanceOutput) KeyId

The key_id of each node(if using key pair to access).

func (ClusterInstanceOutput) LanIp

Describe the lan ip of the node.

func (ClusterInstanceOutput) Mem deprecated

The memory of the node.

Deprecated: It has been deprecated from version 1.16.0. Set 'instance_type' instead.

func (ClusterInstanceOutput) MountTarget

The path which volume is going to be mounted.

func (ClusterInstanceOutput) Password

The password of each node.

func (ClusterInstanceOutput) Period

The puchase duration of the node needed by cvm.

func (ClusterInstanceOutput) RequireWanIp

func (o ClusterInstanceOutput) RequireWanIp() pulumi.IntPtrOutput

Indicate whether wan ip is needed.

func (ClusterInstanceOutput) RootSize

func (o ClusterInstanceOutput) RootSize() pulumi.IntOutput

The size of the root volume.

func (ClusterInstanceOutput) RootType

The type of the root volume. see more from CVM.

func (ClusterInstanceOutput) SgId

The security group id.

func (ClusterInstanceOutput) StorageSize

func (o ClusterInstanceOutput) StorageSize() pulumi.IntOutput

The size of the data volume.

func (ClusterInstanceOutput) StorageType

The type of the data volume. see more from CVM.

func (ClusterInstanceOutput) SubnetId

The subnet id which the node stays in.

func (ClusterInstanceOutput) ToClusterInstanceOutput

func (o ClusterInstanceOutput) ToClusterInstanceOutput() ClusterInstanceOutput

func (ClusterInstanceOutput) ToClusterInstanceOutputWithContext

func (o ClusterInstanceOutput) ToClusterInstanceOutputWithContext(ctx context.Context) ClusterInstanceOutput

func (ClusterInstanceOutput) Unschedulable

func (o ClusterInstanceOutput) Unschedulable() pulumi.IntPtrOutput

Determine whether the node will be schedulable. 0 is the default meaning node will be schedulable. 1 for unschedulable.

func (ClusterInstanceOutput) UserScript

User defined script in a base64-format. The script runs after the kubernetes component is ready on node. see more from CCS api documents.

func (ClusterInstanceOutput) WanIp

Describe the wan ip of the node.

func (ClusterInstanceOutput) ZoneId

The zone which the node stays in.

type ClusterInstanceState

type ClusterInstanceState struct {
	// Describe the reason when node is in abnormal state(if it was).
	AbnormalReason pulumi.StringPtrInput
	// The network bandwidth of the node.
	Bandwidth pulumi.IntPtrInput
	// The network type of the node.
	BandwidthType pulumi.StringPtrInput
	// The id of the cluster.
	ClusterId pulumi.StringPtrInput
	// The cpu of the node.
	//
	// Deprecated: It has been deprecated from version 1.16.0. Set 'instance_type' instead.
	Cpu pulumi.IntPtrInput
	// The type of node needed by cvm.
	CvmType pulumi.StringPtrInput
	// The docker graph path is going to mounted.
	DockerGraphPath pulumi.StringPtrInput
	// An id identify the node, provided by cvm.
	InstanceId pulumi.StringPtrInput
	// The name ot node.
	InstanceName pulumi.StringPtrInput
	// The instance type of the node needed by cvm.
	InstanceType pulumi.StringPtrInput
	// Describe whether the node is normal.
	IsNormal pulumi.IntPtrInput
	// Describe whether the node enable the gateway capability.
	IsVpcGateway pulumi.IntPtrInput
	// The key_id of each node(if using key pair to access).
	KeyId pulumi.StringPtrInput
	// Describe the lan ip of the node.
	LanIp pulumi.StringPtrInput
	// The memory of the node.
	//
	// Deprecated: It has been deprecated from version 1.16.0. Set 'instance_type' instead.
	Mem pulumi.IntPtrInput
	// The path which volume is going to be mounted.
	MountTarget pulumi.StringPtrInput
	// The password of each node.
	Password pulumi.StringPtrInput
	// The puchase duration of the node needed by cvm.
	Period pulumi.IntPtrInput
	// Indicate whether wan ip is needed.
	RequireWanIp pulumi.IntPtrInput
	// The size of the root volume.
	RootSize pulumi.IntPtrInput
	// The type of the root volume. see more from CVM.
	RootType pulumi.StringPtrInput
	// The security group id.
	SgId pulumi.StringPtrInput
	// The size of the data volume.
	StorageSize pulumi.IntPtrInput
	// The type of the data volume. see more from CVM.
	StorageType pulumi.StringPtrInput
	// The subnet id which the node stays in.
	SubnetId pulumi.StringPtrInput
	// Determine whether the node will be schedulable. 0 is the default meaning node will be schedulable. 1 for unschedulable.
	Unschedulable pulumi.IntPtrInput
	// User defined script in a base64-format. The script runs after the kubernetes component is ready on node. see more from
	// CCS api documents.
	UserScript pulumi.StringPtrInput
	// Describe the wan ip of the node.
	WanIp pulumi.StringPtrInput
	// The zone which the node stays in.
	ZoneId pulumi.StringPtrInput
}

func (ClusterInstanceState) ElementType

func (ClusterInstanceState) ElementType() reflect.Type

type ClusterInstancesArgs

type ClusterInstancesArgs struct {
	ClusterId string `pulumi:"clusterId"`
	Limit     *int   `pulumi:"limit"`
}

A collection of arguments for invoking ClusterInstances.

type ClusterInstancesNode

type ClusterInstancesNode struct {
	AbnormalReason string `pulumi:"abnormalReason"`
	Cpu            int    `pulumi:"cpu"`
	InstanceId     string `pulumi:"instanceId"`
	IsNormal       int    `pulumi:"isNormal"`
	LanIp          string `pulumi:"lanIp"`
	Mem            int    `pulumi:"mem"`
	WanIp          string `pulumi:"wanIp"`
}

type ClusterInstancesNodeArgs

type ClusterInstancesNodeArgs struct {
	AbnormalReason pulumi.StringInput `pulumi:"abnormalReason"`
	Cpu            pulumi.IntInput    `pulumi:"cpu"`
	InstanceId     pulumi.StringInput `pulumi:"instanceId"`
	IsNormal       pulumi.IntInput    `pulumi:"isNormal"`
	LanIp          pulumi.StringInput `pulumi:"lanIp"`
	Mem            pulumi.IntInput    `pulumi:"mem"`
	WanIp          pulumi.StringInput `pulumi:"wanIp"`
}

func (ClusterInstancesNodeArgs) ElementType

func (ClusterInstancesNodeArgs) ElementType() reflect.Type

func (ClusterInstancesNodeArgs) ToClusterInstancesNodeOutput

func (i ClusterInstancesNodeArgs) ToClusterInstancesNodeOutput() ClusterInstancesNodeOutput

func (ClusterInstancesNodeArgs) ToClusterInstancesNodeOutputWithContext

func (i ClusterInstancesNodeArgs) ToClusterInstancesNodeOutputWithContext(ctx context.Context) ClusterInstancesNodeOutput

type ClusterInstancesNodeArray

type ClusterInstancesNodeArray []ClusterInstancesNodeInput

func (ClusterInstancesNodeArray) ElementType

func (ClusterInstancesNodeArray) ElementType() reflect.Type

func (ClusterInstancesNodeArray) ToClusterInstancesNodeArrayOutput

func (i ClusterInstancesNodeArray) ToClusterInstancesNodeArrayOutput() ClusterInstancesNodeArrayOutput

func (ClusterInstancesNodeArray) ToClusterInstancesNodeArrayOutputWithContext

func (i ClusterInstancesNodeArray) ToClusterInstancesNodeArrayOutputWithContext(ctx context.Context) ClusterInstancesNodeArrayOutput

type ClusterInstancesNodeArrayInput

type ClusterInstancesNodeArrayInput interface {
	pulumi.Input

	ToClusterInstancesNodeArrayOutput() ClusterInstancesNodeArrayOutput
	ToClusterInstancesNodeArrayOutputWithContext(context.Context) ClusterInstancesNodeArrayOutput
}

ClusterInstancesNodeArrayInput is an input type that accepts ClusterInstancesNodeArray and ClusterInstancesNodeArrayOutput values. You can construct a concrete instance of `ClusterInstancesNodeArrayInput` via:

ClusterInstancesNodeArray{ ClusterInstancesNodeArgs{...} }

type ClusterInstancesNodeArrayOutput

type ClusterInstancesNodeArrayOutput struct{ *pulumi.OutputState }

func (ClusterInstancesNodeArrayOutput) ElementType

func (ClusterInstancesNodeArrayOutput) Index

func (ClusterInstancesNodeArrayOutput) ToClusterInstancesNodeArrayOutput

func (o ClusterInstancesNodeArrayOutput) ToClusterInstancesNodeArrayOutput() ClusterInstancesNodeArrayOutput

func (ClusterInstancesNodeArrayOutput) ToClusterInstancesNodeArrayOutputWithContext

func (o ClusterInstancesNodeArrayOutput) ToClusterInstancesNodeArrayOutputWithContext(ctx context.Context) ClusterInstancesNodeArrayOutput

type ClusterInstancesNodeInput

type ClusterInstancesNodeInput interface {
	pulumi.Input

	ToClusterInstancesNodeOutput() ClusterInstancesNodeOutput
	ToClusterInstancesNodeOutputWithContext(context.Context) ClusterInstancesNodeOutput
}

ClusterInstancesNodeInput is an input type that accepts ClusterInstancesNodeArgs and ClusterInstancesNodeOutput values. You can construct a concrete instance of `ClusterInstancesNodeInput` via:

ClusterInstancesNodeArgs{...}

type ClusterInstancesNodeOutput

type ClusterInstancesNodeOutput struct{ *pulumi.OutputState }

func (ClusterInstancesNodeOutput) AbnormalReason

func (o ClusterInstancesNodeOutput) AbnormalReason() pulumi.StringOutput

func (ClusterInstancesNodeOutput) Cpu

func (ClusterInstancesNodeOutput) ElementType

func (ClusterInstancesNodeOutput) ElementType() reflect.Type

func (ClusterInstancesNodeOutput) InstanceId

func (ClusterInstancesNodeOutput) IsNormal

func (ClusterInstancesNodeOutput) LanIp

func (ClusterInstancesNodeOutput) Mem

func (ClusterInstancesNodeOutput) ToClusterInstancesNodeOutput

func (o ClusterInstancesNodeOutput) ToClusterInstancesNodeOutput() ClusterInstancesNodeOutput

func (ClusterInstancesNodeOutput) ToClusterInstancesNodeOutputWithContext

func (o ClusterInstancesNodeOutput) ToClusterInstancesNodeOutputWithContext(ctx context.Context) ClusterInstancesNodeOutput

func (ClusterInstancesNodeOutput) WanIp

type ClusterInstancesOutputArgs

type ClusterInstancesOutputArgs struct {
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	Limit     pulumi.IntPtrInput `pulumi:"limit"`
}

A collection of arguments for invoking ClusterInstances.

func (ClusterInstancesOutputArgs) ElementType

func (ClusterInstancesOutputArgs) ElementType() reflect.Type

type ClusterInstancesResult

type ClusterInstancesResult struct {
	ClusterId string `pulumi:"clusterId"`
	// The provider-assigned unique ID for this managed resource.
	Id         string                 `pulumi:"id"`
	Limit      *int                   `pulumi:"limit"`
	Nodes      []ClusterInstancesNode `pulumi:"nodes"`
	TotalCount int                    `pulumi:"totalCount"`
}

A collection of values returned by ClusterInstances.

type ClusterInstancesResultOutput

type ClusterInstancesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by ClusterInstances.

func (ClusterInstancesResultOutput) ClusterId

func (ClusterInstancesResultOutput) ElementType

func (ClusterInstancesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (ClusterInstancesResultOutput) Limit

func (ClusterInstancesResultOutput) Nodes

func (ClusterInstancesResultOutput) ToClusterInstancesResultOutput

func (o ClusterInstancesResultOutput) ToClusterInstancesResultOutput() ClusterInstancesResultOutput

func (ClusterInstancesResultOutput) ToClusterInstancesResultOutputWithContext

func (o ClusterInstancesResultOutput) ToClusterInstancesResultOutputWithContext(ctx context.Context) ClusterInstancesResultOutput

func (ClusterInstancesResultOutput) TotalCount

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 ClusterOutput

type ClusterOutput struct{ *pulumi.OutputState }

func (ClusterOutput) Bandwidth

func (o ClusterOutput) Bandwidth() pulumi.IntOutput

The network bandwidth of the node.

func (ClusterOutput) BandwidthType

func (o ClusterOutput) BandwidthType() pulumi.StringOutput

The network type of the node.

func (ClusterOutput) ClusterCidr

func (o ClusterOutput) ClusterCidr() pulumi.StringOutput

The CIDR which the cluster is going to use.

func (ClusterOutput) ClusterDesc

func (o ClusterOutput) ClusterDesc() pulumi.StringPtrOutput

The description of the cluster.

func (ClusterOutput) ClusterName

func (o ClusterOutput) ClusterName() pulumi.StringOutput

The name of the cluster.

func (ClusterOutput) ClusterVersion

func (o ClusterOutput) ClusterVersion() pulumi.StringPtrOutput

The kubernetes version of the cluster.

func (ClusterOutput) Cpu deprecated

The cpu of the node.

Deprecated: It has been deprecated from version 1.16.0. Set 'instance_type' instead.

func (ClusterOutput) CvmType

func (o ClusterOutput) CvmType() pulumi.StringPtrOutput

The type of node needed by cvm.

func (ClusterOutput) DockerGraphPath

func (o ClusterOutput) DockerGraphPath() pulumi.StringPtrOutput

The docker graph path is going to mounted.

func (ClusterOutput) ElementType

func (ClusterOutput) ElementType() reflect.Type

func (ClusterOutput) GoodsNum

func (o ClusterOutput) GoodsNum() pulumi.IntOutput

The node number is going to create in the cluster.

func (ClusterOutput) InstanceName

func (o ClusterOutput) InstanceName() pulumi.StringPtrOutput

The name ot node.

func (ClusterOutput) InstanceType

func (o ClusterOutput) InstanceType() pulumi.StringOutput

The instance type of the node needed by cvm.

func (ClusterOutput) IsVpcGateway

func (o ClusterOutput) IsVpcGateway() pulumi.IntOutput

Describe whether the node enable the gateway capability.

func (ClusterOutput) KeyId

The key_id of each node(if using key pair to access).

func (ClusterOutput) KubernetesVersion

func (o ClusterOutput) KubernetesVersion() pulumi.StringOutput

The kubernetes version of the cluster.

func (ClusterOutput) Mem deprecated

The memory of the node.

Deprecated: It has been deprecated from version 1.16.0. Set 'instance_type' instead.

func (ClusterOutput) MountTarget

func (o ClusterOutput) MountTarget() pulumi.StringPtrOutput

The path which volume is going to be mounted.

func (ClusterOutput) NodesNum

func (o ClusterOutput) NodesNum() pulumi.IntOutput

The node number of the cluster.

func (ClusterOutput) NodesStatus

func (o ClusterOutput) NodesStatus() pulumi.StringOutput

The node status of the cluster.

func (ClusterOutput) OsName

func (o ClusterOutput) OsName() pulumi.StringOutput

The system os name of the node.

func (ClusterOutput) Password

func (o ClusterOutput) Password() pulumi.StringPtrOutput

The password of each node.

func (ClusterOutput) Period

func (o ClusterOutput) Period() pulumi.IntPtrOutput

The puchase duration of the node needed by cvm.

func (ClusterOutput) RequireWanIp

func (o ClusterOutput) RequireWanIp() pulumi.IntPtrOutput

Indicate whether wan ip is needed.

func (ClusterOutput) RootSize

func (o ClusterOutput) RootSize() pulumi.IntOutput

The size of the root volume.

func (ClusterOutput) RootType

func (o ClusterOutput) RootType() pulumi.StringPtrOutput

The type of the root volume. see more from CVM.

func (ClusterOutput) SgId

The security group id.

func (ClusterOutput) StorageSize

func (o ClusterOutput) StorageSize() pulumi.IntOutput

The size of the data volume.

func (ClusterOutput) StorageType

func (o ClusterOutput) StorageType() pulumi.StringPtrOutput

The type of the data volume. see more from CVM.

func (ClusterOutput) SubnetId

func (o ClusterOutput) SubnetId() pulumi.StringOutput

The subnet id which the node stays in.

func (ClusterOutput) ToClusterOutput

func (o ClusterOutput) ToClusterOutput() ClusterOutput

func (ClusterOutput) ToClusterOutputWithContext

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

func (ClusterOutput) TotalCpu

func (o ClusterOutput) TotalCpu() pulumi.IntOutput

The total cpu of the cluster.

func (ClusterOutput) TotalMem

func (o ClusterOutput) TotalMem() pulumi.IntOutput

The total memory of the cluster.

func (ClusterOutput) Unschedulable

func (o ClusterOutput) Unschedulable() pulumi.IntPtrOutput

Determine whether the node will be schedulable. 0 is the default meaning node will be schedulable. 1 for unschedulable.

func (ClusterOutput) UserScript

func (o ClusterOutput) UserScript() pulumi.StringPtrOutput

User defined script in a base64-format. The script runs after the kubernetes component is ready on node. see more from CCS api documents.

func (ClusterOutput) VpcId

func (o ClusterOutput) VpcId() pulumi.StringOutput

Specify vpc which the node(s) stay in.

func (ClusterOutput) ZoneId

func (o ClusterOutput) ZoneId() pulumi.StringOutput

The zone which the node stays in.

type ClusterState

type ClusterState struct {
	// The network bandwidth of the node.
	Bandwidth pulumi.IntPtrInput
	// The network type of the node.
	BandwidthType pulumi.StringPtrInput
	// The CIDR which the cluster is going to use.
	ClusterCidr pulumi.StringPtrInput
	// The description of the cluster.
	ClusterDesc pulumi.StringPtrInput
	// The name of the cluster.
	ClusterName pulumi.StringPtrInput
	// The kubernetes version of the cluster.
	ClusterVersion pulumi.StringPtrInput
	// The cpu of the node.
	//
	// Deprecated: It has been deprecated from version 1.16.0. Set 'instance_type' instead.
	Cpu pulumi.IntPtrInput
	// The type of node needed by cvm.
	CvmType pulumi.StringPtrInput
	// The docker graph path is going to mounted.
	DockerGraphPath pulumi.StringPtrInput
	// The node number is going to create in the cluster.
	GoodsNum pulumi.IntPtrInput
	// The name ot node.
	InstanceName pulumi.StringPtrInput
	// The instance type of the node needed by cvm.
	InstanceType pulumi.StringPtrInput
	// Describe whether the node enable the gateway capability.
	IsVpcGateway pulumi.IntPtrInput
	// The key_id of each node(if using key pair to access).
	KeyId pulumi.StringPtrInput
	// The kubernetes version of the cluster.
	KubernetesVersion pulumi.StringPtrInput
	// The memory of the node.
	//
	// Deprecated: It has been deprecated from version 1.16.0. Set 'instance_type' instead.
	Mem pulumi.IntPtrInput
	// The path which volume is going to be mounted.
	MountTarget pulumi.StringPtrInput
	// The node number of the cluster.
	NodesNum pulumi.IntPtrInput
	// The node status of the cluster.
	NodesStatus pulumi.StringPtrInput
	// The system os name of the node.
	OsName pulumi.StringPtrInput
	// The password of each node.
	Password pulumi.StringPtrInput
	// The puchase duration of the node needed by cvm.
	Period pulumi.IntPtrInput
	// Indicate whether wan ip is needed.
	RequireWanIp pulumi.IntPtrInput
	// The size of the root volume.
	RootSize pulumi.IntPtrInput
	// The type of the root volume. see more from CVM.
	RootType pulumi.StringPtrInput
	// The security group id.
	SgId pulumi.StringPtrInput
	// The size of the data volume.
	StorageSize pulumi.IntPtrInput
	// The type of the data volume. see more from CVM.
	StorageType pulumi.StringPtrInput
	// The subnet id which the node stays in.
	SubnetId pulumi.StringPtrInput
	// The total cpu of the cluster.
	TotalCpu pulumi.IntPtrInput
	// The total memory of the cluster.
	TotalMem pulumi.IntPtrInput
	// Determine whether the node will be schedulable. 0 is the default meaning node will be schedulable. 1 for unschedulable.
	Unschedulable pulumi.IntPtrInput
	// User defined script in a base64-format. The script runs after the kubernetes component is ready on node. see more from
	// CCS api documents.
	UserScript pulumi.StringPtrInput
	// Specify vpc which the node(s) stay in.
	VpcId pulumi.StringPtrInput
	// The zone which the node stays in.
	ZoneId pulumi.StringPtrInput
}

func (ClusterState) ElementType

func (ClusterState) ElementType() reflect.Type

type ClustersArgs

type ClustersArgs struct {
	ClusterId *string `pulumi:"clusterId"`
	Limit     *int    `pulumi:"limit"`
}

A collection of arguments for invoking Clusters.

type ClustersCluster

type ClustersCluster struct {
	ClusterId                       string `pulumi:"clusterId"`
	ClusterName                     string `pulumi:"clusterName"`
	Description                     string `pulumi:"description"`
	KubernetesVersion               string `pulumi:"kubernetesVersion"`
	NodesNum                        int    `pulumi:"nodesNum"`
	NodesStatus                     string `pulumi:"nodesStatus"`
	SecurityCertificationAuthority  string `pulumi:"securityCertificationAuthority"`
	SecurityClusterExternalEndpoint string `pulumi:"securityClusterExternalEndpoint"`
	SecurityPassword                string `pulumi:"securityPassword"`
	SecurityUsername                string `pulumi:"securityUsername"`
	TotalCpu                        int    `pulumi:"totalCpu"`
	TotalMem                        int    `pulumi:"totalMem"`
}

type ClustersClusterArgs

type ClustersClusterArgs struct {
	ClusterId                       pulumi.StringInput `pulumi:"clusterId"`
	ClusterName                     pulumi.StringInput `pulumi:"clusterName"`
	Description                     pulumi.StringInput `pulumi:"description"`
	KubernetesVersion               pulumi.StringInput `pulumi:"kubernetesVersion"`
	NodesNum                        pulumi.IntInput    `pulumi:"nodesNum"`
	NodesStatus                     pulumi.StringInput `pulumi:"nodesStatus"`
	SecurityCertificationAuthority  pulumi.StringInput `pulumi:"securityCertificationAuthority"`
	SecurityClusterExternalEndpoint pulumi.StringInput `pulumi:"securityClusterExternalEndpoint"`
	SecurityPassword                pulumi.StringInput `pulumi:"securityPassword"`
	SecurityUsername                pulumi.StringInput `pulumi:"securityUsername"`
	TotalCpu                        pulumi.IntInput    `pulumi:"totalCpu"`
	TotalMem                        pulumi.IntInput    `pulumi:"totalMem"`
}

func (ClustersClusterArgs) ElementType

func (ClustersClusterArgs) ElementType() reflect.Type

func (ClustersClusterArgs) ToClustersClusterOutput

func (i ClustersClusterArgs) ToClustersClusterOutput() ClustersClusterOutput

func (ClustersClusterArgs) ToClustersClusterOutputWithContext

func (i ClustersClusterArgs) ToClustersClusterOutputWithContext(ctx context.Context) ClustersClusterOutput

type ClustersClusterArray

type ClustersClusterArray []ClustersClusterInput

func (ClustersClusterArray) ElementType

func (ClustersClusterArray) ElementType() reflect.Type

func (ClustersClusterArray) ToClustersClusterArrayOutput

func (i ClustersClusterArray) ToClustersClusterArrayOutput() ClustersClusterArrayOutput

func (ClustersClusterArray) ToClustersClusterArrayOutputWithContext

func (i ClustersClusterArray) ToClustersClusterArrayOutputWithContext(ctx context.Context) ClustersClusterArrayOutput

type ClustersClusterArrayInput

type ClustersClusterArrayInput interface {
	pulumi.Input

	ToClustersClusterArrayOutput() ClustersClusterArrayOutput
	ToClustersClusterArrayOutputWithContext(context.Context) ClustersClusterArrayOutput
}

ClustersClusterArrayInput is an input type that accepts ClustersClusterArray and ClustersClusterArrayOutput values. You can construct a concrete instance of `ClustersClusterArrayInput` via:

ClustersClusterArray{ ClustersClusterArgs{...} }

type ClustersClusterArrayOutput

type ClustersClusterArrayOutput struct{ *pulumi.OutputState }

func (ClustersClusterArrayOutput) ElementType

func (ClustersClusterArrayOutput) ElementType() reflect.Type

func (ClustersClusterArrayOutput) Index

func (ClustersClusterArrayOutput) ToClustersClusterArrayOutput

func (o ClustersClusterArrayOutput) ToClustersClusterArrayOutput() ClustersClusterArrayOutput

func (ClustersClusterArrayOutput) ToClustersClusterArrayOutputWithContext

func (o ClustersClusterArrayOutput) ToClustersClusterArrayOutputWithContext(ctx context.Context) ClustersClusterArrayOutput

type ClustersClusterInput

type ClustersClusterInput interface {
	pulumi.Input

	ToClustersClusterOutput() ClustersClusterOutput
	ToClustersClusterOutputWithContext(context.Context) ClustersClusterOutput
}

ClustersClusterInput is an input type that accepts ClustersClusterArgs and ClustersClusterOutput values. You can construct a concrete instance of `ClustersClusterInput` via:

ClustersClusterArgs{...}

type ClustersClusterOutput

type ClustersClusterOutput struct{ *pulumi.OutputState }

func (ClustersClusterOutput) ClusterId

func (ClustersClusterOutput) ClusterName

func (o ClustersClusterOutput) ClusterName() pulumi.StringOutput

func (ClustersClusterOutput) Description

func (o ClustersClusterOutput) Description() pulumi.StringOutput

func (ClustersClusterOutput) ElementType

func (ClustersClusterOutput) ElementType() reflect.Type

func (ClustersClusterOutput) KubernetesVersion

func (o ClustersClusterOutput) KubernetesVersion() pulumi.StringOutput

func (ClustersClusterOutput) NodesNum

func (o ClustersClusterOutput) NodesNum() pulumi.IntOutput

func (ClustersClusterOutput) NodesStatus

func (o ClustersClusterOutput) NodesStatus() pulumi.StringOutput

func (ClustersClusterOutput) SecurityCertificationAuthority

func (o ClustersClusterOutput) SecurityCertificationAuthority() pulumi.StringOutput

func (ClustersClusterOutput) SecurityClusterExternalEndpoint

func (o ClustersClusterOutput) SecurityClusterExternalEndpoint() pulumi.StringOutput

func (ClustersClusterOutput) SecurityPassword

func (o ClustersClusterOutput) SecurityPassword() pulumi.StringOutput

func (ClustersClusterOutput) SecurityUsername

func (o ClustersClusterOutput) SecurityUsername() pulumi.StringOutput

func (ClustersClusterOutput) ToClustersClusterOutput

func (o ClustersClusterOutput) ToClustersClusterOutput() ClustersClusterOutput

func (ClustersClusterOutput) ToClustersClusterOutputWithContext

func (o ClustersClusterOutput) ToClustersClusterOutputWithContext(ctx context.Context) ClustersClusterOutput

func (ClustersClusterOutput) TotalCpu

func (o ClustersClusterOutput) TotalCpu() pulumi.IntOutput

func (ClustersClusterOutput) TotalMem

func (o ClustersClusterOutput) TotalMem() pulumi.IntOutput

type ClustersOutputArgs

type ClustersOutputArgs struct {
	ClusterId pulumi.StringPtrInput `pulumi:"clusterId"`
	Limit     pulumi.IntPtrInput    `pulumi:"limit"`
}

A collection of arguments for invoking Clusters.

func (ClustersOutputArgs) ElementType

func (ClustersOutputArgs) ElementType() reflect.Type

type ClustersResult

type ClustersResult struct {
	ClusterId *string           `pulumi:"clusterId"`
	Clusters  []ClustersCluster `pulumi:"clusters"`
	// The provider-assigned unique ID for this managed resource.
	Id         string `pulumi:"id"`
	Limit      *int   `pulumi:"limit"`
	TotalCount int    `pulumi:"totalCount"`
}

A collection of values returned by Clusters.

func Clusters

func Clusters(ctx *pulumi.Context, args *ClustersArgs, opts ...pulumi.InvokeOption) (*ClustersResult, error)

type ClustersResultOutput

type ClustersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by Clusters.

func (ClustersResultOutput) ClusterId

func (ClustersResultOutput) Clusters

func (ClustersResultOutput) ElementType

func (ClustersResultOutput) ElementType() reflect.Type

func (ClustersResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (ClustersResultOutput) Limit

func (ClustersResultOutput) ToClustersResultOutput

func (o ClustersResultOutput) ToClustersResultOutput() ClustersResultOutput

func (ClustersResultOutput) ToClustersResultOutputWithContext

func (o ClustersResultOutput) ToClustersResultOutputWithContext(ctx context.Context) ClustersResultOutput

func (ClustersResultOutput) TotalCount

func (o ClustersResultOutput) TotalCount() pulumi.IntOutput

Jump to

Keyboard shortcuts

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