opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud
opentelekomcloud.getCceNodeV3
Explore with Pulumi AI
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 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 dictionary
The following arguments are supported:
getCceNodeV3 Result
The following output properties are available:
- Availability
Zone string - Available partitions where the node is located.
- Bandwidth
Size double - Bandwidth (Mbit/s), in the range of
[1, 2000]
. - Billing
Mode double - Node's billing mode: The value is
0
(on demand). - Charge
Mode string - Bandwidth billing type.
- Cluster
Id string - Data
Volumes List<GetCce Node V3Data Volume> - Represents the data disks configuration.
- Disk
Size double - Root volume disk size in GB.
- Eip
Count double - Eip
Ids List<string> - List of existing elastic IP IDs.
- Flavor
Id string - The flavor id to be used.
- Id string
- Ip
Type string - Elastic IP address type.
- Key
Pair string - Key pair name when logging in to select the key pair mode.
- Private
Ip string - Private IP of the node
- Public
Ip string - Elastic IP parameters of the node.
- Region string
- Runtime string
- The runtime of the node.
- Server
Id string - The node's virtual machine ID in ECS.
- string
- The bandwidth sharing type.
- Volume
Type string - Root volume disk type.
- Name string
- Node
Id string - Status string
- Availability
Zone string - Available partitions where the node is located.
- Bandwidth
Size float64 - Bandwidth (Mbit/s), in the range of
[1, 2000]
. - Billing
Mode float64 - Node's billing mode: The value is
0
(on demand). - Charge
Mode string - Bandwidth billing type.
- Cluster
Id string - Data
Volumes []GetCce Node V3Data Volume - Represents the data disks configuration.
- Disk
Size float64 - Root volume disk size in GB.
- Eip
Count float64 - Eip
Ids []string - List of existing elastic IP IDs.
- Flavor
Id string - The flavor id to be used.
- Id string
- Ip
Type string - Elastic IP address type.
- Key
Pair string - Key pair name when logging in to select the key pair mode.
- Private
Ip string - Private IP of the node
- Public
Ip string - Elastic IP parameters of the node.
- Region string
- Runtime string
- The runtime of the node.
- Server
Id string - The node's virtual machine ID in ECS.
- string
- The bandwidth sharing type.
- Volume
Type string - Root volume disk type.
- Name string
- Node
Id string - Status string
- availability
Zone String - Available partitions where the node is located.
- bandwidth
Size Double - Bandwidth (Mbit/s), in the range of
[1, 2000]
. - billing
Mode Double - Node's billing mode: The value is
0
(on demand). - charge
Mode String - Bandwidth billing type.
- cluster
Id String - data
Volumes List<GetCce Node V3Data Volume> - Represents the data disks configuration.
- disk
Size Double - Root volume disk size in GB.
- eip
Count Double - eip
Ids List<String> - List of existing elastic IP IDs.
- flavor
Id String - The flavor id to be used.
- id String
- ip
Type String - Elastic IP address type.
- key
Pair String - Key pair name when logging in to select the key pair mode.
- private
Ip String - Private IP of the node
- public
Ip String - Elastic IP parameters of the node.
- region String
- runtime String
- The runtime of the node.
- server
Id String - The node's virtual machine ID in ECS.
- String
- The bandwidth sharing type.
- volume
Type String - Root volume disk type.
- name String
- node
Id String - status String
- availability
Zone string - Available partitions where the node is located.
- bandwidth
Size number - Bandwidth (Mbit/s), in the range of
[1, 2000]
. - billing
Mode number - Node's billing mode: The value is
0
(on demand). - charge
Mode string - Bandwidth billing type.
- cluster
Id string - data
Volumes GetCce Node V3Data Volume[] - Represents the data disks configuration.
- disk
Size number - Root volume disk size in GB.
- eip
Count number - eip
Ids string[] - List of existing elastic IP IDs.
- flavor
Id string - The flavor id to be used.
- id string
- ip
Type string - Elastic IP address type.
- key
Pair string - Key pair name when logging in to select the key pair mode.
- private
Ip string - Private IP of the node
- public
Ip string - Elastic IP parameters of the node.
- region string
- runtime string
- The runtime of the node.
- server
Id string - The node's virtual machine ID in ECS.
- string
- The bandwidth sharing type.
- volume
Type string - Root volume disk type.
- name string
- node
Id 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
- availability
Zone String - Available partitions where the node is located.
- bandwidth
Size Number - Bandwidth (Mbit/s), in the range of
[1, 2000]
. - billing
Mode Number - Node's billing mode: The value is
0
(on demand). - charge
Mode String - Bandwidth billing type.
- cluster
Id String - data
Volumes List<Property Map> - Represents the data disks configuration.
- disk
Size Number - Root volume disk size in GB.
- eip
Count Number - eip
Ids List<String> - List of existing elastic IP IDs.
- flavor
Id String - The flavor id to be used.
- id String
- ip
Type String - Elastic IP address type.
- key
Pair String - Key pair name when logging in to select the key pair mode.
- private
Ip String - Private IP of the node
- public
Ip String - Elastic IP parameters of the node.
- region String
- runtime String
- The runtime of the node.
- server
Id String - The node's virtual machine ID in ECS.
- String
- The bandwidth sharing type.
- volume
Type String - Root volume disk type.
- name String
- node
Id String - status String
Supporting Types
GetCceNodeV3DataVolume
- Disk
Size double - Root volume disk size in GB.
- Extend
Params Dictionary<string, string> - Kms
Id string - The Encryption KMS ID of the data volume.
- Volume
Type string - Root volume disk type.
- Disk
Size float64 - Root volume disk size in GB.
- Extend
Params map[string]string - Kms
Id string - The Encryption KMS ID of the data volume.
- Volume
Type string - Root volume disk type.
- disk
Size Double - Root volume disk size in GB.
- extend
Params Map<String,String> - kms
Id String - The Encryption KMS ID of the data volume.
- volume
Type String - Root volume disk type.
- disk
Size number - Root volume disk size in GB.
- extend
Params {[key: string]: string} - kms
Id string - The Encryption KMS ID of the data volume.
- volume
Type 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.
- disk
Size Number - Root volume disk size in GB.
- extend
Params Map<String> - kms
Id String - The Encryption KMS ID of the data volume.
- volume
Type 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.37 published on Thursday, Apr 24, 2025 by opentelekomcloud