Viewing docs for vkcs 0.17.0
published on Thursday, Jun 25, 2026 by vk-cs
published on Thursday, Jun 25, 2026 by vk-cs
Viewing docs for vkcs 0.17.0
published on Thursday, Jun 25, 2026 by vk-cs
published on Thursday, Jun 25, 2026 by vk-cs
Warning
This data source is intended for first-generation VKCS Kubernetes clusters and should not be used for new deployments. Use thev2version instead.
Use this data source to get information on VKCS Kubernetes cluster’s node group.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as vkcs from "@pulumi/vkcs";
const k8sNodeGroup = vkcs.getKubernetesNodeGroup({
id: defaultNg.id,
});
import pulumi
import pulumi_vkcs as vkcs
k8s_node_group = vkcs.get_kubernetes_node_group(id=default_ng["id"])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/vkcs/vkcs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vkcs.LookupKubernetesNodeGroup(ctx, &vkcs.LookupKubernetesNodeGroupArgs{
Id: pulumi.StringRef(defaultNg.Id),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vkcs = Pulumi.Vkcs;
return await Deployment.RunAsync(() =>
{
var k8sNodeGroup = Vkcs.GetKubernetesNodeGroup.Invoke(new()
{
Id = defaultNg.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vkcs.VkcsFunctions;
import com.pulumi.vkcs.inputs.GetKubernetesNodeGroupArgs;
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 k8sNodeGroup = VkcsFunctions.getKubernetesNodeGroup(GetKubernetesNodeGroupArgs.builder()
.id(defaultNg.id())
.build());
}
}
variables:
k8sNodeGroup:
fn::invoke:
function: vkcs:getKubernetesNodeGroup
arguments:
id: ${defaultNg.id}
Example coming soon!
Using getKubernetesNodeGroup
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 getKubernetesNodeGroup(args: GetKubernetesNodeGroupArgs, opts?: InvokeOptions): Promise<GetKubernetesNodeGroupResult>
function getKubernetesNodeGroupOutput(args: GetKubernetesNodeGroupOutputArgs, opts?: InvokeOptions): Output<GetKubernetesNodeGroupResult>def get_kubernetes_node_group(autoscaling_enabled: Optional[bool] = None,
flavor_id: Optional[str] = None,
id: Optional[str] = None,
max_node_unavailable: Optional[float] = None,
max_nodes: Optional[float] = None,
min_nodes: Optional[float] = None,
name: Optional[str] = None,
node_count: Optional[float] = None,
region: Optional[str] = None,
uuid: Optional[str] = None,
volume_size: Optional[float] = None,
volume_type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetKubernetesNodeGroupResult
def get_kubernetes_node_group_output(autoscaling_enabled: pulumi.Input[Optional[bool]] = None,
flavor_id: pulumi.Input[Optional[str]] = None,
id: pulumi.Input[Optional[str]] = None,
max_node_unavailable: pulumi.Input[Optional[float]] = None,
max_nodes: pulumi.Input[Optional[float]] = None,
min_nodes: pulumi.Input[Optional[float]] = None,
name: pulumi.Input[Optional[str]] = None,
node_count: pulumi.Input[Optional[float]] = None,
region: pulumi.Input[Optional[str]] = None,
uuid: pulumi.Input[Optional[str]] = None,
volume_size: pulumi.Input[Optional[float]] = None,
volume_type: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetKubernetesNodeGroupResult]func LookupKubernetesNodeGroup(ctx *Context, args *LookupKubernetesNodeGroupArgs, opts ...InvokeOption) (*LookupKubernetesNodeGroupResult, error)
func LookupKubernetesNodeGroupOutput(ctx *Context, args *LookupKubernetesNodeGroupOutputArgs, opts ...InvokeOption) LookupKubernetesNodeGroupResultOutput> Note: This function is named LookupKubernetesNodeGroup in the Go SDK.
public static class GetKubernetesNodeGroup
{
public static Task<GetKubernetesNodeGroupResult> InvokeAsync(GetKubernetesNodeGroupArgs args, InvokeOptions? opts = null)
public static Output<GetKubernetesNodeGroupResult> Invoke(GetKubernetesNodeGroupInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetKubernetesNodeGroupResult> getKubernetesNodeGroup(GetKubernetesNodeGroupArgs args, InvokeOptions options)
public static Output<GetKubernetesNodeGroupResult> getKubernetesNodeGroup(GetKubernetesNodeGroupArgs args, InvokeOptions options)
fn::invoke:
function: vkcs:index/getKubernetesNodeGroup:getKubernetesNodeGroup
arguments:
# arguments dictionarydata "vkcs_getkubernetesnodegroup" "name" {
# arguments
}The following arguments are supported:
- Autoscaling
Enabled bool - optional boolean →
Deprecated: read-only field.Determines whether the autoscaling is enabled. - Flavor
Id string - optional string →
Deprecated: read-only field.The id of the flavor. - Id string
- optional string → The UUID of the cluster's node group.
- double
- optional number →
Deprecated: read-only field.Specified as a percentage. The maximum number of nodes that can fail during an upgrade. - Max
Nodes double - optional number →
Deprecated: read-only field.The maximum amount of nodes in the node group. - Min
Nodes double - optional number →
Deprecated: read-only field.The minimum amount of nodes in the node group. - Name string
- optional string →
Deprecated: read-only field.The name of the node group. - Node
Count double - optional number →
Deprecated: read-only field.The count of nodes in the node group. - Region string
- optional string → The region to obtain the service client. If omitted, the
regionargument of the provider is used.New since v0.4.0. - Uuid string
- optional deprecated string → The UUID of the cluster's node group. Deprecated This argument is deprecated, please, use the
idattribute instead. - Volume
Size double - optional number →
Deprecated: read-only field.The amount of memory in the volume in GB - Volume
Type string - optional string →
Deprecated: read-only field.The type of the volume.
- Autoscaling
Enabled bool - optional boolean →
Deprecated: read-only field.Determines whether the autoscaling is enabled. - Flavor
Id string - optional string →
Deprecated: read-only field.The id of the flavor. - Id string
- optional string → The UUID of the cluster's node group.
- float64
- optional number →
Deprecated: read-only field.Specified as a percentage. The maximum number of nodes that can fail during an upgrade. - Max
Nodes float64 - optional number →
Deprecated: read-only field.The maximum amount of nodes in the node group. - Min
Nodes float64 - optional number →
Deprecated: read-only field.The minimum amount of nodes in the node group. - Name string
- optional string →
Deprecated: read-only field.The name of the node group. - Node
Count float64 - optional number →
Deprecated: read-only field.The count of nodes in the node group. - Region string
- optional string → The region to obtain the service client. If omitted, the
regionargument of the provider is used.New since v0.4.0. - Uuid string
- optional deprecated string → The UUID of the cluster's node group. Deprecated This argument is deprecated, please, use the
idattribute instead. - Volume
Size float64 - optional number →
Deprecated: read-only field.The amount of memory in the volume in GB - Volume
Type string - optional string →
Deprecated: read-only field.The type of the volume.
- autoscaling_
enabled bool - optional boolean →
Deprecated: read-only field.Determines whether the autoscaling is enabled. - flavor_
id string - optional string →
Deprecated: read-only field.The id of the flavor. - id string
- optional string → The UUID of the cluster's node group.
- number
- optional number →
Deprecated: read-only field.Specified as a percentage. The maximum number of nodes that can fail during an upgrade. - max_
nodes number - optional number →
Deprecated: read-only field.The maximum amount of nodes in the node group. - min_
nodes number - optional number →
Deprecated: read-only field.The minimum amount of nodes in the node group. - name string
- optional string →
Deprecated: read-only field.The name of the node group. - node_
count number - optional number →
Deprecated: read-only field.The count of nodes in the node group. - region string
- optional string → The region to obtain the service client. If omitted, the
regionargument of the provider is used.New since v0.4.0. - uuid string
- optional deprecated string → The UUID of the cluster's node group. Deprecated This argument is deprecated, please, use the
idattribute instead. - volume_
size number - optional number →
Deprecated: read-only field.The amount of memory in the volume in GB - volume_
type string - optional string →
Deprecated: read-only field.The type of the volume.
- autoscaling
Enabled Boolean - optional boolean →
Deprecated: read-only field.Determines whether the autoscaling is enabled. - flavor
Id String - optional string →
Deprecated: read-only field.The id of the flavor. - id String
- optional string → The UUID of the cluster's node group.
- Double
- optional number →
Deprecated: read-only field.Specified as a percentage. The maximum number of nodes that can fail during an upgrade. - max
Nodes Double - optional number →
Deprecated: read-only field.The maximum amount of nodes in the node group. - min
Nodes Double - optional number →
Deprecated: read-only field.The minimum amount of nodes in the node group. - name String
- optional string →
Deprecated: read-only field.The name of the node group. - node
Count Double - optional number →
Deprecated: read-only field.The count of nodes in the node group. - region String
- optional string → The region to obtain the service client. If omitted, the
regionargument of the provider is used.New since v0.4.0. - uuid String
- optional deprecated string → The UUID of the cluster's node group. Deprecated This argument is deprecated, please, use the
idattribute instead. - volume
Size Double - optional number →
Deprecated: read-only field.The amount of memory in the volume in GB - volume
Type String - optional string →
Deprecated: read-only field.The type of the volume.
- autoscaling
Enabled boolean - optional boolean →
Deprecated: read-only field.Determines whether the autoscaling is enabled. - flavor
Id string - optional string →
Deprecated: read-only field.The id of the flavor. - id string
- optional string → The UUID of the cluster's node group.
- number
- optional number →
Deprecated: read-only field.Specified as a percentage. The maximum number of nodes that can fail during an upgrade. - max
Nodes number - optional number →
Deprecated: read-only field.The maximum amount of nodes in the node group. - min
Nodes number - optional number →
Deprecated: read-only field.The minimum amount of nodes in the node group. - name string
- optional string →
Deprecated: read-only field.The name of the node group. - node
Count number - optional number →
Deprecated: read-only field.The count of nodes in the node group. - region string
- optional string → The region to obtain the service client. If omitted, the
regionargument of the provider is used.New since v0.4.0. - uuid string
- optional deprecated string → The UUID of the cluster's node group. Deprecated This argument is deprecated, please, use the
idattribute instead. - volume
Size number - optional number →
Deprecated: read-only field.The amount of memory in the volume in GB - volume
Type string - optional string →
Deprecated: read-only field.The type of the volume.
- autoscaling_
enabled bool - optional boolean →
Deprecated: read-only field.Determines whether the autoscaling is enabled. - flavor_
id str - optional string →
Deprecated: read-only field.The id of the flavor. - id str
- optional string → The UUID of the cluster's node group.
- float
- optional number →
Deprecated: read-only field.Specified as a percentage. The maximum number of nodes that can fail during an upgrade. - max_
nodes float - optional number →
Deprecated: read-only field.The maximum amount of nodes in the node group. - min_
nodes float - optional number →
Deprecated: read-only field.The minimum amount of nodes in the node group. - name str
- optional string →
Deprecated: read-only field.The name of the node group. - node_
count float - optional number →
Deprecated: read-only field.The count of nodes in the node group. - region str
- optional string → The region to obtain the service client. If omitted, the
regionargument of the provider is used.New since v0.4.0. - uuid str
- optional deprecated string → The UUID of the cluster's node group. Deprecated This argument is deprecated, please, use the
idattribute instead. - volume_
size float - optional number →
Deprecated: read-only field.The amount of memory in the volume in GB - volume_
type str - optional string →
Deprecated: read-only field.The type of the volume.
- autoscaling
Enabled Boolean - optional boolean →
Deprecated: read-only field.Determines whether the autoscaling is enabled. - flavor
Id String - optional string →
Deprecated: read-only field.The id of the flavor. - id String
- optional string → The UUID of the cluster's node group.
- Number
- optional number →
Deprecated: read-only field.Specified as a percentage. The maximum number of nodes that can fail during an upgrade. - max
Nodes Number - optional number →
Deprecated: read-only field.The maximum amount of nodes in the node group. - min
Nodes Number - optional number →
Deprecated: read-only field.The minimum amount of nodes in the node group. - name String
- optional string →
Deprecated: read-only field.The name of the node group. - node
Count Number - optional number →
Deprecated: read-only field.The count of nodes in the node group. - region String
- optional string → The region to obtain the service client. If omitted, the
regionargument of the provider is used.New since v0.4.0. - uuid String
- optional deprecated string → The UUID of the cluster's node group. Deprecated This argument is deprecated, please, use the
idattribute instead. - volume
Size Number - optional number →
Deprecated: read-only field.The amount of memory in the volume in GB - volume
Type String - optional string →
Deprecated: read-only field.The type of the volume.
getKubernetesNodeGroup Result
The following output properties are available:
- Autoscaling
Enabled bool - Availability
Zones List<string> - string → The list of availability zones of the node group.
- Cluster
Id string - string → The UUID of cluster that node group belongs.
- Flavor
Id string - Id string
- double
- Max
Nodes double - Min
Nodes double - Name string
- string → Name of a node.
- Node
Count double - Nodes
List<Get
Kubernetes Node Group Node> - list → The list of node group's node objects.
- Region string
- State string
- string → Determines current state of node group (RUNNING, SHUTOFF, ERROR).
- Uuid string
- string → UUID of a node.
- Volume
Size double - Volume
Type string
- Autoscaling
Enabled bool - Availability
Zones []string - string → The list of availability zones of the node group.
- Cluster
Id string - string → The UUID of cluster that node group belongs.
- Flavor
Id string - Id string
- float64
- Max
Nodes float64 - Min
Nodes float64 - Name string
- string → Name of a node.
- Node
Count float64 - Nodes
[]Get
Kubernetes Node Group Node - list → The list of node group's node objects.
- Region string
- State string
- string → Determines current state of node group (RUNNING, SHUTOFF, ERROR).
- Uuid string
- string → UUID of a node.
- Volume
Size float64 - Volume
Type string
- autoscaling_
enabled bool - availability_
zones list(string) - string → The list of availability zones of the node group.
- cluster_
id string - string → The UUID of cluster that node group belongs.
- flavor_
id string - id string
- number
- max_
nodes number - min_
nodes number - name string
- string → Name of a node.
- node_
count number - nodes list(object)
- list → The list of node group's node objects.
- region string
- state string
- string → Determines current state of node group (RUNNING, SHUTOFF, ERROR).
- uuid string
- string → UUID of a node.
- volume_
size number - volume_
type string
- autoscaling
Enabled Boolean - availability
Zones List<String> - string → The list of availability zones of the node group.
- cluster
Id String - string → The UUID of cluster that node group belongs.
- flavor
Id String - id String
- Double
- max
Nodes Double - min
Nodes Double - name String
- string → Name of a node.
- node
Count Double - nodes
List<Get
Kubernetes Node Group Node> - list → The list of node group's node objects.
- region String
- state String
- string → Determines current state of node group (RUNNING, SHUTOFF, ERROR).
- uuid String
- string → UUID of a node.
- volume
Size Double - volume
Type String
- autoscaling
Enabled boolean - availability
Zones string[] - string → The list of availability zones of the node group.
- cluster
Id string - string → The UUID of cluster that node group belongs.
- flavor
Id string - id string
- number
- max
Nodes number - min
Nodes number - name string
- string → Name of a node.
- node
Count number - nodes
Get
Kubernetes Node Group Node[] - list → The list of node group's node objects.
- region string
- state string
- string → Determines current state of node group (RUNNING, SHUTOFF, ERROR).
- uuid string
- string → UUID of a node.
- volume
Size number - volume
Type string
- autoscaling_
enabled bool - availability_
zones Sequence[str] - string → The list of availability zones of the node group.
- cluster_
id str - string → The UUID of cluster that node group belongs.
- flavor_
id str - id str
- float
- max_
nodes float - min_
nodes float - name str
- string → Name of a node.
- node_
count float - nodes
Sequence[Get
Kubernetes Node Group Node] - list → The list of node group's node objects.
- region str
- state str
- string → Determines current state of node group (RUNNING, SHUTOFF, ERROR).
- uuid str
- string → UUID of a node.
- volume_
size float - volume_
type str
- autoscaling
Enabled Boolean - availability
Zones List<String> - string → The list of availability zones of the node group.
- cluster
Id String - string → The UUID of cluster that node group belongs.
- flavor
Id String - id String
- Number
- max
Nodes Number - min
Nodes Number - name String
- string → Name of a node.
- node
Count Number - nodes List<Property Map>
- list → The list of node group's node objects.
- region String
- state String
- string → Determines current state of node group (RUNNING, SHUTOFF, ERROR).
- uuid String
- string → UUID of a node.
- volume
Size Number - volume
Type String
Supporting Types
GetKubernetesNodeGroupNode
- Created
At string - string → Time when a node was created.
- Name string
- optional string →
Deprecated: read-only field.The name of the node group. - Node
Group stringId - string → The node group id.
- Updated
At string - string → Time when a node was updated.
- Uuid string
- optional deprecated string → The UUID of the cluster's node group. Deprecated This argument is deprecated, please, use the
idattribute instead.
- Created
At string - string → Time when a node was created.
- Name string
- optional string →
Deprecated: read-only field.The name of the node group. - Node
Group stringId - string → The node group id.
- Updated
At string - string → Time when a node was updated.
- Uuid string
- optional deprecated string → The UUID of the cluster's node group. Deprecated This argument is deprecated, please, use the
idattribute instead.
- created_
at string - string → Time when a node was created.
- name string
- optional string →
Deprecated: read-only field.The name of the node group. - node_
group_ stringid - string → The node group id.
- updated_
at string - string → Time when a node was updated.
- uuid string
- optional deprecated string → The UUID of the cluster's node group. Deprecated This argument is deprecated, please, use the
idattribute instead.
- created
At String - string → Time when a node was created.
- name String
- optional string →
Deprecated: read-only field.The name of the node group. - node
Group StringId - string → The node group id.
- updated
At String - string → Time when a node was updated.
- uuid String
- optional deprecated string → The UUID of the cluster's node group. Deprecated This argument is deprecated, please, use the
idattribute instead.
- created
At string - string → Time when a node was created.
- name string
- optional string →
Deprecated: read-only field.The name of the node group. - node
Group stringId - string → The node group id.
- updated
At string - string → Time when a node was updated.
- uuid string
- optional deprecated string → The UUID of the cluster's node group. Deprecated This argument is deprecated, please, use the
idattribute instead.
- created_
at str - string → Time when a node was created.
- name str
- optional string →
Deprecated: read-only field.The name of the node group. - node_
group_ strid - string → The node group id.
- updated_
at str - string → Time when a node was updated.
- uuid str
- optional deprecated string → The UUID of the cluster's node group. Deprecated This argument is deprecated, please, use the
idattribute instead.
- created
At String - string → Time when a node was created.
- name String
- optional string →
Deprecated: read-only field.The name of the node group. - node
Group StringId - string → The node group id.
- updated
At String - string → Time when a node was updated.
- uuid String
- optional deprecated string → The UUID of the cluster's node group. Deprecated This argument is deprecated, please, use the
idattribute instead.
Package Details
- Repository
- vkcs vk-cs/terraform-provider-vkcs
- License
- Notes
- This Pulumi package is based on the
vkcsTerraform Provider.
Viewing docs for vkcs 0.17.0
published on Thursday, Jun 25, 2026 by vk-cs
published on Thursday, Jun 25, 2026 by vk-cs