1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. getCceNodeV3
opentelekomcloud 1.36.35 published on Monday, Apr 14, 2025 by opentelekomcloud

opentelekomcloud.getCceNodeV3

Explore with Pulumi AI

opentelekomcloud 1.36.35 published on Monday, Apr 14, 2025 by opentelekomcloud

Up-to-date reference of API arguments for CCE nodes you can get at documentation portal

Use this data source to get the specified node in a cluster from OpenTelekomCloud.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";

const config = new pulumi.Config();
const clusterId = config.requireObject("clusterId");
const nodeId = config.requireObject("nodeId");
const node = opentelekomcloud.getCceNodeV3({
    clusterId: clusterId,
    nodeId: nodeId,
});
Copy
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud

config = pulumi.Config()
cluster_id = config.require_object("clusterId")
node_id = config.require_object("nodeId")
node = opentelekomcloud.get_cce_node_v3(cluster_id=cluster_id,
    node_id=node_id)
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		clusterId := cfg.RequireObject("clusterId")
		nodeId := cfg.RequireObject("nodeId")
		_, err := opentelekomcloud.LookupCceNodeV3(ctx, &opentelekomcloud.LookupCceNodeV3Args{
			ClusterId: clusterId,
			NodeId:    pulumi.StringRef(nodeId),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;

return await Deployment.RunAsync(() => 
{
    var config = new Config();
    var clusterId = config.RequireObject<dynamic>("clusterId");
    var nodeId = config.RequireObject<dynamic>("nodeId");
    var node = Opentelekomcloud.GetCceNodeV3.Invoke(new()
    {
        ClusterId = clusterId,
        NodeId = nodeId,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
import com.pulumi.opentelekomcloud.inputs.GetCceNodeV3Args;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var config = ctx.config();
        final var clusterId = config.get("clusterId");
        final var nodeId = config.get("nodeId");
        final var node = OpentelekomcloudFunctions.getCceNodeV3(GetCceNodeV3Args.builder()
            .clusterId(clusterId)
            .nodeId(nodeId)
            .build());

    }
}
Copy
configuration:
  clusterId:
    type: dynamic
  nodeId:
    type: dynamic
variables:
  node:
    fn::invoke:
      function: opentelekomcloud:getCceNodeV3
      arguments:
        clusterId: ${clusterId}
        nodeId: ${nodeId}
Copy

Using getCceNodeV3

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getCceNodeV3(args: GetCceNodeV3Args, opts?: InvokeOptions): Promise<GetCceNodeV3Result>
function getCceNodeV3Output(args: GetCceNodeV3OutputArgs, opts?: InvokeOptions): Output<GetCceNodeV3Result>
Copy
def get_cce_node_v3(cluster_id: Optional[str] = None,
                    id: Optional[str] = None,
                    name: Optional[str] = None,
                    node_id: Optional[str] = None,
                    region: Optional[str] = None,
                    status: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetCceNodeV3Result
def get_cce_node_v3_output(cluster_id: Optional[pulumi.Input[str]] = None,
                    id: Optional[pulumi.Input[str]] = None,
                    name: Optional[pulumi.Input[str]] = None,
                    node_id: Optional[pulumi.Input[str]] = None,
                    region: Optional[pulumi.Input[str]] = None,
                    status: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetCceNodeV3Result]
Copy
func LookupCceNodeV3(ctx *Context, args *LookupCceNodeV3Args, opts ...InvokeOption) (*LookupCceNodeV3Result, error)
func LookupCceNodeV3Output(ctx *Context, args *LookupCceNodeV3OutputArgs, opts ...InvokeOption) LookupCceNodeV3ResultOutput
Copy

> Note: This function is named LookupCceNodeV3 in the Go SDK.

public static class GetCceNodeV3 
{
    public static Task<GetCceNodeV3Result> InvokeAsync(GetCceNodeV3Args args, InvokeOptions? opts = null)
    public static Output<GetCceNodeV3Result> Invoke(GetCceNodeV3InvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetCceNodeV3Result> getCceNodeV3(GetCceNodeV3Args args, InvokeOptions options)
public static Output<GetCceNodeV3Result> getCceNodeV3(GetCceNodeV3Args args, InvokeOptions options)
Copy
fn::invoke:
  function: opentelekomcloud:index/getCceNodeV3:getCceNodeV3
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ClusterId This property is required. string
The id of container cluster.
Id string
Name string
Name of the node.
NodeId string
The id of the node.
Region string
Status string
The state of the node.
ClusterId This property is required. string
The id of container cluster.
Id string
Name string
Name of the node.
NodeId string
The id of the node.
Region string
Status string
The state of the node.
clusterId This property is required. String
The id of container cluster.
id String
name String
Name of the node.
nodeId String
The id of the node.
region String
status String
The state of the node.
clusterId This property is required. string
The id of container cluster.
id string
name string
Name of the node.
nodeId string
The id of the node.
region string
status string
The state of the node.
cluster_id This property is required. str
The id of container cluster.
id str
name str
Name of the node.
node_id str
The id of the node.
region str
status str
The state of the node.
clusterId This property is required. String
The id of container cluster.
id String
name String
Name of the node.
nodeId String
The id of the node.
region String
status String
The state of the node.

getCceNodeV3 Result

The following output properties are available:

AvailabilityZone string
Available partitions where the node is located.
BandwidthSize double
Bandwidth (Mbit/s), in the range of [1, 2000].
BillingMode double
Node's billing mode: The value is 0 (on demand).
ChargeMode string
Bandwidth billing type.
ClusterId string
DataVolumes List<GetCceNodeV3DataVolume>
Represents the data disks configuration.
DiskSize double
Root volume disk size in GB.
EipCount double
EipIds List<string>
List of existing elastic IP IDs.
FlavorId string
The flavor id to be used.
Id string
IpType string
Elastic IP address type.
KeyPair string
Key pair name when logging in to select the key pair mode.
PrivateIp string
Private IP of the node
PublicIp string
Elastic IP parameters of the node.
Region string
Runtime string
The runtime of the node.
ServerId string
The node's virtual machine ID in ECS.
ShareType string
The bandwidth sharing type.
VolumeType string
Root volume disk type.
Name string
NodeId string
Status string
AvailabilityZone string
Available partitions where the node is located.
BandwidthSize float64
Bandwidth (Mbit/s), in the range of [1, 2000].
BillingMode float64
Node's billing mode: The value is 0 (on demand).
ChargeMode string
Bandwidth billing type.
ClusterId string
DataVolumes []GetCceNodeV3DataVolume
Represents the data disks configuration.
DiskSize float64
Root volume disk size in GB.
EipCount float64
EipIds []string
List of existing elastic IP IDs.
FlavorId string
The flavor id to be used.
Id string
IpType string
Elastic IP address type.
KeyPair string
Key pair name when logging in to select the key pair mode.
PrivateIp string
Private IP of the node
PublicIp string
Elastic IP parameters of the node.
Region string
Runtime string
The runtime of the node.
ServerId string
The node's virtual machine ID in ECS.
ShareType string
The bandwidth sharing type.
VolumeType string
Root volume disk type.
Name string
NodeId string
Status string
availabilityZone String
Available partitions where the node is located.
bandwidthSize Double
Bandwidth (Mbit/s), in the range of [1, 2000].
billingMode Double
Node's billing mode: The value is 0 (on demand).
chargeMode String
Bandwidth billing type.
clusterId String
dataVolumes List<GetCceNodeV3DataVolume>
Represents the data disks configuration.
diskSize Double
Root volume disk size in GB.
eipCount Double
eipIds List<String>
List of existing elastic IP IDs.
flavorId String
The flavor id to be used.
id String
ipType String
Elastic IP address type.
keyPair String
Key pair name when logging in to select the key pair mode.
privateIp String
Private IP of the node
publicIp String
Elastic IP parameters of the node.
region String
runtime String
The runtime of the node.
serverId String
The node's virtual machine ID in ECS.
shareType String
The bandwidth sharing type.
volumeType String
Root volume disk type.
name String
nodeId String
status String
availabilityZone string
Available partitions where the node is located.
bandwidthSize number
Bandwidth (Mbit/s), in the range of [1, 2000].
billingMode number
Node's billing mode: The value is 0 (on demand).
chargeMode string
Bandwidth billing type.
clusterId string
dataVolumes GetCceNodeV3DataVolume[]
Represents the data disks configuration.
diskSize number
Root volume disk size in GB.
eipCount number
eipIds string[]
List of existing elastic IP IDs.
flavorId string
The flavor id to be used.
id string
ipType string
Elastic IP address type.
keyPair string
Key pair name when logging in to select the key pair mode.
privateIp string
Private IP of the node
publicIp string
Elastic IP parameters of the node.
region string
runtime string
The runtime of the node.
serverId string
The node's virtual machine ID in ECS.
shareType string
The bandwidth sharing type.
volumeType string
Root volume disk type.
name string
nodeId string
status string
availability_zone str
Available partitions where the node is located.
bandwidth_size float
Bandwidth (Mbit/s), in the range of [1, 2000].
billing_mode float
Node's billing mode: The value is 0 (on demand).
charge_mode str
Bandwidth billing type.
cluster_id str
data_volumes Sequence[GetCceNodeV3DataVolume]
Represents the data disks configuration.
disk_size float
Root volume disk size in GB.
eip_count float
eip_ids Sequence[str]
List of existing elastic IP IDs.
flavor_id str
The flavor id to be used.
id str
ip_type str
Elastic IP address type.
key_pair str
Key pair name when logging in to select the key pair mode.
private_ip str
Private IP of the node
public_ip str
Elastic IP parameters of the node.
region str
runtime str
The runtime of the node.
server_id str
The node's virtual machine ID in ECS.
share_type str
The bandwidth sharing type.
volume_type str
Root volume disk type.
name str
node_id str
status str
availabilityZone String
Available partitions where the node is located.
bandwidthSize Number
Bandwidth (Mbit/s), in the range of [1, 2000].
billingMode Number
Node's billing mode: The value is 0 (on demand).
chargeMode String
Bandwidth billing type.
clusterId String
dataVolumes List<Property Map>
Represents the data disks configuration.
diskSize Number
Root volume disk size in GB.
eipCount Number
eipIds List<String>
List of existing elastic IP IDs.
flavorId String
The flavor id to be used.
id String
ipType String
Elastic IP address type.
keyPair String
Key pair name when logging in to select the key pair mode.
privateIp String
Private IP of the node
publicIp String
Elastic IP parameters of the node.
region String
runtime String
The runtime of the node.
serverId String
The node's virtual machine ID in ECS.
shareType String
The bandwidth sharing type.
volumeType String
Root volume disk type.
name String
nodeId String
status String

Supporting Types

GetCceNodeV3DataVolume

DiskSize This property is required. double
Root volume disk size in GB.
ExtendParams This property is required. Dictionary<string, string>
KmsId This property is required. string
The Encryption KMS ID of the data volume.
VolumeType This property is required. string
Root volume disk type.
DiskSize This property is required. float64
Root volume disk size in GB.
ExtendParams This property is required. map[string]string
KmsId This property is required. string
The Encryption KMS ID of the data volume.
VolumeType This property is required. string
Root volume disk type.
diskSize This property is required. Double
Root volume disk size in GB.
extendParams This property is required. Map<String,String>
kmsId This property is required. String
The Encryption KMS ID of the data volume.
volumeType This property is required. String
Root volume disk type.
diskSize This property is required. number
Root volume disk size in GB.
extendParams This property is required. {[key: string]: string}
kmsId This property is required. string
The Encryption KMS ID of the data volume.
volumeType This property is required. string
Root volume disk type.
disk_size This property is required. float
Root volume disk size in GB.
extend_params This property is required. Mapping[str, str]
kms_id This property is required. str
The Encryption KMS ID of the data volume.
volume_type This property is required. str
Root volume disk type.
diskSize This property is required. Number
Root volume disk size in GB.
extendParams This property is required. Map<String>
kmsId This property is required. String
The Encryption KMS ID of the data volume.
volumeType This property is required. String
Root volume disk type.

Package Details

Repository
opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
License
Notes
This Pulumi package is based on the opentelekomcloud Terraform Provider.
opentelekomcloud 1.36.35 published on Monday, Apr 14, 2025 by opentelekomcloud