opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud
opentelekomcloud.getCceClustersV3
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 cluster you can get at documentation portal
Use this data source to get a list of CCE clusters.
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 clusters = opentelekomcloud.getCceClustersV3({
name: clusterName,
status: "Available",
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
cluster_name = config.require_object("clusterName")
clusters = opentelekomcloud.get_cce_clusters_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")
_, err := opentelekomcloud.GetCceClustersV3(ctx, &opentelekomcloud.GetCceClustersV3Args{
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 clusters = Opentelekomcloud.GetCceClustersV3.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.GetCceClustersV3Args;
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 clusters = OpentelekomcloudFunctions.getCceClustersV3(GetCceClustersV3Args.builder()
.name(clusterName)
.status("Available")
.build());
}
}
configuration:
clusterName:
type: dynamic
variables:
clusters:
fn::invoke:
function: opentelekomcloud:getCceClustersV3
arguments:
name: ${clusterName}
status: Available
Using getCceClustersV3
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 getCceClustersV3(args: GetCceClustersV3Args, opts?: InvokeOptions): Promise<GetCceClustersV3Result>
function getCceClustersV3Output(args: GetCceClustersV3OutputArgs, opts?: InvokeOptions): Output<GetCceClustersV3Result>
def get_cce_clusters_v3(cluster_id: Optional[str] = None,
cluster_type: Optional[str] = None,
enterprise_project_id: 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) -> GetCceClustersV3Result
def get_cce_clusters_v3_output(cluster_id: Optional[pulumi.Input[str]] = None,
cluster_type: Optional[pulumi.Input[str]] = None,
enterprise_project_id: 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[GetCceClustersV3Result]
func GetCceClustersV3(ctx *Context, args *GetCceClustersV3Args, opts ...InvokeOption) (*GetCceClustersV3Result, error)
func GetCceClustersV3Output(ctx *Context, args *GetCceClustersV3OutputArgs, opts ...InvokeOption) GetCceClustersV3ResultOutput
> Note: This function is named GetCceClustersV3
in the Go SDK.
public static class GetCceClustersV3
{
public static Task<GetCceClustersV3Result> InvokeAsync(GetCceClustersV3Args args, InvokeOptions? opts = null)
public static Output<GetCceClustersV3Result> Invoke(GetCceClustersV3InvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCceClustersV3Result> getCceClustersV3(GetCceClustersV3Args args, InvokeOptions options)
public static Output<GetCceClustersV3Result> getCceClustersV3(GetCceClustersV3Args args, InvokeOptions options)
fn::invoke:
function: opentelekomcloud:index/getCceClustersV3:getCceClustersV3
arguments:
# arguments dictionary
The following arguments are supported:
- Cluster
Id string - Specifies the ID of the cluster.
- Cluster
Type string - Specifies the type of the cluster. Possible values:
VirtualMachine
,BareMetal
. - Enterprise
Project stringId - Specifies the enterprise project ID of the cluster.
- Id string
- The ID of the cluster.
- Name string
- Specifies the name of the cluster.
- Region string
- Specifies the region in which to obtain the CCE clusters. If omitted, the provider-level region will be used.
- Status string
- Specifies the status of the cluster.
- Vpc
Id string - Specifies the VPC ID to which the cluster belongs.
- Cluster
Id string - Specifies the ID of the cluster.
- Cluster
Type string - Specifies the type of the cluster. Possible values:
VirtualMachine
,BareMetal
. - Enterprise
Project stringId - Specifies the enterprise project ID of the cluster.
- Id string
- The ID of the cluster.
- Name string
- Specifies the name of the cluster.
- Region string
- Specifies the region in which to obtain the CCE clusters. If omitted, the provider-level region will be used.
- Status string
- Specifies the status of the cluster.
- Vpc
Id string - Specifies the VPC ID to which the cluster belongs.
- cluster
Id String - Specifies the ID of the cluster.
- cluster
Type String - Specifies the type of the cluster. Possible values:
VirtualMachine
,BareMetal
. - enterprise
Project StringId - Specifies the enterprise project ID of the cluster.
- id String
- The ID of the cluster.
- name String
- Specifies the name of the cluster.
- region String
- Specifies the region in which to obtain the CCE clusters. If omitted, the provider-level region will be used.
- status String
- Specifies the status of the cluster.
- vpc
Id String - Specifies the VPC ID to which the cluster belongs.
- cluster
Id string - Specifies the ID of the cluster.
- cluster
Type string - Specifies the type of the cluster. Possible values:
VirtualMachine
,BareMetal
. - enterprise
Project stringId - Specifies the enterprise project ID of the cluster.
- id string
- The ID of the cluster.
- name string
- Specifies the name of the cluster.
- region string
- Specifies the region in which to obtain the CCE clusters. If omitted, the provider-level region will be used.
- status string
- Specifies the status of the cluster.
- vpc
Id string - Specifies the VPC ID to which the cluster belongs.
- cluster_
id str - Specifies the ID of the cluster.
- cluster_
type str - Specifies the type of the cluster. Possible values:
VirtualMachine
,BareMetal
. - enterprise_
project_ strid - Specifies the enterprise project ID of the cluster.
- id str
- The ID of the cluster.
- name str
- Specifies the name of the cluster.
- region str
- Specifies the region in which to obtain the CCE clusters. If omitted, the provider-level region will be used.
- status str
- Specifies the status of the cluster.
- vpc_
id str - Specifies the VPC ID to which the cluster belongs.
- cluster
Id String - Specifies the ID of the cluster.
- cluster
Type String - Specifies the type of the cluster. Possible values:
VirtualMachine
,BareMetal
. - enterprise
Project StringId - Specifies the enterprise project ID of the cluster.
- id String
- The ID of the cluster.
- name String
- Specifies the name of the cluster.
- region String
- Specifies the region in which to obtain the CCE clusters. If omitted, the provider-level region will be used.
- status String
- Specifies the status of the cluster.
- vpc
Id String - Specifies the VPC ID to which the cluster belongs.
getCceClustersV3 Result
The following output properties are available:
- Clusters
List<Get
Cce Clusters V3Cluster> - Indicates a list of CCE clusters found. Structure is documented below.
- Id string
- The ID of the cluster.
- Ids List<string>
- Indicates a list of IDs of all CCE clusters found.
- Region string
- Cluster
Id string - Cluster
Type string - The type of the cluster. Possible values:
VirtualMachine
,ARM64
. - Enterprise
Project stringId - The enterprise project ID of the CCE cluster.
- Name string
- The user name.
- Status string
- The status of the cluster.
- Vpc
Id string - The vpc ID of the cluster.
- Clusters
[]Get
Cce Clusters V3Cluster - Indicates a list of CCE clusters found. Structure is documented below.
- Id string
- The ID of the cluster.
- Ids []string
- Indicates a list of IDs of all CCE clusters found.
- Region string
- Cluster
Id string - Cluster
Type string - The type of the cluster. Possible values:
VirtualMachine
,ARM64
. - Enterprise
Project stringId - The enterprise project ID of the CCE cluster.
- Name string
- The user name.
- Status string
- The status of the cluster.
- Vpc
Id string - The vpc ID of the cluster.
- clusters
List<Get
Cce Clusters V3Cluster> - Indicates a list of CCE clusters found. Structure is documented below.
- id String
- The ID of the cluster.
- ids List<String>
- Indicates a list of IDs of all CCE clusters found.
- region String
- cluster
Id String - cluster
Type String - The type of the cluster. Possible values:
VirtualMachine
,ARM64
. - enterprise
Project StringId - The enterprise project ID of the CCE cluster.
- name String
- The user name.
- status String
- The status of the cluster.
- vpc
Id String - The vpc ID of the cluster.
- clusters
Get
Cce Clusters V3Cluster[] - Indicates a list of CCE clusters found. Structure is documented below.
- id string
- The ID of the cluster.
- ids string[]
- Indicates a list of IDs of all CCE clusters found.
- region string
- cluster
Id string - cluster
Type string - The type of the cluster. Possible values:
VirtualMachine
,ARM64
. - enterprise
Project stringId - The enterprise project ID of the CCE cluster.
- name string
- The user name.
- status string
- The status of the cluster.
- vpc
Id string - The vpc ID of the cluster.
- clusters
Sequence[Get
Cce Clusters V3Cluster] - Indicates a list of CCE clusters found. Structure is documented below.
- id str
- The ID of the cluster.
- ids Sequence[str]
- Indicates a list of IDs of all CCE clusters found.
- region str
- cluster_
id str - cluster_
type str - The type of the cluster. Possible values:
VirtualMachine
,ARM64
. - enterprise_
project_ strid - The enterprise project ID of the CCE cluster.
- name str
- The user name.
- status str
- The status of the cluster.
- vpc_
id str - The vpc ID of the cluster.
- clusters List<Property Map>
- Indicates a list of CCE clusters found. Structure is documented below.
- id String
- The ID of the cluster.
- ids List<String>
- Indicates a list of IDs of all CCE clusters found.
- region String
- cluster
Id String - cluster
Type String - The type of the cluster. Possible values:
VirtualMachine
,ARM64
. - enterprise
Project StringId - The enterprise project ID of the CCE cluster.
- name String
- The user name.
- status String
- The status of the cluster.
- vpc
Id String - The vpc ID of the cluster.
Supporting Types
GetCceClustersV3Cluster
- Authentication
Mode string - The authentication mode of the cluster, possible values are
x509
andrbac
. Defaults torbac
. - Billing
Mode double - The charging mode of the cluster.
- Certificate
Clusters List<GetCce Clusters V3Cluster Certificate Cluster> - The certificate clusters. Structure is documented below.
- Certificate
Users List<GetCce Clusters V3Cluster Certificate User> - The certificate users. Structure is documented below.
- Cluster
Type string - Specifies the type of the cluster. Possible values:
VirtualMachine
,BareMetal
. - Cluster
Version string - The version of the cluster.
- Container
Network stringCidr - The container network segment.
- Container
Network stringType - The container network type:
overlay_l2
,underlay_ipvlan
,vpc-router
oreni
. - Description string
- The description of the cluster.
- Endpoints
List<Get
Cce Clusters V3Cluster Endpoint> - The access addresses of kube-apiserver in the cluster. Structure is documented below.
- Eni
Subnet stringCidr - The ENI network segment.
- Eni
Subnet stringId - The
IPv4 subnet ID
of the subnet where the ENI resides. - Enterprise
Project stringId - Specifies the enterprise project ID of the cluster.
- Flavor
Id string - The specification of the cluster.
- Id string
- The ID of the cluster.
- Kube
Config stringRaw - The raw Kubernetes config to be used by kubectl and other compatible tools.
- Masters
List<Get
Cce Clusters V3Cluster Master> - The advanced configuration of master nodes. Structure is documented below.
- Name string
- Specifies the name of the cluster.
- Security
Group stringId - The security group ID of the cluster.
- Service
Network stringCidr - The service network segment.
- Status string
- Specifies the status of the cluster.
- Subnet
Id string - The ID of the subnet used to create the node.
- Vpc
Id string - Specifies the VPC ID to which the cluster belongs.
- Authentication
Mode string - The authentication mode of the cluster, possible values are
x509
andrbac
. Defaults torbac
. - Billing
Mode float64 - The charging mode of the cluster.
- Certificate
Clusters []GetCce Clusters V3Cluster Certificate Cluster - The certificate clusters. Structure is documented below.
- Certificate
Users []GetCce Clusters V3Cluster Certificate User - The certificate users. Structure is documented below.
- Cluster
Type string - Specifies the type of the cluster. Possible values:
VirtualMachine
,BareMetal
. - Cluster
Version string - The version of the cluster.
- Container
Network stringCidr - The container network segment.
- Container
Network stringType - The container network type:
overlay_l2
,underlay_ipvlan
,vpc-router
oreni
. - Description string
- The description of the cluster.
- Endpoints
[]Get
Cce Clusters V3Cluster Endpoint - The access addresses of kube-apiserver in the cluster. Structure is documented below.
- Eni
Subnet stringCidr - The ENI network segment.
- Eni
Subnet stringId - The
IPv4 subnet ID
of the subnet where the ENI resides. - Enterprise
Project stringId - Specifies the enterprise project ID of the cluster.
- Flavor
Id string - The specification of the cluster.
- Id string
- The ID of the cluster.
- Kube
Config stringRaw - The raw Kubernetes config to be used by kubectl and other compatible tools.
- Masters
[]Get
Cce Clusters V3Cluster Master - The advanced configuration of master nodes. Structure is documented below.
- Name string
- Specifies the name of the cluster.
- Security
Group stringId - The security group ID of the cluster.
- Service
Network stringCidr - The service network segment.
- Status string
- Specifies the status of the cluster.
- Subnet
Id string - The ID of the subnet used to create the node.
- Vpc
Id string - Specifies the VPC ID to which the cluster belongs.
- authentication
Mode String - The authentication mode of the cluster, possible values are
x509
andrbac
. Defaults torbac
. - billing
Mode Double - The charging mode of the cluster.
- certificate
Clusters List<GetCce Clusters V3Cluster Certificate Cluster> - The certificate clusters. Structure is documented below.
- certificate
Users List<GetCce Clusters V3Cluster Certificate User> - The certificate users. Structure is documented below.
- cluster
Type String - Specifies the type of the cluster. Possible values:
VirtualMachine
,BareMetal
. - cluster
Version String - The version of the cluster.
- container
Network StringCidr - The container network segment.
- container
Network StringType - The container network type:
overlay_l2
,underlay_ipvlan
,vpc-router
oreni
. - description String
- The description of the cluster.
- endpoints
List<Get
Cce Clusters V3Cluster Endpoint> - The access addresses of kube-apiserver in the cluster. Structure is documented below.
- eni
Subnet StringCidr - The ENI network segment.
- eni
Subnet StringId - The
IPv4 subnet ID
of the subnet where the ENI resides. - enterprise
Project StringId - Specifies the enterprise project ID of the cluster.
- flavor
Id String - The specification of the cluster.
- id String
- The ID of the cluster.
- kube
Config StringRaw - The raw Kubernetes config to be used by kubectl and other compatible tools.
- masters
List<Get
Cce Clusters V3Cluster Master> - The advanced configuration of master nodes. Structure is documented below.
- name String
- Specifies the name of the cluster.
- security
Group StringId - The security group ID of the cluster.
- service
Network StringCidr - The service network segment.
- status String
- Specifies the status of the cluster.
- subnet
Id String - The ID of the subnet used to create the node.
- vpc
Id String - Specifies the VPC ID to which the cluster belongs.
- authentication
Mode string - The authentication mode of the cluster, possible values are
x509
andrbac
. Defaults torbac
. - billing
Mode number - The charging mode of the cluster.
- certificate
Clusters GetCce Clusters V3Cluster Certificate Cluster[] - The certificate clusters. Structure is documented below.
- certificate
Users GetCce Clusters V3Cluster Certificate User[] - The certificate users. Structure is documented below.
- cluster
Type string - Specifies the type of the cluster. Possible values:
VirtualMachine
,BareMetal
. - cluster
Version string - The version of the cluster.
- container
Network stringCidr - The container network segment.
- container
Network stringType - The container network type:
overlay_l2
,underlay_ipvlan
,vpc-router
oreni
. - description string
- The description of the cluster.
- endpoints
Get
Cce Clusters V3Cluster Endpoint[] - The access addresses of kube-apiserver in the cluster. Structure is documented below.
- eni
Subnet stringCidr - The ENI network segment.
- eni
Subnet stringId - The
IPv4 subnet ID
of the subnet where the ENI resides. - enterprise
Project stringId - Specifies the enterprise project ID of the cluster.
- flavor
Id string - The specification of the cluster.
- id string
- The ID of the cluster.
- kube
Config stringRaw - The raw Kubernetes config to be used by kubectl and other compatible tools.
- masters
Get
Cce Clusters V3Cluster Master[] - The advanced configuration of master nodes. Structure is documented below.
- name string
- Specifies the name of the cluster.
- security
Group stringId - The security group ID of the cluster.
- service
Network stringCidr - The service network segment.
- status string
- Specifies the status of the cluster.
- subnet
Id string - The ID of the subnet used to create the node.
- vpc
Id string - Specifies the VPC ID to which the cluster belongs.
- authentication_
mode str - The authentication mode of the cluster, possible values are
x509
andrbac
. Defaults torbac
. - billing_
mode float - The charging mode of the cluster.
- certificate_
clusters Sequence[GetCce Clusters V3Cluster Certificate Cluster] - The certificate clusters. Structure is documented below.
- certificate_
users Sequence[GetCce Clusters V3Cluster Certificate User] - The certificate users. Structure is documented below.
- cluster_
type str - Specifies the type of the cluster. Possible values:
VirtualMachine
,BareMetal
. - cluster_
version str - The version of the cluster.
- container_
network_ strcidr - The container network segment.
- container_
network_ strtype - The container network type:
overlay_l2
,underlay_ipvlan
,vpc-router
oreni
. - description str
- The description of the cluster.
- endpoints
Sequence[Get
Cce Clusters V3Cluster Endpoint] - The access addresses of kube-apiserver in the cluster. Structure is documented below.
- eni_
subnet_ strcidr - The ENI network segment.
- eni_
subnet_ strid - The
IPv4 subnet ID
of the subnet where the ENI resides. - enterprise_
project_ strid - Specifies the enterprise project ID of the cluster.
- flavor_
id str - The specification of the cluster.
- id str
- The ID of the cluster.
- kube_
config_ strraw - The raw Kubernetes config to be used by kubectl and other compatible tools.
- masters
Sequence[Get
Cce Clusters V3Cluster Master] - The advanced configuration of master nodes. Structure is documented below.
- name str
- Specifies the name of the cluster.
- security_
group_ strid - The security group ID of the cluster.
- service_
network_ strcidr - The service network segment.
- status str
- Specifies the status of the cluster.
- subnet_
id str - The ID of the subnet used to create the node.
- vpc_
id str - Specifies the VPC ID to which the cluster belongs.
- authentication
Mode String - The authentication mode of the cluster, possible values are
x509
andrbac
. Defaults torbac
. - billing
Mode Number - The charging mode of the cluster.
- certificate
Clusters List<Property Map> - The certificate clusters. Structure is documented below.
- certificate
Users List<Property Map> - The certificate users. Structure is documented below.
- cluster
Type String - Specifies the type of the cluster. Possible values:
VirtualMachine
,BareMetal
. - cluster
Version String - The version of the cluster.
- container
Network StringCidr - The container network segment.
- container
Network StringType - The container network type:
overlay_l2
,underlay_ipvlan
,vpc-router
oreni
. - description String
- The description of the cluster.
- endpoints List<Property Map>
- The access addresses of kube-apiserver in the cluster. Structure is documented below.
- eni
Subnet StringCidr - The ENI network segment.
- eni
Subnet StringId - The
IPv4 subnet ID
of the subnet where the ENI resides. - enterprise
Project StringId - Specifies the enterprise project ID of the cluster.
- flavor
Id String - The specification of the cluster.
- id String
- The ID of the cluster.
- kube
Config StringRaw - The raw Kubernetes config to be used by kubectl and other compatible tools.
- masters List<Property Map>
- The advanced configuration of master nodes. Structure is documented below.
- name String
- Specifies the name of the cluster.
- security
Group StringId - The security group ID of the cluster.
- service
Network StringCidr - The service network segment.
- status String
- Specifies the status of the cluster.
- subnet
Id String - The ID of the subnet used to create the node.
- vpc
Id String - Specifies the VPC ID to which the cluster belongs.
GetCceClustersV3ClusterCertificateCluster
GetCceClustersV3ClusterCertificateUser
- Client
Certificate stringData - The client certificate data.
- Client
Key stringData - The client key data.
- Name string
- Specifies the name of the cluster.
- Client
Certificate stringData - The client certificate data.
- Client
Key stringData - The client key data.
- Name string
- Specifies the name of the cluster.
- client
Certificate StringData - The client certificate data.
- client
Key StringData - The client key data.
- name String
- Specifies the name of the cluster.
- client
Certificate stringData - The client certificate data.
- client
Key stringData - The client key data.
- name string
- Specifies the name of the cluster.
- client_
certificate_ strdata - The client certificate data.
- client_
key_ strdata - The client key data.
- name str
- Specifies the name of the cluster.
- client
Certificate StringData - The client certificate data.
- client
Key StringData - The client key data.
- name String
- Specifies the name of the cluster.
GetCceClustersV3ClusterEndpoint
GetCceClustersV3ClusterMaster
- Availability
Zone string - The availability zone (AZ) of the master node.
- Availability
Zone string - The availability zone (AZ) of the master node.
- availability
Zone String - The availability zone (AZ) of the master node.
- availability
Zone string - The availability zone (AZ) of the master node.
- availability_
zone str - The availability zone (AZ) of the master node.
- availability
Zone String - The availability zone (AZ) of the master node.
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