opentelekomcloud 1.36.38 published on Friday, May 9, 2025 by opentelekomcloud
opentelekomcloud.getCceNodeV3
Explore with Pulumi AI
opentelekomcloud 1.36.38 published on Friday, May 9, 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,
});
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)
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
	})
}
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,
    });
});
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());
    }
}
configuration:
  clusterId:
    type: dynamic
  nodeId:
    type: dynamic
variables:
  node:
    fn::invoke:
      function: opentelekomcloud:getCceNodeV3
      arguments:
        clusterId: ${clusterId}
        nodeId: ${nodeId}
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>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]func LookupCceNodeV3(ctx *Context, args *LookupCceNodeV3Args, opts ...InvokeOption) (*LookupCceNodeV3Result, error)
func LookupCceNodeV3Output(ctx *Context, args *LookupCceNodeV3OutputArgs, opts ...InvokeOption) LookupCceNodeV3ResultOutput> 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)
}public static CompletableFuture<GetCceNodeV3Result> getCceNodeV3(GetCceNodeV3Args args, InvokeOptions options)
public static Output<GetCceNodeV3Result> getCceNodeV3(GetCceNodeV3Args args, InvokeOptions options)
fn::invoke:
  function: opentelekomcloud:index/getCceNodeV3:getCceNodeV3
  arguments:
    # arguments dictionaryThe following arguments are supported:
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<GetCce Node V3Data Volume> 
- 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.
- 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 []GetCce Node V3Data Volume 
- 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.
- 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<GetCce Node V3Data Volume> 
- 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.
- 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 GetCce Node V3Data Volume[] 
- 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.
- 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[GetCce Node V3Data Volume] 
- 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.
- 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.
- String
- The bandwidth sharing type.
- volumeType String
- Root volume disk type.
- name String
- nodeId String
- status String
Supporting Types
GetCceNodeV3DataVolume    
- DiskSize double
- Root volume disk size in GB.
- ExtendParams Dictionary<string, string>
- KmsId string
- The Encryption KMS ID of the data volume.
- VolumeType string
- Root volume disk type.
- DiskSize float64
- Root volume disk size in GB.
- ExtendParams map[string]string
- KmsId string
- The Encryption KMS ID of the data volume.
- VolumeType string
- Root volume disk type.
- diskSize Double
- Root volume disk size in GB.
- extendParams Map<String,String>
- kmsId String
- The Encryption KMS ID of the data volume.
- volumeType String
- Root volume disk type.
- diskSize number
- Root volume disk size in GB.
- extendParams {[key: string]: string}
- kmsId string
- The Encryption KMS ID of the data volume.
- volumeType string
- Root volume disk type.
- disk_size float
- Root volume disk size in GB.
- extend_params Mapping[str, str]
- kms_id str
- The Encryption KMS ID of the data volume.
- volume_type str
- Root volume disk type.
- diskSize Number
- Root volume disk size in GB.
- extendParams Map<String>
- kmsId String
- The Encryption KMS ID of the data volume.
- volumeType String
- Root volume disk type.
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the opentelekomcloudTerraform Provider.
opentelekomcloud 1.36.38 published on Friday, May 9, 2025 by opentelekomcloud