Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine
volcengine.cloudfs.NsQuotas
Explore with Pulumi AI
Use this data source to query detailed information of cloudfs ns quotas
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const default = volcengine.cloudfs.NsQuotas({
    fsNames: [
        "tffile",
        "tftest2",
    ],
});
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.cloudfs.ns_quotas(fs_names=[
    "tffile",
    "tftest2",
])
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.NsQuotas(ctx, &cloudfs.NsQuotasArgs{
			FsNames: []string{
				"tffile",
				"tftest2",
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() => 
{
    var @default = Volcengine.Cloudfs.NsQuotas.Invoke(new()
    {
        FsNames = new[]
        {
            "tffile",
            "tftest2",
        },
    });
});
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.NsQuotasArgs;
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.NsQuotas(NsQuotasArgs.builder()
            .fsNames(            
                "tffile",
                "tftest2")
            .build());
    }
}
variables:
  default:
    fn::invoke:
      Function: volcengine:cloudfs:NsQuotas
      Arguments:
        fsNames:
          - tffile
          - tftest2
Using NsQuotas
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 nsQuotas(args: NsQuotasArgs, opts?: InvokeOptions): Promise<NsQuotasResult>
function nsQuotasOutput(args: NsQuotasOutputArgs, opts?: InvokeOptions): Output<NsQuotasResult>def ns_quotas(fs_names: Optional[Sequence[str]] = None,
              output_file: Optional[str] = None,
              opts: Optional[InvokeOptions] = None) -> NsQuotasResult
def ns_quotas_output(fs_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
              output_file: Optional[pulumi.Input[str]] = None,
              opts: Optional[InvokeOptions] = None) -> Output[NsQuotasResult]func NsQuotas(ctx *Context, args *NsQuotasArgs, opts ...InvokeOption) (*NsQuotasResult, error)
func NsQuotasOutput(ctx *Context, args *NsQuotasOutputArgs, opts ...InvokeOption) NsQuotasResultOutputpublic static class NsQuotas 
{
    public static Task<NsQuotasResult> InvokeAsync(NsQuotasArgs args, InvokeOptions? opts = null)
    public static Output<NsQuotasResult> Invoke(NsQuotasInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<NsQuotasResult> nsQuotas(NsQuotasArgs args, InvokeOptions options)
public static Output<NsQuotasResult> nsQuotas(NsQuotasArgs args, InvokeOptions options)
fn::invoke:
  function: volcengine:cloudfs:NsQuotas
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Fs
Names List<string> - A list of fs name.
 - Output
File string - File name where to save data source results.
 
- Fs
Names []string - A list of fs name.
 - Output
File string - File name where to save data source results.
 
- fs
Names List<String> - A list of fs name.
 - output
File String - File name where to save data source results.
 
- fs
Names string[] - A list of fs name.
 - output
File string - File name where to save data source results.
 
- fs_
names Sequence[str] - A list of fs name.
 - output_
file str - File name where to save data source results.
 
- fs
Names List<String> - A list of fs name.
 - output
File String - File name where to save data source results.
 
NsQuotas Result
The following output properties are available:
- Fs
Names List<string> - Id string
 - The provider-assigned unique ID for this managed resource.
 - Quotas
List<Ns
Quotas Quota>  - The collection of query.
 - Total
Count int - The total count of cloud fs quota query.
 - Output
File string 
- Fs
Names []string - Id string
 - The provider-assigned unique ID for this managed resource.
 - Quotas
[]Ns
Quotas Quota  - The collection of query.
 - Total
Count int - The total count of cloud fs quota query.
 - Output
File string 
- fs
Names List<String> - id String
 - The provider-assigned unique ID for this managed resource.
 - quotas
List<Ns
Quotas Quota>  - The collection of query.
 - total
Count Integer - The total count of cloud fs quota query.
 - output
File String 
- fs
Names string[] - id string
 - The provider-assigned unique ID for this managed resource.
 - quotas
Ns
Quotas Quota[]  - The collection of query.
 - total
Count number - The total count of cloud fs quota query.
 - output
File string 
- fs_
names Sequence[str] - id str
 - The provider-assigned unique ID for this managed resource.
 - quotas
Sequence[Ns
Quotas Quota]  - The collection of query.
 - total_
count int - The total count of cloud fs quota query.
 - output_
file str 
- fs
Names List<String> - id String
 - The provider-assigned unique ID for this managed resource.
 - quotas List<Property Map>
 - The collection of query.
 - total
Count Number - The total count of cloud fs quota query.
 - output
File String 
Supporting Types
NsQuotasQuota  
- Account
Id int - The ID of account.
 - Fs
Name string - The name of fs.
 - Ns
Count int - The count of cloud fs namespace.
 - Ns
Count intPer Fs  - This file stores the number of namespaces under the instance.
 - Ns
Quota int - The quota of cloud fs namespace.
 - Ns
Quota intPer Fs  - This file stores the total namespace quota under the instance.
 - Quota
Enough bool - Whether is enough of cloud fs namespace.
 
- Account
Id int - The ID of account.
 - Fs
Name string - The name of fs.
 - Ns
Count int - The count of cloud fs namespace.
 - Ns
Count intPer Fs  - This file stores the number of namespaces under the instance.
 - Ns
Quota int - The quota of cloud fs namespace.
 - Ns
Quota intPer Fs  - This file stores the total namespace quota under the instance.
 - Quota
Enough bool - Whether is enough of cloud fs namespace.
 
- account
Id Integer - The ID of account.
 - fs
Name String - The name of fs.
 - ns
Count Integer - The count of cloud fs namespace.
 - ns
Count IntegerPer Fs  - This file stores the number of namespaces under the instance.
 - ns
Quota Integer - The quota of cloud fs namespace.
 - ns
Quota IntegerPer Fs  - This file stores the total namespace quota under the instance.
 - quota
Enough Boolean - Whether is enough of cloud fs namespace.
 
- account
Id number - The ID of account.
 - fs
Name string - The name of fs.
 - ns
Count number - The count of cloud fs namespace.
 - ns
Count numberPer Fs  - This file stores the number of namespaces under the instance.
 - ns
Quota number - The quota of cloud fs namespace.
 - ns
Quota numberPer Fs  - This file stores the total namespace quota under the instance.
 - quota
Enough boolean - Whether is enough of cloud fs namespace.
 
- account_
id int - The ID of account.
 - fs_
name str - The name of fs.
 - ns_
count int - The count of cloud fs namespace.
 - ns_
count_ intper_ fs  - This file stores the number of namespaces under the instance.
 - ns_
quota int - The quota of cloud fs namespace.
 - ns_
quota_ intper_ fs  - This file stores the total namespace quota under the instance.
 - quota_
enough bool - Whether is enough of cloud fs namespace.
 
- account
Id Number - The ID of account.
 - fs
Name String - The name of fs.
 - ns
Count Number - The count of cloud fs namespace.
 - ns
Count NumberPer Fs  - This file stores the number of namespaces under the instance.
 - ns
Quota Number - The quota of cloud fs namespace.
 - ns
Quota NumberPer Fs  - This file stores the total namespace quota under the instance.
 - quota
Enough Boolean - Whether is enough of cloud fs namespace.
 
Package Details
- Repository
 - volcengine volcengine/pulumi-volcengine
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
volcengineTerraform Provider.