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:
- FsNames List<string>
- A list of fs name.
- OutputFile string
- File name where to save data source results.
- FsNames []string
- A list of fs name.
- OutputFile string
- File name where to save data source results.
- fsNames List<String>
- A list of fs name.
- outputFile String
- File name where to save data source results.
- fsNames string[]
- A list of fs name.
- outputFile 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.
- fsNames List<String>
- A list of fs name.
- outputFile String
- File name where to save data source results.
NsQuotas Result
The following output properties are available:
- FsNames List<string>
- Id string
- The provider-assigned unique ID for this managed resource.
- Quotas
List<NsQuotas Quota> 
- The collection of query.
- TotalCount int
- The total count of cloud fs quota query.
- OutputFile string
- FsNames []string
- Id string
- The provider-assigned unique ID for this managed resource.
- Quotas
[]NsQuotas Quota 
- The collection of query.
- TotalCount int
- The total count of cloud fs quota query.
- OutputFile string
- fsNames List<String>
- id String
- The provider-assigned unique ID for this managed resource.
- quotas
List<NsQuotas Quota> 
- The collection of query.
- totalCount Integer
- The total count of cloud fs quota query.
- outputFile String
- fsNames string[]
- id string
- The provider-assigned unique ID for this managed resource.
- quotas
NsQuotas Quota[] 
- The collection of query.
- totalCount number
- The total count of cloud fs quota query.
- outputFile string
- fs_names Sequence[str]
- id str
- The provider-assigned unique ID for this managed resource.
- quotas
Sequence[NsQuotas Quota] 
- The collection of query.
- total_count int
- The total count of cloud fs quota query.
- output_file str
- fsNames List<String>
- 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
NsQuotasQuota  
- AccountId int
- The ID of account.
- FsName string
- The name of fs.
- NsCount int
- The count of cloud fs namespace.
- NsCount intPer Fs 
- This file stores the number of namespaces under the instance.
- NsQuota int
- The quota of cloud fs namespace.
- NsQuota intPer Fs 
- This file stores the total namespace quota under the instance.
- QuotaEnough bool
- Whether is enough of cloud fs namespace.
- AccountId int
- The ID of account.
- FsName string
- The name of fs.
- NsCount int
- The count of cloud fs namespace.
- NsCount intPer Fs 
- This file stores the number of namespaces under the instance.
- NsQuota int
- The quota of cloud fs namespace.
- NsQuota intPer Fs 
- This file stores the total namespace quota under the instance.
- QuotaEnough bool
- Whether is enough of cloud fs namespace.
- accountId Integer
- The ID of account.
- fsName String
- The name of fs.
- nsCount Integer
- The count of cloud fs namespace.
- nsCount IntegerPer Fs 
- This file stores the number of namespaces under the instance.
- nsQuota Integer
- The quota of cloud fs namespace.
- nsQuota IntegerPer Fs 
- This file stores the total namespace quota under the instance.
- quotaEnough Boolean
- Whether is enough of cloud fs namespace.
- accountId number
- The ID of account.
- fsName string
- The name of fs.
- nsCount number
- The count of cloud fs namespace.
- nsCount numberPer Fs 
- This file stores the number of namespaces under the instance.
- nsQuota number
- The quota of cloud fs namespace.
- nsQuota numberPer Fs 
- This file stores the total namespace quota under the instance.
- quotaEnough 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.
- accountId Number
- The ID of account.
- fsName String
- The name of fs.
- nsCount Number
- The count of cloud fs namespace.
- nsCount NumberPer Fs 
- This file stores the number of namespaces under the instance.
- nsQuota Number
- The quota of cloud fs namespace.
- nsQuota NumberPer Fs 
- This file stores the total namespace quota under the instance.
- quotaEnough 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.