@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
130 lines (129 loc) • 3.77 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* Use this data source to query detailed information of tls projects
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const default = volcengine.tls.getProjects({});
* ```
*/
export declare function getProjects(args?: GetProjectsArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectsResult>;
/**
* A collection of arguments for invoking getProjects.
*/
export interface GetProjectsArgs {
/**
* The IAM project name of the tls project.
*/
iamProjectName?: string;
/**
* Whether to match accurately when filtering based on ProjectName.
*/
isFullName?: boolean;
/**
* A Name Regex of tls project.
*/
nameRegex?: string;
/**
* File name where to save data source results.
*/
outputFile?: string;
/**
* The id of tls project. This field supports fuzzy queries. It is not supported to specify both ProjectName and ProjectId at the same time.
*/
projectId?: string;
/**
* The name of tls project. This field supports fuzzy queries. It is not supported to specify both ProjectName and ProjectId at the same time.
*/
projectName?: string;
/**
* Tags.
*/
tags?: inputs.tls.GetProjectsTag[];
}
/**
* A collection of values returned by getProjects.
*/
export interface GetProjectsResult {
/**
* The IAM project name of the tls project.
*/
readonly iamProjectName?: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly isFullName?: boolean;
readonly nameRegex?: string;
readonly outputFile?: string;
/**
* The ID of the tls project.
*/
readonly projectId?: string;
/**
* The name of the tls project.
*/
readonly projectName?: string;
/**
* Tags.
*/
readonly tags?: outputs.tls.GetProjectsTag[];
/**
* The collection of tls project query.
*/
readonly tlsProjects: outputs.tls.GetProjectsTlsProject[];
/**
* The total count of tls project query.
*/
readonly totalCount: number;
}
/**
* Use this data source to query detailed information of tls projects
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const default = volcengine.tls.getProjects({});
* ```
*/
export declare function getProjectsOutput(args?: GetProjectsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetProjectsResult>;
/**
* A collection of arguments for invoking getProjects.
*/
export interface GetProjectsOutputArgs {
/**
* The IAM project name of the tls project.
*/
iamProjectName?: pulumi.Input<string>;
/**
* Whether to match accurately when filtering based on ProjectName.
*/
isFullName?: pulumi.Input<boolean>;
/**
* A Name Regex of tls project.
*/
nameRegex?: pulumi.Input<string>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
/**
* The id of tls project. This field supports fuzzy queries. It is not supported to specify both ProjectName and ProjectId at the same time.
*/
projectId?: pulumi.Input<string>;
/**
* The name of tls project. This field supports fuzzy queries. It is not supported to specify both ProjectName and ProjectId at the same time.
*/
projectName?: pulumi.Input<string>;
/**
* Tags.
*/
tags?: pulumi.Input<pulumi.Input<inputs.tls.GetProjectsTagArgs>[]>;
}