Viewing docs for flexibleengine 1.46.0
published on Monday, Apr 14, 2025 by flexibleenginecloud
published on Monday, Apr 14, 2025 by flexibleenginecloud
Viewing docs for flexibleengine 1.46.0
published on Monday, Apr 14, 2025 by flexibleenginecloud
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 dictionaryThe following arguments are supported:
- Cluster
Type 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.
- Vpc
Id string - The ID of the VPC used to create the node.
- Cluster
Type 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.
- Vpc
Id string - The ID of the VPC used to create the node.
- cluster
Type 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.
- vpc
Id String - The ID of the VPC used to create the node.
- cluster
Type 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.
- vpc
Id 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.
- cluster
Type 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.
- vpc
Id String - The ID of the VPC used to create the node.
getCceClusterV3 Result
The following output properties are available:
- Authentication
Mode string - Authentication mode of the cluster, possible values are x509 and rbac.
- Billing
Mode double - Cluster
Version string - The version of cluster in string format.
- Container
Network stringCidr - The container network segment.
- Container
Network stringType - The container network type: overlay_l2 , underlay_ipvlan or vpc-router.
- Custom
Sans List<string> - Custom san list for certificate. (array of string)
- Description string
- Cluster description.
- External
Apig stringEndpoint - The endpoint of the cluster to be accessed through API Gateway.
- External
Endpoint string - The external network address.
- Flavor
Id string - The cluster specification in string format.
- Highway
Subnet stringId - The ID of the high speed network used to create bare metal nodes.
- Internal
Endpoint string - The internal network address.
- Masters
List<Get
Cce Cluster V3Master> - Advanced configuration of master nodes. The masters object structure is documented below.
- Region string
- Security
Group stringId - Security group ID of the cluster.
- Service
Network stringCidr - The service network segment.
- Subnet
Id string - The ID of the VPC Subnet used to create the node.
- Cluster
Type string - Id string
- The ID of the cluster.
- Name string
- The name of the cluster in string format.
- Status string
- Vpc
Id string - The ID of the VPC used to create the node.
- Authentication
Mode string - Authentication mode of the cluster, possible values are x509 and rbac.
- Billing
Mode float64 - Cluster
Version string - The version of cluster in string format.
- Container
Network stringCidr - The container network segment.
- Container
Network stringType - The container network type: overlay_l2 , underlay_ipvlan or vpc-router.
- Custom
Sans []string - Custom san list for certificate. (array of string)
- Description string
- Cluster description.
- External
Apig stringEndpoint - The endpoint of the cluster to be accessed through API Gateway.
- External
Endpoint string - The external network address.
- Flavor
Id string - The cluster specification in string format.
- Highway
Subnet stringId - The ID of the high speed network used to create bare metal nodes.
- Internal
Endpoint string - The internal network address.
- Masters
[]Get
Cce Cluster V3Master - Advanced configuration of master nodes. The masters object structure is documented below.
- Region string
- Security
Group stringId - Security group ID of the cluster.
- Service
Network stringCidr - The service network segment.
- Subnet
Id string - The ID of the VPC Subnet used to create the node.
- Cluster
Type string - Id string
- The ID of the cluster.
- Name string
- The name of the cluster in string format.
- Status string
- Vpc
Id string - The ID of the VPC used to create the node.
- authentication
Mode String - Authentication mode of the cluster, possible values are x509 and rbac.
- billing
Mode Double - cluster
Version String - The version of cluster in string format.
- container
Network StringCidr - The container network segment.
- container
Network StringType - The container network type: overlay_l2 , underlay_ipvlan or vpc-router.
- custom
Sans List<String> - Custom san list for certificate. (array of string)
- description String
- Cluster description.
- external
Apig StringEndpoint - The endpoint of the cluster to be accessed through API Gateway.
- external
Endpoint String - The external network address.
- flavor
Id String - The cluster specification in string format.
- highway
Subnet StringId - The ID of the high speed network used to create bare metal nodes.
- internal
Endpoint String - The internal network address.
- masters
List<Get
Cce Cluster V3Master> - Advanced configuration of master nodes. The masters object structure is documented below.
- region String
- security
Group StringId - Security group ID of the cluster.
- service
Network StringCidr - The service network segment.
- subnet
Id String - The ID of the VPC Subnet used to create the node.
- cluster
Type String - id String
- The ID of the cluster.
- name String
- The name of the cluster in string format.
- status String
- vpc
Id String - The ID of the VPC used to create the node.
- authentication
Mode string - Authentication mode of the cluster, possible values are x509 and rbac.
- billing
Mode number - cluster
Version string - The version of cluster in string format.
- container
Network stringCidr - The container network segment.
- container
Network stringType - The container network type: overlay_l2 , underlay_ipvlan or vpc-router.
- custom
Sans string[] - Custom san list for certificate. (array of string)
- description string
- Cluster description.
- external
Apig stringEndpoint - The endpoint of the cluster to be accessed through API Gateway.
- external
Endpoint string - The external network address.
- flavor
Id string - The cluster specification in string format.
- highway
Subnet stringId - The ID of the high speed network used to create bare metal nodes.
- internal
Endpoint string - The internal network address.
- masters
Get
Cce Cluster V3Master[] - Advanced configuration of master nodes. The masters object structure is documented below.
- region string
- security
Group stringId - Security group ID of the cluster.
- service
Network stringCidr - The service network segment.
- subnet
Id string - The ID of the VPC Subnet used to create the node.
- cluster
Type string - id string
- The ID of the cluster.
- name string
- The name of the cluster in string format.
- status string
- vpc
Id 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_ strcidr - The container network segment.
- container_
network_ strtype - 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_ strendpoint - 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_ strid - The ID of the high speed network used to create bare metal nodes.
- internal_
endpoint str - The internal network address.
- masters
Sequence[Get
Cce Cluster V3Master] - Advanced configuration of master nodes. The masters object structure is documented below.
- region str
- security_
group_ strid - Security group ID of the cluster.
- service_
network_ strcidr - 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.
- authentication
Mode String - Authentication mode of the cluster, possible values are x509 and rbac.
- billing
Mode Number - cluster
Version String - The version of cluster in string format.
- container
Network StringCidr - The container network segment.
- container
Network StringType - The container network type: overlay_l2 , underlay_ipvlan or vpc-router.
- custom
Sans List<String> - Custom san list for certificate. (array of string)
- description String
- Cluster description.
- external
Apig StringEndpoint - The endpoint of the cluster to be accessed through API Gateway.
- external
Endpoint String - The external network address.
- flavor
Id String - The cluster specification in string format.
- highway
Subnet StringId - The ID of the high speed network used to create bare metal nodes.
- internal
Endpoint String - The internal network address.
- masters List<Property Map>
- Advanced configuration of master nodes. The masters object structure is documented below.
- region String
- security
Group StringId - Security group ID of the cluster.
- service
Network StringCidr - The service network segment.
- subnet
Id String - The ID of the VPC Subnet used to create the node.
- cluster
Type String - id String
- The ID of the cluster.
- name String
- The name of the cluster in string format.
- status String
- vpc
Id String - The ID of the VPC used to create the node.
Supporting Types
GetCceClusterV3Master
- 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
- flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
- License
- Notes
- This Pulumi package is based on the
flexibleengineTerraform Provider.
Viewing docs for flexibleengine 1.46.0
published on Monday, Apr 14, 2025 by flexibleenginecloud
published on Monday, Apr 14, 2025 by flexibleenginecloud
