1. Packages
  2. Flexibleengine Provider
  3. API Docs
  4. getCceClusterV3
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

flexibleengine.getCceClusterV3

Explore with Pulumi AI

flexibleengine logo
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

    Provides details about a specified CCE cluster.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as flexibleengine from "@pulumi/flexibleengine";
    
    const config = new pulumi.Config();
    const clusterName = config.requireObject("clusterName");
    const cluster = flexibleengine.getCceClusterV3({
        name: clusterName,
        status: "Available",
    });
    
    import pulumi
    import pulumi_flexibleengine as flexibleengine
    
    config = pulumi.Config()
    cluster_name = config.require_object("clusterName")
    cluster = flexibleengine.get_cce_cluster_v3(name=cluster_name,
        status="Available")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
    	"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 := flexibleengine.LookupCceClusterV3(ctx, &flexibleengine.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 Flexibleengine = Pulumi.Flexibleengine;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var clusterName = config.RequireObject<dynamic>("clusterName");
        var cluster = Flexibleengine.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.flexibleengine.FlexibleengineFunctions;
    import com.pulumi.flexibleengine.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 cluster = FlexibleengineFunctions.getCceClusterV3(GetCceClusterV3Args.builder()
                .name(clusterName)
                .status("Available")
                .build());
    
        }
    }
    
    configuration:
      clusterName:
        type: dynamic
    variables:
      cluster:
        fn::invoke:
          function: flexibleengine: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: flexibleengine:index/getCceClusterV3:getCceClusterV3
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ClusterType string
    Type of the cluster. Possible values: VirtualMachine, BareMetal or Windows
    Id string
    The ID of container cluster.
    Name string
    The Name of the cluster resource.
    Region string
    The region in which to query the data source. If omitted, the provider-level region will be used.
    Status string
    The state of the cluster.
    VpcId string
    The ID of the VPC used to create the node.
    ClusterType string
    Type of the cluster. Possible values: VirtualMachine, BareMetal or Windows
    Id string
    The ID of container cluster.
    Name string
    The Name of the cluster resource.
    Region string
    The region in which to query the data source. If omitted, the provider-level region will be used.
    Status string
    The state of the cluster.
    VpcId string
    The ID of the VPC used to create the node.
    clusterType String
    Type of the cluster. Possible values: VirtualMachine, BareMetal or Windows
    id String
    The ID of container cluster.
    name String
    The Name of the cluster resource.
    region String
    The region in which to query the data source. If omitted, the provider-level region will be used.
    status String
    The state of the cluster.
    vpcId String
    The ID of the VPC used to create the node.
    clusterType string
    Type of the cluster. Possible values: VirtualMachine, BareMetal or Windows
    id string
    The ID of container cluster.
    name string
    The Name of the cluster resource.
    region string
    The region in which to query the data source. If omitted, the provider-level region will be used.
    status string
    The state of the cluster.
    vpcId string
    The ID of the VPC used to create the node.
    cluster_type str
    Type of the cluster. Possible values: VirtualMachine, BareMetal or Windows
    id str
    The ID of container cluster.
    name str
    The Name of the cluster resource.
    region str
    The region in which to query the data source. If omitted, the provider-level region will be used.
    status str
    The state of the cluster.
    vpc_id str
    The ID of the VPC used to create the node.
    clusterType String
    Type of the cluster. Possible values: VirtualMachine, BareMetal or Windows
    id String
    The ID of container cluster.
    name String
    The Name of the cluster resource.
    region String
    The region in which to query the data source. If omitted, the provider-level region will be used.
    status String
    The state of the cluster.
    vpcId String
    The ID of the VPC used to create the node.

    getCceClusterV3 Result

    The following output properties are available:

    AuthenticationMode string
    Authentication mode of the cluster, possible values are x509 and rbac.
    BillingMode double
    ClusterVersion string
    The version of cluster in string format.
    ContainerNetworkCidr string
    The container network segment.
    ContainerNetworkType string
    The container network type: overlay_l2 , underlay_ipvlan or vpc-router.
    CustomSans List<string>
    Custom san list for certificate. (array of string)
    Description string
    Cluster description.
    ExternalApigEndpoint string
    The endpoint of the cluster to be accessed through API Gateway.
    ExternalEndpoint string
    The external network address.
    FlavorId string
    The cluster specification in string format.
    HighwaySubnetId string
    The ID of the high speed network used to create bare metal nodes.
    InternalEndpoint string
    The internal network address.
    Masters List<GetCceClusterV3Master>
    Advanced configuration of master nodes. The masters object structure is documented below.
    Region string
    SecurityGroupId string
    Security group ID of the cluster.
    ServiceNetworkCidr string
    The service network segment.
    SubnetId string
    The ID of the VPC Subnet used to create the node.
    ClusterType string
    Id string
    The ID of the cluster.
    Name string
    The name of the cluster in string format.
    Status string
    VpcId string
    The ID of the VPC used to create the node.
    AuthenticationMode string
    Authentication mode of the cluster, possible values are x509 and rbac.
    BillingMode float64
    ClusterVersion string
    The version of cluster in string format.
    ContainerNetworkCidr string
    The container network segment.
    ContainerNetworkType string
    The container network type: overlay_l2 , underlay_ipvlan or vpc-router.
    CustomSans []string
    Custom san list for certificate. (array of string)
    Description string
    Cluster description.
    ExternalApigEndpoint string
    The endpoint of the cluster to be accessed through API Gateway.
    ExternalEndpoint string
    The external network address.
    FlavorId string
    The cluster specification in string format.
    HighwaySubnetId string
    The ID of the high speed network used to create bare metal nodes.
    InternalEndpoint string
    The internal network address.
    Masters []GetCceClusterV3Master
    Advanced configuration of master nodes. The masters object structure is documented below.
    Region string
    SecurityGroupId string
    Security group ID of the cluster.
    ServiceNetworkCidr string
    The service network segment.
    SubnetId string
    The ID of the VPC Subnet used to create the node.
    ClusterType string
    Id string
    The ID of the cluster.
    Name string
    The name of the cluster in string format.
    Status string
    VpcId string
    The ID of the VPC used to create the node.
    authenticationMode String
    Authentication mode of the cluster, possible values are x509 and rbac.
    billingMode Double
    clusterVersion String
    The version of cluster in string format.
    containerNetworkCidr String
    The container network segment.
    containerNetworkType String
    The container network type: overlay_l2 , underlay_ipvlan or vpc-router.
    customSans List<String>
    Custom san list for certificate. (array of string)
    description String
    Cluster description.
    externalApigEndpoint String
    The endpoint of the cluster to be accessed through API Gateway.
    externalEndpoint String
    The external network address.
    flavorId String
    The cluster specification in string format.
    highwaySubnetId String
    The ID of the high speed network used to create bare metal nodes.
    internalEndpoint String
    The internal network address.
    masters List<GetCceClusterV3Master>
    Advanced configuration of master nodes. The masters object structure is documented below.
    region String
    securityGroupId String
    Security group ID of the cluster.
    serviceNetworkCidr String
    The service network segment.
    subnetId String
    The ID of the VPC Subnet used to create the node.
    clusterType String
    id String
    The ID of the cluster.
    name String
    The name of the cluster in string format.
    status String
    vpcId String
    The ID of the VPC used to create the node.
    authenticationMode string
    Authentication mode of the cluster, possible values are x509 and rbac.
    billingMode number
    clusterVersion string
    The version of cluster in string format.
    containerNetworkCidr string
    The container network segment.
    containerNetworkType string
    The container network type: overlay_l2 , underlay_ipvlan or vpc-router.
    customSans string[]
    Custom san list for certificate. (array of string)
    description string
    Cluster description.
    externalApigEndpoint string
    The endpoint of the cluster to be accessed through API Gateway.
    externalEndpoint string
    The external network address.
    flavorId string
    The cluster specification in string format.
    highwaySubnetId string
    The ID of the high speed network used to create bare metal nodes.
    internalEndpoint string
    The internal network address.
    masters GetCceClusterV3Master[]
    Advanced configuration of master nodes. The masters object structure is documented below.
    region string
    securityGroupId string
    Security group ID of the cluster.
    serviceNetworkCidr string
    The service network segment.
    subnetId string
    The ID of the VPC Subnet used to create the node.
    clusterType string
    id string
    The ID of the cluster.
    name string
    The name of the cluster in string format.
    status string
    vpcId string
    The ID of the VPC used to create the node.
    authentication_mode str
    Authentication mode of the cluster, possible values are x509 and rbac.
    billing_mode float
    cluster_version str
    The version of cluster in string format.
    container_network_cidr str
    The container network segment.
    container_network_type str
    The container network type: overlay_l2 , underlay_ipvlan or vpc-router.
    custom_sans Sequence[str]
    Custom san list for certificate. (array of string)
    description str
    Cluster description.
    external_apig_endpoint str
    The endpoint of the cluster to be accessed through API Gateway.
    external_endpoint str
    The external network address.
    flavor_id str
    The cluster specification in string format.
    highway_subnet_id str
    The ID of the high speed network used to create bare metal nodes.
    internal_endpoint str
    The internal network address.
    masters Sequence[GetCceClusterV3Master]
    Advanced configuration of master nodes. The masters object structure is documented below.
    region str
    security_group_id str
    Security group ID of the cluster.
    service_network_cidr str
    The service network segment.
    subnet_id str
    The ID of the VPC Subnet used to create the node.
    cluster_type str
    id str
    The ID of the cluster.
    name str
    The name of the cluster in string format.
    status str
    vpc_id str
    The ID of the VPC used to create the node.
    authenticationMode String
    Authentication mode of the cluster, possible values are x509 and rbac.
    billingMode Number
    clusterVersion String
    The version of cluster in string format.
    containerNetworkCidr String
    The container network segment.
    containerNetworkType String
    The container network type: overlay_l2 , underlay_ipvlan or vpc-router.
    customSans List<String>
    Custom san list for certificate. (array of string)
    description String
    Cluster description.
    externalApigEndpoint String
    The endpoint of the cluster to be accessed through API Gateway.
    externalEndpoint String
    The external network address.
    flavorId String
    The cluster specification in string format.
    highwaySubnetId String
    The ID of the high speed network used to create bare metal nodes.
    internalEndpoint String
    The internal network address.
    masters List<Property Map>
    Advanced configuration of master nodes. The masters object structure is documented below.
    region String
    securityGroupId String
    Security group ID of the cluster.
    serviceNetworkCidr String
    The service network segment.
    subnetId String
    The ID of the VPC Subnet used to create the node.
    clusterType String
    id String
    The ID of the cluster.
    name String
    The name of the cluster in string format.
    status String
    vpcId String
    The ID of the VPC used to create the node.

    Supporting Types

    GetCceClusterV3Master

    AvailabilityZone string
    The availability zone (AZ) of the master node.
    AvailabilityZone string
    The availability zone (AZ) of the master node.
    availabilityZone String
    The availability zone (AZ) of the master node.
    availabilityZone string
    The availability zone (AZ) of the master node.
    availability_zone str
    The availability zone (AZ) of the master node.
    availabilityZone String
    The availability zone (AZ) of the master node.

    Package Details

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