1. Packages
  2. Gcore Provider
  3. API Docs
  4. K8sv2
gcore 0.22.0 published on Wednesday, Apr 30, 2025 by g-core

gcore.K8sv2

Explore with Pulumi AI

gcore logo
gcore 0.22.0 published on Wednesday, Apr 30, 2025 by g-core

    Represent k8s cluster with one default pool.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as gcore from "@pulumi/gcore";
    
    const cl = new gcore.K8sv2("cl", {
        projectId: 1,
        regionId: 1,
        fixedNetwork: "6bf878c1-1ce4-47c3-a39b-6b5f1d79bf25",
        fixedSubnet: "dc3a3ea9-86ae-47ad-a8e8-79df0ce04839",
        keypair: "test_key",
        version: "v1.26.7",
        pools: [{
            name: "pool1",
            flavorId: "g1-standard-1-2",
            minNodeCount: 1,
            maxNodeCount: 1,
            bootVolumeSize: 10,
            bootVolumeType: "standard",
        }],
    });
    const config = cl.name.apply(name => gcore.getK8sv2KubeconfigOutput({
        clusterName: name,
        regionId: data.gcore_region.rg.id,
        projectId: data.gcore_project.pr.id,
    }));
    export const kubeconfig = config.apply(config => config.kubeconfig);
    
    import pulumi
    import pulumi_gcore as gcore
    
    cl = gcore.K8sv2("cl",
        project_id=1,
        region_id=1,
        fixed_network="6bf878c1-1ce4-47c3-a39b-6b5f1d79bf25",
        fixed_subnet="dc3a3ea9-86ae-47ad-a8e8-79df0ce04839",
        keypair="test_key",
        version="v1.26.7",
        pools=[{
            "name": "pool1",
            "flavor_id": "g1-standard-1-2",
            "min_node_count": 1,
            "max_node_count": 1,
            "boot_volume_size": 10,
            "boot_volume_type": "standard",
        }])
    config = cl.name.apply(lambda name: gcore.get_k8sv2_kubeconfig_output(cluster_name=name,
        region_id=data["gcore_region"]["rg"]["id"],
        project_id=data["gcore_project"]["pr"]["id"]))
    pulumi.export("kubeconfig", config.kubeconfig)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/gcore/gcore"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cl, err := gcore.NewK8sv2(ctx, "cl", &gcore.K8sv2Args{
    			ProjectId:    pulumi.Float64(1),
    			RegionId:     pulumi.Float64(1),
    			FixedNetwork: pulumi.String("6bf878c1-1ce4-47c3-a39b-6b5f1d79bf25"),
    			FixedSubnet:  pulumi.String("dc3a3ea9-86ae-47ad-a8e8-79df0ce04839"),
    			Keypair:      pulumi.String("test_key"),
    			Version:      pulumi.String("v1.26.7"),
    			Pools: gcore.K8sv2PoolArray{
    				&gcore.K8sv2PoolArgs{
    					Name:           pulumi.String("pool1"),
    					FlavorId:       pulumi.String("g1-standard-1-2"),
    					MinNodeCount:   pulumi.Float64(1),
    					MaxNodeCount:   pulumi.Float64(1),
    					BootVolumeSize: pulumi.Float64(10),
    					BootVolumeType: pulumi.String("standard"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		config := cl.Name.ApplyT(func(name string) (gcore.GetK8sv2KubeconfigResult, error) {
    			return gcore.GetK8sv2KubeconfigResult(interface{}(gcore.GetK8sv2KubeconfigOutput(ctx, gcore.GetK8sv2KubeconfigOutputArgs{
    				ClusterName: name,
    				RegionId:    data.Gcore_region.Rg.Id,
    				ProjectId:   data.Gcore_project.Pr.Id,
    			}, nil))), nil
    		}).(gcore.GetK8sv2KubeconfigResultOutput)
    		ctx.Export("kubeconfig", config.ApplyT(func(config gcore.GetK8sv2KubeconfigResult) (*string, error) {
    			return &config.Kubeconfig, nil
    		}).(pulumi.StringPtrOutput))
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcore = Pulumi.Gcore;
    
    return await Deployment.RunAsync(() => 
    {
        var cl = new Gcore.K8sv2("cl", new()
        {
            ProjectId = 1,
            RegionId = 1,
            FixedNetwork = "6bf878c1-1ce4-47c3-a39b-6b5f1d79bf25",
            FixedSubnet = "dc3a3ea9-86ae-47ad-a8e8-79df0ce04839",
            Keypair = "test_key",
            Version = "v1.26.7",
            Pools = new[]
            {
                new Gcore.Inputs.K8sv2PoolArgs
                {
                    Name = "pool1",
                    FlavorId = "g1-standard-1-2",
                    MinNodeCount = 1,
                    MaxNodeCount = 1,
                    BootVolumeSize = 10,
                    BootVolumeType = "standard",
                },
            },
        });
    
        var config = Gcore.GetK8sv2Kubeconfig.Invoke(new()
        {
            ClusterName = cl.Name,
            RegionId = data.Gcore_region.Rg.Id,
            ProjectId = data.Gcore_project.Pr.Id,
        });
    
        return new Dictionary<string, object?>
        {
            ["kubeconfig"] = config.Apply(getK8sv2KubeconfigResult => getK8sv2KubeconfigResult.Kubeconfig),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcore.K8sv2;
    import com.pulumi.gcore.K8sv2Args;
    import com.pulumi.gcore.inputs.K8sv2PoolArgs;
    import com.pulumi.gcore.GcoreFunctions;
    import com.pulumi.gcore.inputs.GetK8sv2KubeconfigArgs;
    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 cl = new K8sv2("cl", K8sv2Args.builder()
                .projectId(1)
                .regionId(1)
                .fixedNetwork("6bf878c1-1ce4-47c3-a39b-6b5f1d79bf25")
                .fixedSubnet("dc3a3ea9-86ae-47ad-a8e8-79df0ce04839")
                .keypair("test_key")
                .version("v1.26.7")
                .pools(K8sv2PoolArgs.builder()
                    .name("pool1")
                    .flavorId("g1-standard-1-2")
                    .minNodeCount(1)
                    .maxNodeCount(1)
                    .bootVolumeSize(10)
                    .bootVolumeType("standard")
                    .build())
                .build());
    
            final var config = GcoreFunctions.getK8sv2Kubeconfig(GetK8sv2KubeconfigArgs.builder()
                .clusterName(cl.name())
                .regionId(data.gcore_region().rg().id())
                .projectId(data.gcore_project().pr().id())
                .build());
    
            ctx.export("kubeconfig", config.applyValue(getK8sv2KubeconfigResult -> getK8sv2KubeconfigResult).applyValue(config -> config.applyValue(getK8sv2KubeconfigResult -> getK8sv2KubeconfigResult.kubeconfig())));
        }
    }
    
    resources:
      cl:
        type: gcore:K8sv2
        properties:
          projectId: 1
          regionId: 1
          fixedNetwork: 6bf878c1-1ce4-47c3-a39b-6b5f1d79bf25
          fixedSubnet: dc3a3ea9-86ae-47ad-a8e8-79df0ce04839
          keypair: test_key
          version: v1.26.7
          pools:
            - name: pool1
              flavorId: g1-standard-1-2
              minNodeCount: 1
              maxNodeCount: 1
              bootVolumeSize: 10
              bootVolumeType: standard
    variables:
      config:
        fn::invoke:
          function: gcore:getK8sv2Kubeconfig
          arguments:
            clusterName: ${cl.name}
            regionId: ${data.gcore_region.rg.id}
            projectId: ${data.gcore_project.pr.id}
    outputs:
      # to store kubeconfig in a file pls use
      # // terraform output -raw kubeconfig > config.yaml
      kubeconfig: ${config.kubeconfig}
    

    Create K8sv2 Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new K8sv2(name: string, args: K8sv2Args, opts?: CustomResourceOptions);
    @overload
    def K8sv2(resource_name: str,
              args: K8sv2Args,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def K8sv2(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              keypair: Optional[str] = None,
              version: Optional[str] = None,
              pools: Optional[Sequence[K8sv2PoolArgs]] = None,
              pods_ipv6_pool: Optional[str] = None,
              project_id: Optional[float] = None,
              is_ipv6: Optional[bool] = None,
              k8sv2_id: Optional[str] = None,
              fixed_network: Optional[str] = None,
              name: Optional[str] = None,
              pods_ip_pool: Optional[str] = None,
              authentication: Optional[K8sv2AuthenticationArgs] = None,
              cni: Optional[K8sv2CniArgs] = None,
              fixed_subnet: Optional[str] = None,
              project_name: Optional[str] = None,
              region_id: Optional[float] = None,
              region_name: Optional[str] = None,
              security_group_rules: Optional[Sequence[K8sv2SecurityGroupRuleArgs]] = None,
              services_ip_pool: Optional[str] = None,
              services_ipv6_pool: Optional[str] = None,
              timeouts: Optional[K8sv2TimeoutsArgs] = None,
              autoscaler_config: Optional[Mapping[str, str]] = None)
    func NewK8sv2(ctx *Context, name string, args K8sv2Args, opts ...ResourceOption) (*K8sv2, error)
    public K8sv2(string name, K8sv2Args args, CustomResourceOptions? opts = null)
    public K8sv2(String name, K8sv2Args args)
    public K8sv2(String name, K8sv2Args args, CustomResourceOptions options)
    
    type: gcore:K8sv2
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args K8sv2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args K8sv2Args
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args K8sv2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args K8sv2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args K8sv2Args
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var k8sv2Resource = new Gcore.K8sv2("k8sv2Resource", new()
    {
        Keypair = "string",
        Version = "string",
        Pools = new[]
        {
            new Gcore.Inputs.K8sv2PoolArgs
            {
                FlavorId = "string",
                Name = "string",
                MinNodeCount = 0,
                Labels = 
                {
                    { "string", "string" },
                },
                BootVolumeType = "string",
                CreatedAt = "string",
                IsPublicIpv4 = false,
                KubeletConfig = 
                {
                    { "string", "string" },
                },
                AutoHealingEnabled = false,
                MaxNodeCount = 0,
                CrioConfig = 
                {
                    { "string", "string" },
                },
                BootVolumeSize = 0,
                NodeCount = 0,
                ServergroupId = "string",
                ServergroupName = "string",
                ServergroupPolicy = "string",
                Status = "string",
                Taints = 
                {
                    { "string", "string" },
                },
            },
        },
        PodsIpv6Pool = "string",
        ProjectId = 0,
        IsIpv6 = false,
        K8sv2Id = "string",
        FixedNetwork = "string",
        Name = "string",
        PodsIpPool = "string",
        Authentication = new Gcore.Inputs.K8sv2AuthenticationArgs
        {
            Oidc = new Gcore.Inputs.K8sv2AuthenticationOidcArgs
            {
                ClientId = "string",
                GroupsClaim = "string",
                GroupsPrefix = "string",
                IssuerUrl = "string",
                RequiredClaims = 
                {
                    { "string", "string" },
                },
                SigningAlgs = new[]
                {
                    "string",
                },
                UsernameClaim = "string",
                UsernamePrefix = "string",
            },
        },
        Cni = new Gcore.Inputs.K8sv2CniArgs
        {
            Cilium = new Gcore.Inputs.K8sv2CniCiliumArgs
            {
                Encryption = false,
                HubbleRelay = false,
                HubbleUi = false,
                LbAcceleration = false,
                LbMode = "string",
                MaskSize = 0,
                MaskSizeV6 = 0,
                RoutingMode = "string",
                Tunnel = "string",
            },
            Provider = "string",
        },
        FixedSubnet = "string",
        ProjectName = "string",
        RegionId = 0,
        RegionName = "string",
        SecurityGroupRules = new[]
        {
            new Gcore.Inputs.K8sv2SecurityGroupRuleArgs
            {
                Direction = "string",
                Ethertype = "string",
                Protocol = "string",
                CreatedAt = "string",
                Description = "string",
                Id = "string",
                PortRangeMax = 0,
                PortRangeMin = 0,
                RemoteIpPrefix = "string",
                UpdatedAt = "string",
            },
        },
        ServicesIpPool = "string",
        ServicesIpv6Pool = "string",
        Timeouts = new Gcore.Inputs.K8sv2TimeoutsArgs
        {
            Create = "string",
            Update = "string",
        },
        AutoscalerConfig = 
        {
            { "string", "string" },
        },
    });
    
    example, err := gcore.NewK8sv2(ctx, "k8sv2Resource", &gcore.K8sv2Args{
    	Keypair: pulumi.String("string"),
    	Version: pulumi.String("string"),
    	Pools: gcore.K8sv2PoolArray{
    		&gcore.K8sv2PoolArgs{
    			FlavorId:     pulumi.String("string"),
    			Name:         pulumi.String("string"),
    			MinNodeCount: pulumi.Float64(0),
    			Labels: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    			BootVolumeType: pulumi.String("string"),
    			CreatedAt:      pulumi.String("string"),
    			IsPublicIpv4:   pulumi.Bool(false),
    			KubeletConfig: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    			AutoHealingEnabled: pulumi.Bool(false),
    			MaxNodeCount:       pulumi.Float64(0),
    			CrioConfig: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    			BootVolumeSize:    pulumi.Float64(0),
    			NodeCount:         pulumi.Float64(0),
    			ServergroupId:     pulumi.String("string"),
    			ServergroupName:   pulumi.String("string"),
    			ServergroupPolicy: pulumi.String("string"),
    			Status:            pulumi.String("string"),
    			Taints: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    		},
    	},
    	PodsIpv6Pool: pulumi.String("string"),
    	ProjectId:    pulumi.Float64(0),
    	IsIpv6:       pulumi.Bool(false),
    	K8sv2Id:      pulumi.String("string"),
    	FixedNetwork: pulumi.String("string"),
    	Name:         pulumi.String("string"),
    	PodsIpPool:   pulumi.String("string"),
    	Authentication: &gcore.K8sv2AuthenticationArgs{
    		Oidc: &gcore.K8sv2AuthenticationOidcArgs{
    			ClientId:     pulumi.String("string"),
    			GroupsClaim:  pulumi.String("string"),
    			GroupsPrefix: pulumi.String("string"),
    			IssuerUrl:    pulumi.String("string"),
    			RequiredClaims: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    			SigningAlgs: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			UsernameClaim:  pulumi.String("string"),
    			UsernamePrefix: pulumi.String("string"),
    		},
    	},
    	Cni: &gcore.K8sv2CniArgs{
    		Cilium: &gcore.K8sv2CniCiliumArgs{
    			Encryption:     pulumi.Bool(false),
    			HubbleRelay:    pulumi.Bool(false),
    			HubbleUi:       pulumi.Bool(false),
    			LbAcceleration: pulumi.Bool(false),
    			LbMode:         pulumi.String("string"),
    			MaskSize:       pulumi.Float64(0),
    			MaskSizeV6:     pulumi.Float64(0),
    			RoutingMode:    pulumi.String("string"),
    			Tunnel:         pulumi.String("string"),
    		},
    		Provider: pulumi.String("string"),
    	},
    	FixedSubnet: pulumi.String("string"),
    	ProjectName: pulumi.String("string"),
    	RegionId:    pulumi.Float64(0),
    	RegionName:  pulumi.String("string"),
    	SecurityGroupRules: gcore.K8sv2SecurityGroupRuleArray{
    		&gcore.K8sv2SecurityGroupRuleArgs{
    			Direction:      pulumi.String("string"),
    			Ethertype:      pulumi.String("string"),
    			Protocol:       pulumi.String("string"),
    			CreatedAt:      pulumi.String("string"),
    			Description:    pulumi.String("string"),
    			Id:             pulumi.String("string"),
    			PortRangeMax:   pulumi.Float64(0),
    			PortRangeMin:   pulumi.Float64(0),
    			RemoteIpPrefix: pulumi.String("string"),
    			UpdatedAt:      pulumi.String("string"),
    		},
    	},
    	ServicesIpPool:   pulumi.String("string"),
    	ServicesIpv6Pool: pulumi.String("string"),
    	Timeouts: &gcore.K8sv2TimeoutsArgs{
    		Create: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    	AutoscalerConfig: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var k8sv2Resource = new K8sv2("k8sv2Resource", K8sv2Args.builder()
        .keypair("string")
        .version("string")
        .pools(K8sv2PoolArgs.builder()
            .flavorId("string")
            .name("string")
            .minNodeCount(0)
            .labels(Map.of("string", "string"))
            .bootVolumeType("string")
            .createdAt("string")
            .isPublicIpv4(false)
            .kubeletConfig(Map.of("string", "string"))
            .autoHealingEnabled(false)
            .maxNodeCount(0)
            .crioConfig(Map.of("string", "string"))
            .bootVolumeSize(0)
            .nodeCount(0)
            .servergroupId("string")
            .servergroupName("string")
            .servergroupPolicy("string")
            .status("string")
            .taints(Map.of("string", "string"))
            .build())
        .podsIpv6Pool("string")
        .projectId(0)
        .isIpv6(false)
        .k8sv2Id("string")
        .fixedNetwork("string")
        .name("string")
        .podsIpPool("string")
        .authentication(K8sv2AuthenticationArgs.builder()
            .oidc(K8sv2AuthenticationOidcArgs.builder()
                .clientId("string")
                .groupsClaim("string")
                .groupsPrefix("string")
                .issuerUrl("string")
                .requiredClaims(Map.of("string", "string"))
                .signingAlgs("string")
                .usernameClaim("string")
                .usernamePrefix("string")
                .build())
            .build())
        .cni(K8sv2CniArgs.builder()
            .cilium(K8sv2CniCiliumArgs.builder()
                .encryption(false)
                .hubbleRelay(false)
                .hubbleUi(false)
                .lbAcceleration(false)
                .lbMode("string")
                .maskSize(0)
                .maskSizeV6(0)
                .routingMode("string")
                .tunnel("string")
                .build())
            .provider("string")
            .build())
        .fixedSubnet("string")
        .projectName("string")
        .regionId(0)
        .regionName("string")
        .securityGroupRules(K8sv2SecurityGroupRuleArgs.builder()
            .direction("string")
            .ethertype("string")
            .protocol("string")
            .createdAt("string")
            .description("string")
            .id("string")
            .portRangeMax(0)
            .portRangeMin(0)
            .remoteIpPrefix("string")
            .updatedAt("string")
            .build())
        .servicesIpPool("string")
        .servicesIpv6Pool("string")
        .timeouts(K8sv2TimeoutsArgs.builder()
            .create("string")
            .update("string")
            .build())
        .autoscalerConfig(Map.of("string", "string"))
        .build());
    
    k8sv2_resource = gcore.K8sv2("k8sv2Resource",
        keypair="string",
        version="string",
        pools=[{
            "flavor_id": "string",
            "name": "string",
            "min_node_count": 0,
            "labels": {
                "string": "string",
            },
            "boot_volume_type": "string",
            "created_at": "string",
            "is_public_ipv4": False,
            "kubelet_config": {
                "string": "string",
            },
            "auto_healing_enabled": False,
            "max_node_count": 0,
            "crio_config": {
                "string": "string",
            },
            "boot_volume_size": 0,
            "node_count": 0,
            "servergroup_id": "string",
            "servergroup_name": "string",
            "servergroup_policy": "string",
            "status": "string",
            "taints": {
                "string": "string",
            },
        }],
        pods_ipv6_pool="string",
        project_id=0,
        is_ipv6=False,
        k8sv2_id="string",
        fixed_network="string",
        name="string",
        pods_ip_pool="string",
        authentication={
            "oidc": {
                "client_id": "string",
                "groups_claim": "string",
                "groups_prefix": "string",
                "issuer_url": "string",
                "required_claims": {
                    "string": "string",
                },
                "signing_algs": ["string"],
                "username_claim": "string",
                "username_prefix": "string",
            },
        },
        cni={
            "cilium": {
                "encryption": False,
                "hubble_relay": False,
                "hubble_ui": False,
                "lb_acceleration": False,
                "lb_mode": "string",
                "mask_size": 0,
                "mask_size_v6": 0,
                "routing_mode": "string",
                "tunnel": "string",
            },
            "provider": "string",
        },
        fixed_subnet="string",
        project_name="string",
        region_id=0,
        region_name="string",
        security_group_rules=[{
            "direction": "string",
            "ethertype": "string",
            "protocol": "string",
            "created_at": "string",
            "description": "string",
            "id": "string",
            "port_range_max": 0,
            "port_range_min": 0,
            "remote_ip_prefix": "string",
            "updated_at": "string",
        }],
        services_ip_pool="string",
        services_ipv6_pool="string",
        timeouts={
            "create": "string",
            "update": "string",
        },
        autoscaler_config={
            "string": "string",
        })
    
    const k8sv2Resource = new gcore.K8sv2("k8sv2Resource", {
        keypair: "string",
        version: "string",
        pools: [{
            flavorId: "string",
            name: "string",
            minNodeCount: 0,
            labels: {
                string: "string",
            },
            bootVolumeType: "string",
            createdAt: "string",
            isPublicIpv4: false,
            kubeletConfig: {
                string: "string",
            },
            autoHealingEnabled: false,
            maxNodeCount: 0,
            crioConfig: {
                string: "string",
            },
            bootVolumeSize: 0,
            nodeCount: 0,
            servergroupId: "string",
            servergroupName: "string",
            servergroupPolicy: "string",
            status: "string",
            taints: {
                string: "string",
            },
        }],
        podsIpv6Pool: "string",
        projectId: 0,
        isIpv6: false,
        k8sv2Id: "string",
        fixedNetwork: "string",
        name: "string",
        podsIpPool: "string",
        authentication: {
            oidc: {
                clientId: "string",
                groupsClaim: "string",
                groupsPrefix: "string",
                issuerUrl: "string",
                requiredClaims: {
                    string: "string",
                },
                signingAlgs: ["string"],
                usernameClaim: "string",
                usernamePrefix: "string",
            },
        },
        cni: {
            cilium: {
                encryption: false,
                hubbleRelay: false,
                hubbleUi: false,
                lbAcceleration: false,
                lbMode: "string",
                maskSize: 0,
                maskSizeV6: 0,
                routingMode: "string",
                tunnel: "string",
            },
            provider: "string",
        },
        fixedSubnet: "string",
        projectName: "string",
        regionId: 0,
        regionName: "string",
        securityGroupRules: [{
            direction: "string",
            ethertype: "string",
            protocol: "string",
            createdAt: "string",
            description: "string",
            id: "string",
            portRangeMax: 0,
            portRangeMin: 0,
            remoteIpPrefix: "string",
            updatedAt: "string",
        }],
        servicesIpPool: "string",
        servicesIpv6Pool: "string",
        timeouts: {
            create: "string",
            update: "string",
        },
        autoscalerConfig: {
            string: "string",
        },
    });
    
    type: gcore:K8sv2
    properties:
        authentication:
            oidc:
                clientId: string
                groupsClaim: string
                groupsPrefix: string
                issuerUrl: string
                requiredClaims:
                    string: string
                signingAlgs:
                    - string
                usernameClaim: string
                usernamePrefix: string
        autoscalerConfig:
            string: string
        cni:
            cilium:
                encryption: false
                hubbleRelay: false
                hubbleUi: false
                lbAcceleration: false
                lbMode: string
                maskSize: 0
                maskSizeV6: 0
                routingMode: string
                tunnel: string
            provider: string
        fixedNetwork: string
        fixedSubnet: string
        isIpv6: false
        k8sv2Id: string
        keypair: string
        name: string
        podsIpPool: string
        podsIpv6Pool: string
        pools:
            - autoHealingEnabled: false
              bootVolumeSize: 0
              bootVolumeType: string
              createdAt: string
              crioConfig:
                string: string
              flavorId: string
              isPublicIpv4: false
              kubeletConfig:
                string: string
              labels:
                string: string
              maxNodeCount: 0
              minNodeCount: 0
              name: string
              nodeCount: 0
              servergroupId: string
              servergroupName: string
              servergroupPolicy: string
              status: string
              taints:
                string: string
        projectId: 0
        projectName: string
        regionId: 0
        regionName: string
        securityGroupRules:
            - createdAt: string
              description: string
              direction: string
              ethertype: string
              id: string
              portRangeMax: 0
              portRangeMin: 0
              protocol: string
              remoteIpPrefix: string
              updatedAt: string
        servicesIpPool: string
        servicesIpv6Pool: string
        timeouts:
            create: string
            update: string
        version: string
    

    K8sv2 Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The K8sv2 resource accepts the following input properties:

    Keypair string
    Name of the keypair used for SSH access to nodes.
    Pools List<K8sv2Pool>
    Version string
    Kubernetes version.
    Authentication K8sv2Authentication
    Cluster authentication configuration.
    AutoscalerConfig Dictionary<string, string>
    Cluster autoscaler configuration params. Keys and values are expected to follow the cluster-autoscaler option format.
    Cni K8sv2Cni
    Cluster CNI configuration.
    FixedNetwork string
    Fixed network used to allocate network addresses for cluster nodes.
    FixedSubnet string
    Fixed subnet used to allocate network addresses for cluster nodes. Subnet should have a router.
    IsIpv6 bool
    Enable public IPv6 address.
    K8sv2Id string
    The ID of this resource.
    Name string
    Cluster name.
    PodsIpPool string
    Pods IPv4 IP pool in CIDR notation.
    PodsIpv6Pool string
    Pods IPv6 IP pool in CIDR notation.
    ProjectId double
    ProjectName string
    RegionId double
    RegionName string
    SecurityGroupRules List<K8sv2SecurityGroupRule>
    Firewall rules control what inbound(ingress) and outbound(egress) traffic is allowed to enter or leave a Instance. At least one 'egress' rule should be set
    ServicesIpPool string
    Services IPv4 IP pool in CIDR notation.
    ServicesIpv6Pool string
    Services IPv6 IP pool in CIDR notation.
    Timeouts K8sv2Timeouts
    Keypair string
    Name of the keypair used for SSH access to nodes.
    Pools []K8sv2PoolArgs
    Version string
    Kubernetes version.
    Authentication K8sv2AuthenticationArgs
    Cluster authentication configuration.
    AutoscalerConfig map[string]string
    Cluster autoscaler configuration params. Keys and values are expected to follow the cluster-autoscaler option format.
    Cni K8sv2CniArgs
    Cluster CNI configuration.
    FixedNetwork string
    Fixed network used to allocate network addresses for cluster nodes.
    FixedSubnet string
    Fixed subnet used to allocate network addresses for cluster nodes. Subnet should have a router.
    IsIpv6 bool
    Enable public IPv6 address.
    K8sv2Id string
    The ID of this resource.
    Name string
    Cluster name.
    PodsIpPool string
    Pods IPv4 IP pool in CIDR notation.
    PodsIpv6Pool string
    Pods IPv6 IP pool in CIDR notation.
    ProjectId float64
    ProjectName string
    RegionId float64
    RegionName string
    SecurityGroupRules []K8sv2SecurityGroupRuleArgs
    Firewall rules control what inbound(ingress) and outbound(egress) traffic is allowed to enter or leave a Instance. At least one 'egress' rule should be set
    ServicesIpPool string
    Services IPv4 IP pool in CIDR notation.
    ServicesIpv6Pool string
    Services IPv6 IP pool in CIDR notation.
    Timeouts K8sv2TimeoutsArgs
    keypair String
    Name of the keypair used for SSH access to nodes.
    pools List<K8sv2Pool>
    version String
    Kubernetes version.
    authentication K8sv2Authentication
    Cluster authentication configuration.
    autoscalerConfig Map<String,String>
    Cluster autoscaler configuration params. Keys and values are expected to follow the cluster-autoscaler option format.
    cni K8sv2Cni
    Cluster CNI configuration.
    fixedNetwork String
    Fixed network used to allocate network addresses for cluster nodes.
    fixedSubnet String
    Fixed subnet used to allocate network addresses for cluster nodes. Subnet should have a router.
    isIpv6 Boolean
    Enable public IPv6 address.
    k8sv2Id String
    The ID of this resource.
    name String
    Cluster name.
    podsIpPool String
    Pods IPv4 IP pool in CIDR notation.
    podsIpv6Pool String
    Pods IPv6 IP pool in CIDR notation.
    projectId Double
    projectName String
    regionId Double
    regionName String
    securityGroupRules List<K8sv2SecurityGroupRule>
    Firewall rules control what inbound(ingress) and outbound(egress) traffic is allowed to enter or leave a Instance. At least one 'egress' rule should be set
    servicesIpPool String
    Services IPv4 IP pool in CIDR notation.
    servicesIpv6Pool String
    Services IPv6 IP pool in CIDR notation.
    timeouts K8sv2Timeouts
    keypair string
    Name of the keypair used for SSH access to nodes.
    pools K8sv2Pool[]
    version string
    Kubernetes version.
    authentication K8sv2Authentication
    Cluster authentication configuration.
    autoscalerConfig {[key: string]: string}
    Cluster autoscaler configuration params. Keys and values are expected to follow the cluster-autoscaler option format.
    cni K8sv2Cni
    Cluster CNI configuration.
    fixedNetwork string
    Fixed network used to allocate network addresses for cluster nodes.
    fixedSubnet string
    Fixed subnet used to allocate network addresses for cluster nodes. Subnet should have a router.
    isIpv6 boolean
    Enable public IPv6 address.
    k8sv2Id string
    The ID of this resource.
    name string
    Cluster name.
    podsIpPool string
    Pods IPv4 IP pool in CIDR notation.
    podsIpv6Pool string
    Pods IPv6 IP pool in CIDR notation.
    projectId number
    projectName string
    regionId number
    regionName string
    securityGroupRules K8sv2SecurityGroupRule[]
    Firewall rules control what inbound(ingress) and outbound(egress) traffic is allowed to enter or leave a Instance. At least one 'egress' rule should be set
    servicesIpPool string
    Services IPv4 IP pool in CIDR notation.
    servicesIpv6Pool string
    Services IPv6 IP pool in CIDR notation.
    timeouts K8sv2Timeouts
    keypair str
    Name of the keypair used for SSH access to nodes.
    pools Sequence[K8sv2PoolArgs]
    version str
    Kubernetes version.
    authentication K8sv2AuthenticationArgs
    Cluster authentication configuration.
    autoscaler_config Mapping[str, str]
    Cluster autoscaler configuration params. Keys and values are expected to follow the cluster-autoscaler option format.
    cni K8sv2CniArgs
    Cluster CNI configuration.
    fixed_network str
    Fixed network used to allocate network addresses for cluster nodes.
    fixed_subnet str
    Fixed subnet used to allocate network addresses for cluster nodes. Subnet should have a router.
    is_ipv6 bool
    Enable public IPv6 address.
    k8sv2_id str
    The ID of this resource.
    name str
    Cluster name.
    pods_ip_pool str
    Pods IPv4 IP pool in CIDR notation.
    pods_ipv6_pool str
    Pods IPv6 IP pool in CIDR notation.
    project_id float
    project_name str
    region_id float
    region_name str
    security_group_rules Sequence[K8sv2SecurityGroupRuleArgs]
    Firewall rules control what inbound(ingress) and outbound(egress) traffic is allowed to enter or leave a Instance. At least one 'egress' rule should be set
    services_ip_pool str
    Services IPv4 IP pool in CIDR notation.
    services_ipv6_pool str
    Services IPv6 IP pool in CIDR notation.
    timeouts K8sv2TimeoutsArgs
    keypair String
    Name of the keypair used for SSH access to nodes.
    pools List<Property Map>
    version String
    Kubernetes version.
    authentication Property Map
    Cluster authentication configuration.
    autoscalerConfig Map<String>
    Cluster autoscaler configuration params. Keys and values are expected to follow the cluster-autoscaler option format.
    cni Property Map
    Cluster CNI configuration.
    fixedNetwork String
    Fixed network used to allocate network addresses for cluster nodes.
    fixedSubnet String
    Fixed subnet used to allocate network addresses for cluster nodes. Subnet should have a router.
    isIpv6 Boolean
    Enable public IPv6 address.
    k8sv2Id String
    The ID of this resource.
    name String
    Cluster name.
    podsIpPool String
    Pods IPv4 IP pool in CIDR notation.
    podsIpv6Pool String
    Pods IPv6 IP pool in CIDR notation.
    projectId Number
    projectName String
    regionId Number
    regionName String
    securityGroupRules List<Property Map>
    Firewall rules control what inbound(ingress) and outbound(egress) traffic is allowed to enter or leave a Instance. At least one 'egress' rule should be set
    servicesIpPool String
    Services IPv4 IP pool in CIDR notation.
    servicesIpv6Pool String
    Services IPv6 IP pool in CIDR notation.
    timeouts Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the K8sv2 resource produces the following output properties:

    CreatedAt string
    Cluster creation date.
    CreatorTaskId string
    Id string
    The provider-assigned unique ID for this managed resource.
    IsPublic bool
    True if the cluster is public.
    SecurityGroupId string
    Security group ID.
    Status string
    Cluster status.
    TaskId string
    CreatedAt string
    Cluster creation date.
    CreatorTaskId string
    Id string
    The provider-assigned unique ID for this managed resource.
    IsPublic bool
    True if the cluster is public.
    SecurityGroupId string
    Security group ID.
    Status string
    Cluster status.
    TaskId string
    createdAt String
    Cluster creation date.
    creatorTaskId String
    id String
    The provider-assigned unique ID for this managed resource.
    isPublic Boolean
    True if the cluster is public.
    securityGroupId String
    Security group ID.
    status String
    Cluster status.
    taskId String
    createdAt string
    Cluster creation date.
    creatorTaskId string
    id string
    The provider-assigned unique ID for this managed resource.
    isPublic boolean
    True if the cluster is public.
    securityGroupId string
    Security group ID.
    status string
    Cluster status.
    taskId string
    created_at str
    Cluster creation date.
    creator_task_id str
    id str
    The provider-assigned unique ID for this managed resource.
    is_public bool
    True if the cluster is public.
    security_group_id str
    Security group ID.
    status str
    Cluster status.
    task_id str
    createdAt String
    Cluster creation date.
    creatorTaskId String
    id String
    The provider-assigned unique ID for this managed resource.
    isPublic Boolean
    True if the cluster is public.
    securityGroupId String
    Security group ID.
    status String
    Cluster status.
    taskId String

    Look up Existing K8sv2 Resource

    Get an existing K8sv2 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: K8sv2State, opts?: CustomResourceOptions): K8sv2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            authentication: Optional[K8sv2AuthenticationArgs] = None,
            autoscaler_config: Optional[Mapping[str, str]] = None,
            cni: Optional[K8sv2CniArgs] = None,
            created_at: Optional[str] = None,
            creator_task_id: Optional[str] = None,
            fixed_network: Optional[str] = None,
            fixed_subnet: Optional[str] = None,
            is_ipv6: Optional[bool] = None,
            is_public: Optional[bool] = None,
            k8sv2_id: Optional[str] = None,
            keypair: Optional[str] = None,
            name: Optional[str] = None,
            pods_ip_pool: Optional[str] = None,
            pods_ipv6_pool: Optional[str] = None,
            pools: Optional[Sequence[K8sv2PoolArgs]] = None,
            project_id: Optional[float] = None,
            project_name: Optional[str] = None,
            region_id: Optional[float] = None,
            region_name: Optional[str] = None,
            security_group_id: Optional[str] = None,
            security_group_rules: Optional[Sequence[K8sv2SecurityGroupRuleArgs]] = None,
            services_ip_pool: Optional[str] = None,
            services_ipv6_pool: Optional[str] = None,
            status: Optional[str] = None,
            task_id: Optional[str] = None,
            timeouts: Optional[K8sv2TimeoutsArgs] = None,
            version: Optional[str] = None) -> K8sv2
    func GetK8sv2(ctx *Context, name string, id IDInput, state *K8sv2State, opts ...ResourceOption) (*K8sv2, error)
    public static K8sv2 Get(string name, Input<string> id, K8sv2State? state, CustomResourceOptions? opts = null)
    public static K8sv2 get(String name, Output<String> id, K8sv2State state, CustomResourceOptions options)
    resources:  _:    type: gcore:K8sv2    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Authentication K8sv2Authentication
    Cluster authentication configuration.
    AutoscalerConfig Dictionary<string, string>
    Cluster autoscaler configuration params. Keys and values are expected to follow the cluster-autoscaler option format.
    Cni K8sv2Cni
    Cluster CNI configuration.
    CreatedAt string
    Cluster creation date.
    CreatorTaskId string
    FixedNetwork string
    Fixed network used to allocate network addresses for cluster nodes.
    FixedSubnet string
    Fixed subnet used to allocate network addresses for cluster nodes. Subnet should have a router.
    IsIpv6 bool
    Enable public IPv6 address.
    IsPublic bool
    True if the cluster is public.
    K8sv2Id string
    The ID of this resource.
    Keypair string
    Name of the keypair used for SSH access to nodes.
    Name string
    Cluster name.
    PodsIpPool string
    Pods IPv4 IP pool in CIDR notation.
    PodsIpv6Pool string
    Pods IPv6 IP pool in CIDR notation.
    Pools List<K8sv2Pool>
    ProjectId double
    ProjectName string
    RegionId double
    RegionName string
    SecurityGroupId string
    Security group ID.
    SecurityGroupRules List<K8sv2SecurityGroupRule>
    Firewall rules control what inbound(ingress) and outbound(egress) traffic is allowed to enter or leave a Instance. At least one 'egress' rule should be set
    ServicesIpPool string
    Services IPv4 IP pool in CIDR notation.
    ServicesIpv6Pool string
    Services IPv6 IP pool in CIDR notation.
    Status string
    Cluster status.
    TaskId string
    Timeouts K8sv2Timeouts
    Version string
    Kubernetes version.
    Authentication K8sv2AuthenticationArgs
    Cluster authentication configuration.
    AutoscalerConfig map[string]string
    Cluster autoscaler configuration params. Keys and values are expected to follow the cluster-autoscaler option format.
    Cni K8sv2CniArgs
    Cluster CNI configuration.
    CreatedAt string
    Cluster creation date.
    CreatorTaskId string
    FixedNetwork string
    Fixed network used to allocate network addresses for cluster nodes.
    FixedSubnet string
    Fixed subnet used to allocate network addresses for cluster nodes. Subnet should have a router.
    IsIpv6 bool
    Enable public IPv6 address.
    IsPublic bool
    True if the cluster is public.
    K8sv2Id string
    The ID of this resource.
    Keypair string
    Name of the keypair used for SSH access to nodes.
    Name string
    Cluster name.
    PodsIpPool string
    Pods IPv4 IP pool in CIDR notation.
    PodsIpv6Pool string
    Pods IPv6 IP pool in CIDR notation.
    Pools []K8sv2PoolArgs
    ProjectId float64
    ProjectName string
    RegionId float64
    RegionName string
    SecurityGroupId string
    Security group ID.
    SecurityGroupRules []K8sv2SecurityGroupRuleArgs
    Firewall rules control what inbound(ingress) and outbound(egress) traffic is allowed to enter or leave a Instance. At least one 'egress' rule should be set
    ServicesIpPool string
    Services IPv4 IP pool in CIDR notation.
    ServicesIpv6Pool string
    Services IPv6 IP pool in CIDR notation.
    Status string
    Cluster status.
    TaskId string
    Timeouts K8sv2TimeoutsArgs
    Version string
    Kubernetes version.
    authentication K8sv2Authentication
    Cluster authentication configuration.
    autoscalerConfig Map<String,String>
    Cluster autoscaler configuration params. Keys and values are expected to follow the cluster-autoscaler option format.
    cni K8sv2Cni
    Cluster CNI configuration.
    createdAt String
    Cluster creation date.
    creatorTaskId String
    fixedNetwork String
    Fixed network used to allocate network addresses for cluster nodes.
    fixedSubnet String
    Fixed subnet used to allocate network addresses for cluster nodes. Subnet should have a router.
    isIpv6 Boolean
    Enable public IPv6 address.
    isPublic Boolean
    True if the cluster is public.
    k8sv2Id String
    The ID of this resource.
    keypair String
    Name of the keypair used for SSH access to nodes.
    name String
    Cluster name.
    podsIpPool String
    Pods IPv4 IP pool in CIDR notation.
    podsIpv6Pool String
    Pods IPv6 IP pool in CIDR notation.
    pools List<K8sv2Pool>
    projectId Double
    projectName String
    regionId Double
    regionName String
    securityGroupId String
    Security group ID.
    securityGroupRules List<K8sv2SecurityGroupRule>
    Firewall rules control what inbound(ingress) and outbound(egress) traffic is allowed to enter or leave a Instance. At least one 'egress' rule should be set
    servicesIpPool String
    Services IPv4 IP pool in CIDR notation.
    servicesIpv6Pool String
    Services IPv6 IP pool in CIDR notation.
    status String
    Cluster status.
    taskId String
    timeouts K8sv2Timeouts
    version String
    Kubernetes version.
    authentication K8sv2Authentication
    Cluster authentication configuration.
    autoscalerConfig {[key: string]: string}
    Cluster autoscaler configuration params. Keys and values are expected to follow the cluster-autoscaler option format.
    cni K8sv2Cni
    Cluster CNI configuration.
    createdAt string
    Cluster creation date.
    creatorTaskId string
    fixedNetwork string
    Fixed network used to allocate network addresses for cluster nodes.
    fixedSubnet string
    Fixed subnet used to allocate network addresses for cluster nodes. Subnet should have a router.
    isIpv6 boolean
    Enable public IPv6 address.
    isPublic boolean
    True if the cluster is public.
    k8sv2Id string
    The ID of this resource.
    keypair string
    Name of the keypair used for SSH access to nodes.
    name string
    Cluster name.
    podsIpPool string
    Pods IPv4 IP pool in CIDR notation.
    podsIpv6Pool string
    Pods IPv6 IP pool in CIDR notation.
    pools K8sv2Pool[]
    projectId number
    projectName string
    regionId number
    regionName string
    securityGroupId string
    Security group ID.
    securityGroupRules K8sv2SecurityGroupRule[]
    Firewall rules control what inbound(ingress) and outbound(egress) traffic is allowed to enter or leave a Instance. At least one 'egress' rule should be set
    servicesIpPool string
    Services IPv4 IP pool in CIDR notation.
    servicesIpv6Pool string
    Services IPv6 IP pool in CIDR notation.
    status string
    Cluster status.
    taskId string
    timeouts K8sv2Timeouts
    version string
    Kubernetes version.
    authentication K8sv2AuthenticationArgs
    Cluster authentication configuration.
    autoscaler_config Mapping[str, str]
    Cluster autoscaler configuration params. Keys and values are expected to follow the cluster-autoscaler option format.
    cni K8sv2CniArgs
    Cluster CNI configuration.
    created_at str
    Cluster creation date.
    creator_task_id str
    fixed_network str
    Fixed network used to allocate network addresses for cluster nodes.
    fixed_subnet str
    Fixed subnet used to allocate network addresses for cluster nodes. Subnet should have a router.
    is_ipv6 bool
    Enable public IPv6 address.
    is_public bool
    True if the cluster is public.
    k8sv2_id str
    The ID of this resource.
    keypair str
    Name of the keypair used for SSH access to nodes.
    name str
    Cluster name.
    pods_ip_pool str
    Pods IPv4 IP pool in CIDR notation.
    pods_ipv6_pool str
    Pods IPv6 IP pool in CIDR notation.
    pools Sequence[K8sv2PoolArgs]
    project_id float
    project_name str
    region_id float
    region_name str
    security_group_id str
    Security group ID.
    security_group_rules Sequence[K8sv2SecurityGroupRuleArgs]
    Firewall rules control what inbound(ingress) and outbound(egress) traffic is allowed to enter or leave a Instance. At least one 'egress' rule should be set
    services_ip_pool str
    Services IPv4 IP pool in CIDR notation.
    services_ipv6_pool str
    Services IPv6 IP pool in CIDR notation.
    status str
    Cluster status.
    task_id str
    timeouts K8sv2TimeoutsArgs
    version str
    Kubernetes version.
    authentication Property Map
    Cluster authentication configuration.
    autoscalerConfig Map<String>
    Cluster autoscaler configuration params. Keys and values are expected to follow the cluster-autoscaler option format.
    cni Property Map
    Cluster CNI configuration.
    createdAt String
    Cluster creation date.
    creatorTaskId String
    fixedNetwork String
    Fixed network used to allocate network addresses for cluster nodes.
    fixedSubnet String
    Fixed subnet used to allocate network addresses for cluster nodes. Subnet should have a router.
    isIpv6 Boolean
    Enable public IPv6 address.
    isPublic Boolean
    True if the cluster is public.
    k8sv2Id String
    The ID of this resource.
    keypair String
    Name of the keypair used for SSH access to nodes.
    name String
    Cluster name.
    podsIpPool String
    Pods IPv4 IP pool in CIDR notation.
    podsIpv6Pool String
    Pods IPv6 IP pool in CIDR notation.
    pools List<Property Map>
    projectId Number
    projectName String
    regionId Number
    regionName String
    securityGroupId String
    Security group ID.
    securityGroupRules List<Property Map>
    Firewall rules control what inbound(ingress) and outbound(egress) traffic is allowed to enter or leave a Instance. At least one 'egress' rule should be set
    servicesIpPool String
    Services IPv4 IP pool in CIDR notation.
    servicesIpv6Pool String
    Services IPv6 IP pool in CIDR notation.
    status String
    Cluster status.
    taskId String
    timeouts Property Map
    version String
    Kubernetes version.

    Supporting Types

    K8sv2Authentication, K8sv2AuthenticationArgs

    Oidc K8sv2AuthenticationOidc
    OpenID Connect configuration settings.
    Oidc K8sv2AuthenticationOidc
    OpenID Connect configuration settings.
    oidc K8sv2AuthenticationOidc
    OpenID Connect configuration settings.
    oidc K8sv2AuthenticationOidc
    OpenID Connect configuration settings.
    oidc K8sv2AuthenticationOidc
    OpenID Connect configuration settings.
    oidc Property Map
    OpenID Connect configuration settings.

    K8sv2AuthenticationOidc, K8sv2AuthenticationOidcArgs

    ClientId string
    A client id that all tokens must be issued for.
    GroupsClaim string
    JWT claim to use as the user's group.
    GroupsPrefix string
    Prefix prepended to group claims to prevent clashes with existing names.
    IssuerUrl string
    URL of the provider that allows the API server to discover public signing keys. Only URLs that use the https:// scheme are accepted.
    RequiredClaims Dictionary<string, string>
    A map describing required claims in the ID Token. Each claim is verified to be present in the ID Token with a matching value.
    SigningAlgs List<string>
    Accepted signing algorithms. Supported values are: RS256, RS384, RS512, ES256, ES384, ES512, PS256, PS384, PS512.
    UsernameClaim string
    JWT claim to use as the user name. When not specified, the sub claim will be used.
    UsernamePrefix string
    Prefix prepended to username claims to prevent clashes with existing names.
    ClientId string
    A client id that all tokens must be issued for.
    GroupsClaim string
    JWT claim to use as the user's group.
    GroupsPrefix string
    Prefix prepended to group claims to prevent clashes with existing names.
    IssuerUrl string
    URL of the provider that allows the API server to discover public signing keys. Only URLs that use the https:// scheme are accepted.
    RequiredClaims map[string]string
    A map describing required claims in the ID Token. Each claim is verified to be present in the ID Token with a matching value.
    SigningAlgs []string
    Accepted signing algorithms. Supported values are: RS256, RS384, RS512, ES256, ES384, ES512, PS256, PS384, PS512.
    UsernameClaim string
    JWT claim to use as the user name. When not specified, the sub claim will be used.
    UsernamePrefix string
    Prefix prepended to username claims to prevent clashes with existing names.
    clientId String
    A client id that all tokens must be issued for.
    groupsClaim String
    JWT claim to use as the user's group.
    groupsPrefix String
    Prefix prepended to group claims to prevent clashes with existing names.
    issuerUrl String
    URL of the provider that allows the API server to discover public signing keys. Only URLs that use the https:// scheme are accepted.
    requiredClaims Map<String,String>
    A map describing required claims in the ID Token. Each claim is verified to be present in the ID Token with a matching value.
    signingAlgs List<String>
    Accepted signing algorithms. Supported values are: RS256, RS384, RS512, ES256, ES384, ES512, PS256, PS384, PS512.
    usernameClaim String
    JWT claim to use as the user name. When not specified, the sub claim will be used.
    usernamePrefix String
    Prefix prepended to username claims to prevent clashes with existing names.
    clientId string
    A client id that all tokens must be issued for.
    groupsClaim string
    JWT claim to use as the user's group.
    groupsPrefix string
    Prefix prepended to group claims to prevent clashes with existing names.
    issuerUrl string
    URL of the provider that allows the API server to discover public signing keys. Only URLs that use the https:// scheme are accepted.
    requiredClaims {[key: string]: string}
    A map describing required claims in the ID Token. Each claim is verified to be present in the ID Token with a matching value.
    signingAlgs string[]
    Accepted signing algorithms. Supported values are: RS256, RS384, RS512, ES256, ES384, ES512, PS256, PS384, PS512.
    usernameClaim string
    JWT claim to use as the user name. When not specified, the sub claim will be used.
    usernamePrefix string
    Prefix prepended to username claims to prevent clashes with existing names.
    client_id str
    A client id that all tokens must be issued for.
    groups_claim str
    JWT claim to use as the user's group.
    groups_prefix str
    Prefix prepended to group claims to prevent clashes with existing names.
    issuer_url str
    URL of the provider that allows the API server to discover public signing keys. Only URLs that use the https:// scheme are accepted.
    required_claims Mapping[str, str]
    A map describing required claims in the ID Token. Each claim is verified to be present in the ID Token with a matching value.
    signing_algs Sequence[str]
    Accepted signing algorithms. Supported values are: RS256, RS384, RS512, ES256, ES384, ES512, PS256, PS384, PS512.
    username_claim str
    JWT claim to use as the user name. When not specified, the sub claim will be used.
    username_prefix str
    Prefix prepended to username claims to prevent clashes with existing names.
    clientId String
    A client id that all tokens must be issued for.
    groupsClaim String
    JWT claim to use as the user's group.
    groupsPrefix String
    Prefix prepended to group claims to prevent clashes with existing names.
    issuerUrl String
    URL of the provider that allows the API server to discover public signing keys. Only URLs that use the https:// scheme are accepted.
    requiredClaims Map<String>
    A map describing required claims in the ID Token. Each claim is verified to be present in the ID Token with a matching value.
    signingAlgs List<String>
    Accepted signing algorithms. Supported values are: RS256, RS384, RS512, ES256, ES384, ES512, PS256, PS384, PS512.
    usernameClaim String
    JWT claim to use as the user name. When not specified, the sub claim will be used.
    usernamePrefix String
    Prefix prepended to username claims to prevent clashes with existing names.

    K8sv2Cni, K8sv2CniArgs

    Cilium K8sv2CniCilium
    Cilium CNI configuration.
    Provider string
    CNI provider to use when creating the cluster. Supported values are: calico, cilium. The default value is calico.
    Cilium K8sv2CniCilium
    Cilium CNI configuration.
    Provider string
    CNI provider to use when creating the cluster. Supported values are: calico, cilium. The default value is calico.
    cilium K8sv2CniCilium
    Cilium CNI configuration.
    provider String
    CNI provider to use when creating the cluster. Supported values are: calico, cilium. The default value is calico.
    cilium K8sv2CniCilium
    Cilium CNI configuration.
    provider string
    CNI provider to use when creating the cluster. Supported values are: calico, cilium. The default value is calico.
    cilium K8sv2CniCilium
    Cilium CNI configuration.
    provider str
    CNI provider to use when creating the cluster. Supported values are: calico, cilium. The default value is calico.
    cilium Property Map
    Cilium CNI configuration.
    provider String
    CNI provider to use when creating the cluster. Supported values are: calico, cilium. The default value is calico.

    K8sv2CniCilium, K8sv2CniCiliumArgs

    Encryption bool
    Enables transparent network encryption. The default value is false.
    HubbleRelay bool
    Enables Hubble Relay. The default value is false.
    HubbleUi bool
    Enables Hubble UI. Requires hubble_relay=true. The default value is false.
    LbAcceleration bool
    Enables load balancer acceleration via XDP. The default value is false.
    LbMode string
    The operation mode of load balancing for remote backends. Supported values are snat, dsr, hybrid. The default value is snat.
    MaskSize double
    Specifies the size allocated from podsippool CIDR to node.ipam.podCIDRs. The default value is 24.
    MaskSizeV6 double
    Specifies the size allocated from podsipv6pool CIDR to node.ipam.podCIDRs. The default value is 120.
    RoutingMode string
    Enables native-routing mode or tunneling mode. The default value is tunnel.
    Tunnel string
    Tunneling protocol to use in tunneling mode and for ad-hoc tunnels. The default value is geneve.
    Encryption bool
    Enables transparent network encryption. The default value is false.
    HubbleRelay bool
    Enables Hubble Relay. The default value is false.
    HubbleUi bool
    Enables Hubble UI. Requires hubble_relay=true. The default value is false.
    LbAcceleration bool
    Enables load balancer acceleration via XDP. The default value is false.
    LbMode string
    The operation mode of load balancing for remote backends. Supported values are snat, dsr, hybrid. The default value is snat.
    MaskSize float64
    Specifies the size allocated from podsippool CIDR to node.ipam.podCIDRs. The default value is 24.
    MaskSizeV6 float64
    Specifies the size allocated from podsipv6pool CIDR to node.ipam.podCIDRs. The default value is 120.
    RoutingMode string
    Enables native-routing mode or tunneling mode. The default value is tunnel.
    Tunnel string
    Tunneling protocol to use in tunneling mode and for ad-hoc tunnels. The default value is geneve.
    encryption Boolean
    Enables transparent network encryption. The default value is false.
    hubbleRelay Boolean
    Enables Hubble Relay. The default value is false.
    hubbleUi Boolean
    Enables Hubble UI. Requires hubble_relay=true. The default value is false.
    lbAcceleration Boolean
    Enables load balancer acceleration via XDP. The default value is false.
    lbMode String
    The operation mode of load balancing for remote backends. Supported values are snat, dsr, hybrid. The default value is snat.
    maskSize Double
    Specifies the size allocated from podsippool CIDR to node.ipam.podCIDRs. The default value is 24.
    maskSizeV6 Double
    Specifies the size allocated from podsipv6pool CIDR to node.ipam.podCIDRs. The default value is 120.
    routingMode String
    Enables native-routing mode or tunneling mode. The default value is tunnel.
    tunnel String
    Tunneling protocol to use in tunneling mode and for ad-hoc tunnels. The default value is geneve.
    encryption boolean
    Enables transparent network encryption. The default value is false.
    hubbleRelay boolean
    Enables Hubble Relay. The default value is false.
    hubbleUi boolean
    Enables Hubble UI. Requires hubble_relay=true. The default value is false.
    lbAcceleration boolean
    Enables load balancer acceleration via XDP. The default value is false.
    lbMode string
    The operation mode of load balancing for remote backends. Supported values are snat, dsr, hybrid. The default value is snat.
    maskSize number
    Specifies the size allocated from podsippool CIDR to node.ipam.podCIDRs. The default value is 24.
    maskSizeV6 number
    Specifies the size allocated from podsipv6pool CIDR to node.ipam.podCIDRs. The default value is 120.
    routingMode string
    Enables native-routing mode or tunneling mode. The default value is tunnel.
    tunnel string
    Tunneling protocol to use in tunneling mode and for ad-hoc tunnels. The default value is geneve.
    encryption bool
    Enables transparent network encryption. The default value is false.
    hubble_relay bool
    Enables Hubble Relay. The default value is false.
    hubble_ui bool
    Enables Hubble UI. Requires hubble_relay=true. The default value is false.
    lb_acceleration bool
    Enables load balancer acceleration via XDP. The default value is false.
    lb_mode str
    The operation mode of load balancing for remote backends. Supported values are snat, dsr, hybrid. The default value is snat.
    mask_size float
    Specifies the size allocated from podsippool CIDR to node.ipam.podCIDRs. The default value is 24.
    mask_size_v6 float
    Specifies the size allocated from podsipv6pool CIDR to node.ipam.podCIDRs. The default value is 120.
    routing_mode str
    Enables native-routing mode or tunneling mode. The default value is tunnel.
    tunnel str
    Tunneling protocol to use in tunneling mode and for ad-hoc tunnels. The default value is geneve.
    encryption Boolean
    Enables transparent network encryption. The default value is false.
    hubbleRelay Boolean
    Enables Hubble Relay. The default value is false.
    hubbleUi Boolean
    Enables Hubble UI. Requires hubble_relay=true. The default value is false.
    lbAcceleration Boolean
    Enables load balancer acceleration via XDP. The default value is false.
    lbMode String
    The operation mode of load balancing for remote backends. Supported values are snat, dsr, hybrid. The default value is snat.
    maskSize Number
    Specifies the size allocated from podsippool CIDR to node.ipam.podCIDRs. The default value is 24.
    maskSizeV6 Number
    Specifies the size allocated from podsipv6pool CIDR to node.ipam.podCIDRs. The default value is 120.
    routingMode String
    Enables native-routing mode or tunneling mode. The default value is tunnel.
    tunnel String
    Tunneling protocol to use in tunneling mode and for ad-hoc tunnels. The default value is geneve.

    K8sv2Pool, K8sv2PoolArgs

    FlavorId string
    Cluster pool node flavor ID. Changing the value of this attribute will trigger recreation of the cluster pool.
    MinNodeCount double
    Minimum number of nodes in the cluster pool.
    Name string
    Cluster pool name. Changing the value of this attribute will trigger recreation of the cluster pool.
    AutoHealingEnabled bool
    Enable/disable auto healing of cluster pool nodes.
    BootVolumeSize double
    Cluster pool boot volume size. Must be set only for VM pools. Changing the value of this attribute will trigger recreation of the cluster pool.
    BootVolumeType string
    Cluster pool boot volume type. Must be set only for VM pools. Available values are 'standard', 'ssd_hiiops', 'cold', 'ultra'. Changing the value of this attribute will trigger recreation of the cluster pool.
    CreatedAt string
    Cluster pool creation date.
    CrioConfig Dictionary<string, string>
    Crio configuration for pool nodes. Keys and values are expected to follow the crio option format.
    IsPublicIpv4 bool
    Assign public IPv4 address to nodes in this pool. Changing the value of this attribute will trigger recreation of the cluster pool.
    KubeletConfig Dictionary<string, string>
    Kubelet configuration for pool nodes. Keys and values are expected to follow the kubelet configuration file format.
    Labels Dictionary<string, string>
    Labels applied to the cluster pool nodes.
    MaxNodeCount double
    Maximum number of nodes in the cluster pool.
    NodeCount double
    Current node count in the cluster pool.
    ServergroupId string
    Server group id
    ServergroupName string
    Server group name
    ServergroupPolicy string
    Server group policy: anti-affinity, soft-anti-affinity or affinity
    Status string
    Cluster pool status.
    Taints Dictionary<string, string>
    Taints applied to the cluster pool nodes.
    FlavorId string
    Cluster pool node flavor ID. Changing the value of this attribute will trigger recreation of the cluster pool.
    MinNodeCount float64
    Minimum number of nodes in the cluster pool.
    Name string
    Cluster pool name. Changing the value of this attribute will trigger recreation of the cluster pool.
    AutoHealingEnabled bool
    Enable/disable auto healing of cluster pool nodes.
    BootVolumeSize float64
    Cluster pool boot volume size. Must be set only for VM pools. Changing the value of this attribute will trigger recreation of the cluster pool.
    BootVolumeType string
    Cluster pool boot volume type. Must be set only for VM pools. Available values are 'standard', 'ssd_hiiops', 'cold', 'ultra'. Changing the value of this attribute will trigger recreation of the cluster pool.
    CreatedAt string
    Cluster pool creation date.
    CrioConfig map[string]string
    Crio configuration for pool nodes. Keys and values are expected to follow the crio option format.
    IsPublicIpv4 bool
    Assign public IPv4 address to nodes in this pool. Changing the value of this attribute will trigger recreation of the cluster pool.
    KubeletConfig map[string]string
    Kubelet configuration for pool nodes. Keys and values are expected to follow the kubelet configuration file format.
    Labels map[string]string
    Labels applied to the cluster pool nodes.
    MaxNodeCount float64
    Maximum number of nodes in the cluster pool.
    NodeCount float64
    Current node count in the cluster pool.
    ServergroupId string
    Server group id
    ServergroupName string
    Server group name
    ServergroupPolicy string
    Server group policy: anti-affinity, soft-anti-affinity or affinity
    Status string
    Cluster pool status.
    Taints map[string]string
    Taints applied to the cluster pool nodes.
    flavorId String
    Cluster pool node flavor ID. Changing the value of this attribute will trigger recreation of the cluster pool.
    minNodeCount Double
    Minimum number of nodes in the cluster pool.
    name String
    Cluster pool name. Changing the value of this attribute will trigger recreation of the cluster pool.
    autoHealingEnabled Boolean
    Enable/disable auto healing of cluster pool nodes.
    bootVolumeSize Double
    Cluster pool boot volume size. Must be set only for VM pools. Changing the value of this attribute will trigger recreation of the cluster pool.
    bootVolumeType String
    Cluster pool boot volume type. Must be set only for VM pools. Available values are 'standard', 'ssd_hiiops', 'cold', 'ultra'. Changing the value of this attribute will trigger recreation of the cluster pool.
    createdAt String
    Cluster pool creation date.
    crioConfig Map<String,String>
    Crio configuration for pool nodes. Keys and values are expected to follow the crio option format.
    isPublicIpv4 Boolean
    Assign public IPv4 address to nodes in this pool. Changing the value of this attribute will trigger recreation of the cluster pool.
    kubeletConfig Map<String,String>
    Kubelet configuration for pool nodes. Keys and values are expected to follow the kubelet configuration file format.
    labels Map<String,String>
    Labels applied to the cluster pool nodes.
    maxNodeCount Double
    Maximum number of nodes in the cluster pool.
    nodeCount Double
    Current node count in the cluster pool.
    servergroupId String
    Server group id
    servergroupName String
    Server group name
    servergroupPolicy String
    Server group policy: anti-affinity, soft-anti-affinity or affinity
    status String
    Cluster pool status.
    taints Map<String,String>
    Taints applied to the cluster pool nodes.
    flavorId string
    Cluster pool node flavor ID. Changing the value of this attribute will trigger recreation of the cluster pool.
    minNodeCount number
    Minimum number of nodes in the cluster pool.
    name string
    Cluster pool name. Changing the value of this attribute will trigger recreation of the cluster pool.
    autoHealingEnabled boolean
    Enable/disable auto healing of cluster pool nodes.
    bootVolumeSize number
    Cluster pool boot volume size. Must be set only for VM pools. Changing the value of this attribute will trigger recreation of the cluster pool.
    bootVolumeType string
    Cluster pool boot volume type. Must be set only for VM pools. Available values are 'standard', 'ssd_hiiops', 'cold', 'ultra'. Changing the value of this attribute will trigger recreation of the cluster pool.
    createdAt string
    Cluster pool creation date.
    crioConfig {[key: string]: string}
    Crio configuration for pool nodes. Keys and values are expected to follow the crio option format.
    isPublicIpv4 boolean
    Assign public IPv4 address to nodes in this pool. Changing the value of this attribute will trigger recreation of the cluster pool.
    kubeletConfig {[key: string]: string}
    Kubelet configuration for pool nodes. Keys and values are expected to follow the kubelet configuration file format.
    labels {[key: string]: string}
    Labels applied to the cluster pool nodes.
    maxNodeCount number
    Maximum number of nodes in the cluster pool.
    nodeCount number
    Current node count in the cluster pool.
    servergroupId string
    Server group id
    servergroupName string
    Server group name
    servergroupPolicy string
    Server group policy: anti-affinity, soft-anti-affinity or affinity
    status string
    Cluster pool status.
    taints {[key: string]: string}
    Taints applied to the cluster pool nodes.
    flavor_id str
    Cluster pool node flavor ID. Changing the value of this attribute will trigger recreation of the cluster pool.
    min_node_count float
    Minimum number of nodes in the cluster pool.
    name str
    Cluster pool name. Changing the value of this attribute will trigger recreation of the cluster pool.
    auto_healing_enabled bool
    Enable/disable auto healing of cluster pool nodes.
    boot_volume_size float
    Cluster pool boot volume size. Must be set only for VM pools. Changing the value of this attribute will trigger recreation of the cluster pool.
    boot_volume_type str
    Cluster pool boot volume type. Must be set only for VM pools. Available values are 'standard', 'ssd_hiiops', 'cold', 'ultra'. Changing the value of this attribute will trigger recreation of the cluster pool.
    created_at str
    Cluster pool creation date.
    crio_config Mapping[str, str]
    Crio configuration for pool nodes. Keys and values are expected to follow the crio option format.
    is_public_ipv4 bool
    Assign public IPv4 address to nodes in this pool. Changing the value of this attribute will trigger recreation of the cluster pool.
    kubelet_config Mapping[str, str]
    Kubelet configuration for pool nodes. Keys and values are expected to follow the kubelet configuration file format.
    labels Mapping[str, str]
    Labels applied to the cluster pool nodes.
    max_node_count float
    Maximum number of nodes in the cluster pool.
    node_count float
    Current node count in the cluster pool.
    servergroup_id str
    Server group id
    servergroup_name str
    Server group name
    servergroup_policy str
    Server group policy: anti-affinity, soft-anti-affinity or affinity
    status str
    Cluster pool status.
    taints Mapping[str, str]
    Taints applied to the cluster pool nodes.
    flavorId String
    Cluster pool node flavor ID. Changing the value of this attribute will trigger recreation of the cluster pool.
    minNodeCount Number
    Minimum number of nodes in the cluster pool.
    name String
    Cluster pool name. Changing the value of this attribute will trigger recreation of the cluster pool.
    autoHealingEnabled Boolean
    Enable/disable auto healing of cluster pool nodes.
    bootVolumeSize Number
    Cluster pool boot volume size. Must be set only for VM pools. Changing the value of this attribute will trigger recreation of the cluster pool.
    bootVolumeType String
    Cluster pool boot volume type. Must be set only for VM pools. Available values are 'standard', 'ssd_hiiops', 'cold', 'ultra'. Changing the value of this attribute will trigger recreation of the cluster pool.
    createdAt String
    Cluster pool creation date.
    crioConfig Map<String>
    Crio configuration for pool nodes. Keys and values are expected to follow the crio option format.
    isPublicIpv4 Boolean
    Assign public IPv4 address to nodes in this pool. Changing the value of this attribute will trigger recreation of the cluster pool.
    kubeletConfig Map<String>
    Kubelet configuration for pool nodes. Keys and values are expected to follow the kubelet configuration file format.
    labels Map<String>
    Labels applied to the cluster pool nodes.
    maxNodeCount Number
    Maximum number of nodes in the cluster pool.
    nodeCount Number
    Current node count in the cluster pool.
    servergroupId String
    Server group id
    servergroupName String
    Server group name
    servergroupPolicy String
    Server group policy: anti-affinity, soft-anti-affinity or affinity
    status String
    Cluster pool status.
    taints Map<String>
    Taints applied to the cluster pool nodes.

    K8sv2SecurityGroupRule, K8sv2SecurityGroupRuleArgs

    Direction string
    Available value is 'ingress', 'egress'
    Ethertype string
    Available value is 'IPv4', 'IPv6'
    Protocol string
    Available value is udp,tcp,any,ipv6-icmp,ipv6-route,ipv6-opts,ipv6-nonxt,ipv6-frag,ipv6-encap,icmp,ah,dccp,egp,esp,gre,igmp,ospf,pgm,rsvp,sctp,udplite,vrrp,51,50,112,0,4,ipip,ipencap
    CreatedAt string
    Description string
    Id string
    PortRangeMax double
    PortRangeMin double
    RemoteIpPrefix string
    UpdatedAt string
    Direction string
    Available value is 'ingress', 'egress'
    Ethertype string
    Available value is 'IPv4', 'IPv6'
    Protocol string
    Available value is udp,tcp,any,ipv6-icmp,ipv6-route,ipv6-opts,ipv6-nonxt,ipv6-frag,ipv6-encap,icmp,ah,dccp,egp,esp,gre,igmp,ospf,pgm,rsvp,sctp,udplite,vrrp,51,50,112,0,4,ipip,ipencap
    CreatedAt string
    Description string
    Id string
    PortRangeMax float64
    PortRangeMin float64
    RemoteIpPrefix string
    UpdatedAt string
    direction String
    Available value is 'ingress', 'egress'
    ethertype String
    Available value is 'IPv4', 'IPv6'
    protocol String
    Available value is udp,tcp,any,ipv6-icmp,ipv6-route,ipv6-opts,ipv6-nonxt,ipv6-frag,ipv6-encap,icmp,ah,dccp,egp,esp,gre,igmp,ospf,pgm,rsvp,sctp,udplite,vrrp,51,50,112,0,4,ipip,ipencap
    createdAt String
    description String
    id String
    portRangeMax Double
    portRangeMin Double
    remoteIpPrefix String
    updatedAt String
    direction string
    Available value is 'ingress', 'egress'
    ethertype string
    Available value is 'IPv4', 'IPv6'
    protocol string
    Available value is udp,tcp,any,ipv6-icmp,ipv6-route,ipv6-opts,ipv6-nonxt,ipv6-frag,ipv6-encap,icmp,ah,dccp,egp,esp,gre,igmp,ospf,pgm,rsvp,sctp,udplite,vrrp,51,50,112,0,4,ipip,ipencap
    createdAt string
    description string
    id string
    portRangeMax number
    portRangeMin number
    remoteIpPrefix string
    updatedAt string
    direction str
    Available value is 'ingress', 'egress'
    ethertype str
    Available value is 'IPv4', 'IPv6'
    protocol str
    Available value is udp,tcp,any,ipv6-icmp,ipv6-route,ipv6-opts,ipv6-nonxt,ipv6-frag,ipv6-encap,icmp,ah,dccp,egp,esp,gre,igmp,ospf,pgm,rsvp,sctp,udplite,vrrp,51,50,112,0,4,ipip,ipencap
    created_at str
    description str
    id str
    port_range_max float
    port_range_min float
    remote_ip_prefix str
    updated_at str
    direction String
    Available value is 'ingress', 'egress'
    ethertype String
    Available value is 'IPv4', 'IPv6'
    protocol String
    Available value is udp,tcp,any,ipv6-icmp,ipv6-route,ipv6-opts,ipv6-nonxt,ipv6-frag,ipv6-encap,icmp,ah,dccp,egp,esp,gre,igmp,ospf,pgm,rsvp,sctp,udplite,vrrp,51,50,112,0,4,ipip,ipencap
    createdAt String
    description String
    id String
    portRangeMax Number
    portRangeMin Number
    remoteIpPrefix String
    updatedAt String

    K8sv2Timeouts, K8sv2TimeoutsArgs

    Create string
    Update string
    Create string
    Update string
    create String
    update String
    create string
    update string
    create str
    update str
    create String
    update String

    Import

    import using <project_id>:<region_id>:<cluster_name> format

    $ pulumi import gcore:index/k8sv2:K8sv2 cluster1 1:6:cluster1
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    gcore g-core/terraform-provider-gcore
    License
    Notes
    This Pulumi package is based on the gcore Terraform Provider.
    gcore logo
    gcore 0.22.0 published on Wednesday, Apr 30, 2025 by g-core