@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
113 lines (112 loc) • 3.16 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Use this data source to query detailed information of apig custom domains
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.apig.getCustomDomains({
* gatewayId: "gd13d8c6eq1emkiunq6p0",
* serviceId: "sd142lm6kiaj519k4l640",
* });
* ```
*/
/** @deprecated volcengine.apig.CustomDomains has been deprecated in favor of volcengine.apig.getCustomDomains */
export declare function customDomains(args?: CustomDomainsArgs, opts?: pulumi.InvokeOptions): Promise<CustomDomainsResult>;
/**
* A collection of arguments for invoking CustomDomains.
*/
export interface CustomDomainsArgs {
/**
* The id of api gateway.
*/
gatewayId?: string;
/**
* A Name Regex of Resource.
*/
nameRegex?: string;
/**
* File name where to save data source results.
*/
outputFile?: string;
/**
* The resource type of domain. Valid values: `Console`, `Ingress`.
*/
resourceType?: string;
/**
* The id of api gateway service.
*/
serviceId?: string;
}
/**
* A collection of values returned by CustomDomains.
*/
export interface CustomDomainsResult {
/**
* The collection of query.
*/
readonly customDomains: outputs.apig.CustomDomainsCustomDomain[];
readonly gatewayId?: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly nameRegex?: string;
readonly outputFile?: string;
/**
* The resource type of domain.
*/
readonly resourceType?: string;
/**
* The id of the api gateway service.
*/
readonly serviceId?: string;
/**
* The total count of query.
*/
readonly totalCount: number;
}
/**
* Use this data source to query detailed information of apig custom domains
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.apig.getCustomDomains({
* gatewayId: "gd13d8c6eq1emkiunq6p0",
* serviceId: "sd142lm6kiaj519k4l640",
* });
* ```
*/
/** @deprecated volcengine.apig.CustomDomains has been deprecated in favor of volcengine.apig.getCustomDomains */
export declare function customDomainsOutput(args?: CustomDomainsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<CustomDomainsResult>;
/**
* A collection of arguments for invoking CustomDomains.
*/
export interface CustomDomainsOutputArgs {
/**
* The id of api gateway.
*/
gatewayId?: pulumi.Input<string>;
/**
* A Name Regex of Resource.
*/
nameRegex?: pulumi.Input<string>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
/**
* The resource type of domain. Valid values: `Console`, `Ingress`.
*/
resourceType?: pulumi.Input<string>;
/**
* The id of api gateway service.
*/
serviceId?: pulumi.Input<string>;
}