vkcs 0.9.3 published on Tuesday, Apr 15, 2025 by vk-cs
vkcs.getComputeQuotaset
Explore with Pulumi AI
Use this data source to get the compute quotaset of an VKCS project.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as vkcs from "@pulumi/vkcs";
const quota = vkcs.getComputeQuotaset({
projectId: "2e367a3d29f94fd988e6ec54e305ec9d",
});
import pulumi
import pulumi_vkcs as vkcs
quota = vkcs.get_compute_quotaset(project_id="2e367a3d29f94fd988e6ec54e305ec9d")
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.GetComputeQuotaset(ctx, &vkcs.GetComputeQuotasetArgs{
ProjectId: "2e367a3d29f94fd988e6ec54e305ec9d",
}, 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 quota = Vkcs.GetComputeQuotaset.Invoke(new()
{
ProjectId = "2e367a3d29f94fd988e6ec54e305ec9d",
});
});
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.GetComputeQuotasetArgs;
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 quota = VkcsFunctions.getComputeQuotaset(GetComputeQuotasetArgs.builder()
.projectId("2e367a3d29f94fd988e6ec54e305ec9d")
.build());
}
}
variables:
quota:
fn::invoke:
function: vkcs:getComputeQuotaset
arguments:
projectId: 2e367a3d29f94fd988e6ec54e305ec9d
Using getComputeQuotaset
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 getComputeQuotaset(args: GetComputeQuotasetArgs, opts?: InvokeOptions): Promise<GetComputeQuotasetResult>
function getComputeQuotasetOutput(args: GetComputeQuotasetOutputArgs, opts?: InvokeOptions): Output<GetComputeQuotasetResult>
def get_compute_quotaset(id: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetComputeQuotasetResult
def get_compute_quotaset_output(id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetComputeQuotasetResult]
func GetComputeQuotaset(ctx *Context, args *GetComputeQuotasetArgs, opts ...InvokeOption) (*GetComputeQuotasetResult, error)
func GetComputeQuotasetOutput(ctx *Context, args *GetComputeQuotasetOutputArgs, opts ...InvokeOption) GetComputeQuotasetResultOutput
> Note: This function is named GetComputeQuotaset
in the Go SDK.
public static class GetComputeQuotaset
{
public static Task<GetComputeQuotasetResult> InvokeAsync(GetComputeQuotasetArgs args, InvokeOptions? opts = null)
public static Output<GetComputeQuotasetResult> Invoke(GetComputeQuotasetInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetComputeQuotasetResult> getComputeQuotaset(GetComputeQuotasetArgs args, InvokeOptions options)
public static Output<GetComputeQuotasetResult> getComputeQuotaset(GetComputeQuotasetArgs args, InvokeOptions options)
fn::invoke:
function: vkcs:index/getComputeQuotaset:getComputeQuotaset
arguments:
# arguments dictionary
The following arguments are supported:
- project_
id str - required string → The id of the project to retrieve the quotaset.
- id str
- string → ID of the resource.
- region str
- optional string → The region in which to obtain the Compute client. If omitted, the
region
argument of the provider is used.
getComputeQuotaset Result
The following output properties are available:
- Cores double
- number → The number of allowed server cores.
- Id string
- string → ID of the resource.
- Injected
File doubleContent Bytes - number → The number of allowed bytes of content for each injected file.
- Injected
File doublePath Bytes - number → The number of allowed bytes for each injected file path.
- Injected
Files double - number → The number of allowed injected files.
- Instances double
- number → The number of allowed servers.
- Key
Pairs double - number → The number of allowed key pairs for each user.
- Metadata
Items double - number → The number of allowed metadata items for each server.
- Project
Id string - Ram double
- number → The amount of allowed server RAM, in MiB.
- Region string
- Server
Group doubleMembers - number → The number of allowed members for each server group.
- Server
Groups double - number → The number of allowed server groups.
- Cores float64
- number → The number of allowed server cores.
- Id string
- string → ID of the resource.
- Injected
File float64Content Bytes - number → The number of allowed bytes of content for each injected file.
- Injected
File float64Path Bytes - number → The number of allowed bytes for each injected file path.
- Injected
Files float64 - number → The number of allowed injected files.
- Instances float64
- number → The number of allowed servers.
- Key
Pairs float64 - number → The number of allowed key pairs for each user.
- Metadata
Items float64 - number → The number of allowed metadata items for each server.
- Project
Id string - Ram float64
- number → The amount of allowed server RAM, in MiB.
- Region string
- Server
Group float64Members - number → The number of allowed members for each server group.
- Server
Groups float64 - number → The number of allowed server groups.
- cores Double
- number → The number of allowed server cores.
- id String
- string → ID of the resource.
- injected
File DoubleContent Bytes - number → The number of allowed bytes of content for each injected file.
- injected
File DoublePath Bytes - number → The number of allowed bytes for each injected file path.
- injected
Files Double - number → The number of allowed injected files.
- instances Double
- number → The number of allowed servers.
- key
Pairs Double - number → The number of allowed key pairs for each user.
- metadata
Items Double - number → The number of allowed metadata items for each server.
- project
Id String - ram Double
- number → The amount of allowed server RAM, in MiB.
- region String
- server
Group DoubleMembers - number → The number of allowed members for each server group.
- server
Groups Double - number → The number of allowed server groups.
- cores number
- number → The number of allowed server cores.
- id string
- string → ID of the resource.
- injected
File numberContent Bytes - number → The number of allowed bytes of content for each injected file.
- injected
File numberPath Bytes - number → The number of allowed bytes for each injected file path.
- injected
Files number - number → The number of allowed injected files.
- instances number
- number → The number of allowed servers.
- key
Pairs number - number → The number of allowed key pairs for each user.
- metadata
Items number - number → The number of allowed metadata items for each server.
- project
Id string - ram number
- number → The amount of allowed server RAM, in MiB.
- region string
- server
Group numberMembers - number → The number of allowed members for each server group.
- server
Groups number - number → The number of allowed server groups.
- cores float
- number → The number of allowed server cores.
- id str
- string → ID of the resource.
- injected_
file_ floatcontent_ bytes - number → The number of allowed bytes of content for each injected file.
- injected_
file_ floatpath_ bytes - number → The number of allowed bytes for each injected file path.
- injected_
files float - number → The number of allowed injected files.
- instances float
- number → The number of allowed servers.
- key_
pairs float - number → The number of allowed key pairs for each user.
- metadata_
items float - number → The number of allowed metadata items for each server.
- project_
id str - ram float
- number → The amount of allowed server RAM, in MiB.
- region str
- server_
group_ floatmembers - number → The number of allowed members for each server group.
- server_
groups float - number → The number of allowed server groups.
- cores Number
- number → The number of allowed server cores.
- id String
- string → ID of the resource.
- injected
File NumberContent Bytes - number → The number of allowed bytes of content for each injected file.
- injected
File NumberPath Bytes - number → The number of allowed bytes for each injected file path.
- injected
Files Number - number → The number of allowed injected files.
- instances Number
- number → The number of allowed servers.
- key
Pairs Number - number → The number of allowed key pairs for each user.
- metadata
Items Number - number → The number of allowed metadata items for each server.
- project
Id String - ram Number
- number → The amount of allowed server RAM, in MiB.
- region String
- server
Group NumberMembers - number → The number of allowed members for each server group.
- server
Groups Number - number → The number of allowed server groups.
Package Details
- Repository
- vkcs vk-cs/terraform-provider-vkcs
- License
- Notes
- This Pulumi package is based on the
vkcs
Terraform Provider.