1. Packages
  2. Volcengine
  3. API Docs
  4. cloudfs
  5. Quotas
Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine

volcengine.cloudfs.Quotas

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine

    Use this data source to query detailed information of cloudfs quotas

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = Volcengine.Cloudfs.Quotas.Invoke();
    
    });
    
    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
    	})
    }
    
    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();
    
        }
    }
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    default = volcengine.cloudfs.quotas()
    
    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const default = volcengine.cloudfs.Quotas({});
    
    variables:
      default:
        fn::invoke:
          Function: volcengine:cloudfs:Quotas
          Arguments: {}
    

    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>
    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]
    func Quotas(ctx *Context, args *QuotasArgs, opts ...InvokeOption) (*QuotasResult, error)
    func QuotasOutput(ctx *Context, args *QuotasOutputArgs, opts ...InvokeOption) QuotasResultOutput
    public static class Quotas 
    {
        public static Task<QuotasResult> InvokeAsync(QuotasArgs args, InvokeOptions? opts = null)
        public static Output<QuotasResult> Invoke(QuotasInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<QuotasResult> quotas(QuotasArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: volcengine:cloudfs:Quotas
      arguments:
        # arguments dictionary

    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 int
    The ID of account.
    FsCount int
    The count of cloud fs.
    FsQuota int
    The quota of cloud fs.
    QuotaEnough bool
    Whether is enough of cloud fs.
    AccountId int
    The ID of account.
    FsCount int
    The count of cloud fs.
    FsQuota int
    The quota of cloud fs.
    QuotaEnough bool
    Whether is enough of cloud fs.
    accountId Integer
    The ID of account.
    fsCount Integer
    The count of cloud fs.
    fsQuota Integer
    The quota of cloud fs.
    quotaEnough Boolean
    Whether is enough of cloud fs.
    accountId number
    The ID of account.
    fsCount number
    The count of cloud fs.
    fsQuota number
    The quota of cloud fs.
    quotaEnough boolean
    Whether is enough of cloud fs.
    account_id int
    The ID of account.
    fs_count int
    The count of cloud fs.
    fs_quota int
    The quota of cloud fs.
    quota_enough bool
    Whether is enough of cloud fs.
    accountId Number
    The ID of account.
    fsCount Number
    The count of cloud fs.
    fsQuota Number
    The quota of cloud fs.
    quotaEnough 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 logo
    Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine