@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
84 lines (83 loc) • 2.28 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Use this data source to query detailed information of cloudfs ns quotas
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const default = volcengine.cloudfs.getNsQuotas({
* fsNames: [
* "tffile",
* "tftest2",
* ],
* });
* ```
*/
/** @deprecated volcengine.cloudfs.NsQuotas has been deprecated in favor of volcengine.cloudfs.getNsQuotas */
export declare function nsQuotas(args: NsQuotasArgs, opts?: pulumi.InvokeOptions): Promise<NsQuotasResult>;
/**
* A collection of arguments for invoking NsQuotas.
*/
export interface NsQuotasArgs {
/**
* A list of fs name.
*/
fsNames: string[];
/**
* File name where to save data source results.
*/
outputFile?: string;
}
/**
* A collection of values returned by NsQuotas.
*/
export interface NsQuotasResult {
readonly fsNames: string[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly outputFile?: string;
/**
* The collection of query.
*/
readonly quotas: outputs.cloudfs.NsQuotasQuota[];
/**
* The total count of cloud fs quota query.
*/
readonly totalCount: number;
}
/**
* Use this data source to query detailed information of cloudfs ns quotas
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const default = volcengine.cloudfs.getNsQuotas({
* fsNames: [
* "tffile",
* "tftest2",
* ],
* });
* ```
*/
/** @deprecated volcengine.cloudfs.NsQuotas has been deprecated in favor of volcengine.cloudfs.getNsQuotas */
export declare function nsQuotasOutput(args: NsQuotasOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<NsQuotasResult>;
/**
* A collection of arguments for invoking NsQuotas.
*/
export interface NsQuotasOutputArgs {
/**
* A list of fs name.
*/
fsNames: pulumi.Input<pulumi.Input<string>[]>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
}