opentelekomcloud 1.36.38 published on Friday, May 9, 2025 by opentelekomcloud
opentelekomcloud.getCceClusterV3
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 cluster you can get at documentation portal
Use this data source to get details about all clusters and obtains the certificate for accessing cluster information.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const clusterName = config.requireObject("clusterName");
const clusterId = config.requireObject("clusterId");
const vpcId = config.requireObject("vpcId");
const cluster = opentelekomcloud.getCceClusterV3({
    name: clusterName,
    status: "Available",
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
cluster_name = config.require_object("clusterName")
cluster_id = config.require_object("clusterId")
vpc_id = config.require_object("vpcId")
cluster = opentelekomcloud.get_cce_cluster_v3(name=cluster_name,
    status="Available")
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, "")
		clusterName := cfg.RequireObject("clusterName")
		clusterId := cfg.RequireObject("clusterId")
		vpcId := cfg.RequireObject("vpcId")
		_, err := opentelekomcloud.LookupCceClusterV3(ctx, &opentelekomcloud.LookupCceClusterV3Args{
			Name:   pulumi.StringRef(clusterName),
			Status: pulumi.StringRef("Available"),
		}, 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 clusterName = config.RequireObject<dynamic>("clusterName");
    var clusterId = config.RequireObject<dynamic>("clusterId");
    var vpcId = config.RequireObject<dynamic>("vpcId");
    var cluster = Opentelekomcloud.GetCceClusterV3.Invoke(new()
    {
        Name = clusterName,
        Status = "Available",
    });
});
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.GetCceClusterV3Args;
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 clusterName = config.get("clusterName");
        final var clusterId = config.get("clusterId");
        final var vpcId = config.get("vpcId");
        final var cluster = OpentelekomcloudFunctions.getCceClusterV3(GetCceClusterV3Args.builder()
            .name(clusterName)
            .status("Available")
            .build());
    }
}
configuration:
  clusterName:
    type: dynamic
  clusterId:
    type: dynamic
  vpcId:
    type: dynamic
variables:
  cluster:
    fn::invoke:
      function: opentelekomcloud:getCceClusterV3
      arguments:
        name: ${clusterName}
        status: Available
