Volcengine v0.0.31 published on Monday, May 12, 2025 by Volcengine
volcengine.veecp.Clusters
Explore with Pulumi AI
Deprecated: volcengine.veecp.Clusters has been deprecated in favor of volcengine.veecp.getClusters
Use this data source to query detailed information of veecp clusters
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
import * as volcengine from "@volcengine/pulumi";
const fooZones = volcengine.ecs.getZones({});
const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
vpcName: "acc-test-project1",
cidrBlock: "172.16.0.0/16",
});
const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
subnetName: "acc-subnet-test-2",
cidrBlock: "172.16.0.0/24",
zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
vpcId: fooVpc.id,
});
const fooSecurityGroup = new volcengine.vpc.SecurityGroup("fooSecurityGroup", {
vpcId: fooVpc.id,
securityGroupName: "acc-test-security-group2",
});
const fooCluster = new volcengine.veecp.Cluster("fooCluster", {
description: "created by terraform",
deleteProtectionEnabled: false,
profile: "Edge",
clusterConfig: {
subnetIds: [fooSubnet.id],
apiServerPublicAccessEnabled: true,
apiServerPublicAccessConfig: {
publicAccessNetworkConfig: {
billingType: "PostPaidByBandwidth",
bandwidth: 1,
},
},
resourcePublicAccessDefaultEnabled: true,
},
podsConfig: {
podNetworkMode: "Flannel",
flannelConfig: {
podCidrs: ["172.22.224.0/20"],
maxPodsPerNode: 64,
},
},
servicesConfig: {
serviceCidrsv4s: ["172.30.0.0/18"],
},
});
const fooClusters = volcengine.veecp.getClustersOutput({
ids: [fooCluster.id],
});
import pulumi
import pulumi_volcengine as volcengine
foo_zones = volcengine.ecs.get_zones()
foo_vpc = volcengine.vpc.Vpc("fooVpc",
vpc_name="acc-test-project1",
cidr_block="172.16.0.0/16")
foo_subnet = volcengine.vpc.Subnet("fooSubnet",
subnet_name="acc-subnet-test-2",
cidr_block="172.16.0.0/24",
zone_id=foo_zones.zones[0].id,
vpc_id=foo_vpc.id)
foo_security_group = volcengine.vpc.SecurityGroup("fooSecurityGroup",
vpc_id=foo_vpc.id,
security_group_name="acc-test-security-group2")
foo_cluster = volcengine.veecp.Cluster("fooCluster",
description="created by terraform",
delete_protection_enabled=False,
profile="Edge",
cluster_config=volcengine.veecp.ClusterClusterConfigArgs(
subnet_ids=[foo_subnet.id],
api_server_public_access_enabled=True,
api_server_public_access_config=volcengine.veecp.ClusterClusterConfigApiServerPublicAccessConfigArgs(
public_access_network_config=volcengine.veecp.ClusterClusterConfigApiServerPublicAccessConfigPublicAccessNetworkConfigArgs(
billing_type="PostPaidByBandwidth",
bandwidth=1,
),
),
resource_public_access_default_enabled=True,
),
pods_config=volcengine.veecp.ClusterPodsConfigArgs(
pod_network_mode="Flannel",
flannel_config=volcengine.veecp.ClusterPodsConfigFlannelConfigArgs(
pod_cidrs=["172.22.224.0/20"],
max_pods_per_node=64,
),
),
services_config=volcengine.veecp.ClusterServicesConfigArgs(
service_cidrsv4s=["172.30.0.0/18"],
))
foo_clusters = volcengine.veecp.get_clusters_output(ids=[foo_cluster.id])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/veecp"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
fooZones, err := ecs.GetZones(ctx, nil, nil)
if err != nil {
return err
}
fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
VpcName: pulumi.String("acc-test-project1"),
CidrBlock: pulumi.String("172.16.0.0/16"),
})
if err != nil {
return err
}
fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
SubnetName: pulumi.String("acc-subnet-test-2"),
CidrBlock: pulumi.String("172.16.0.0/24"),
ZoneId: pulumi.String(fooZones.Zones[0].Id),
VpcId: fooVpc.ID(),
})
if err != nil {
return err
}
_, err = vpc.NewSecurityGroup(ctx, "fooSecurityGroup", &vpc.SecurityGroupArgs{
VpcId: fooVpc.ID(),
SecurityGroupName: pulumi.String("acc-test-security-group2"),
})
if err != nil {
return err
}
fooCluster, err := veecp.NewCluster(ctx, "fooCluster", &veecp.ClusterArgs{
Description: pulumi.String("created by terraform"),
DeleteProtectionEnabled: pulumi.Bool(false),
Profile: pulumi.String("Edge"),
ClusterConfig: &veecp.ClusterClusterConfigArgs{
SubnetIds: pulumi.StringArray{
fooSubnet.ID(),
},
ApiServerPublicAccessEnabled: pulumi.Bool(true),
ApiServerPublicAccessConfig: &veecp.ClusterClusterConfigApiServerPublicAccessConfigArgs{
PublicAccessNetworkConfig: &veecp.ClusterClusterConfigApiServerPublicAccessConfigPublicAccessNetworkConfigArgs{
BillingType: pulumi.String("PostPaidByBandwidth"),
Bandwidth: pulumi.Int(1),
},
},
ResourcePublicAccessDefaultEnabled: pulumi.Bool(true),
},
PodsConfig: &veecp.ClusterPodsConfigArgs{
PodNetworkMode: pulumi.String("Flannel"),
FlannelConfig: &veecp.ClusterPodsConfigFlannelConfigArgs{
PodCidrs: pulumi.StringArray{
pulumi.String("172.22.224.0/20"),
},
MaxPodsPerNode: pulumi.Int(64),
},
},
ServicesConfig: &veecp.ClusterServicesConfigArgs{
ServiceCidrsv4s: pulumi.StringArray{
pulumi.String("172.30.0.0/18"),
},
},
})
if err != nil {
return err
}
_ = veecp.GetClustersOutput(ctx, veecp.GetClustersOutputArgs{
Ids: pulumi.StringArray{
fooCluster.ID(),
},
}, nil)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var fooZones = Volcengine.Ecs.GetZones.Invoke();
var fooVpc = new Volcengine.Vpc.Vpc("fooVpc", new()
{
VpcName = "acc-test-project1",
CidrBlock = "172.16.0.0/16",
});
var fooSubnet = new Volcengine.Vpc.Subnet("fooSubnet", new()
{
SubnetName = "acc-subnet-test-2",
CidrBlock = "172.16.0.0/24",
ZoneId = fooZones.Apply(getZonesResult => getZonesResult.Zones[0]?.Id),
VpcId = fooVpc.Id,
});
var fooSecurityGroup = new Volcengine.Vpc.SecurityGroup("fooSecurityGroup", new()
{
VpcId = fooVpc.Id,
SecurityGroupName = "acc-test-security-group2",
});
var fooCluster = new Volcengine.Veecp.Cluster("fooCluster", new()
{
Description = "created by terraform",
DeleteProtectionEnabled = false,
Profile = "Edge",
ClusterConfig = new Volcengine.Veecp.Inputs.ClusterClusterConfigArgs
{
SubnetIds = new[]
{
fooSubnet.Id,
},
ApiServerPublicAccessEnabled = true,
ApiServerPublicAccessConfig = new Volcengine.Veecp.Inputs.ClusterClusterConfigApiServerPublicAccessConfigArgs
{
PublicAccessNetworkConfig = new Volcengine.Veecp.Inputs.ClusterClusterConfigApiServerPublicAccessConfigPublicAccessNetworkConfigArgs
{
BillingType = "PostPaidByBandwidth",
Bandwidth = 1,
},
},
ResourcePublicAccessDefaultEnabled = true,
},
PodsConfig = new Volcengine.Veecp.Inputs.ClusterPodsConfigArgs
{
PodNetworkMode = "Flannel",
FlannelConfig = new Volcengine.Veecp.Inputs.ClusterPodsConfigFlannelConfigArgs
{
PodCidrs = new[]
{
"172.22.224.0/20",
},
MaxPodsPerNode = 64,
},
},
ServicesConfig = new Volcengine.Veecp.Inputs.ClusterServicesConfigArgs
{
ServiceCidrsv4s = new[]
{
"172.30.0.0/18",
},
},
});
var fooClusters = Volcengine.Veecp.GetClusters.Invoke(new()
{
Ids = new[]
{
fooCluster.Id,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.ecs.EcsFunctions;
import com.pulumi.volcengine.ecs.inputs.GetZonesArgs;
import com.pulumi.volcengine.vpc.Vpc;
import com.pulumi.volcengine.vpc.VpcArgs;
import com.pulumi.volcengine.vpc.Subnet;
import com.pulumi.volcengine.vpc.SubnetArgs;
import com.pulumi.volcengine.vpc.SecurityGroup;
import com.pulumi.volcengine.vpc.SecurityGroupArgs;
import com.pulumi.volcengine.veecp.Cluster;
import com.pulumi.volcengine.veecp.ClusterArgs;
import com.pulumi.volcengine.veecp.inputs.ClusterClusterConfigArgs;
import com.pulumi.volcengine.veecp.inputs.ClusterClusterConfigApiServerPublicAccessConfigArgs;
import com.pulumi.volcengine.veecp.inputs.ClusterClusterConfigApiServerPublicAccessConfigPublicAccessNetworkConfigArgs;
import com.pulumi.volcengine.veecp.inputs.ClusterPodsConfigArgs;
import com.pulumi.volcengine.veecp.inputs.ClusterPodsConfigFlannelConfigArgs;
import com.pulumi.volcengine.veecp.inputs.ClusterServicesConfigArgs;
import com.pulumi.volcengine.veecp.VeecpFunctions;
import com.pulumi.volcengine.veecp.inputs.GetClustersArgs;
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 fooZones = EcsFunctions.getZones();
var fooVpc = new Vpc("fooVpc", VpcArgs.builder()
.vpcName("acc-test-project1")
.cidrBlock("172.16.0.0/16")
.build());
var fooSubnet = new Subnet("fooSubnet", SubnetArgs.builder()
.subnetName("acc-subnet-test-2")
.cidrBlock("172.16.0.0/24")
.zoneId(fooZones.applyValue(getZonesResult -> getZonesResult.zones()[0].id()))
.vpcId(fooVpc.id())
.build());
var fooSecurityGroup = new SecurityGroup("fooSecurityGroup", SecurityGroupArgs.builder()
.vpcId(fooVpc.id())
.securityGroupName("acc-test-security-group2")
.build());
var fooCluster = new Cluster("fooCluster", ClusterArgs.builder()
.description("created by terraform")
.deleteProtectionEnabled(false)
.profile("Edge")
.clusterConfig(ClusterClusterConfigArgs.builder()
.subnetIds(fooSubnet.id())
.apiServerPublicAccessEnabled(true)
.apiServerPublicAccessConfig(ClusterClusterConfigApiServerPublicAccessConfigArgs.builder()
.publicAccessNetworkConfig(ClusterClusterConfigApiServerPublicAccessConfigPublicAccessNetworkConfigArgs.builder()
.billingType("PostPaidByBandwidth")
.bandwidth(1)
.build())
.build())
.resourcePublicAccessDefaultEnabled(true)
.build())
.podsConfig(ClusterPodsConfigArgs.builder()
.podNetworkMode("Flannel")
.flannelConfig(ClusterPodsConfigFlannelConfigArgs.builder()
.podCidrs("172.22.224.0/20")
.maxPodsPerNode(64)
.build())
.build())
.servicesConfig(ClusterServicesConfigArgs.builder()
.serviceCidrsv4s("172.30.0.0/18")
.build())
.build());
final var fooClusters = VeecpFunctions.getClusters(GetClustersArgs.builder()
.ids(fooCluster.id())
.build());
}
}
resources:
fooVpc:
type: volcengine:vpc:Vpc
properties:
vpcName: acc-test-project1
cidrBlock: 172.16.0.0/16
fooSubnet:
type: volcengine:vpc:Subnet
properties:
subnetName: acc-subnet-test-2
cidrBlock: 172.16.0.0/24
zoneId: ${fooZones.zones[0].id}
vpcId: ${fooVpc.id}
fooSecurityGroup:
type: volcengine:vpc:SecurityGroup
properties:
vpcId: ${fooVpc.id}
securityGroupName: acc-test-security-group2
fooCluster:
type: volcengine:veecp:Cluster
properties:
description: created by terraform
deleteProtectionEnabled: false
profile: Edge
clusterConfig:
subnetIds:
- ${fooSubnet.id}
apiServerPublicAccessEnabled: true
apiServerPublicAccessConfig:
publicAccessNetworkConfig:
billingType: PostPaidByBandwidth
bandwidth: 1
resourcePublicAccessDefaultEnabled: true
podsConfig:
podNetworkMode: Flannel
flannelConfig:
podCidrs:
- 172.22.224.0/20
maxPodsPerNode: 64
servicesConfig:
serviceCidrsv4s:
- 172.30.0.0/18
variables:
fooZones:
fn::invoke:
Function: volcengine:ecs:getZones
Arguments: {}
fooClusters:
fn::invoke:
Function: volcengine:veecp:getClusters
Arguments:
ids:
- ${fooCluster.id}
Using Clusters
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 clusters(args: ClustersArgs, opts?: InvokeOptions): Promise<ClustersResult>
function clustersOutput(args: ClustersOutputArgs, opts?: InvokeOptions): Output<ClustersResult>
def clusters(create_client_token: Optional[str] = None,
delete_protection_enabled: Optional[bool] = None,
edge_tunnel_enabled: Optional[bool] = None,
ids: Optional[Sequence[str]] = None,
name: Optional[str] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
pods_config_pod_network_mode: Optional[str] = None,
profiles: Optional[Sequence[str]] = None,
statuses: Optional[Sequence[ClustersStatus]] = None,
update_client_token: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> ClustersResult
def clusters_output(create_client_token: Optional[pulumi.Input[str]] = None,
delete_protection_enabled: Optional[pulumi.Input[bool]] = None,
edge_tunnel_enabled: Optional[pulumi.Input[bool]] = None,
ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
name: Optional[pulumi.Input[str]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
pods_config_pod_network_mode: Optional[pulumi.Input[str]] = None,
profiles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
statuses: Optional[pulumi.Input[Sequence[pulumi.Input[ClustersStatusArgs]]]] = None,
update_client_token: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[ClustersResult]
func Clusters(ctx *Context, args *ClustersArgs, opts ...InvokeOption) (*ClustersResult, error)
func ClustersOutput(ctx *Context, args *ClustersOutputArgs, opts ...InvokeOption) ClustersResultOutput
public static class Clusters
{
public static Task<ClustersResult> InvokeAsync(ClustersArgs args, InvokeOptions? opts = null)
public static Output<ClustersResult> Invoke(ClustersInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<ClustersResult> clusters(ClustersArgs args, InvokeOptions options)
public static Output<ClustersResult> clusters(ClustersArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:veecp:Clusters
arguments:
# arguments dictionary
The following arguments are supported:
- Create
Client stringToken - ClientToken when the cluster is created successfully. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- Delete
Protection boolEnabled - Cluster deletion protection. Values: true: Enable deletion protection. false: Disable deletion protection.
- Edge
Tunnel boolEnabled - Whether to enable the edge tunnel. The value is
true
orfalse
. - Ids List<string>
- Cluster ID. Supports exact matching. A maximum of 100 array elements can be filled in at a time. Note: When this parameter is an empty array, filtering is based on all clusters in the specified region under the account.
- Name string
- Cluster name.
- Name
Regex string - A Name Regex of Cluster.
- Output
File string - File name where to save data source results.
- Pods
Config stringPod Network Mode - The container network model of the cluster, the value is
Flannel
orVpcCniShared
. Flannel: Flannel network model, an independent Underlay container network solution, combined with the global routing capability of VPC, to achieve a high-performance network experience for the cluster. VpcCniShared: VPC-CNI network model, an Underlay container network solution based on the ENI of the private network elastic network card, with high network communication performance. - Profiles List<string>
- Filter by cluster scenario: Cloud: non-edge cluster; Edge: edge cluster.
- Statuses
List<Clusters
Status> - Array of cluster states to filter. (The elements of the array are logically ORed. A maximum of 15 state array elements can be filled at a time).
- Update
Client stringToken - The ClientToken when the last cluster update succeeded. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- Create
Client stringToken - ClientToken when the cluster is created successfully. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- Delete
Protection boolEnabled - Cluster deletion protection. Values: true: Enable deletion protection. false: Disable deletion protection.
- Edge
Tunnel boolEnabled - Whether to enable the edge tunnel. The value is
true
orfalse
. - Ids []string
- Cluster ID. Supports exact matching. A maximum of 100 array elements can be filled in at a time. Note: When this parameter is an empty array, filtering is based on all clusters in the specified region under the account.
- Name string
- Cluster name.
- Name
Regex string - A Name Regex of Cluster.
- Output
File string - File name where to save data source results.
- Pods
Config stringPod Network Mode - The container network model of the cluster, the value is
Flannel
orVpcCniShared
. Flannel: Flannel network model, an independent Underlay container network solution, combined with the global routing capability of VPC, to achieve a high-performance network experience for the cluster. VpcCniShared: VPC-CNI network model, an Underlay container network solution based on the ENI of the private network elastic network card, with high network communication performance. - Profiles []string
- Filter by cluster scenario: Cloud: non-edge cluster; Edge: edge cluster.
- Statuses
[]Clusters
Status - Array of cluster states to filter. (The elements of the array are logically ORed. A maximum of 15 state array elements can be filled at a time).
- Update
Client stringToken - The ClientToken when the last cluster update succeeded. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- create
Client StringToken - ClientToken when the cluster is created successfully. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- delete
Protection BooleanEnabled - Cluster deletion protection. Values: true: Enable deletion protection. false: Disable deletion protection.
- edge
Tunnel BooleanEnabled - Whether to enable the edge tunnel. The value is
true
orfalse
. - ids List<String>
- Cluster ID. Supports exact matching. A maximum of 100 array elements can be filled in at a time. Note: When this parameter is an empty array, filtering is based on all clusters in the specified region under the account.
- name String
- Cluster name.
- name
Regex String - A Name Regex of Cluster.
- output
File String - File name where to save data source results.
- pods
Config StringPod Network Mode - The container network model of the cluster, the value is
Flannel
orVpcCniShared
. Flannel: Flannel network model, an independent Underlay container network solution, combined with the global routing capability of VPC, to achieve a high-performance network experience for the cluster. VpcCniShared: VPC-CNI network model, an Underlay container network solution based on the ENI of the private network elastic network card, with high network communication performance. - profiles List<String>
- Filter by cluster scenario: Cloud: non-edge cluster; Edge: edge cluster.
- statuses
List<Clusters
Status> - Array of cluster states to filter. (The elements of the array are logically ORed. A maximum of 15 state array elements can be filled at a time).
- update
Client StringToken - The ClientToken when the last cluster update succeeded. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- create
Client stringToken - ClientToken when the cluster is created successfully. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- delete
Protection booleanEnabled - Cluster deletion protection. Values: true: Enable deletion protection. false: Disable deletion protection.
- edge
Tunnel booleanEnabled - Whether to enable the edge tunnel. The value is
true
orfalse
. - ids string[]
- Cluster ID. Supports exact matching. A maximum of 100 array elements can be filled in at a time. Note: When this parameter is an empty array, filtering is based on all clusters in the specified region under the account.
- name string
- Cluster name.
- name
Regex string - A Name Regex of Cluster.
- output
File string - File name where to save data source results.
- pods
Config stringPod Network Mode - The container network model of the cluster, the value is
Flannel
orVpcCniShared
. Flannel: Flannel network model, an independent Underlay container network solution, combined with the global routing capability of VPC, to achieve a high-performance network experience for the cluster. VpcCniShared: VPC-CNI network model, an Underlay container network solution based on the ENI of the private network elastic network card, with high network communication performance. - profiles string[]
- Filter by cluster scenario: Cloud: non-edge cluster; Edge: edge cluster.
- statuses
Clusters
Status[] - Array of cluster states to filter. (The elements of the array are logically ORed. A maximum of 15 state array elements can be filled at a time).
- update
Client stringToken - The ClientToken when the last cluster update succeeded. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- create_
client_ strtoken - ClientToken when the cluster is created successfully. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- delete_
protection_ boolenabled - Cluster deletion protection. Values: true: Enable deletion protection. false: Disable deletion protection.
- edge_
tunnel_ boolenabled - Whether to enable the edge tunnel. The value is
true
orfalse
. - ids Sequence[str]
- Cluster ID. Supports exact matching. A maximum of 100 array elements can be filled in at a time. Note: When this parameter is an empty array, filtering is based on all clusters in the specified region under the account.
- name str
- Cluster name.
- name_
regex str - A Name Regex of Cluster.
- output_
file str - File name where to save data source results.
- pods_
config_ strpod_ network_ mode - The container network model of the cluster, the value is
Flannel
orVpcCniShared
. Flannel: Flannel network model, an independent Underlay container network solution, combined with the global routing capability of VPC, to achieve a high-performance network experience for the cluster. VpcCniShared: VPC-CNI network model, an Underlay container network solution based on the ENI of the private network elastic network card, with high network communication performance. - profiles Sequence[str]
- Filter by cluster scenario: Cloud: non-edge cluster; Edge: edge cluster.
- statuses
Sequence[Clusters
Status] - Array of cluster states to filter. (The elements of the array are logically ORed. A maximum of 15 state array elements can be filled at a time).
- update_
client_ strtoken - The ClientToken when the last cluster update succeeded. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- create
Client StringToken - ClientToken when the cluster is created successfully. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- delete
Protection BooleanEnabled - Cluster deletion protection. Values: true: Enable deletion protection. false: Disable deletion protection.
- edge
Tunnel BooleanEnabled - Whether to enable the edge tunnel. The value is
true
orfalse
. - ids List<String>
- Cluster ID. Supports exact matching. A maximum of 100 array elements can be filled in at a time. Note: When this parameter is an empty array, filtering is based on all clusters in the specified region under the account.
- name String
- Cluster name.
- name
Regex String - A Name Regex of Cluster.
- output
File String - File name where to save data source results.
- pods
Config StringPod Network Mode - The container network model of the cluster, the value is
Flannel
orVpcCniShared
. Flannel: Flannel network model, an independent Underlay container network solution, combined with the global routing capability of VPC, to achieve a high-performance network experience for the cluster. VpcCniShared: VPC-CNI network model, an Underlay container network solution based on the ENI of the private network elastic network card, with high network communication performance. - profiles List<String>
- Filter by cluster scenario: Cloud: non-edge cluster; Edge: edge cluster.
- statuses List<Property Map>
- Array of cluster states to filter. (The elements of the array are logically ORed. A maximum of 15 state array elements can be filled at a time).
- update
Client StringToken - The ClientToken when the last cluster update succeeded. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
Clusters Result
The following output properties are available:
- Clusters
List<Clusters
Cluster> - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Create
Client stringToken - ClientToken when creation is successful. ClientToken is a string that guarantees request idempotency. This string is passed in by the caller.
- Delete
Protection boolEnabled - The delete protection of the cluster, the value is
true
orfalse
. - Edge
Tunnel boolEnabled - Ids List<string>
- Name string
- Cluster name.
- Name
Regex string - Output
File string - Pods
Config stringPod Network Mode - Profiles List<string>
- Statuses
List<Clusters
Status> - Update
Client stringToken - ClientToken when the last update was successful. ClientToken is a string that guarantees request idempotency. This string is passed in by the caller.
- Clusters
[]Clusters
Cluster - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Create
Client stringToken - ClientToken when creation is successful. ClientToken is a string that guarantees request idempotency. This string is passed in by the caller.
- Delete
Protection boolEnabled - The delete protection of the cluster, the value is
true
orfalse
. - Edge
Tunnel boolEnabled - Ids []string
- Name string
- Cluster name.
- Name
Regex string - Output
File string - Pods
Config stringPod Network Mode - Profiles []string
- Statuses
[]Clusters
Status - Update
Client stringToken - ClientToken when the last update was successful. ClientToken is a string that guarantees request idempotency. This string is passed in by the caller.
- clusters
List<Clusters
Cluster> - The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Integer - The total count of query.
- create
Client StringToken - ClientToken when creation is successful. ClientToken is a string that guarantees request idempotency. This string is passed in by the caller.
- delete
Protection BooleanEnabled - The delete protection of the cluster, the value is
true
orfalse
. - edge
Tunnel BooleanEnabled - ids List<String>
- name String
- Cluster name.
- name
Regex String - output
File String - pods
Config StringPod Network Mode - profiles List<String>
- statuses
List<Clusters
Status> - update
Client StringToken - ClientToken when the last update was successful. ClientToken is a string that guarantees request idempotency. This string is passed in by the caller.
- clusters
Clusters
Cluster[] - The collection of query.
- id string
- The provider-assigned unique ID for this managed resource.
- total
Count number - The total count of query.
- create
Client stringToken - ClientToken when creation is successful. ClientToken is a string that guarantees request idempotency. This string is passed in by the caller.
- delete
Protection booleanEnabled - The delete protection of the cluster, the value is
true
orfalse
. - edge
Tunnel booleanEnabled - ids string[]
- name string
- Cluster name.
- name
Regex string - output
File string - pods
Config stringPod Network Mode - profiles string[]
- statuses
Clusters
Status[] - update
Client stringToken - ClientToken when the last update was successful. ClientToken is a string that guarantees request idempotency. This string is passed in by the caller.
- clusters
Sequence[Clusters
Cluster] - The collection of query.
- id str
- The provider-assigned unique ID for this managed resource.
- total_
count int - The total count of query.
- create_
client_ strtoken - ClientToken when creation is successful. ClientToken is a string that guarantees request idempotency. This string is passed in by the caller.
- delete_
protection_ boolenabled - The delete protection of the cluster, the value is
true
orfalse
. - edge_
tunnel_ boolenabled - ids Sequence[str]
- name str
- Cluster name.
- name_
regex str - output_
file str - pods_
config_ strpod_ network_ mode - profiles Sequence[str]
- statuses
Sequence[Clusters
Status] - update_
client_ strtoken - ClientToken when the last update was successful. ClientToken is a string that guarantees request idempotency. This string is passed in by the caller.
- clusters List<Property Map>
- The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Number - The total count of query.
- create
Client StringToken - ClientToken when creation is successful. ClientToken is a string that guarantees request idempotency. This string is passed in by the caller.
- delete
Protection BooleanEnabled - The delete protection of the cluster, the value is
true
orfalse
. - edge
Tunnel BooleanEnabled - ids List<String>
- name String
- Cluster name.
- name
Regex String - output
File String - pods
Config StringPod Network Mode - profiles List<String>
- statuses List<Property Map>
- update
Client StringToken - ClientToken when the last update was successful. ClientToken is a string that guarantees request idempotency. This string is passed in by the caller.
Supporting Types
ClustersCluster
- Cluster
Config ClustersCluster Cluster Config - The config of the cluster.
- Create
Client stringToken - ClientToken when the cluster is created successfully. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- Create
Time string - Cluster creation time. UTC+0 time in standard RFC3339 format.
- Delete
Protection boolEnabled - Cluster deletion protection. Values: true: Enable deletion protection. false: Disable deletion protection.
- Description string
- Cluster description information.
- Id string
- The ID of the cluster.
- Kubernetes
Version string - Kubernetes version information corresponding to the cluster, specific to the patch version.
- Logging
Configs List<ClustersCluster Logging Config> - Cluster log configuration information.
- Name string
- Cluster name.
- Node
Statistics ClustersCluster Node Statistics - Statistics on the number of nodes corresponding to each master state in the cluster.
- Pods
Config ClustersCluster Pods Config - The config of the pods.
- Services
Config ClustersCluster Services Config - The config of the services.
- Statuses
List<Clusters
Cluster Status> - Cluster status. For detailed instructions, please refer to ClusterStatusResponse.
- Update
Client stringToken - The ClientToken when the last cluster update succeeded. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- Update
Time string - The time when the cluster last accepted a request and executed or completed execution. UTC+0 time in standard RFC3339 format.
- Cluster
Config ClustersCluster Cluster Config - The config of the cluster.
- Create
Client stringToken - ClientToken when the cluster is created successfully. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- Create
Time string - Cluster creation time. UTC+0 time in standard RFC3339 format.
- Delete
Protection boolEnabled - Cluster deletion protection. Values: true: Enable deletion protection. false: Disable deletion protection.
- Description string
- Cluster description information.
- Id string
- The ID of the cluster.
- Kubernetes
Version string - Kubernetes version information corresponding to the cluster, specific to the patch version.
- Logging
Configs []ClustersCluster Logging Config - Cluster log configuration information.
- Name string
- Cluster name.
- Node
Statistics ClustersCluster Node Statistics - Statistics on the number of nodes corresponding to each master state in the cluster.
- Pods
Config ClustersCluster Pods Config - The config of the pods.
- Services
Config ClustersCluster Services Config - The config of the services.
- Statuses
[]Clusters
Cluster Status - Cluster status. For detailed instructions, please refer to ClusterStatusResponse.
- Update
Client stringToken - The ClientToken when the last cluster update succeeded. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- Update
Time string - The time when the cluster last accepted a request and executed or completed execution. UTC+0 time in standard RFC3339 format.
- cluster
Config ClustersCluster Cluster Config - The config of the cluster.
- create
Client StringToken - ClientToken when the cluster is created successfully. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- create
Time String - Cluster creation time. UTC+0 time in standard RFC3339 format.
- delete
Protection BooleanEnabled - Cluster deletion protection. Values: true: Enable deletion protection. false: Disable deletion protection.
- description String
- Cluster description information.
- id String
- The ID of the cluster.
- kubernetes
Version String - Kubernetes version information corresponding to the cluster, specific to the patch version.
- logging
Configs List<ClustersCluster Logging Config> - Cluster log configuration information.
- name String
- Cluster name.
- node
Statistics ClustersCluster Node Statistics - Statistics on the number of nodes corresponding to each master state in the cluster.
- pods
Config ClustersCluster Pods Config - The config of the pods.
- services
Config ClustersCluster Services Config - The config of the services.
- statuses
List<Clusters
Cluster Status> - Cluster status. For detailed instructions, please refer to ClusterStatusResponse.
- update
Client StringToken - The ClientToken when the last cluster update succeeded. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- update
Time String - The time when the cluster last accepted a request and executed or completed execution. UTC+0 time in standard RFC3339 format.
- cluster
Config ClustersCluster Cluster Config - The config of the cluster.
- create
Client stringToken - ClientToken when the cluster is created successfully. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- create
Time string - Cluster creation time. UTC+0 time in standard RFC3339 format.
- delete
Protection booleanEnabled - Cluster deletion protection. Values: true: Enable deletion protection. false: Disable deletion protection.
- description string
- Cluster description information.
- id string
- The ID of the cluster.
- kubernetes
Version string - Kubernetes version information corresponding to the cluster, specific to the patch version.
- logging
Configs ClustersCluster Logging Config[] - Cluster log configuration information.
- name string
- Cluster name.
- node
Statistics ClustersCluster Node Statistics - Statistics on the number of nodes corresponding to each master state in the cluster.
- pods
Config ClustersCluster Pods Config - The config of the pods.
- services
Config ClustersCluster Services Config - The config of the services.
- statuses
Clusters
Cluster Status[] - Cluster status. For detailed instructions, please refer to ClusterStatusResponse.
- update
Client stringToken - The ClientToken when the last cluster update succeeded. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- update
Time string - The time when the cluster last accepted a request and executed or completed execution. UTC+0 time in standard RFC3339 format.
- cluster_
config ClustersCluster Cluster Config - The config of the cluster.
- create_
client_ strtoken - ClientToken when the cluster is created successfully. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- create_
time str - Cluster creation time. UTC+0 time in standard RFC3339 format.
- delete_
protection_ boolenabled - Cluster deletion protection. Values: true: Enable deletion protection. false: Disable deletion protection.
- description str
- Cluster description information.
- id str
- The ID of the cluster.
- kubernetes_
version str - Kubernetes version information corresponding to the cluster, specific to the patch version.
- logging_
configs Sequence[ClustersCluster Logging Config] - Cluster log configuration information.
- name str
- Cluster name.
- node_
statistics ClustersCluster Node Statistics - Statistics on the number of nodes corresponding to each master state in the cluster.
- pods_
config ClustersCluster Pods Config - The config of the pods.
- services_
config ClustersCluster Services Config - The config of the services.
- statuses
Sequence[Clusters
Cluster Status] - Cluster status. For detailed instructions, please refer to ClusterStatusResponse.
- update_
client_ strtoken - The ClientToken when the last cluster update succeeded. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- update_
time str - The time when the cluster last accepted a request and executed or completed execution. UTC+0 time in standard RFC3339 format.
- cluster
Config Property Map - The config of the cluster.
- create
Client StringToken - ClientToken when the cluster is created successfully. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- create
Time String - Cluster creation time. UTC+0 time in standard RFC3339 format.
- delete
Protection BooleanEnabled - Cluster deletion protection. Values: true: Enable deletion protection. false: Disable deletion protection.
- description String
- Cluster description information.
- id String
- The ID of the cluster.
- kubernetes
Version String - Kubernetes version information corresponding to the cluster, specific to the patch version.
- logging
Configs List<Property Map> - Cluster log configuration information.
- name String
- Cluster name.
- node
Statistics Property Map - Statistics on the number of nodes corresponding to each master state in the cluster.
- pods
Config Property Map - The config of the pods.
- services
Config Property Map - The config of the services.
- statuses List<Property Map>
- Cluster status. For detailed instructions, please refer to ClusterStatusResponse.
- update
Client StringToken - The ClientToken when the last cluster update succeeded. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- update
Time String - The time when the cluster last accepted a request and executed or completed execution. UTC+0 time in standard RFC3339 format.
ClustersClusterClusterConfig
- Api
Server ClustersEndpoints Cluster Cluster Config Api Server Endpoints - Endpoint information accessed by the cluster API Server.
- Api
Server ClustersPublic Access Config Cluster Cluster Config Api Server Public Access Config - Cluster API Server public network access configuration.
- Api
Server boolPublic Access Enabled - Cluster API Server public network access configuration, the value is
true
orfalse
. - Resource
Public boolAccess Default Enabled - Node public network access configuration, the value is
true
orfalse
. - Security
Group List<string>Ids - The security group used by the cluster control plane and nodes.
- Subnet
Ids List<string> - A list of Pod subnet IDs for the VPC-CNI container network.
- Vpc
Id string - The private network where the cluster control plane network resides.
- Api
Server ClustersEndpoints Cluster Cluster Config Api Server Endpoints - Endpoint information accessed by the cluster API Server.
- Api
Server ClustersPublic Access Config Cluster Cluster Config Api Server Public Access Config - Cluster API Server public network access configuration.
- Api
Server boolPublic Access Enabled - Cluster API Server public network access configuration, the value is
true
orfalse
. - Resource
Public boolAccess Default Enabled - Node public network access configuration, the value is
true
orfalse
. - Security
Group []stringIds - The security group used by the cluster control plane and nodes.
- Subnet
Ids []string - A list of Pod subnet IDs for the VPC-CNI container network.
- Vpc
Id string - The private network where the cluster control plane network resides.
- api
Server ClustersEndpoints Cluster Cluster Config Api Server Endpoints - Endpoint information accessed by the cluster API Server.
- api
Server ClustersPublic Access Config Cluster Cluster Config Api Server Public Access Config - Cluster API Server public network access configuration.
- api
Server BooleanPublic Access Enabled - Cluster API Server public network access configuration, the value is
true
orfalse
. - resource
Public BooleanAccess Default Enabled - Node public network access configuration, the value is
true
orfalse
. - security
Group List<String>Ids - The security group used by the cluster control plane and nodes.
- subnet
Ids List<String> - A list of Pod subnet IDs for the VPC-CNI container network.
- vpc
Id String - The private network where the cluster control plane network resides.
- api
Server ClustersEndpoints Cluster Cluster Config Api Server Endpoints - Endpoint information accessed by the cluster API Server.
- api
Server ClustersPublic Access Config Cluster Cluster Config Api Server Public Access Config - Cluster API Server public network access configuration.
- api
Server booleanPublic Access Enabled - Cluster API Server public network access configuration, the value is
true
orfalse
. - resource
Public booleanAccess Default Enabled - Node public network access configuration, the value is
true
orfalse
. - security
Group string[]Ids - The security group used by the cluster control plane and nodes.
- subnet
Ids string[] - A list of Pod subnet IDs for the VPC-CNI container network.
- vpc
Id string - The private network where the cluster control plane network resides.
- api_
server_ Clustersendpoints Cluster Cluster Config Api Server Endpoints - Endpoint information accessed by the cluster API Server.
- api_
server_ Clusterspublic_ access_ config Cluster Cluster Config Api Server Public Access Config - Cluster API Server public network access configuration.
- api_
server_ boolpublic_ access_ enabled - Cluster API Server public network access configuration, the value is
true
orfalse
. - resource_
public_ boolaccess_ default_ enabled - Node public network access configuration, the value is
true
orfalse
. - security_
group_ Sequence[str]ids - The security group used by the cluster control plane and nodes.
- subnet_
ids Sequence[str] - A list of Pod subnet IDs for the VPC-CNI container network.
- vpc_
id str - The private network where the cluster control plane network resides.
- api
Server Property MapEndpoints - Endpoint information accessed by the cluster API Server.
- api
Server Property MapPublic Access Config - Cluster API Server public network access configuration.
- api
Server BooleanPublic Access Enabled - Cluster API Server public network access configuration, the value is
true
orfalse
. - resource
Public BooleanAccess Default Enabled - Node public network access configuration, the value is
true
orfalse
. - security
Group List<String>Ids - The security group used by the cluster control plane and nodes.
- subnet
Ids List<String> - A list of Pod subnet IDs for the VPC-CNI container network.
- vpc
Id String - The private network where the cluster control plane network resides.
ClustersClusterClusterConfigApiServerEndpoints
- Private
Ip ClustersCluster Cluster Config Api Server Endpoints Private Ip - Endpoint address of the cluster API Server private network.
- Public
Ip ClustersCluster Cluster Config Api Server Endpoints Public Ip - Endpoint address of the cluster API Server public network.
- Private
Ip ClustersCluster Cluster Config Api Server Endpoints Private Ip - Endpoint address of the cluster API Server private network.
- Public
Ip ClustersCluster Cluster Config Api Server Endpoints Public Ip - Endpoint address of the cluster API Server public network.
- private
Ip ClustersCluster Cluster Config Api Server Endpoints Private Ip - Endpoint address of the cluster API Server private network.
- public
Ip ClustersCluster Cluster Config Api Server Endpoints Public Ip - Endpoint address of the cluster API Server public network.
- private
Ip ClustersCluster Cluster Config Api Server Endpoints Private Ip - Endpoint address of the cluster API Server private network.
- public
Ip ClustersCluster Cluster Config Api Server Endpoints Public Ip - Endpoint address of the cluster API Server public network.
- private_
ip ClustersCluster Cluster Config Api Server Endpoints Private Ip - Endpoint address of the cluster API Server private network.
- public_
ip ClustersCluster Cluster Config Api Server Endpoints Public Ip - Endpoint address of the cluster API Server public network.
- private
Ip Property Map - Endpoint address of the cluster API Server private network.
- public
Ip Property Map - Endpoint address of the cluster API Server public network.
ClustersClusterClusterConfigApiServerEndpointsPrivateIp
- Ipv4 string
- Ipv4 address.
- Ipv4 string
- Ipv4 address.
- ipv4 String
- Ipv4 address.
- ipv4 string
- Ipv4 address.
- ipv4 str
- Ipv4 address.
- ipv4 String
- Ipv4 address.
ClustersClusterClusterConfigApiServerEndpointsPublicIp
- Ipv4 string
- Ipv4 address.
- Ipv4 string
- Ipv4 address.
- ipv4 String
- Ipv4 address.
- ipv4 string
- Ipv4 address.
- ipv4 str
- Ipv4 address.
- ipv4 String
- Ipv4 address.
ClustersClusterClusterConfigApiServerPublicAccessConfig
- Access
Source List<string>Ipsv4s - IPv4 public network access whitelist. A null value means all network segments (0.0.0.0/0) are allowed to pass.
- Ip
Family string - [SkipDoc]The IpFamily configuration,the value is
Ipv4
orDualStack
. - Public
Access ClustersNetwork Config Cluster Cluster Config Api Server Public Access Config Public Access Network Config - Public network access network configuration.
- Access
Source []stringIpsv4s - IPv4 public network access whitelist. A null value means all network segments (0.0.0.0/0) are allowed to pass.
- Ip
Family string - [SkipDoc]The IpFamily configuration,the value is
Ipv4
orDualStack
. - Public
Access ClustersNetwork Config Cluster Cluster Config Api Server Public Access Config Public Access Network Config - Public network access network configuration.
- access
Source List<String>Ipsv4s - IPv4 public network access whitelist. A null value means all network segments (0.0.0.0/0) are allowed to pass.
- ip
Family String - [SkipDoc]The IpFamily configuration,the value is
Ipv4
orDualStack
. - public
Access ClustersNetwork Config Cluster Cluster Config Api Server Public Access Config Public Access Network Config - Public network access network configuration.
- access
Source string[]Ipsv4s - IPv4 public network access whitelist. A null value means all network segments (0.0.0.0/0) are allowed to pass.
- ip
Family string - [SkipDoc]The IpFamily configuration,the value is
Ipv4
orDualStack
. - public
Access ClustersNetwork Config Cluster Cluster Config Api Server Public Access Config Public Access Network Config - Public network access network configuration.
- access_
source_ Sequence[str]ipsv4s - IPv4 public network access whitelist. A null value means all network segments (0.0.0.0/0) are allowed to pass.
- ip_
family str - [SkipDoc]The IpFamily configuration,the value is
Ipv4
orDualStack
. - public_
access_ Clustersnetwork_ config Cluster Cluster Config Api Server Public Access Config Public Access Network Config - Public network access network configuration.
- access
Source List<String>Ipsv4s - IPv4 public network access whitelist. A null value means all network segments (0.0.0.0/0) are allowed to pass.
- ip
Family String - [SkipDoc]The IpFamily configuration,the value is
Ipv4
orDualStack
. - public
Access Property MapNetwork Config - Public network access network configuration.
ClustersClusterClusterConfigApiServerPublicAccessConfigPublicAccessNetworkConfig
- Bandwidth int
- The peak bandwidth of the public IP, unit: Mbps.
- Billing
Type string - Billing type of public IP, the value is
PostPaidByBandwidth
orPostPaidByTraffic
. - Isp string
- The ISP of public IP.
- Bandwidth int
- The peak bandwidth of the public IP, unit: Mbps.
- Billing
Type string - Billing type of public IP, the value is
PostPaidByBandwidth
orPostPaidByTraffic
. - Isp string
- The ISP of public IP.
- bandwidth Integer
- The peak bandwidth of the public IP, unit: Mbps.
- billing
Type String - Billing type of public IP, the value is
PostPaidByBandwidth
orPostPaidByTraffic
. - isp String
- The ISP of public IP.
- bandwidth number
- The peak bandwidth of the public IP, unit: Mbps.
- billing
Type string - Billing type of public IP, the value is
PostPaidByBandwidth
orPostPaidByTraffic
. - isp string
- The ISP of public IP.
- bandwidth int
- The peak bandwidth of the public IP, unit: Mbps.
- billing_
type str - Billing type of public IP, the value is
PostPaidByBandwidth
orPostPaidByTraffic
. - isp str
- The ISP of public IP.
- bandwidth Number
- The peak bandwidth of the public IP, unit: Mbps.
- billing
Type String - Billing type of public IP, the value is
PostPaidByBandwidth
orPostPaidByTraffic
. - isp String
- The ISP of public IP.
ClustersClusterLoggingConfig
- Log
Project stringId - The TLS log item ID of the collection target.
- Log
Setups List<ClustersCluster Logging Config Log Setup> - Cluster logging options.
- Log
Project stringId - The TLS log item ID of the collection target.
- Log
Setups []ClustersCluster Logging Config Log Setup - Cluster logging options.
- log
Project StringId - The TLS log item ID of the collection target.
- log
Setups List<ClustersCluster Logging Config Log Setup> - Cluster logging options.
- log
Project stringId - The TLS log item ID of the collection target.
- log
Setups ClustersCluster Logging Config Log Setup[] - Cluster logging options.
- log_
project_ strid - The TLS log item ID of the collection target.
- log_
setups Sequence[ClustersCluster Logging Config Log Setup] - Cluster logging options.
- log
Project StringId - The TLS log item ID of the collection target.
- log
Setups List<Property Map> - Cluster logging options.
ClustersClusterLoggingConfigLogSetup
- Enabled bool
- Whether to enable the log option, true means enable, false means not enable, the default is false. When Enabled is changed from false to true, a new Topic will be created.
- Log
Ttl int - The storage time of logs in Log Service. After the specified log storage time is exceeded, the expired logs in this log topic will be automatically cleared. The unit is days, and the default is 30 days. The value range is 1 to 3650, specifying 3650 days means permanent storage.
- Log
Type string - The currently enabled log type.
- Enabled bool
- Whether to enable the log option, true means enable, false means not enable, the default is false. When Enabled is changed from false to true, a new Topic will be created.
- Log
Ttl int - The storage time of logs in Log Service. After the specified log storage time is exceeded, the expired logs in this log topic will be automatically cleared. The unit is days, and the default is 30 days. The value range is 1 to 3650, specifying 3650 days means permanent storage.
- Log
Type string - The currently enabled log type.
- enabled Boolean
- Whether to enable the log option, true means enable, false means not enable, the default is false. When Enabled is changed from false to true, a new Topic will be created.
- log
Ttl Integer - The storage time of logs in Log Service. After the specified log storage time is exceeded, the expired logs in this log topic will be automatically cleared. The unit is days, and the default is 30 days. The value range is 1 to 3650, specifying 3650 days means permanent storage.
- log
Type String - The currently enabled log type.
- enabled boolean
- Whether to enable the log option, true means enable, false means not enable, the default is false. When Enabled is changed from false to true, a new Topic will be created.
- log
Ttl number - The storage time of logs in Log Service. After the specified log storage time is exceeded, the expired logs in this log topic will be automatically cleared. The unit is days, and the default is 30 days. The value range is 1 to 3650, specifying 3650 days means permanent storage.
- log
Type string - The currently enabled log type.
- enabled bool
- Whether to enable the log option, true means enable, false means not enable, the default is false. When Enabled is changed from false to true, a new Topic will be created.
- log_
ttl int - The storage time of logs in Log Service. After the specified log storage time is exceeded, the expired logs in this log topic will be automatically cleared. The unit is days, and the default is 30 days. The value range is 1 to 3650, specifying 3650 days means permanent storage.
- log_
type str - The currently enabled log type.
- enabled Boolean
- Whether to enable the log option, true means enable, false means not enable, the default is false. When Enabled is changed from false to true, a new Topic will be created.
- log
Ttl Number - The storage time of logs in Log Service. After the specified log storage time is exceeded, the expired logs in this log topic will be automatically cleared. The unit is days, and the default is 30 days. The value range is 1 to 3650, specifying 3650 days means permanent storage.
- log
Type String - The currently enabled log type.
ClustersClusterNodeStatistics
- Creating
Count int - Phase=Creating total number of nodes.
- Deleting
Count int - Phase=Deleting total number of nodes.
- Failed
Count int - Phase=Failed total number of nodes.
- Running
Count int - Phase=Running total number of nodes.
- Starting
Count int - Phase=Starting total number of nodes.
- Stopped
Count int - (Deprecated) This field has been deprecated and is not recommended for use. Phase=Stopped total number of nodes.
- Stopping
Count int - Phase=Stopping total number of nodes.
- Total
Count int - The total count of query.
- Updating
Count int - Phase=Updating total number of nodes.
- Creating
Count int - Phase=Creating total number of nodes.
- Deleting
Count int - Phase=Deleting total number of nodes.
- Failed
Count int - Phase=Failed total number of nodes.
- Running
Count int - Phase=Running total number of nodes.
- Starting
Count int - Phase=Starting total number of nodes.
- Stopped
Count int - (Deprecated) This field has been deprecated and is not recommended for use. Phase=Stopped total number of nodes.
- Stopping
Count int - Phase=Stopping total number of nodes.
- Total
Count int - The total count of query.
- Updating
Count int - Phase=Updating total number of nodes.
- creating
Count Integer - Phase=Creating total number of nodes.
- deleting
Count Integer - Phase=Deleting total number of nodes.
- failed
Count Integer - Phase=Failed total number of nodes.
- running
Count Integer - Phase=Running total number of nodes.
- starting
Count Integer - Phase=Starting total number of nodes.
- stopped
Count Integer - (Deprecated) This field has been deprecated and is not recommended for use. Phase=Stopped total number of nodes.
- stopping
Count Integer - Phase=Stopping total number of nodes.
- total
Count Integer - The total count of query.
- updating
Count Integer - Phase=Updating total number of nodes.
- creating
Count number - Phase=Creating total number of nodes.
- deleting
Count number - Phase=Deleting total number of nodes.
- failed
Count number - Phase=Failed total number of nodes.
- running
Count number - Phase=Running total number of nodes.
- starting
Count number - Phase=Starting total number of nodes.
- stopped
Count number - (Deprecated) This field has been deprecated and is not recommended for use. Phase=Stopped total number of nodes.
- stopping
Count number - Phase=Stopping total number of nodes.
- total
Count number - The total count of query.
- updating
Count number - Phase=Updating total number of nodes.
- creating_
count int - Phase=Creating total number of nodes.
- deleting_
count int - Phase=Deleting total number of nodes.
- failed_
count int - Phase=Failed total number of nodes.
- running_
count int - Phase=Running total number of nodes.
- starting_
count int - Phase=Starting total number of nodes.
- stopped_
count int - (Deprecated) This field has been deprecated and is not recommended for use. Phase=Stopped total number of nodes.
- stopping_
count int - Phase=Stopping total number of nodes.
- total_
count int - The total count of query.
- updating_
count int - Phase=Updating total number of nodes.
- creating
Count Number - Phase=Creating total number of nodes.
- deleting
Count Number - Phase=Deleting total number of nodes.
- failed
Count Number - Phase=Failed total number of nodes.
- running
Count Number - Phase=Running total number of nodes.
- starting
Count Number - Phase=Starting total number of nodes.
- stopped
Count Number - (Deprecated) This field has been deprecated and is not recommended for use. Phase=Stopped total number of nodes.
- stopping
Count Number - Phase=Stopping total number of nodes.
- total
Count Number - The total count of query.
- updating
Count Number - Phase=Updating total number of nodes.
ClustersClusterPodsConfig
- Flannel
Config ClustersCluster Pods Config Flannel Config - Flannel network configuration.
- Pod
Network stringMode - Container Pod Network Type (CNI), the value is
Flannel
orVpcCniShared
. - Vpc
Cni ClustersConfig Cluster Pods Config Vpc Cni Config - VPC-CNI network configuration.
- Flannel
Config ClustersCluster Pods Config Flannel Config - Flannel network configuration.
- Pod
Network stringMode - Container Pod Network Type (CNI), the value is
Flannel
orVpcCniShared
. - Vpc
Cni ClustersConfig Cluster Pods Config Vpc Cni Config - VPC-CNI network configuration.
- flannel
Config ClustersCluster Pods Config Flannel Config - Flannel network configuration.
- pod
Network StringMode - Container Pod Network Type (CNI), the value is
Flannel
orVpcCniShared
. - vpc
Cni ClustersConfig Cluster Pods Config Vpc Cni Config - VPC-CNI network configuration.
- flannel
Config ClustersCluster Pods Config Flannel Config - Flannel network configuration.
- pod
Network stringMode - Container Pod Network Type (CNI), the value is
Flannel
orVpcCniShared
. - vpc
Cni ClustersConfig Cluster Pods Config Vpc Cni Config - VPC-CNI network configuration.
- flannel_
config ClustersCluster Pods Config Flannel Config - Flannel network configuration.
- pod_
network_ strmode - Container Pod Network Type (CNI), the value is
Flannel
orVpcCniShared
. - vpc_
cni_ Clustersconfig Cluster Pods Config Vpc Cni Config - VPC-CNI network configuration.
- flannel
Config Property Map - Flannel network configuration.
- pod
Network StringMode - Container Pod Network Type (CNI), the value is
Flannel
orVpcCniShared
. - vpc
Cni Property MapConfig - VPC-CNI network configuration.
ClustersClusterPodsConfigFlannelConfig
- Max
Pods intPer Node - The maximum number of single-node Pod instances for a Flannel container network.
- Pod
Cidrs List<string> - Pod CIDR for the Flannel container network.
- Max
Pods intPer Node - The maximum number of single-node Pod instances for a Flannel container network.
- Pod
Cidrs []string - Pod CIDR for the Flannel container network.
- max
Pods IntegerPer Node - The maximum number of single-node Pod instances for a Flannel container network.
- pod
Cidrs List<String> - Pod CIDR for the Flannel container network.
- max
Pods numberPer Node - The maximum number of single-node Pod instances for a Flannel container network.
- pod
Cidrs string[] - Pod CIDR for the Flannel container network.
- max_
pods_ intper_ node - The maximum number of single-node Pod instances for a Flannel container network.
- pod_
cidrs Sequence[str] - Pod CIDR for the Flannel container network.
- max
Pods NumberPer Node - The maximum number of single-node Pod instances for a Flannel container network.
- pod
Cidrs List<String> - Pod CIDR for the Flannel container network.
ClustersClusterPodsConfigVpcCniConfig
- subnet_
ids Sequence[str] - A list of Pod subnet IDs for the VPC-CNI container network.
- vpc_
id str - The private network where the cluster control plane network resides.
ClustersClusterServicesConfig
- Service
Cidrsv4s List<string> - The IPv4 private network address exposed by the service.
- Service
Cidrsv4s []string - The IPv4 private network address exposed by the service.
- service
Cidrsv4s List<String> - The IPv4 private network address exposed by the service.
- service
Cidrsv4s string[] - The IPv4 private network address exposed by the service.
- service_
cidrsv4s Sequence[str] - The IPv4 private network address exposed by the service.
- service
Cidrsv4s List<String> - The IPv4 private network address exposed by the service.
ClustersClusterStatus
- Conditions
List<Clusters
Cluster Status Condition> - The state condition in the current primary state of the cluster, that is, the reason for entering the primary state.
- Phase string
- Cluster status. The value contains
Creating
,Running
,Updating
,Deleting
,Failed
.
- Conditions
[]Clusters
Cluster Status Condition - The state condition in the current primary state of the cluster, that is, the reason for entering the primary state.
- Phase string
- Cluster status. The value contains
Creating
,Running
,Updating
,Deleting
,Failed
.
- conditions
List<Clusters
Cluster Status Condition> - The state condition in the current primary state of the cluster, that is, the reason for entering the primary state.
- phase String
- Cluster status. The value contains
Creating
,Running
,Updating
,Deleting
,Failed
.
- conditions
Clusters
Cluster Status Condition[] - The state condition in the current primary state of the cluster, that is, the reason for entering the primary state.
- phase string
- Cluster status. The value contains
Creating
,Running
,Updating
,Deleting
,Failed
.
- conditions
Sequence[Clusters
Cluster Status Condition] - The state condition in the current primary state of the cluster, that is, the reason for entering the primary state.
- phase str
- Cluster status. The value contains
Creating
,Running
,Updating
,Deleting
,Failed
.
- conditions List<Property Map>
- The state condition in the current primary state of the cluster, that is, the reason for entering the primary state.
- phase String
- Cluster status. The value contains
Creating
,Running
,Updating
,Deleting
,Failed
.
ClustersClusterStatusCondition
- Type string
- The state condition in the current main state of the cluster, that is, the reason for entering the main state, there can be multiple reasons, the value contains
Progressing
,Ok
,Balance
,CreateError
,ResourceCleanupFailed
,Unknown
.
- Type string
- The state condition in the current main state of the cluster, that is, the reason for entering the main state, there can be multiple reasons, the value contains
Progressing
,Ok
,Balance
,CreateError
,ResourceCleanupFailed
,Unknown
.
- type String
- The state condition in the current main state of the cluster, that is, the reason for entering the main state, there can be multiple reasons, the value contains
Progressing
,Ok
,Balance
,CreateError
,ResourceCleanupFailed
,Unknown
.
- type string
- The state condition in the current main state of the cluster, that is, the reason for entering the main state, there can be multiple reasons, the value contains
Progressing
,Ok
,Balance
,CreateError
,ResourceCleanupFailed
,Unknown
.
- type str
- The state condition in the current main state of the cluster, that is, the reason for entering the main state, there can be multiple reasons, the value contains
Progressing
,Ok
,Balance
,CreateError
,ResourceCleanupFailed
,Unknown
.
- type String
- The state condition in the current main state of the cluster, that is, the reason for entering the main state, there can be multiple reasons, the value contains
Progressing
,Ok
,Balance
,CreateError
,ResourceCleanupFailed
,Unknown
.
ClustersStatus
- Conditions
Type string - The state condition in the current main state of the cluster, that is, the reason for entering the main state, there can be multiple reasons, the value contains
Progressing
,Ok
,Degraded
,SetByProvider
,Balance
,Security
,CreateError
,ResourceCleanupFailed
,LimitedByQuota
,StockOut
,Unknown
. - Phase string
- The status of cluster. the value contains
Creating
,Running
,Updating
,Deleting
,Stopped
,Failed
.
- Conditions
Type string - The state condition in the current main state of the cluster, that is, the reason for entering the main state, there can be multiple reasons, the value contains
Progressing
,Ok
,Degraded
,SetByProvider
,Balance
,Security
,CreateError
,ResourceCleanupFailed
,LimitedByQuota
,StockOut
,Unknown
. - Phase string
- The status of cluster. the value contains
Creating
,Running
,Updating
,Deleting
,Stopped
,Failed
.
- conditions
Type String - The state condition in the current main state of the cluster, that is, the reason for entering the main state, there can be multiple reasons, the value contains
Progressing
,Ok
,Degraded
,SetByProvider
,Balance
,Security
,CreateError
,ResourceCleanupFailed
,LimitedByQuota
,StockOut
,Unknown
. - phase String
- The status of cluster. the value contains
Creating
,Running
,Updating
,Deleting
,Stopped
,Failed
.
- conditions
Type string - The state condition in the current main state of the cluster, that is, the reason for entering the main state, there can be multiple reasons, the value contains
Progressing
,Ok
,Degraded
,SetByProvider
,Balance
,Security
,CreateError
,ResourceCleanupFailed
,LimitedByQuota
,StockOut
,Unknown
. - phase string
- The status of cluster. the value contains
Creating
,Running
,Updating
,Deleting
,Stopped
,Failed
.
- conditions_
type str - The state condition in the current main state of the cluster, that is, the reason for entering the main state, there can be multiple reasons, the value contains
Progressing
,Ok
,Degraded
,SetByProvider
,Balance
,Security
,CreateError
,ResourceCleanupFailed
,LimitedByQuota
,StockOut
,Unknown
. - phase str
- The status of cluster. the value contains
Creating
,Running
,Updating
,Deleting
,Stopped
,Failed
.
- conditions
Type String - The state condition in the current main state of the cluster, that is, the reason for entering the main state, there can be multiple reasons, the value contains
Progressing
,Ok
,Degraded
,SetByProvider
,Balance
,Security
,CreateError
,ResourceCleanupFailed
,LimitedByQuota
,StockOut
,Unknown
. - phase String
- The status of cluster. the value contains
Creating
,Running
,Updating
,Deleting
,Stopped
,Failed
.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.