Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine
volcengine.vke.Clusters
Explore with Pulumi AI
Use this data source to query detailed information of vke clusters
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
import * as volcengine from "@volcengine/pulumi";
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: "cn-beijing-a",
vpcId: fooVpc.id,
});
const fooSecurityGroup = new volcengine.vpc.SecurityGroup("fooSecurityGroup", {
vpcId: fooVpc.id,
securityGroupName: "acc-test-security-group2",
});
const fooCluster = new volcengine.vke.Cluster("fooCluster", {
description: "created by terraform",
deleteProtectionEnabled: false,
clusterConfig: {
subnetIds: [fooSubnet.id],
apiServerPublicAccessEnabled: true,
apiServerPublicAccessConfig: {
publicAccessNetworkConfig: {
billingType: "PostPaidByBandwidth",
bandwidth: 1,
},
},
resourcePublicAccessDefaultEnabled: true,
},
podsConfig: {
podNetworkMode: "VpcCniShared",
vpcCniConfig: {
subnetIds: [fooSubnet.id],
},
},
servicesConfig: {
serviceCidrsv4s: ["172.30.0.0/18"],
},
tags: [{
key: "tf-k1",
value: "tf-v1",
}],
});
const fooClusters = volcengine.vke.ClustersOutput({
ids: [fooCluster.id],
});
import pulumi
import pulumi_volcengine as volcengine
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="cn-beijing-a",
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.vke.Cluster("fooCluster",
description="created by terraform",
delete_protection_enabled=False,
cluster_config=volcengine.vke.ClusterClusterConfigArgs(
subnet_ids=[foo_subnet.id],
api_server_public_access_enabled=True,
api_server_public_access_config=volcengine.vke.ClusterClusterConfigApiServerPublicAccessConfigArgs(
public_access_network_config=volcengine.vke.ClusterClusterConfigApiServerPublicAccessConfigPublicAccessNetworkConfigArgs(
billing_type="PostPaidByBandwidth",
bandwidth=1,
),
),
resource_public_access_default_enabled=True,
),
pods_config=volcengine.vke.ClusterPodsConfigArgs(
pod_network_mode="VpcCniShared",
vpc_cni_config=volcengine.vke.ClusterPodsConfigVpcCniConfigArgs(
subnet_ids=[foo_subnet.id],
),
),
services_config=volcengine.vke.ClusterServicesConfigArgs(
service_cidrsv4s=["172.30.0.0/18"],
),
tags=[volcengine.vke.ClusterTagArgs(
key="tf-k1",
value="tf-v1",
)])
foo_clusters = volcengine.vke.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/vke"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
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("cn-beijing-a"),
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 := vke.NewCluster(ctx, "fooCluster", &vke.ClusterArgs{
Description: pulumi.String("created by terraform"),
DeleteProtectionEnabled: pulumi.Bool(false),
ClusterConfig: &vke.ClusterClusterConfigArgs{
SubnetIds: pulumi.StringArray{
fooSubnet.ID(),
},
ApiServerPublicAccessEnabled: pulumi.Bool(true),
ApiServerPublicAccessConfig: &vke.ClusterClusterConfigApiServerPublicAccessConfigArgs{
PublicAccessNetworkConfig: &vke.ClusterClusterConfigApiServerPublicAccessConfigPublicAccessNetworkConfigArgs{
BillingType: pulumi.String("PostPaidByBandwidth"),
Bandwidth: pulumi.Int(1),
},
},
ResourcePublicAccessDefaultEnabled: pulumi.Bool(true),
},
PodsConfig: &vke.ClusterPodsConfigArgs{
PodNetworkMode: pulumi.String("VpcCniShared"),
VpcCniConfig: &vke.ClusterPodsConfigVpcCniConfigArgs{
SubnetIds: pulumi.StringArray{
fooSubnet.ID(),
},
},
},
ServicesConfig: &vke.ClusterServicesConfigArgs{
ServiceCidrsv4s: pulumi.StringArray{
pulumi.String("172.30.0.0/18"),
},
},
Tags: vke.ClusterTagArray{
&vke.ClusterTagArgs{
Key: pulumi.String("tf-k1"),
Value: pulumi.String("tf-v1"),
},
},
})
if err != nil {
return err
}
_ = vke.ClustersOutput(ctx, vke.ClustersOutputArgs{
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 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 = "cn-beijing-a",
VpcId = fooVpc.Id,
});
var fooSecurityGroup = new Volcengine.Vpc.SecurityGroup("fooSecurityGroup", new()
{
VpcId = fooVpc.Id,
SecurityGroupName = "acc-test-security-group2",
});
var fooCluster = new Volcengine.Vke.Cluster("fooCluster", new()
{
Description = "created by terraform",
DeleteProtectionEnabled = false,
ClusterConfig = new Volcengine.Vke.Inputs.ClusterClusterConfigArgs
{
SubnetIds = new[]
{
fooSubnet.Id,
},
ApiServerPublicAccessEnabled = true,
ApiServerPublicAccessConfig = new Volcengine.Vke.Inputs.ClusterClusterConfigApiServerPublicAccessConfigArgs
{
PublicAccessNetworkConfig = new Volcengine.Vke.Inputs.ClusterClusterConfigApiServerPublicAccessConfigPublicAccessNetworkConfigArgs
{
BillingType = "PostPaidByBandwidth",
Bandwidth = 1,
},
},
ResourcePublicAccessDefaultEnabled = true,
},
PodsConfig = new Volcengine.Vke.Inputs.ClusterPodsConfigArgs
{
PodNetworkMode = "VpcCniShared",
VpcCniConfig = new Volcengine.Vke.Inputs.ClusterPodsConfigVpcCniConfigArgs
{
SubnetIds = new[]
{
fooSubnet.Id,
},
},
},
ServicesConfig = new Volcengine.Vke.Inputs.ClusterServicesConfigArgs
{
ServiceCidrsv4s = new[]
{
"172.30.0.0/18",
},
},
Tags = new[]
{
new Volcengine.Vke.Inputs.ClusterTagArgs
{
Key = "tf-k1",
Value = "tf-v1",
},
},
});
var fooClusters = Volcengine.Vke.Clusters.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.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.vke.Cluster;
import com.pulumi.volcengine.vke.ClusterArgs;
import com.pulumi.volcengine.vke.inputs.ClusterClusterConfigArgs;
import com.pulumi.volcengine.vke.inputs.ClusterClusterConfigApiServerPublicAccessConfigArgs;
import com.pulumi.volcengine.vke.inputs.ClusterClusterConfigApiServerPublicAccessConfigPublicAccessNetworkConfigArgs;
import com.pulumi.volcengine.vke.inputs.ClusterPodsConfigArgs;
import com.pulumi.volcengine.vke.inputs.ClusterPodsConfigVpcCniConfigArgs;
import com.pulumi.volcengine.vke.inputs.ClusterServicesConfigArgs;
import com.pulumi.volcengine.vke.inputs.ClusterTagArgs;
import com.pulumi.volcengine.vke.VkeFunctions;
import com.pulumi.volcengine.vke.inputs.ClustersArgs;
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) {
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("cn-beijing-a")
.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)
.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("VpcCniShared")
.vpcCniConfig(ClusterPodsConfigVpcCniConfigArgs.builder()
.subnetIds(fooSubnet.id())
.build())
.build())
.servicesConfig(ClusterServicesConfigArgs.builder()
.serviceCidrsv4s("172.30.0.0/18")
.build())
.tags(ClusterTagArgs.builder()
.key("tf-k1")
.value("tf-v1")
.build())
.build());
final var fooClusters = VkeFunctions.Clusters(ClustersArgs.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: cn-beijing-a
vpcId: ${fooVpc.id}
fooSecurityGroup:
type: volcengine:vpc:SecurityGroup
properties:
vpcId: ${fooVpc.id}
securityGroupName: acc-test-security-group2
fooCluster:
type: volcengine:vke:Cluster
properties:
description: created by terraform
deleteProtectionEnabled: false
clusterConfig:
subnetIds:
- ${fooSubnet.id}
apiServerPublicAccessEnabled: true
apiServerPublicAccessConfig:
publicAccessNetworkConfig:
billingType: PostPaidByBandwidth
bandwidth: 1
resourcePublicAccessDefaultEnabled: true
podsConfig:
podNetworkMode: VpcCniShared
vpcCniConfig:
subnetIds:
- ${fooSubnet.id}
servicesConfig:
serviceCidrsv4s:
- 172.30.0.0/18
tags:
- key: tf-k1
value: tf-v1
variables:
fooClusters:
fn::invoke:
Function: volcengine:vke:Clusters
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,
ids: Optional[Sequence[str]] = None,
name: Optional[str] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
page_number: Optional[int] = None,
page_size: Optional[int] = None,
pods_config_pod_network_mode: Optional[str] = None,
statuses: Optional[Sequence[ClustersStatus]] = None,
tags: Optional[Sequence[ClustersTag]] = 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,
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,
page_number: Optional[pulumi.Input[int]] = None,
page_size: Optional[pulumi.Input[int]] = None,
pods_config_pod_network_mode: Optional[pulumi.Input[str]] = None,
statuses: Optional[pulumi.Input[Sequence[pulumi.Input[ClustersStatusArgs]]]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[ClustersTagArgs]]]] = 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:vke: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 - The delete protection of the cluster, the value is
true
orfalse
. - Ids List<string>
- A list of Cluster IDs.
- Name string
- The name of the cluster.
- Name
Regex string - A Name Regex of Cluster.
- Output
File string - File name where to save data source results.
- Page
Number int - The page number of clusters query.
- Page
Size int - The page size of clusters query.
- 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. - 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).
- List<Clusters
Tag> - Tags.
- 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 - The delete protection of the cluster, the value is
true
orfalse
. - Ids []string
- A list of Cluster IDs.
- Name string
- The name of the cluster.
- Name
Regex string - A Name Regex of Cluster.
- Output
File string - File name where to save data source results.
- Page
Number int - The page number of clusters query.
- Page
Size int - The page size of clusters query.
- 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. - 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).
- []Clusters
Tag - Tags.
- 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 - The delete protection of the cluster, the value is
true
orfalse
. - ids List<String>
- A list of Cluster IDs.
- name String
- The name of the cluster.
- name
Regex String - A Name Regex of Cluster.
- output
File String - File name where to save data source results.
- page
Number Integer - The page number of clusters query.
- page
Size Integer - The page size of clusters query.
- 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. - 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).
- List<Clusters
Tag> - Tags.
- 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 - The delete protection of the cluster, the value is
true
orfalse
. - ids string[]
- A list of Cluster IDs.
- name string
- The name of the cluster.
- name
Regex string - A Name Regex of Cluster.
- output
File string - File name where to save data source results.
- page
Number number - The page number of clusters query.
- page
Size number - The page size of clusters query.
- 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. - 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).
- Clusters
Tag[] - Tags.
- 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 - The delete protection of the cluster, the value is
true
orfalse
. - ids Sequence[str]
- A list of Cluster IDs.
- name str
- The name of the cluster.
- name_
regex str - A Name Regex of Cluster.
- output_
file str - File name where to save data source results.
- page_
number int - The page number of clusters query.
- page_
size int - The page size of clusters query.
- 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. - 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).
- Sequence[Clusters
Tag] - Tags.
- 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 - The delete protection of the cluster, the value is
true
orfalse
. - ids List<String>
- A list of Cluster IDs.
- name String
- The name of the cluster.
- name
Regex String - A Name Regex of Cluster.
- output
File String - File name where to save data source results.
- page
Number Number - The page number of clusters query.
- page
Size Number - The page size of clusters query.
- 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. - 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).
- List<Property Map>
- Tags.
- 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 VkeCluster query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Page
Number int - Page
Size int - Total
Count int - The total count of Cluster query.
- Create
Client stringToken - Delete
Protection boolEnabled - The delete protection of the cluster, the value is
true
orfalse
. - Ids List<string>
- Name string
- The name of the cluster.
- Name
Regex string - Output
File string - Pods
Config stringPod Network Mode - Statuses
List<Clusters
Status> - List<Clusters
Tag> - Tags of the Cluster.
- Update
Client stringToken
- Clusters
[]Clusters
Cluster - The collection of VkeCluster query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Page
Number int - Page
Size int - Total
Count int - The total count of Cluster query.
- Create
Client stringToken - Delete
Protection boolEnabled - The delete protection of the cluster, the value is
true
orfalse
. - Ids []string
- Name string
- The name of the cluster.
- Name
Regex string - Output
File string - Pods
Config stringPod Network Mode - Statuses
[]Clusters
Status - []Clusters
Tag - Tags of the Cluster.
- Update
Client stringToken
- clusters
List<Clusters
Cluster> - The collection of VkeCluster query.
- id String
- The provider-assigned unique ID for this managed resource.
- page
Number Integer - page
Size Integer - total
Count Integer - The total count of Cluster query.
- create
Client StringToken - delete
Protection BooleanEnabled - The delete protection of the cluster, the value is
true
orfalse
. - ids List<String>
- name String
- The name of the cluster.
- name
Regex String - output
File String - pods
Config StringPod Network Mode - statuses
List<Clusters
Status> - List<Clusters
Tag> - Tags of the Cluster.
- update
Client StringToken
- clusters
Clusters
Cluster[] - The collection of VkeCluster query.
- id string
- The provider-assigned unique ID for this managed resource.
- page
Number number - page
Size number - total
Count number - The total count of Cluster query.
- create
Client stringToken - delete
Protection booleanEnabled - The delete protection of the cluster, the value is
true
orfalse
. - ids string[]
- name string
- The name of the cluster.
- name
Regex string - output
File string - pods
Config stringPod Network Mode - statuses
Clusters
Status[] - Clusters
Tag[] - Tags of the Cluster.
- update
Client stringToken
- clusters
Sequence[Clusters
Cluster] - The collection of VkeCluster query.
- id str
- The provider-assigned unique ID for this managed resource.
- page_
number int - page_
size int - total_
count int - The total count of Cluster query.
- create_
client_ strtoken - delete_
protection_ boolenabled - The delete protection of the cluster, the value is
true
orfalse
. - ids Sequence[str]
- name str
- The name of the cluster.
- name_
regex str - output_
file str - pods_
config_ strpod_ network_ mode - statuses
Sequence[Clusters
Status] - Sequence[Clusters
Tag] - Tags of the Cluster.
- update_
client_ strtoken
- clusters List<Property Map>
- The collection of VkeCluster query.
- id String
- The provider-assigned unique ID for this managed resource.
- page
Number Number - page
Size Number - total
Count Number - The total count of Cluster query.
- create
Client StringToken - delete
Protection BooleanEnabled - The delete protection of the cluster, the value is
true
orfalse
. - ids List<String>
- name String
- The name of the cluster.
- name
Regex String - output
File String - pods
Config StringPod Network Mode - statuses List<Property Map>
- List<Property Map>
- Tags of the Cluster.
- update
Client StringToken
Supporting Types
ClustersCluster
- Cluster
Config This property is required. ClustersCluster Cluster Config - The config of the cluster.
- Create
Time This property is required. string - Cluster creation time. UTC+0 time in standard RFC3339 format.
- Delete
Protection Enabled This property is required. bool - The delete protection of the cluster, the value is
true
orfalse
. - Description
This property is required. string - The description of the cluster.
- Eip
Allocation Id This property is required. string - Eip allocation Id.
- Id
This property is required. string - The ID of the Cluster.
- Kubeconfig
Private This property is required. string - Kubeconfig data with private network access, returned in BASE64 encoding, it is suggested to use vke_kubeconfig instead.
- Kubeconfig
Public This property is required. string - Kubeconfig data with public network access, returned in BASE64 encoding, it is suggested to use vke_kubeconfig instead.
- Kubernetes
Version This property is required. string - The Kubernetes version information corresponding to the cluster, specific to the patch version.
- Logging
Configs This property is required. List<ClustersCluster Logging Config> - Cluster log configuration information.
- Name
This property is required. string - The name of the cluster.
- Node
Statistics This property is required. ClustersCluster Node Statistics - Statistics on the number of nodes corresponding to each master state in the cluster.
- Pods
Config This property is required. ClustersCluster Pods Config - The config of the pods.
- Services
Config This property is required. ClustersCluster Services Config - The config of the services.
- Status
This property is required. ClustersCluster Status - The status of the cluster.
This property is required. List<ClustersCluster Tag> - Tags.
- Update
Time This property is required. string - The last time a request was accepted by the cluster and executed or completed. UTC+0 time in standard RFC3339 format.
- 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.
- 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.
- Cluster
Config This property is required. ClustersCluster Cluster Config - The config of the cluster.
- Create
Time This property is required. string - Cluster creation time. UTC+0 time in standard RFC3339 format.
- Delete
Protection Enabled This property is required. bool - The delete protection of the cluster, the value is
true
orfalse
. - Description
This property is required. string - The description of the cluster.
- Eip
Allocation Id This property is required. string - Eip allocation Id.
- Id
This property is required. string - The ID of the Cluster.
- Kubeconfig
Private This property is required. string - Kubeconfig data with private network access, returned in BASE64 encoding, it is suggested to use vke_kubeconfig instead.
- Kubeconfig
Public This property is required. string - Kubeconfig data with public network access, returned in BASE64 encoding, it is suggested to use vke_kubeconfig instead.
- Kubernetes
Version This property is required. string - The Kubernetes version information corresponding to the cluster, specific to the patch version.
- Logging
Configs This property is required. []ClustersCluster Logging Config - Cluster log configuration information.
- Name
This property is required. string - The name of the cluster.
- Node
Statistics This property is required. ClustersCluster Node Statistics - Statistics on the number of nodes corresponding to each master state in the cluster.
- Pods
Config This property is required. ClustersCluster Pods Config - The config of the pods.
- Services
Config This property is required. ClustersCluster Services Config - The config of the services.
- Status
This property is required. ClustersCluster Status - The status of the cluster.
This property is required. []ClustersCluster Tag - Tags.
- Update
Time This property is required. string - The last time a request was accepted by the cluster and executed or completed. UTC+0 time in standard RFC3339 format.
- 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.
- 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.
- cluster
Config This property is required. ClustersCluster Cluster Config - The config of the cluster.
- create
Time This property is required. String - Cluster creation time. UTC+0 time in standard RFC3339 format.
- delete
Protection Enabled This property is required. Boolean - The delete protection of the cluster, the value is
true
orfalse
. - description
This property is required. String - The description of the cluster.
- eip
Allocation Id This property is required. String - Eip allocation Id.
- id
This property is required. String - The ID of the Cluster.
- kubeconfig
Private This property is required. String - Kubeconfig data with private network access, returned in BASE64 encoding, it is suggested to use vke_kubeconfig instead.
- kubeconfig
Public This property is required. String - Kubeconfig data with public network access, returned in BASE64 encoding, it is suggested to use vke_kubeconfig instead.
- kubernetes
Version This property is required. String - The Kubernetes version information corresponding to the cluster, specific to the patch version.
- logging
Configs This property is required. List<ClustersCluster Logging Config> - Cluster log configuration information.
- name
This property is required. String - The name of the cluster.
- node
Statistics This property is required. ClustersCluster Node Statistics - Statistics on the number of nodes corresponding to each master state in the cluster.
- pods
Config This property is required. ClustersCluster Pods Config - The config of the pods.
- services
Config This property is required. ClustersCluster Services Config - The config of the services.
- status
This property is required. ClustersCluster Status - The status of the cluster.
This property is required. List<ClustersCluster Tag> - Tags.
- update
Time This property is required. String - The last time a request was accepted by the cluster and executed or completed. UTC+0 time in standard RFC3339 format.
- 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.
- 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.
- cluster
Config This property is required. ClustersCluster Cluster Config - The config of the cluster.
- create
Time This property is required. string - Cluster creation time. UTC+0 time in standard RFC3339 format.
- delete
Protection Enabled This property is required. boolean - The delete protection of the cluster, the value is
true
orfalse
. - description
This property is required. string - The description of the cluster.
- eip
Allocation Id This property is required. string - Eip allocation Id.
- id
This property is required. string - The ID of the Cluster.
- kubeconfig
Private This property is required. string - Kubeconfig data with private network access, returned in BASE64 encoding, it is suggested to use vke_kubeconfig instead.
- kubeconfig
Public This property is required. string - Kubeconfig data with public network access, returned in BASE64 encoding, it is suggested to use vke_kubeconfig instead.
- kubernetes
Version This property is required. string - The Kubernetes version information corresponding to the cluster, specific to the patch version.
- logging
Configs This property is required. ClustersCluster Logging Config[] - Cluster log configuration information.
- name
This property is required. string - The name of the cluster.
- node
Statistics This property is required. ClustersCluster Node Statistics - Statistics on the number of nodes corresponding to each master state in the cluster.
- pods
Config This property is required. ClustersCluster Pods Config - The config of the pods.
- services
Config This property is required. ClustersCluster Services Config - The config of the services.
- status
This property is required. ClustersCluster Status - The status of the cluster.
This property is required. ClustersCluster Tag[] - Tags.
- update
Time This property is required. string - The last time a request was accepted by the cluster and executed or completed. UTC+0 time in standard RFC3339 format.
- 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.
- 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.
- cluster_
config This property is required. ClustersCluster Cluster Config - The config of the cluster.
- create_
time This property is required. str - Cluster creation time. UTC+0 time in standard RFC3339 format.
- delete_
protection_ enabled This property is required. bool - The delete protection of the cluster, the value is
true
orfalse
. - description
This property is required. str - The description of the cluster.
- eip_
allocation_ id This property is required. str - Eip allocation Id.
- id
This property is required. str - The ID of the Cluster.
- kubeconfig_
private This property is required. str - Kubeconfig data with private network access, returned in BASE64 encoding, it is suggested to use vke_kubeconfig instead.
- kubeconfig_
public This property is required. str - Kubeconfig data with public network access, returned in BASE64 encoding, it is suggested to use vke_kubeconfig instead.
- kubernetes_
version This property is required. str - The Kubernetes version information corresponding to the cluster, specific to the patch version.
- logging_
configs This property is required. Sequence[ClustersCluster Logging Config] - Cluster log configuration information.
- name
This property is required. str - The name of the cluster.
- node_
statistics This property is required. ClustersCluster Node Statistics - Statistics on the number of nodes corresponding to each master state in the cluster.
- pods_
config This property is required. ClustersCluster Pods Config - The config of the pods.
- services_
config This property is required. ClustersCluster Services Config - The config of the services.
- status
This property is required. ClustersCluster Status - The status of the cluster.
This property is required. Sequence[ClustersCluster Tag] - Tags.
- update_
time This property is required. str - The last time a request was accepted by the cluster and executed or completed. UTC+0 time in standard RFC3339 format.
- 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.
- 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.
- cluster
Config This property is required. Property Map - The config of the cluster.
- create
Time This property is required. String - Cluster creation time. UTC+0 time in standard RFC3339 format.
- delete
Protection Enabled This property is required. Boolean - The delete protection of the cluster, the value is
true
orfalse
. - description
This property is required. String - The description of the cluster.
- eip
Allocation Id This property is required. String - Eip allocation Id.
- id
This property is required. String - The ID of the Cluster.
- kubeconfig
Private This property is required. String - Kubeconfig data with private network access, returned in BASE64 encoding, it is suggested to use vke_kubeconfig instead.
- kubeconfig
Public This property is required. String - Kubeconfig data with public network access, returned in BASE64 encoding, it is suggested to use vke_kubeconfig instead.
- kubernetes
Version This property is required. String - The Kubernetes version information corresponding to the cluster, specific to the patch version.
- logging
Configs This property is required. List<Property Map> - Cluster log configuration information.
- name
This property is required. String - The name of the cluster.
- node
Statistics This property is required. Property Map - Statistics on the number of nodes corresponding to each master state in the cluster.
- pods
Config This property is required. Property Map - The config of the pods.
- services
Config This property is required. Property Map - The config of the services.
- status
This property is required. Property Map - The status of the cluster.
This property is required. List<Property Map>- Tags.
- update
Time This property is required. String - The last time a request was accepted by the cluster and executed or completed. UTC+0 time in standard RFC3339 format.
- 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.
- 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.
ClustersClusterClusterConfig
- Api
Server Endpoints This property is required. ClustersCluster Cluster Config Api Server Endpoints - Endpoint information accessed by the cluster API Server.
- Api
Server Public Access Config This property is required. ClustersCluster Cluster Config Api Server Public Access Config - Cluster API Server public network access configuration.
- Api
Server Public Access Enabled This property is required. bool - Cluster API Server public network access configuration, the value is
true
orfalse
. - Resource
Public Access Default Enabled This property is required. bool - Node public network access configuration, the value is
true
orfalse
. - Security
Group Ids This property is required. List<string> - The security group used by the cluster control plane and nodes.
- Subnet
Ids This property is required. List<string> - A list of Pod subnet IDs for the VPC-CNI container network.
- Vpc
Id This property is required. string - The private network where the cluster control plane network resides.
- Api
Server Endpoints This property is required. ClustersCluster Cluster Config Api Server Endpoints - Endpoint information accessed by the cluster API Server.
- Api
Server Public Access Config This property is required. ClustersCluster Cluster Config Api Server Public Access Config - Cluster API Server public network access configuration.
- Api
Server Public Access Enabled This property is required. bool - Cluster API Server public network access configuration, the value is
true
orfalse
. - Resource
Public Access Default Enabled This property is required. bool - Node public network access configuration, the value is
true
orfalse
. - Security
Group Ids This property is required. []string - The security group used by the cluster control plane and nodes.
- Subnet
Ids This property is required. []string - A list of Pod subnet IDs for the VPC-CNI container network.
- Vpc
Id This property is required. string - The private network where the cluster control plane network resides.
- api
Server Endpoints This property is required. ClustersCluster Cluster Config Api Server Endpoints - Endpoint information accessed by the cluster API Server.
- api
Server Public Access Config This property is required. ClustersCluster Cluster Config Api Server Public Access Config - Cluster API Server public network access configuration.
- api
Server Public Access Enabled This property is required. Boolean - Cluster API Server public network access configuration, the value is
true
orfalse
. - resource
Public Access Default Enabled This property is required. Boolean - Node public network access configuration, the value is
true
orfalse
. - security
Group Ids This property is required. List<String> - The security group used by the cluster control plane and nodes.
- subnet
Ids This property is required. List<String> - A list of Pod subnet IDs for the VPC-CNI container network.
- vpc
Id This property is required. String - The private network where the cluster control plane network resides.
- api
Server Endpoints This property is required. ClustersCluster Cluster Config Api Server Endpoints - Endpoint information accessed by the cluster API Server.
- api
Server Public Access Config This property is required. ClustersCluster Cluster Config Api Server Public Access Config - Cluster API Server public network access configuration.
- api
Server Public Access Enabled This property is required. boolean - Cluster API Server public network access configuration, the value is
true
orfalse
. - resource
Public Access Default Enabled This property is required. boolean - Node public network access configuration, the value is
true
orfalse
. - security
Group Ids This property is required. string[] - The security group used by the cluster control plane and nodes.
- subnet
Ids This property is required. string[] - A list of Pod subnet IDs for the VPC-CNI container network.
- vpc
Id This property is required. string - The private network where the cluster control plane network resides.
- api_
server_ endpoints This property is required. ClustersCluster Cluster Config Api Server Endpoints - Endpoint information accessed by the cluster API Server.
- api_
server_ public_ access_ config This property is required. ClustersCluster Cluster Config Api Server Public Access Config - Cluster API Server public network access configuration.
- api_
server_ public_ access_ enabled This property is required. bool - Cluster API Server public network access configuration, the value is
true
orfalse
. - resource_
public_ access_ default_ enabled This property is required. bool - Node public network access configuration, the value is
true
orfalse
. - security_
group_ ids This property is required. Sequence[str] - The security group used by the cluster control plane and nodes.
- subnet_
ids This property is required. Sequence[str] - A list of Pod subnet IDs for the VPC-CNI container network.
- vpc_
id This property is required. str - The private network where the cluster control plane network resides.
- api
Server Endpoints This property is required. Property Map - Endpoint information accessed by the cluster API Server.
- api
Server Public Access Config This property is required. Property Map - Cluster API Server public network access configuration.
- api
Server Public Access Enabled This property is required. Boolean - Cluster API Server public network access configuration, the value is
true
orfalse
. - resource
Public Access Default Enabled This property is required. Boolean - Node public network access configuration, the value is
true
orfalse
. - security
Group Ids This property is required. List<String> - The security group used by the cluster control plane and nodes.
- subnet
Ids This property is required. List<String> - A list of Pod subnet IDs for the VPC-CNI container network.
- vpc
Id This property is required. String - The private network where the cluster control plane network resides.
ClustersClusterClusterConfigApiServerEndpoints
- Private
Ip This property is required. ClustersCluster Cluster Config Api Server Endpoints Private Ip - Endpoint address of the cluster API Server private network.
- Public
Ip This property is required. ClustersCluster Cluster Config Api Server Endpoints Public Ip - Endpoint address of the cluster API Server public network.
- Private
Ip This property is required. ClustersCluster Cluster Config Api Server Endpoints Private Ip - Endpoint address of the cluster API Server private network.
- Public
Ip This property is required. ClustersCluster Cluster Config Api Server Endpoints Public Ip - Endpoint address of the cluster API Server public network.
- private
Ip This property is required. ClustersCluster Cluster Config Api Server Endpoints Private Ip - Endpoint address of the cluster API Server private network.
- public
Ip This property is required. ClustersCluster Cluster Config Api Server Endpoints Public Ip - Endpoint address of the cluster API Server public network.
- private
Ip This property is required. ClustersCluster Cluster Config Api Server Endpoints Private Ip - Endpoint address of the cluster API Server private network.
- public
Ip This property is required. ClustersCluster Cluster Config Api Server Endpoints Public Ip - Endpoint address of the cluster API Server public network.
- private_
ip This property is required. ClustersCluster Cluster Config Api Server Endpoints Private Ip - Endpoint address of the cluster API Server private network.
- public_
ip This property is required. ClustersCluster Cluster Config Api Server Endpoints Public Ip - Endpoint address of the cluster API Server public network.
- private
Ip This property is required. Property Map - Endpoint address of the cluster API Server private network.
- public
Ip This property is required. Property Map - Endpoint address of the cluster API Server public network.
ClustersClusterClusterConfigApiServerEndpointsPrivateIp
- Ipv4
This property is required. string - Ipv4 address.
- Ipv4
This property is required. string - Ipv4 address.
- ipv4
This property is required. String - Ipv4 address.
- ipv4
This property is required. string - Ipv4 address.
- ipv4
This property is required. str - Ipv4 address.
- ipv4
This property is required. String - Ipv4 address.
ClustersClusterClusterConfigApiServerEndpointsPublicIp
- Ipv4
This property is required. string - Ipv4 address.
- Ipv4
This property is required. string - Ipv4 address.
- ipv4
This property is required. String - Ipv4 address.
- ipv4
This property is required. string - Ipv4 address.
- ipv4
This property is required. str - Ipv4 address.
- ipv4
This property is required. String - Ipv4 address.
ClustersClusterClusterConfigApiServerPublicAccessConfig
- Access
Source Ipsv4s This property is required. List<string> - IPv4 public network access whitelist. A null value means all network segments (0.0.0.0/0) are allowed to pass.
- Ip
Family This property is required. string - [SkipDoc]The IpFamily configuration,the value is
Ipv4
orDualStack
. - Public
Access Network Config This property is required. ClustersCluster Cluster Config Api Server Public Access Config Public Access Network Config - Public network access network configuration.
- Access
Source Ipsv4s This property is required. []string - IPv4 public network access whitelist. A null value means all network segments (0.0.0.0/0) are allowed to pass.
- Ip
Family This property is required. string - [SkipDoc]The IpFamily configuration,the value is
Ipv4
orDualStack
. - Public
Access Network Config This property is required. ClustersCluster Cluster Config Api Server Public Access Config Public Access Network Config - Public network access network configuration.
- access
Source Ipsv4s This property is required. List<String> - IPv4 public network access whitelist. A null value means all network segments (0.0.0.0/0) are allowed to pass.
- ip
Family This property is required. String - [SkipDoc]The IpFamily configuration,the value is
Ipv4
orDualStack
. - public
Access Network Config This property is required. ClustersCluster Cluster Config Api Server Public Access Config Public Access Network Config - Public network access network configuration.
- access
Source Ipsv4s This property is required. string[] - IPv4 public network access whitelist. A null value means all network segments (0.0.0.0/0) are allowed to pass.
- ip
Family This property is required. string - [SkipDoc]The IpFamily configuration,the value is
Ipv4
orDualStack
. - public
Access Network Config This property is required. ClustersCluster Cluster Config Api Server Public Access Config Public Access Network Config - Public network access network configuration.
- access_
source_ ipsv4s This property is required. Sequence[str] - IPv4 public network access whitelist. A null value means all network segments (0.0.0.0/0) are allowed to pass.
- ip_
family This property is required. str - [SkipDoc]The IpFamily configuration,the value is
Ipv4
orDualStack
. - public_
access_ network_ config This property is required. ClustersCluster Cluster Config Api Server Public Access Config Public Access Network Config - Public network access network configuration.
- access
Source Ipsv4s This property is required. List<String> - IPv4 public network access whitelist. A null value means all network segments (0.0.0.0/0) are allowed to pass.
- ip
Family This property is required. String - [SkipDoc]The IpFamily configuration,the value is
Ipv4
orDualStack
. - public
Access Network Config This property is required. Property Map - Public network access network configuration.
ClustersClusterClusterConfigApiServerPublicAccessConfigPublicAccessNetworkConfig
- Bandwidth
This property is required. int - The peak bandwidth of the public IP, unit: Mbps.
- Billing
Type This property is required. string - Billing type of public IP, the value is
PostPaidByBandwidth
orPostPaidByTraffic
. - Isp
This property is required. string - The ISP of public IP.
- Bandwidth
This property is required. int - The peak bandwidth of the public IP, unit: Mbps.
- Billing
Type This property is required. string - Billing type of public IP, the value is
PostPaidByBandwidth
orPostPaidByTraffic
. - Isp
This property is required. string - The ISP of public IP.
- bandwidth
This property is required. Integer - The peak bandwidth of the public IP, unit: Mbps.
- billing
Type This property is required. String - Billing type of public IP, the value is
PostPaidByBandwidth
orPostPaidByTraffic
. - isp
This property is required. String - The ISP of public IP.
- bandwidth
This property is required. number - The peak bandwidth of the public IP, unit: Mbps.
- billing
Type This property is required. string - Billing type of public IP, the value is
PostPaidByBandwidth
orPostPaidByTraffic
. - isp
This property is required. string - The ISP of public IP.
- bandwidth
This property is required. int - The peak bandwidth of the public IP, unit: Mbps.
- billing_
type This property is required. str - Billing type of public IP, the value is
PostPaidByBandwidth
orPostPaidByTraffic
. - isp
This property is required. str - The ISP of public IP.
- bandwidth
This property is required. Number - The peak bandwidth of the public IP, unit: Mbps.
- billing
Type This property is required. String - Billing type of public IP, the value is
PostPaidByBandwidth
orPostPaidByTraffic
. - isp
This property is required. String - The ISP of public IP.
ClustersClusterLoggingConfig
- Log
Project Id This property is required. string - The TLS log item ID of the collection target.
- Log
Setups This property is required. List<ClustersCluster Logging Config Log Setup> - Cluster logging options.
- Log
Project Id This property is required. string - The TLS log item ID of the collection target.
- Log
Setups This property is required. []ClustersCluster Logging Config Log Setup - Cluster logging options.
- log
Project Id This property is required. String - The TLS log item ID of the collection target.
- log
Setups This property is required. List<ClustersCluster Logging Config Log Setup> - Cluster logging options.
- log
Project Id This property is required. string - The TLS log item ID of the collection target.
- log
Setups This property is required. ClustersCluster Logging Config Log Setup[] - Cluster logging options.
- log_
project_ id This property is required. str - The TLS log item ID of the collection target.
- log_
setups This property is required. Sequence[ClustersCluster Logging Config Log Setup] - Cluster logging options.
- log
Project Id This property is required. String - The TLS log item ID of the collection target.
- log
Setups This property is required. List<Property Map> - Cluster logging options.
ClustersClusterLoggingConfigLogSetup
- Enabled
This property is required. 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 This property is required. 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 This property is required. string - The currently enabled log type.
- Enabled
This property is required. 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 This property is required. 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 This property is required. string - The currently enabled log type.
- enabled
This property is required. 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 This property is required. 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 This property is required. String - The currently enabled log type.
- enabled
This property is required. 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 This property is required. 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 This property is required. string - The currently enabled log type.
- enabled
This property is required. 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 This property is required. 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 This property is required. str - The currently enabled log type.
- enabled
This property is required. 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 This property is required. 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 This property is required. String - The currently enabled log type.
ClustersClusterNodeStatistics
- Creating
Count This property is required. int - Phase=Creating total number of nodes.
- Deleting
Count This property is required. int - Phase=Deleting total number of nodes.
- Failed
Count This property is required. int - Phase=Failed total number of nodes.
- Running
Count This property is required. int - Phase=Running total number of nodes.
- Stopped
Count This property is required. int - (Deprecated) This field has been deprecated and is not recommended for use. Phase=Stopped total number of nodes.
- Total
Count This property is required. int - The total count of Cluster query.
- Updating
Count This property is required. int - Phase=Updating total number of nodes.
- Creating
Count This property is required. int - Phase=Creating total number of nodes.
- Deleting
Count This property is required. int - Phase=Deleting total number of nodes.
- Failed
Count This property is required. int - Phase=Failed total number of nodes.
- Running
Count This property is required. int - Phase=Running total number of nodes.
- Stopped
Count This property is required. int - (Deprecated) This field has been deprecated and is not recommended for use. Phase=Stopped total number of nodes.
- Total
Count This property is required. int - The total count of Cluster query.
- Updating
Count This property is required. int - Phase=Updating total number of nodes.
- creating
Count This property is required. Integer - Phase=Creating total number of nodes.
- deleting
Count This property is required. Integer - Phase=Deleting total number of nodes.
- failed
Count This property is required. Integer - Phase=Failed total number of nodes.
- running
Count This property is required. Integer - Phase=Running total number of nodes.
- stopped
Count This property is required. Integer - (Deprecated) This field has been deprecated and is not recommended for use. Phase=Stopped total number of nodes.
- total
Count This property is required. Integer - The total count of Cluster query.
- updating
Count This property is required. Integer - Phase=Updating total number of nodes.
- creating
Count This property is required. number - Phase=Creating total number of nodes.
- deleting
Count This property is required. number - Phase=Deleting total number of nodes.
- failed
Count This property is required. number - Phase=Failed total number of nodes.
- running
Count This property is required. number - Phase=Running total number of nodes.
- stopped
Count This property is required. number - (Deprecated) This field has been deprecated and is not recommended for use. Phase=Stopped total number of nodes.
- total
Count This property is required. number - The total count of Cluster query.
- updating
Count This property is required. number - Phase=Updating total number of nodes.
- creating_
count This property is required. int - Phase=Creating total number of nodes.
- deleting_
count This property is required. int - Phase=Deleting total number of nodes.
- failed_
count This property is required. int - Phase=Failed total number of nodes.
- running_
count This property is required. int - Phase=Running total number of nodes.
- stopped_
count This property is required. int - (Deprecated) This field has been deprecated and is not recommended for use. Phase=Stopped total number of nodes.
- total_
count This property is required. int - The total count of Cluster query.
- updating_
count This property is required. int - Phase=Updating total number of nodes.
- creating
Count This property is required. Number - Phase=Creating total number of nodes.
- deleting
Count This property is required. Number - Phase=Deleting total number of nodes.
- failed
Count This property is required. Number - Phase=Failed total number of nodes.
- running
Count This property is required. Number - Phase=Running total number of nodes.
- stopped
Count This property is required. Number - (Deprecated) This field has been deprecated and is not recommended for use. Phase=Stopped total number of nodes.
- total
Count This property is required. Number - The total count of Cluster query.
- updating
Count This property is required. Number - Phase=Updating total number of nodes.
ClustersClusterPodsConfig
- Flannel
Config This property is required. ClustersCluster Pods Config Flannel Config - Flannel network configuration.
- Pod
Network Mode This property is required. string - Container Pod Network Type (CNI), the value is
Flannel
orVpcCniShared
. - Vpc
Cni Config This property is required. ClustersCluster Pods Config Vpc Cni Config - VPC-CNI network configuration.
- Flannel
Config This property is required. ClustersCluster Pods Config Flannel Config - Flannel network configuration.
- Pod
Network Mode This property is required. string - Container Pod Network Type (CNI), the value is
Flannel
orVpcCniShared
. - Vpc
Cni Config This property is required. ClustersCluster Pods Config Vpc Cni Config - VPC-CNI network configuration.
- flannel
Config This property is required. ClustersCluster Pods Config Flannel Config - Flannel network configuration.
- pod
Network Mode This property is required. String - Container Pod Network Type (CNI), the value is
Flannel
orVpcCniShared
. - vpc
Cni Config This property is required. ClustersCluster Pods Config Vpc Cni Config - VPC-CNI network configuration.
- flannel
Config This property is required. ClustersCluster Pods Config Flannel Config - Flannel network configuration.
- pod
Network Mode This property is required. string - Container Pod Network Type (CNI), the value is
Flannel
orVpcCniShared
. - vpc
Cni Config This property is required. ClustersCluster Pods Config Vpc Cni Config - VPC-CNI network configuration.
- flannel_
config This property is required. ClustersCluster Pods Config Flannel Config - Flannel network configuration.
- pod_
network_ mode This property is required. str - Container Pod Network Type (CNI), the value is
Flannel
orVpcCniShared
. - vpc_
cni_ config This property is required. ClustersCluster Pods Config Vpc Cni Config - VPC-CNI network configuration.
- flannel
Config This property is required. Property Map - Flannel network configuration.
- pod
Network Mode This property is required. String - Container Pod Network Type (CNI), the value is
Flannel
orVpcCniShared
. - vpc
Cni Config This property is required. Property Map - VPC-CNI network configuration.
ClustersClusterPodsConfigFlannelConfig
- Max
Pods Per Node This property is required. int - The maximum number of single-node Pod instances for a Flannel container network.
- Pod
Cidrs This property is required. List<string> - Pod CIDR for the Flannel container network.
- Max
Pods Per Node This property is required. int - The maximum number of single-node Pod instances for a Flannel container network.
- Pod
Cidrs This property is required. []string - Pod CIDR for the Flannel container network.
- max
Pods Per Node This property is required. Integer - The maximum number of single-node Pod instances for a Flannel container network.
- pod
Cidrs This property is required. List<String> - Pod CIDR for the Flannel container network.
- max
Pods Per Node This property is required. number - The maximum number of single-node Pod instances for a Flannel container network.
- pod
Cidrs This property is required. string[] - Pod CIDR for the Flannel container network.
- max_
pods_ per_ node This property is required. int - The maximum number of single-node Pod instances for a Flannel container network.
- pod_
cidrs This property is required. Sequence[str] - Pod CIDR for the Flannel container network.
- max
Pods Per Node This property is required. Number - The maximum number of single-node Pod instances for a Flannel container network.
- pod
Cidrs This property is required. List<String> - Pod CIDR for the Flannel container network.
ClustersClusterPodsConfigVpcCniConfig
- subnet_
ids This property is required. Sequence[str] - A list of Pod subnet IDs for the VPC-CNI container network.
- vpc_
id This property is required. str - The private network where the cluster control plane network resides.
ClustersClusterServicesConfig
- Service
Cidrsv4s This property is required. List<string> - The IPv4 private network address exposed by the service.
- Service
Cidrsv4s This property is required. []string - The IPv4 private network address exposed by the service.
- service
Cidrsv4s This property is required. List<String> - The IPv4 private network address exposed by the service.
- service
Cidrsv4s This property is required. string[] - The IPv4 private network address exposed by the service.
- service_
cidrsv4s This property is required. Sequence[str] - The IPv4 private network address exposed by the service.
- service
Cidrsv4s This property is required. List<String> - The IPv4 private network address exposed by the service.
ClustersClusterStatus
- Conditions
This property is required. List<ClustersCluster Status Condition> - The state condition in the current primary state of the cluster, that is, the reason for entering the primary state.
- Phase
This property is required. string - The status of cluster. the value contains
Creating
,Running
,Updating
,Deleting
,Stopped
,Failed
.
- Conditions
This property is required. []ClustersCluster Status Condition - The state condition in the current primary state of the cluster, that is, the reason for entering the primary state.
- Phase
This property is required. string - The status of cluster. the value contains
Creating
,Running
,Updating
,Deleting
,Stopped
,Failed
.
- conditions
This property is required. List<ClustersCluster Status Condition> - The state condition in the current primary state of the cluster, that is, the reason for entering the primary state.
- phase
This property is required. String - The status of cluster. the value contains
Creating
,Running
,Updating
,Deleting
,Stopped
,Failed
.
- conditions
This property is required. ClustersCluster Status Condition[] - The state condition in the current primary state of the cluster, that is, the reason for entering the primary state.
- phase
This property is required. string - The status of cluster. the value contains
Creating
,Running
,Updating
,Deleting
,Stopped
,Failed
.
- conditions
This property is required. Sequence[ClustersCluster Status Condition] - The state condition in the current primary state of the cluster, that is, the reason for entering the primary state.
- phase
This property is required. str - The status of cluster. the value contains
Creating
,Running
,Updating
,Deleting
,Stopped
,Failed
.
- conditions
This property is required. List<Property Map> - The state condition in the current primary state of the cluster, that is, the reason for entering the primary state.
- phase
This property is required. String - The status of cluster. the value contains
Creating
,Running
,Updating
,Deleting
,Stopped
,Failed
.
ClustersClusterStatusCondition
- Type
This property is required. string - The Type of Tags.
- Type
This property is required. string - The Type of Tags.
- type
This property is required. String - The Type of Tags.
- type
This property is required. string - The Type of Tags.
- type
This property is required. str - The Type of Tags.
- type
This property is required. String - The Type of Tags.
ClustersClusterTag
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
.
ClustersTag
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.