Using getCceClusterV3
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 getCceClusterV3(args: GetCceClusterV3Args, opts?: InvokeOptions): Promise<GetCceClusterV3Result>
function getCceClusterV3Output(args: GetCceClusterV3OutputArgs, opts?: InvokeOptions): Output<GetCceClusterV3Result>def get_cce_cluster_v3(cluster_type: Optional[str] = None,
                       id: Optional[str] = None,
                       name: Optional[str] = None,
                       region: Optional[str] = None,
                       status: Optional[str] = None,
                       vpc_id: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetCceClusterV3Result
def get_cce_cluster_v3_output(cluster_type: Optional[pulumi.Input[str]] = None,
                       id: Optional[pulumi.Input[str]] = None,
                       name: Optional[pulumi.Input[str]] = None,
                       region: Optional[pulumi.Input[str]] = None,
                       status: Optional[pulumi.Input[str]] = None,
                       vpc_id: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetCceClusterV3Result]func LookupCceClusterV3(ctx *Context, args *LookupCceClusterV3Args, opts ...InvokeOption) (*LookupCceClusterV3Result, error)
func LookupCceClusterV3Output(ctx *Context, args *LookupCceClusterV3OutputArgs, opts ...InvokeOption) LookupCceClusterV3ResultOutput> Note: This function is named LookupCceClusterV3 in the Go SDK.
public static class GetCceClusterV3 
{
    public static Task<GetCceClusterV3Result> InvokeAsync(GetCceClusterV3Args args, InvokeOptions? opts = null)
    public static Output<GetCceClusterV3Result> Invoke(GetCceClusterV3InvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCceClusterV3Result> getCceClusterV3(GetCceClusterV3Args args, InvokeOptions options)
public static Output<GetCceClusterV3Result> getCceClusterV3(GetCceClusterV3Args args, InvokeOptions options)
fn::invoke:
  function: opentelekomcloud:index/getCceClusterV3:getCceClusterV3
  arguments:
    # arguments dictionaryThe following arguments are supported:
getCceClusterV3 Result
The following output properties are available:
- AuthenticationMode string
- (Optional) Authentication mode of the cluster, possible values are rbacandauthenticating_proxy.
- BillingMode double
- CertificateClusters List<GetCce Cluster V3Certificate Cluster> 
- CertificateUsers List<GetCce Cluster V3Certificate User> 
- ClusterVersion string
- The version of cluster in string format.
- ContainerNetwork stringCidr 
- The container network segment.
- ContainerNetwork stringType 
- The container network type: overlay_l2 , underlay_ipvlan or vpc-router.
- Description string
- Cluster description.
- EniSubnet stringCidr 
- ENI network segment.
- EniSubnet stringId 
- ENI subnet ID.
- External string
- The external network address.
- ExternalOtc string
- The endpoint of the cluster to be accessed through API Gateway.
- FlavorId string
- The cluster specification in string format.
- HighwaySubnet stringId 
- The ID of the high speed network used to create bare metal nodes.
- Id string
- The ID of the cluster.
- Internal string
- The internal network address.
- Region string
- SubnetId string
- The ID of the subnet used to create the node.
- ClusterType string
- Name string
- The name of the cluster in string format.
- Status string
- VpcId string
- AuthenticationMode string
- (Optional) Authentication mode of the cluster, possible values are rbacandauthenticating_proxy.
- BillingMode float64
- CertificateClusters []GetCce Cluster V3Certificate Cluster 
- CertificateUsers []GetCce Cluster V3Certificate User 
- ClusterVersion string
- The version of cluster in string format.
- ContainerNetwork stringCidr 
- The container network segment.
- ContainerNetwork stringType 
- The container network type: overlay_l2 , underlay_ipvlan or vpc-router.
- Description string
- Cluster description.
- EniSubnet stringCidr 
- ENI network segment.
- EniSubnet stringId 
- ENI subnet ID.
- External string
- The external network address.
- ExternalOtc string
- The endpoint of the cluster to be accessed through API Gateway.
- FlavorId string
- The cluster specification in string format.
- HighwaySubnet stringId 
- The ID of the high speed network used to create bare metal nodes.
- Id string
- The ID of the cluster.
- Internal string
- The internal network address.
- Region string
- SubnetId string
- The ID of the subnet used to create the node.
- ClusterType string
- Name string
- The name of the cluster in string format.
- Status string
- VpcId string
- authenticationMode String
- (Optional) Authentication mode of the cluster, possible values are rbacandauthenticating_proxy.
- billingMode Double
- certificateClusters List<GetCce Cluster V3Certificate Cluster> 
- certificateUsers List<GetCce Cluster V3Certificate User> 
- clusterVersion String
- The version of cluster in string format.
- containerNetwork StringCidr 
- The container network segment.
- containerNetwork StringType 
- The container network type: overlay_l2 , underlay_ipvlan or vpc-router.
- description String
- Cluster description.
- eniSubnet StringCidr 
- ENI network segment.
- eniSubnet StringId 
- ENI subnet ID.
- external String
- The external network address.
- externalOtc String
- The endpoint of the cluster to be accessed through API Gateway.
- flavorId String
- The cluster specification in string format.
- highwaySubnet StringId 
- The ID of the high speed network used to create bare metal nodes.
- id String
- The ID of the cluster.
- internal String
- The internal network address.
- region String
- subnetId String
- The ID of the subnet used to create the node.
- clusterType String
- name String
- The name of the cluster in string format.
- status String
- vpcId String
- authenticationMode string
- (Optional) Authentication mode of the cluster, possible values are rbacandauthenticating_proxy.
- billingMode number
- certificateClusters GetCce Cluster V3Certificate Cluster[] 
- certificateUsers GetCce Cluster V3Certificate User[] 
- clusterVersion string
- The version of cluster in string format.
- containerNetwork stringCidr 
- The container network segment.
- containerNetwork stringType 
- The container network type: overlay_l2 , underlay_ipvlan or vpc-router.
- description string
- Cluster description.
- eniSubnet stringCidr 
- ENI network segment.
- eniSubnet stringId 
- ENI subnet ID.
- external string
- The external network address.
- externalOtc string
- The endpoint of the cluster to be accessed through API Gateway.
- flavorId string
- The cluster specification in string format.
- highwaySubnet stringId 
- The ID of the high speed network used to create bare metal nodes.
- id string
- The ID of the cluster.
- internal string
- The internal network address.
- region string
- subnetId string
- The ID of the subnet used to create the node.
- clusterType string
- name string
- The name of the cluster in string format.
- status string
- vpcId string
- authentication_mode str
- (Optional) Authentication mode of the cluster, possible values are rbacandauthenticating_proxy.
- billing_mode float
- certificate_clusters Sequence[GetCce Cluster V3Certificate Cluster] 
- certificate_users Sequence[GetCce Cluster V3Certificate User] 
- cluster_version str
- The version of cluster in string format.
- container_network_ strcidr 
- The container network segment.
- container_network_ strtype 
- The container network type: overlay_l2 , underlay_ipvlan or vpc-router.
- description str
- Cluster description.
- eni_subnet_ strcidr 
- ENI network segment.
- eni_subnet_ strid 
- ENI subnet ID.
- external str
- The external network address.
- external_otc str
- The endpoint of the cluster to be accessed through API Gateway.
- flavor_id str
- The cluster specification in string format.
- highway_subnet_ strid 
- The ID of the high speed network used to create bare metal nodes.
- id str
- The ID of the cluster.
- internal str
- The internal network address.
- region str
- subnet_id str
- The ID of the subnet used to create the node.
- cluster_type str
- name str
- The name of the cluster in string format.
- status str
- vpc_id str
- authenticationMode String
- (Optional) Authentication mode of the cluster, possible values are rbacandauthenticating_proxy.
- billingMode Number
- certificateClusters List<Property Map>
- certificateUsers List<Property Map>
- clusterVersion String
- The version of cluster in string format.
- containerNetwork StringCidr 
- The container network segment.
- containerNetwork StringType 
- The container network type: overlay_l2 , underlay_ipvlan or vpc-router.
- description String
- Cluster description.
- eniSubnet StringCidr 
- ENI network segment.
- eniSubnet StringId 
- ENI subnet ID.
- external String
- The external network address.
- externalOtc String
- The endpoint of the cluster to be accessed through API Gateway.
- flavorId String
- The cluster specification in string format.
- highwaySubnet StringId 
- The ID of the high speed network used to create bare metal nodes.
- id String
- The ID of the cluster.
- internal String
- The internal network address.
- region String
- subnetId String
- The ID of the subnet used to create the node.
- clusterType String
- name String
- The name of the cluster in string format.
- status String
- vpcId String
Supporting Types
GetCceClusterV3CertificateCluster    
GetCceClusterV3CertificateUser    
- ClientCertificate stringData 
- ClientKey stringData 
- Name string
- The Name of the cluster resource.
- ClientCertificate stringData 
- ClientKey stringData 
- Name string
- The Name of the cluster resource.
- clientCertificate StringData 
- clientKey StringData 
- name String
- The Name of the cluster resource.
- clientCertificate stringData 
- clientKey stringData 
- name string
- The Name of the cluster resource.
- client_certificate_ strdata 
- client_key_ strdata 
- name str
- The Name of the cluster resource.
- clientCertificate StringData 
- clientKey StringData 
- name String
- The Name of the cluster resource.
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