1. Packages
  2. Volcengine
  3. API Docs
  4. cloudfs
  5. Quotas
Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine

volcengine.cloudfs.Quotas

Explore with Pulumi AI

Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine

Use this data source to query detailed information of cloudfs quotas

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";

const default = volcengine.cloudfs.Quotas({});
Copy
import pulumi
import pulumi_volcengine as volcengine

default = volcengine.cloudfs.quotas()
Copy
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cloudfs"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudfs.Quotas(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;

return await Deployment.RunAsync(() => 
{
    var @default = Volcengine.Cloudfs.Quotas.Invoke();

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.cloudfs.CloudfsFunctions;
import com.pulumi.volcengine.cloudfs.inputs.QuotasArgs;
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 default = CloudfsFunctions.Quotas();

    }
}
Copy
variables:
  default:
    fn::invoke:
      Function: volcengine:cloudfs:Quotas
      Arguments: {}
Copy

Using Quotas

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 quotas(args: QuotasArgs, opts?: InvokeOptions): Promise<QuotasResult>
function quotasOutput(args: QuotasOutputArgs, opts?: InvokeOptions): Output<QuotasResult>
Copy
def quotas(output_file: Optional[str] = None,
           opts: Optional[InvokeOptions] = None) -> QuotasResult
def quotas_output(output_file: Optional[pulumi.Input[str]] = None,
           opts: Optional[InvokeOptions] = None) -> Output[QuotasResult]
Copy
func Quotas(ctx *Context, args *QuotasArgs, opts ...InvokeOption) (*QuotasResult, error)
func QuotasOutput(ctx *Context, args *QuotasOutputArgs, opts ...InvokeOption) QuotasResultOutput
Copy
public static class Quotas 
{
    public static Task<QuotasResult> InvokeAsync(QuotasArgs args, InvokeOptions? opts = null)
    public static Output<QuotasResult> Invoke(QuotasInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<QuotasResult> quotas(QuotasArgs args, InvokeOptions options)
public static Output<QuotasResult> quotas(QuotasArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: volcengine:cloudfs:Quotas
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

OutputFile string
File name where to save data source results.
OutputFile string
File name where to save data source results.
outputFile String
File name where to save data source results.
outputFile string
File name where to save data source results.
output_file str
File name where to save data source results.
outputFile String
File name where to save data source results.

Quotas Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
Quotas List<QuotasQuota>
The collection of query.
TotalCount int
The total count of cloud fs quota query.
OutputFile string
Id string
The provider-assigned unique ID for this managed resource.
Quotas []QuotasQuota
The collection of query.
TotalCount int
The total count of cloud fs quota query.
OutputFile string
id String
The provider-assigned unique ID for this managed resource.
quotas List<QuotasQuota>
The collection of query.
totalCount Integer
The total count of cloud fs quota query.
outputFile String
id string
The provider-assigned unique ID for this managed resource.
quotas QuotasQuota[]
The collection of query.
totalCount number
The total count of cloud fs quota query.
outputFile string
id str
The provider-assigned unique ID for this managed resource.
quotas Sequence[QuotasQuota]
The collection of query.
total_count int
The total count of cloud fs quota query.
output_file str
id String
The provider-assigned unique ID for this managed resource.
quotas List<Property Map>
The collection of query.
totalCount Number
The total count of cloud fs quota query.
outputFile String

Supporting Types

QuotasQuota

AccountId This property is required. int
The ID of account.
FsCount This property is required. int
The count of cloud fs.
FsQuota This property is required. int
The quota of cloud fs.
QuotaEnough This property is required. bool
Whether is enough of cloud fs.
AccountId This property is required. int
The ID of account.
FsCount This property is required. int
The count of cloud fs.
FsQuota This property is required. int
The quota of cloud fs.
QuotaEnough This property is required. bool
Whether is enough of cloud fs.
accountId This property is required. Integer
The ID of account.
fsCount This property is required. Integer
The count of cloud fs.
fsQuota This property is required. Integer
The quota of cloud fs.
quotaEnough This property is required. Boolean
Whether is enough of cloud fs.
accountId This property is required. number
The ID of account.
fsCount This property is required. number
The count of cloud fs.
fsQuota This property is required. number
The quota of cloud fs.
quotaEnough This property is required. boolean
Whether is enough of cloud fs.
account_id This property is required. int
The ID of account.
fs_count This property is required. int
The count of cloud fs.
fs_quota This property is required. int
The quota of cloud fs.
quota_enough This property is required. bool
Whether is enough of cloud fs.
accountId This property is required. Number
The ID of account.
fsCount This property is required. Number
The count of cloud fs.
fsQuota This property is required. Number
The quota of cloud fs.
quotaEnough This property is required. Boolean
Whether is enough of cloud fs.

Package Details

Repository
volcengine volcengine/pulumi-volcengine
License
Apache-2.0
Notes
This Pulumi package is based on the volcengine Terraform Provider.
Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine