Viewing docs for vkcs 0.15.0
published on Tuesday, May 5, 2026 by vk-cs
published on Tuesday, May 5, 2026 by vk-cs
Viewing docs for vkcs 0.15.0
published on Tuesday, May 5, 2026 by vk-cs
published on Tuesday, May 5, 2026 by vk-cs
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as vkcs from "@pulumi/vkcs";
export = async () => {
const availableVolumeTypes = await vkcs.getKubernetesVolumeTypesV2({});
return {
availableVolumeTypes: availableVolumeTypes.volumeTypes,
};
}
import pulumi
import pulumi_vkcs as vkcs
available_volume_types = vkcs.get_kubernetes_volume_types_v2()
pulumi.export("availableVolumeTypes", available_volume_types.volume_types)
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 {
availableVolumeTypes, err := vkcs.GetKubernetesVolumeTypesV2(ctx, &vkcs.GetKubernetesVolumeTypesV2Args{}, nil)
if err != nil {
return err
}
ctx.Export("availableVolumeTypes", availableVolumeTypes.VolumeTypes)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vkcs = Pulumi.Vkcs;
return await Deployment.RunAsync(() =>
{
var availableVolumeTypes = Vkcs.GetKubernetesVolumeTypesV2.Invoke();
return new Dictionary<string, object?>
{
["availableVolumeTypes"] = availableVolumeTypes.Apply(getKubernetesVolumeTypesV2Result => getKubernetesVolumeTypesV2Result.VolumeTypes),
};
});
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.GetKubernetesVolumeTypesV2Args;
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 availableVolumeTypes = VkcsFunctions.getKubernetesVolumeTypesV2(GetKubernetesVolumeTypesV2Args.builder()
.build());
ctx.export("availableVolumeTypes", availableVolumeTypes.volumeTypes());
}
}
variables:
availableVolumeTypes:
fn::invoke:
function: vkcs:getKubernetesVolumeTypesV2
arguments: {}
outputs:
availableVolumeTypes: ${availableVolumeTypes.volumeTypes}
Using getKubernetesVolumeTypesV2
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 getKubernetesVolumeTypesV2(args: GetKubernetesVolumeTypesV2Args, opts?: InvokeOptions): Promise<GetKubernetesVolumeTypesV2Result>
function getKubernetesVolumeTypesV2Output(args: GetKubernetesVolumeTypesV2OutputArgs, opts?: InvokeOptions): Output<GetKubernetesVolumeTypesV2Result>def get_kubernetes_volume_types_v2(region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetKubernetesVolumeTypesV2Result
def get_kubernetes_volume_types_v2_output(region: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetKubernetesVolumeTypesV2Result]func GetKubernetesVolumeTypesV2(ctx *Context, args *GetKubernetesVolumeTypesV2Args, opts ...InvokeOption) (*GetKubernetesVolumeTypesV2Result, error)
func GetKubernetesVolumeTypesV2Output(ctx *Context, args *GetKubernetesVolumeTypesV2OutputArgs, opts ...InvokeOption) GetKubernetesVolumeTypesV2ResultOutput> Note: This function is named GetKubernetesVolumeTypesV2 in the Go SDK.
public static class GetKubernetesVolumeTypesV2
{
public static Task<GetKubernetesVolumeTypesV2Result> InvokeAsync(GetKubernetesVolumeTypesV2Args args, InvokeOptions? opts = null)
public static Output<GetKubernetesVolumeTypesV2Result> Invoke(GetKubernetesVolumeTypesV2InvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetKubernetesVolumeTypesV2Result> getKubernetesVolumeTypesV2(GetKubernetesVolumeTypesV2Args args, InvokeOptions options)
public static Output<GetKubernetesVolumeTypesV2Result> getKubernetesVolumeTypesV2(GetKubernetesVolumeTypesV2Args args, InvokeOptions options)
fn::invoke:
function: vkcs:index/getKubernetesVolumeTypesV2:getKubernetesVolumeTypesV2
arguments:
# arguments dictionaryThe following arguments are supported:
- Region string
- optional string → The region for which to retrieve volume types. Defaults to provider's
region.
- Region string
- optional string → The region for which to retrieve volume types. Defaults to provider's
region.
- region String
- optional string → The region for which to retrieve volume types. Defaults to provider's
region.
- region string
- optional string → The region for which to retrieve volume types. Defaults to provider's
region.
- region str
- optional string → The region for which to retrieve volume types. Defaults to provider's
region.
- region String
- optional string → The region for which to retrieve volume types. Defaults to provider's
region.
getKubernetesVolumeTypesV2 Result
The following output properties are available:
- Id string
- string → A synthetic identifier set to "volume_types". This data source does not have a natural ID.
- Region string
- Volume
Types List<GetKubernetes Volume Types V2Volume Type> - set → A set of available volume types with their supported availability zones.
- Id string
- string → A synthetic identifier set to "volume_types". This data source does not have a natural ID.
- Region string
- Volume
Types []GetKubernetes Volume Types V2Volume Type - set → A set of available volume types with their supported availability zones.
- id String
- string → A synthetic identifier set to "volume_types". This data source does not have a natural ID.
- region String
- volume
Types List<GetKubernetes Volume Types V2Volume Type> - set → A set of available volume types with their supported availability zones.
- id string
- string → A synthetic identifier set to "volume_types". This data source does not have a natural ID.
- region string
- volume
Types GetKubernetes Volume Types V2Volume Type[] - set → A set of available volume types with their supported availability zones.
- id str
- string → A synthetic identifier set to "volume_types". This data source does not have a natural ID.
- region str
- volume_
types Sequence[GetKubernetes Volume Types V2Volume Type] - set → A set of available volume types with their supported availability zones.
- id String
- string → A synthetic identifier set to "volume_types". This data source does not have a natural ID.
- region String
- volume
Types List<Property Map> - set → A set of available volume types with their supported availability zones.
Supporting Types
GetKubernetesVolumeTypesV2VolumeType
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.15.0
published on Tuesday, May 5, 2026 by vk-cs
published on Tuesday, May 5, 2026 by vk-cs
