Documentation
¶
Index ¶
- type Cluster
- type ClusterArgs
- type ClusterArray
- type ClusterArrayInput
- type ClusterArrayOutput
- type ClusterInput
- type ClusterInstance
- type ClusterInstanceArgs
- type ClusterInstanceArray
- type ClusterInstanceArrayInput
- type ClusterInstanceArrayOutput
- func (ClusterInstanceArrayOutput) ElementType() reflect.Type
- func (o ClusterInstanceArrayOutput) Index(i pulumi.IntInput) ClusterInstanceOutput
- func (o ClusterInstanceArrayOutput) ToClusterInstanceArrayOutput() ClusterInstanceArrayOutput
- func (o ClusterInstanceArrayOutput) ToClusterInstanceArrayOutputWithContext(ctx context.Context) ClusterInstanceArrayOutput
- type ClusterInstanceInput
- type ClusterInstanceMap
- type ClusterInstanceMapInput
- type ClusterInstanceMapOutput
- func (ClusterInstanceMapOutput) ElementType() reflect.Type
- func (o ClusterInstanceMapOutput) MapIndex(k pulumi.StringInput) ClusterInstanceOutput
- func (o ClusterInstanceMapOutput) ToClusterInstanceMapOutput() ClusterInstanceMapOutput
- func (o ClusterInstanceMapOutput) ToClusterInstanceMapOutputWithContext(ctx context.Context) ClusterInstanceMapOutput
- type ClusterInstanceOutput
- func (o ClusterInstanceOutput) AbnormalReason() pulumi.StringOutput
- func (o ClusterInstanceOutput) Bandwidth() pulumi.IntOutput
- func (o ClusterInstanceOutput) BandwidthType() pulumi.StringOutput
- func (o ClusterInstanceOutput) ClusterId() pulumi.StringOutput
- func (o ClusterInstanceOutput) Cpu() pulumi.IntPtrOutputdeprecated
- func (o ClusterInstanceOutput) CvmType() pulumi.StringPtrOutput
- func (o ClusterInstanceOutput) DockerGraphPath() pulumi.StringPtrOutput
- func (ClusterInstanceOutput) ElementType() reflect.Type
- func (o ClusterInstanceOutput) InstanceId() pulumi.StringOutput
- func (o ClusterInstanceOutput) InstanceName() pulumi.StringPtrOutput
- func (o ClusterInstanceOutput) InstanceType() pulumi.StringPtrOutput
- func (o ClusterInstanceOutput) IsNormal() pulumi.IntOutput
- func (o ClusterInstanceOutput) IsVpcGateway() pulumi.IntOutput
- func (o ClusterInstanceOutput) KeyId() pulumi.StringPtrOutput
- func (o ClusterInstanceOutput) LanIp() pulumi.StringOutput
- func (o ClusterInstanceOutput) Mem() pulumi.IntPtrOutputdeprecated
- func (o ClusterInstanceOutput) MountTarget() pulumi.StringPtrOutput
- func (o ClusterInstanceOutput) Password() pulumi.StringPtrOutput
- func (o ClusterInstanceOutput) Period() pulumi.IntPtrOutput
- func (o ClusterInstanceOutput) RequireWanIp() pulumi.IntPtrOutput
- func (o ClusterInstanceOutput) RootSize() pulumi.IntOutput
- func (o ClusterInstanceOutput) RootType() pulumi.StringPtrOutput
- func (o ClusterInstanceOutput) SgId() pulumi.StringPtrOutput
- func (o ClusterInstanceOutput) StorageSize() pulumi.IntOutput
- func (o ClusterInstanceOutput) StorageType() pulumi.StringPtrOutput
- func (o ClusterInstanceOutput) SubnetId() pulumi.StringOutput
- func (o ClusterInstanceOutput) ToClusterInstanceOutput() ClusterInstanceOutput
- func (o ClusterInstanceOutput) ToClusterInstanceOutputWithContext(ctx context.Context) ClusterInstanceOutput
- func (o ClusterInstanceOutput) Unschedulable() pulumi.IntPtrOutput
- func (o ClusterInstanceOutput) UserScript() pulumi.StringPtrOutput
- func (o ClusterInstanceOutput) WanIp() pulumi.StringOutput
- func (o ClusterInstanceOutput) ZoneId() pulumi.StringOutput
- type ClusterInstanceState
- type ClusterMap
- type ClusterMapInput
- type ClusterMapOutput
- type ClusterOutput
- func (o ClusterOutput) Bandwidth() pulumi.IntOutput
- func (o ClusterOutput) BandwidthType() pulumi.StringOutput
- func (o ClusterOutput) ClusterCidr() pulumi.StringOutput
- func (o ClusterOutput) ClusterDesc() pulumi.StringPtrOutput
- func (o ClusterOutput) ClusterName() pulumi.StringOutput
- func (o ClusterOutput) ClusterVersion() pulumi.StringPtrOutput
- func (o ClusterOutput) Cpu() pulumi.IntPtrOutputdeprecated
- func (o ClusterOutput) CvmType() pulumi.StringPtrOutput
- func (o ClusterOutput) DockerGraphPath() pulumi.StringPtrOutput
- func (ClusterOutput) ElementType() reflect.Type
- func (o ClusterOutput) GoodsNum() pulumi.IntOutput
- func (o ClusterOutput) InstanceName() pulumi.StringPtrOutput
- func (o ClusterOutput) InstanceType() pulumi.StringOutput
- func (o ClusterOutput) IsVpcGateway() pulumi.IntOutput
- func (o ClusterOutput) KeyId() pulumi.StringPtrOutput
- func (o ClusterOutput) KubernetesVersion() pulumi.StringOutput
- func (o ClusterOutput) Mem() pulumi.IntPtrOutputdeprecated
- func (o ClusterOutput) MountTarget() pulumi.StringPtrOutput
- func (o ClusterOutput) NodesNum() pulumi.IntOutput
- func (o ClusterOutput) NodesStatus() pulumi.StringOutput
- func (o ClusterOutput) OsName() pulumi.StringOutput
- func (o ClusterOutput) Password() pulumi.StringPtrOutput
- func (o ClusterOutput) Period() pulumi.IntPtrOutput
- func (o ClusterOutput) RequireWanIp() pulumi.IntPtrOutput
- func (o ClusterOutput) RootSize() pulumi.IntOutput
- func (o ClusterOutput) RootType() pulumi.StringPtrOutput
- func (o ClusterOutput) SgId() pulumi.StringPtrOutput
- func (o ClusterOutput) StorageSize() pulumi.IntOutput
- func (o ClusterOutput) StorageType() pulumi.StringPtrOutput
- func (o ClusterOutput) SubnetId() pulumi.StringOutput
- func (o ClusterOutput) ToClusterOutput() ClusterOutput
- func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput
- func (o ClusterOutput) TotalCpu() pulumi.IntOutput
- func (o ClusterOutput) TotalMem() pulumi.IntOutput
- func (o ClusterOutput) Unschedulable() pulumi.IntPtrOutput
- func (o ClusterOutput) UserScript() pulumi.StringPtrOutput
- func (o ClusterOutput) VpcId() pulumi.StringOutput
- func (o ClusterOutput) ZoneId() pulumi.StringOutput
- type ClusterState
- type GetClusterInstancesArgs
- type GetClusterInstancesNode
- type GetClusterInstancesNodeArgs
- type GetClusterInstancesNodeArray
- func (GetClusterInstancesNodeArray) ElementType() reflect.Type
- func (i GetClusterInstancesNodeArray) ToGetClusterInstancesNodeArrayOutput() GetClusterInstancesNodeArrayOutput
- func (i GetClusterInstancesNodeArray) ToGetClusterInstancesNodeArrayOutputWithContext(ctx context.Context) GetClusterInstancesNodeArrayOutput
- type GetClusterInstancesNodeArrayInput
- type GetClusterInstancesNodeArrayOutput
- func (GetClusterInstancesNodeArrayOutput) ElementType() reflect.Type
- func (o GetClusterInstancesNodeArrayOutput) Index(i pulumi.IntInput) GetClusterInstancesNodeOutput
- func (o GetClusterInstancesNodeArrayOutput) ToGetClusterInstancesNodeArrayOutput() GetClusterInstancesNodeArrayOutput
- func (o GetClusterInstancesNodeArrayOutput) ToGetClusterInstancesNodeArrayOutputWithContext(ctx context.Context) GetClusterInstancesNodeArrayOutput
- type GetClusterInstancesNodeInput
- type GetClusterInstancesNodeOutput
- func (o GetClusterInstancesNodeOutput) AbnormalReason() pulumi.StringOutput
- func (o GetClusterInstancesNodeOutput) Cpu() pulumi.IntOutput
- func (GetClusterInstancesNodeOutput) ElementType() reflect.Type
- func (o GetClusterInstancesNodeOutput) InstanceId() pulumi.StringOutput
- func (o GetClusterInstancesNodeOutput) IsNormal() pulumi.IntOutput
- func (o GetClusterInstancesNodeOutput) LanIp() pulumi.StringOutput
- func (o GetClusterInstancesNodeOutput) Mem() pulumi.IntOutput
- func (o GetClusterInstancesNodeOutput) ToGetClusterInstancesNodeOutput() GetClusterInstancesNodeOutput
- func (o GetClusterInstancesNodeOutput) ToGetClusterInstancesNodeOutputWithContext(ctx context.Context) GetClusterInstancesNodeOutput
- func (o GetClusterInstancesNodeOutput) WanIp() pulumi.StringOutput
- type GetClusterInstancesOutputArgs
- type GetClusterInstancesResult
- type GetClusterInstancesResultOutput
- func (o GetClusterInstancesResultOutput) ClusterId() pulumi.StringOutput
- func (GetClusterInstancesResultOutput) ElementType() reflect.Type
- func (o GetClusterInstancesResultOutput) Id() pulumi.StringOutput
- func (o GetClusterInstancesResultOutput) Limit() pulumi.IntPtrOutput
- func (o GetClusterInstancesResultOutput) Nodes() GetClusterInstancesNodeArrayOutput
- func (o GetClusterInstancesResultOutput) ToGetClusterInstancesResultOutput() GetClusterInstancesResultOutput
- func (o GetClusterInstancesResultOutput) ToGetClusterInstancesResultOutputWithContext(ctx context.Context) GetClusterInstancesResultOutput
- func (o GetClusterInstancesResultOutput) TotalCount() pulumi.IntOutput
- type GetClustersArgs
- type GetClustersCluster
- type GetClustersClusterArgs
- type GetClustersClusterArray
- type GetClustersClusterArrayInput
- type GetClustersClusterArrayOutput
- func (GetClustersClusterArrayOutput) ElementType() reflect.Type
- func (o GetClustersClusterArrayOutput) Index(i pulumi.IntInput) GetClustersClusterOutput
- func (o GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutput() GetClustersClusterArrayOutput
- func (o GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutputWithContext(ctx context.Context) GetClustersClusterArrayOutput
- type GetClustersClusterInput
- type GetClustersClusterOutput
- func (o GetClustersClusterOutput) ClusterId() pulumi.StringOutput
- func (o GetClustersClusterOutput) ClusterName() pulumi.StringOutput
- func (o GetClustersClusterOutput) Description() pulumi.StringOutput
- func (GetClustersClusterOutput) ElementType() reflect.Type
- func (o GetClustersClusterOutput) KubernetesVersion() pulumi.StringOutput
- func (o GetClustersClusterOutput) NodesNum() pulumi.IntOutput
- func (o GetClustersClusterOutput) NodesStatus() pulumi.StringOutput
- func (o GetClustersClusterOutput) SecurityCertificationAuthority() pulumi.StringOutput
- func (o GetClustersClusterOutput) SecurityClusterExternalEndpoint() pulumi.StringOutput
- func (o GetClustersClusterOutput) SecurityPassword() pulumi.StringOutput
- func (o GetClustersClusterOutput) SecurityUsername() pulumi.StringOutput
- func (o GetClustersClusterOutput) ToGetClustersClusterOutput() GetClustersClusterOutput
- func (o GetClustersClusterOutput) ToGetClustersClusterOutputWithContext(ctx context.Context) GetClustersClusterOutput
- func (o GetClustersClusterOutput) TotalCpu() pulumi.IntOutput
- func (o GetClustersClusterOutput) TotalMem() pulumi.IntOutput
- type GetClustersOutputArgs
- type GetClustersResult
- type GetClustersResultOutput
- func (o GetClustersResultOutput) ClusterId() pulumi.StringPtrOutput
- func (o GetClustersResultOutput) Clusters() GetClustersClusterArrayOutput
- func (GetClustersResultOutput) ElementType() reflect.Type
- func (o GetClustersResultOutput) Id() pulumi.StringOutput
- func (o GetClustersResultOutput) Limit() pulumi.IntPtrOutput
- func (o GetClustersResultOutput) ToGetClustersResultOutput() GetClustersResultOutput
- func (o GetClustersResultOutput) ToGetClustersResultOutputWithContext(ctx context.Context) GetClustersResultOutput
- func (o GetClustersResultOutput) TotalCount() pulumi.IntOutput
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) 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 (o ClusterArrayOutput) Index(i pulumi.IntInput) ClusterOutput
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 (o ClusterInstanceArrayOutput) Index(i pulumi.IntInput) ClusterInstanceOutput
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 (o ClusterInstanceMapOutput) MapIndex(k pulumi.StringInput) ClusterInstanceOutput
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 ¶
func (o ClusterInstanceOutput) ClusterId() pulumi.StringOutput
The id of the cluster.
func (ClusterInstanceOutput) Cpu
deprecated
func (o ClusterInstanceOutput) Cpu() pulumi.IntPtrOutput
The cpu of the node.
Deprecated: It has been deprecated from version 1.16.0. Set 'instance_type' instead.
func (ClusterInstanceOutput) CvmType ¶
func (o ClusterInstanceOutput) CvmType() pulumi.StringPtrOutput
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 ¶
func (o ClusterInstanceOutput) KeyId() pulumi.StringPtrOutput
The key_id of each node(if using key pair to access).
func (ClusterInstanceOutput) LanIp ¶
func (o ClusterInstanceOutput) LanIp() pulumi.StringOutput
Describe the lan ip of the node.
func (ClusterInstanceOutput) Mem
deprecated
func (o ClusterInstanceOutput) Mem() pulumi.IntPtrOutput
The memory of the node.
Deprecated: It has been deprecated from version 1.16.0. Set 'instance_type' instead.
func (ClusterInstanceOutput) MountTarget ¶
func (o ClusterInstanceOutput) MountTarget() pulumi.StringPtrOutput
The path which volume is going to be mounted.
func (ClusterInstanceOutput) Password ¶
func (o ClusterInstanceOutput) Password() pulumi.StringPtrOutput
The password of each node.
func (ClusterInstanceOutput) Period ¶
func (o ClusterInstanceOutput) Period() pulumi.IntPtrOutput
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 ¶
func (o ClusterInstanceOutput) RootType() pulumi.StringPtrOutput
The type of the root volume. see more from CVM.
func (ClusterInstanceOutput) SgId ¶
func (o ClusterInstanceOutput) SgId() pulumi.StringPtrOutput
The security group id.
func (ClusterInstanceOutput) StorageSize ¶
func (o ClusterInstanceOutput) StorageSize() pulumi.IntOutput
The size of the data volume.
func (ClusterInstanceOutput) StorageType ¶
func (o ClusterInstanceOutput) StorageType() pulumi.StringPtrOutput
The type of the data volume. see more from CVM.
func (ClusterInstanceOutput) SubnetId ¶
func (o ClusterInstanceOutput) SubnetId() pulumi.StringOutput
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 ¶
func (o ClusterInstanceOutput) 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 (ClusterInstanceOutput) WanIp ¶
func (o ClusterInstanceOutput) WanIp() pulumi.StringOutput
Describe the wan ip of the node.
func (ClusterInstanceOutput) ZoneId ¶
func (o ClusterInstanceOutput) ZoneId() pulumi.StringOutput
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 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 (o ClusterMapOutput) MapIndex(k pulumi.StringInput) ClusterOutput
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
func (o ClusterOutput) Cpu() pulumi.IntPtrOutput
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 ¶
func (o ClusterOutput) KeyId() pulumi.StringPtrOutput
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
func (o ClusterOutput) Mem() pulumi.IntPtrOutput
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 ¶
func (o ClusterOutput) SgId() pulumi.StringPtrOutput
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 GetClusterInstancesArgs ¶
type GetClusterInstancesArgs struct { ClusterId string `pulumi:"clusterId"` Limit *int `pulumi:"limit"` }
A collection of arguments for invoking getClusterInstances.
type GetClusterInstancesNode ¶
type GetClusterInstancesNodeArgs ¶
type GetClusterInstancesNodeArgs 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 (GetClusterInstancesNodeArgs) ElementType ¶
func (GetClusterInstancesNodeArgs) ElementType() reflect.Type
func (GetClusterInstancesNodeArgs) ToGetClusterInstancesNodeOutput ¶
func (i GetClusterInstancesNodeArgs) ToGetClusterInstancesNodeOutput() GetClusterInstancesNodeOutput
func (GetClusterInstancesNodeArgs) ToGetClusterInstancesNodeOutputWithContext ¶
func (i GetClusterInstancesNodeArgs) ToGetClusterInstancesNodeOutputWithContext(ctx context.Context) GetClusterInstancesNodeOutput
type GetClusterInstancesNodeArray ¶
type GetClusterInstancesNodeArray []GetClusterInstancesNodeInput
func (GetClusterInstancesNodeArray) ElementType ¶
func (GetClusterInstancesNodeArray) ElementType() reflect.Type
func (GetClusterInstancesNodeArray) ToGetClusterInstancesNodeArrayOutput ¶
func (i GetClusterInstancesNodeArray) ToGetClusterInstancesNodeArrayOutput() GetClusterInstancesNodeArrayOutput
func (GetClusterInstancesNodeArray) ToGetClusterInstancesNodeArrayOutputWithContext ¶
func (i GetClusterInstancesNodeArray) ToGetClusterInstancesNodeArrayOutputWithContext(ctx context.Context) GetClusterInstancesNodeArrayOutput
type GetClusterInstancesNodeArrayInput ¶
type GetClusterInstancesNodeArrayInput interface { pulumi.Input ToGetClusterInstancesNodeArrayOutput() GetClusterInstancesNodeArrayOutput ToGetClusterInstancesNodeArrayOutputWithContext(context.Context) GetClusterInstancesNodeArrayOutput }
GetClusterInstancesNodeArrayInput is an input type that accepts GetClusterInstancesNodeArray and GetClusterInstancesNodeArrayOutput values. You can construct a concrete instance of `GetClusterInstancesNodeArrayInput` via:
GetClusterInstancesNodeArray{ GetClusterInstancesNodeArgs{...} }
type GetClusterInstancesNodeArrayOutput ¶
type GetClusterInstancesNodeArrayOutput struct{ *pulumi.OutputState }
func (GetClusterInstancesNodeArrayOutput) ElementType ¶
func (GetClusterInstancesNodeArrayOutput) ElementType() reflect.Type
func (GetClusterInstancesNodeArrayOutput) Index ¶
func (o GetClusterInstancesNodeArrayOutput) Index(i pulumi.IntInput) GetClusterInstancesNodeOutput
func (GetClusterInstancesNodeArrayOutput) ToGetClusterInstancesNodeArrayOutput ¶
func (o GetClusterInstancesNodeArrayOutput) ToGetClusterInstancesNodeArrayOutput() GetClusterInstancesNodeArrayOutput
func (GetClusterInstancesNodeArrayOutput) ToGetClusterInstancesNodeArrayOutputWithContext ¶
func (o GetClusterInstancesNodeArrayOutput) ToGetClusterInstancesNodeArrayOutputWithContext(ctx context.Context) GetClusterInstancesNodeArrayOutput
type GetClusterInstancesNodeInput ¶
type GetClusterInstancesNodeInput interface { pulumi.Input ToGetClusterInstancesNodeOutput() GetClusterInstancesNodeOutput ToGetClusterInstancesNodeOutputWithContext(context.Context) GetClusterInstancesNodeOutput }
GetClusterInstancesNodeInput is an input type that accepts GetClusterInstancesNodeArgs and GetClusterInstancesNodeOutput values. You can construct a concrete instance of `GetClusterInstancesNodeInput` via:
GetClusterInstancesNodeArgs{...}
type GetClusterInstancesNodeOutput ¶
type GetClusterInstancesNodeOutput struct{ *pulumi.OutputState }
func (GetClusterInstancesNodeOutput) AbnormalReason ¶
func (o GetClusterInstancesNodeOutput) AbnormalReason() pulumi.StringOutput
func (GetClusterInstancesNodeOutput) Cpu ¶
func (o GetClusterInstancesNodeOutput) Cpu() pulumi.IntOutput
func (GetClusterInstancesNodeOutput) ElementType ¶
func (GetClusterInstancesNodeOutput) ElementType() reflect.Type
func (GetClusterInstancesNodeOutput) InstanceId ¶
func (o GetClusterInstancesNodeOutput) InstanceId() pulumi.StringOutput
func (GetClusterInstancesNodeOutput) IsNormal ¶
func (o GetClusterInstancesNodeOutput) IsNormal() pulumi.IntOutput
func (GetClusterInstancesNodeOutput) LanIp ¶
func (o GetClusterInstancesNodeOutput) LanIp() pulumi.StringOutput
func (GetClusterInstancesNodeOutput) Mem ¶
func (o GetClusterInstancesNodeOutput) Mem() pulumi.IntOutput
func (GetClusterInstancesNodeOutput) ToGetClusterInstancesNodeOutput ¶
func (o GetClusterInstancesNodeOutput) ToGetClusterInstancesNodeOutput() GetClusterInstancesNodeOutput
func (GetClusterInstancesNodeOutput) ToGetClusterInstancesNodeOutputWithContext ¶
func (o GetClusterInstancesNodeOutput) ToGetClusterInstancesNodeOutputWithContext(ctx context.Context) GetClusterInstancesNodeOutput
func (GetClusterInstancesNodeOutput) WanIp ¶
func (o GetClusterInstancesNodeOutput) WanIp() pulumi.StringOutput
type GetClusterInstancesOutputArgs ¶
type GetClusterInstancesOutputArgs struct { ClusterId pulumi.StringInput `pulumi:"clusterId"` Limit pulumi.IntPtrInput `pulumi:"limit"` }
A collection of arguments for invoking getClusterInstances.
func (GetClusterInstancesOutputArgs) ElementType ¶
func (GetClusterInstancesOutputArgs) ElementType() reflect.Type
type GetClusterInstancesResult ¶
type GetClusterInstancesResult struct { ClusterId string `pulumi:"clusterId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Limit *int `pulumi:"limit"` Nodes []GetClusterInstancesNode `pulumi:"nodes"` TotalCount int `pulumi:"totalCount"` }
A collection of values returned by getClusterInstances.
func GetClusterInstances ¶
func GetClusterInstances(ctx *pulumi.Context, args *GetClusterInstancesArgs, opts ...pulumi.InvokeOption) (*GetClusterInstancesResult, error)
type GetClusterInstancesResultOutput ¶
type GetClusterInstancesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getClusterInstances.
func GetClusterInstancesOutput ¶
func GetClusterInstancesOutput(ctx *pulumi.Context, args GetClusterInstancesOutputArgs, opts ...pulumi.InvokeOption) GetClusterInstancesResultOutput
func (GetClusterInstancesResultOutput) ClusterId ¶
func (o GetClusterInstancesResultOutput) ClusterId() pulumi.StringOutput
func (GetClusterInstancesResultOutput) ElementType ¶
func (GetClusterInstancesResultOutput) ElementType() reflect.Type
func (GetClusterInstancesResultOutput) Id ¶
func (o GetClusterInstancesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetClusterInstancesResultOutput) Limit ¶
func (o GetClusterInstancesResultOutput) Limit() pulumi.IntPtrOutput
func (GetClusterInstancesResultOutput) Nodes ¶
func (o GetClusterInstancesResultOutput) Nodes() GetClusterInstancesNodeArrayOutput
func (GetClusterInstancesResultOutput) ToGetClusterInstancesResultOutput ¶
func (o GetClusterInstancesResultOutput) ToGetClusterInstancesResultOutput() GetClusterInstancesResultOutput
func (GetClusterInstancesResultOutput) ToGetClusterInstancesResultOutputWithContext ¶
func (o GetClusterInstancesResultOutput) ToGetClusterInstancesResultOutputWithContext(ctx context.Context) GetClusterInstancesResultOutput
func (GetClusterInstancesResultOutput) TotalCount ¶
func (o GetClusterInstancesResultOutput) TotalCount() pulumi.IntOutput
type GetClustersArgs ¶
A collection of arguments for invoking getClusters.
type GetClustersCluster ¶
type GetClustersCluster 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 GetClustersClusterArgs ¶
type GetClustersClusterArgs 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 (GetClustersClusterArgs) ElementType ¶
func (GetClustersClusterArgs) ElementType() reflect.Type
func (GetClustersClusterArgs) ToGetClustersClusterOutput ¶
func (i GetClustersClusterArgs) ToGetClustersClusterOutput() GetClustersClusterOutput
func (GetClustersClusterArgs) ToGetClustersClusterOutputWithContext ¶
func (i GetClustersClusterArgs) ToGetClustersClusterOutputWithContext(ctx context.Context) GetClustersClusterOutput
type GetClustersClusterArray ¶
type GetClustersClusterArray []GetClustersClusterInput
func (GetClustersClusterArray) ElementType ¶
func (GetClustersClusterArray) ElementType() reflect.Type
func (GetClustersClusterArray) ToGetClustersClusterArrayOutput ¶
func (i GetClustersClusterArray) ToGetClustersClusterArrayOutput() GetClustersClusterArrayOutput
func (GetClustersClusterArray) ToGetClustersClusterArrayOutputWithContext ¶
func (i GetClustersClusterArray) ToGetClustersClusterArrayOutputWithContext(ctx context.Context) GetClustersClusterArrayOutput
type GetClustersClusterArrayInput ¶
type GetClustersClusterArrayInput interface { pulumi.Input ToGetClustersClusterArrayOutput() GetClustersClusterArrayOutput ToGetClustersClusterArrayOutputWithContext(context.Context) GetClustersClusterArrayOutput }
GetClustersClusterArrayInput is an input type that accepts GetClustersClusterArray and GetClustersClusterArrayOutput values. You can construct a concrete instance of `GetClustersClusterArrayInput` via:
GetClustersClusterArray{ GetClustersClusterArgs{...} }
type GetClustersClusterArrayOutput ¶
type GetClustersClusterArrayOutput struct{ *pulumi.OutputState }
func (GetClustersClusterArrayOutput) ElementType ¶
func (GetClustersClusterArrayOutput) ElementType() reflect.Type
func (GetClustersClusterArrayOutput) Index ¶
func (o GetClustersClusterArrayOutput) Index(i pulumi.IntInput) GetClustersClusterOutput
func (GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutput ¶
func (o GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutput() GetClustersClusterArrayOutput
func (GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutputWithContext ¶
func (o GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutputWithContext(ctx context.Context) GetClustersClusterArrayOutput
type GetClustersClusterInput ¶
type GetClustersClusterInput interface { pulumi.Input ToGetClustersClusterOutput() GetClustersClusterOutput ToGetClustersClusterOutputWithContext(context.Context) GetClustersClusterOutput }
GetClustersClusterInput is an input type that accepts GetClustersClusterArgs and GetClustersClusterOutput values. You can construct a concrete instance of `GetClustersClusterInput` via:
GetClustersClusterArgs{...}
type GetClustersClusterOutput ¶
type GetClustersClusterOutput struct{ *pulumi.OutputState }
func (GetClustersClusterOutput) ClusterId ¶
func (o GetClustersClusterOutput) ClusterId() pulumi.StringOutput
func (GetClustersClusterOutput) ClusterName ¶
func (o GetClustersClusterOutput) ClusterName() pulumi.StringOutput
func (GetClustersClusterOutput) Description ¶
func (o GetClustersClusterOutput) Description() pulumi.StringOutput
func (GetClustersClusterOutput) ElementType ¶
func (GetClustersClusterOutput) ElementType() reflect.Type
func (GetClustersClusterOutput) KubernetesVersion ¶
func (o GetClustersClusterOutput) KubernetesVersion() pulumi.StringOutput
func (GetClustersClusterOutput) NodesNum ¶
func (o GetClustersClusterOutput) NodesNum() pulumi.IntOutput
func (GetClustersClusterOutput) NodesStatus ¶
func (o GetClustersClusterOutput) NodesStatus() pulumi.StringOutput
func (GetClustersClusterOutput) SecurityCertificationAuthority ¶
func (o GetClustersClusterOutput) SecurityCertificationAuthority() pulumi.StringOutput
func (GetClustersClusterOutput) SecurityClusterExternalEndpoint ¶
func (o GetClustersClusterOutput) SecurityClusterExternalEndpoint() pulumi.StringOutput
func (GetClustersClusterOutput) SecurityPassword ¶
func (o GetClustersClusterOutput) SecurityPassword() pulumi.StringOutput
func (GetClustersClusterOutput) SecurityUsername ¶
func (o GetClustersClusterOutput) SecurityUsername() pulumi.StringOutput
func (GetClustersClusterOutput) ToGetClustersClusterOutput ¶
func (o GetClustersClusterOutput) ToGetClustersClusterOutput() GetClustersClusterOutput
func (GetClustersClusterOutput) ToGetClustersClusterOutputWithContext ¶
func (o GetClustersClusterOutput) ToGetClustersClusterOutputWithContext(ctx context.Context) GetClustersClusterOutput
func (GetClustersClusterOutput) TotalCpu ¶
func (o GetClustersClusterOutput) TotalCpu() pulumi.IntOutput
func (GetClustersClusterOutput) TotalMem ¶
func (o GetClustersClusterOutput) TotalMem() pulumi.IntOutput
type GetClustersOutputArgs ¶
type GetClustersOutputArgs struct { ClusterId pulumi.StringPtrInput `pulumi:"clusterId"` Limit pulumi.IntPtrInput `pulumi:"limit"` }
A collection of arguments for invoking getClusters.
func (GetClustersOutputArgs) ElementType ¶
func (GetClustersOutputArgs) ElementType() reflect.Type
type GetClustersResult ¶
type GetClustersResult struct { ClusterId *string `pulumi:"clusterId"` Clusters []GetClustersCluster `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 getClusters.
func GetClusters ¶
func GetClusters(ctx *pulumi.Context, args *GetClustersArgs, opts ...pulumi.InvokeOption) (*GetClustersResult, error)
type GetClustersResultOutput ¶
type GetClustersResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getClusters.
func GetClustersOutput ¶
func GetClustersOutput(ctx *pulumi.Context, args GetClustersOutputArgs, opts ...pulumi.InvokeOption) GetClustersResultOutput
func (GetClustersResultOutput) ClusterId ¶
func (o GetClustersResultOutput) ClusterId() pulumi.StringPtrOutput
func (GetClustersResultOutput) Clusters ¶
func (o GetClustersResultOutput) Clusters() GetClustersClusterArrayOutput
func (GetClustersResultOutput) ElementType ¶
func (GetClustersResultOutput) ElementType() reflect.Type
func (GetClustersResultOutput) Id ¶
func (o GetClustersResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetClustersResultOutput) Limit ¶
func (o GetClustersResultOutput) Limit() pulumi.IntPtrOutput
func (GetClustersResultOutput) ToGetClustersResultOutput ¶
func (o GetClustersResultOutput) ToGetClustersResultOutput() GetClustersResultOutput
func (GetClustersResultOutput) ToGetClustersResultOutputWithContext ¶
func (o GetClustersResultOutput) ToGetClustersResultOutputWithContext(ctx context.Context) GetClustersResultOutput
func (GetClustersResultOutput) TotalCount ¶
func (o GetClustersResultOutput) TotalCount() pulumi.IntOutput