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
Use this data source to retrieve information about available VKCS Kubernetes cluster security policy templates.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as vkcs from "@pulumi/vkcs";
const policies = vkcs.getKubernetesSecurityPolicyTemplatesV2({});
import pulumi
import pulumi_vkcs as vkcs
policies = vkcs.get_kubernetes_security_policy_templates_v2()
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.GetKubernetesSecurityPolicyTemplatesV2(ctx, &vkcs.GetKubernetesSecurityPolicyTemplatesV2Args{}, 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 policies = Vkcs.GetKubernetesSecurityPolicyTemplatesV2.Invoke();
});
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.GetKubernetesSecurityPolicyTemplatesV2Args;
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 policies = VkcsFunctions.getKubernetesSecurityPolicyTemplatesV2(GetKubernetesSecurityPolicyTemplatesV2Args.builder()
.build());
}
}
variables:
policies:
fn::invoke:
function: vkcs:getKubernetesSecurityPolicyTemplatesV2
arguments: {}
Example coming soon!
Using getKubernetesSecurityPolicyTemplatesV2
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 getKubernetesSecurityPolicyTemplatesV2(args: GetKubernetesSecurityPolicyTemplatesV2Args, opts?: InvokeOptions): Promise<GetKubernetesSecurityPolicyTemplatesV2Result>
function getKubernetesSecurityPolicyTemplatesV2Output(args: GetKubernetesSecurityPolicyTemplatesV2OutputArgs, opts?: InvokeOptions): Output<GetKubernetesSecurityPolicyTemplatesV2Result>def get_kubernetes_security_policy_templates_v2(region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetKubernetesSecurityPolicyTemplatesV2Result
def get_kubernetes_security_policy_templates_v2_output(region: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetKubernetesSecurityPolicyTemplatesV2Result]func GetKubernetesSecurityPolicyTemplatesV2(ctx *Context, args *GetKubernetesSecurityPolicyTemplatesV2Args, opts ...InvokeOption) (*GetKubernetesSecurityPolicyTemplatesV2Result, error)
func GetKubernetesSecurityPolicyTemplatesV2Output(ctx *Context, args *GetKubernetesSecurityPolicyTemplatesV2OutputArgs, opts ...InvokeOption) GetKubernetesSecurityPolicyTemplatesV2ResultOutput> Note: This function is named GetKubernetesSecurityPolicyTemplatesV2 in the Go SDK.
public static class GetKubernetesSecurityPolicyTemplatesV2
{
public static Task<GetKubernetesSecurityPolicyTemplatesV2Result> InvokeAsync(GetKubernetesSecurityPolicyTemplatesV2Args args, InvokeOptions? opts = null)
public static Output<GetKubernetesSecurityPolicyTemplatesV2Result> Invoke(GetKubernetesSecurityPolicyTemplatesV2InvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetKubernetesSecurityPolicyTemplatesV2Result> getKubernetesSecurityPolicyTemplatesV2(GetKubernetesSecurityPolicyTemplatesV2Args args, InvokeOptions options)
public static Output<GetKubernetesSecurityPolicyTemplatesV2Result> getKubernetesSecurityPolicyTemplatesV2(GetKubernetesSecurityPolicyTemplatesV2Args args, InvokeOptions options)
fn::invoke:
function: vkcs:index/getKubernetesSecurityPolicyTemplatesV2:getKubernetesSecurityPolicyTemplatesV2
arguments:
# arguments dictionarydata "vkcs_getkubernetessecuritypolicytemplatesv2" "name" {
# arguments
}The following arguments are supported:
- Region string
- optional string → The region for which to retrieve security policy templates. Defaults to provider's
region.
- Region string
- optional string → The region for which to retrieve security policy templates. Defaults to provider's
region.
- region string
- optional string → The region for which to retrieve security policy templates. Defaults to provider's
region.
- region String
- optional string → The region for which to retrieve security policy templates. Defaults to provider's
region.
- region string
- optional string → The region for which to retrieve security policy templates. Defaults to provider's
region.
- region str
- optional string → The region for which to retrieve security policy templates. Defaults to provider's
region.
- region String
- optional string → The region for which to retrieve security policy templates. Defaults to provider's
region.
getKubernetesSecurityPolicyTemplatesV2 Result
The following output properties are available:
- Id string
- string → Unique identifier of the security policy template.
- Region string
- Security
Policies List<GetKubernetes Security Policy Templates V2Security Policy> - set → A set of available security policy templates. Each template contains an
id,name,description,settings_description, andversion.
- Id string
- string → Unique identifier of the security policy template.
- Region string
- Security
Policies []GetKubernetes Security Policy Templates V2Security Policy - set → A set of available security policy templates. Each template contains an
id,name,description,settings_description, andversion.
- id string
- string → Unique identifier of the security policy template.
- region string
- security_
policies list(object) - set → A set of available security policy templates. Each template contains an
id,name,description,settings_description, andversion.
- id String
- string → Unique identifier of the security policy template.
- region String
- security
Policies List<GetKubernetes Security Policy Templates V2Security Policy> - set → A set of available security policy templates. Each template contains an
id,name,description,settings_description, andversion.
- id string
- string → Unique identifier of the security policy template.
- region string
- security
Policies GetKubernetes Security Policy Templates V2Security Policy[] - set → A set of available security policy templates. Each template contains an
id,name,description,settings_description, andversion.
- id str
- string → Unique identifier of the security policy template.
- region str
- security_
policies Sequence[GetKubernetes Security Policy Templates V2Security Policy] - set → A set of available security policy templates. Each template contains an
id,name,description,settings_description, andversion.
- id String
- string → Unique identifier of the security policy template.
- region String
- security
Policies List<Property Map> - set → A set of available security policy templates. Each template contains an
id,name,description,settings_description, andversion.
Supporting Types
GetKubernetesSecurityPolicyTemplatesV2SecurityPolicy
- Description string
- string → Brief description of the template's purpose.
- Id string
- string → Unique identifier of the security policy template.
- Name string
- string → Name of the security policy template (e.g.,
k8sallowedrepos). - Settings
Description string - string → Base64-encoded JSON schema defining the configurable parameters of the policy.
- Version string
- string → Version of the security policy template.
- Description string
- string → Brief description of the template's purpose.
- Id string
- string → Unique identifier of the security policy template.
- Name string
- string → Name of the security policy template (e.g.,
k8sallowedrepos). - Settings
Description string - string → Base64-encoded JSON schema defining the configurable parameters of the policy.
- Version string
- string → Version of the security policy template.
- description string
- string → Brief description of the template's purpose.
- id string
- string → Unique identifier of the security policy template.
- name string
- string → Name of the security policy template (e.g.,
k8sallowedrepos). - settings_
description string - string → Base64-encoded JSON schema defining the configurable parameters of the policy.
- version string
- string → Version of the security policy template.
- description String
- string → Brief description of the template's purpose.
- id String
- string → Unique identifier of the security policy template.
- name String
- string → Name of the security policy template (e.g.,
k8sallowedrepos). - settings
Description String - string → Base64-encoded JSON schema defining the configurable parameters of the policy.
- version String
- string → Version of the security policy template.
- description string
- string → Brief description of the template's purpose.
- id string
- string → Unique identifier of the security policy template.
- name string
- string → Name of the security policy template (e.g.,
k8sallowedrepos). - settings
Description string - string → Base64-encoded JSON schema defining the configurable parameters of the policy.
- version string
- string → Version of the security policy template.
- description str
- string → Brief description of the template's purpose.
- id str
- string → Unique identifier of the security policy template.
- name str
- string → Name of the security policy template (e.g.,
k8sallowedrepos). - settings_
description str - string → Base64-encoded JSON schema defining the configurable parameters of the policy.
- version str
- string → Version of the security policy template.
- description String
- string → Brief description of the template's purpose.
- id String
- string → Unique identifier of the security policy template.
- name String
- string → Name of the security policy template (e.g.,
k8sallowedrepos). - settings
Description String - string → Base64-encoded JSON schema defining the configurable parameters of the policy.
- version String
- string → Version of the security policy template.
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