UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

111 lines (110 loc) 2.97 kB
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", * }); * ``` */ export declare function getCustomDomains(args?: GetCustomDomainsArgs, opts?: pulumi.InvokeOptions): Promise<GetCustomDomainsResult>; /** * A collection of arguments for invoking getCustomDomains. */ export interface GetCustomDomainsArgs { /** * 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 getCustomDomains. */ export interface GetCustomDomainsResult { /** * The collection of query. */ readonly customDomains: outputs.apig.GetCustomDomainsCustomDomain[]; 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", * }); * ``` */ export declare function getCustomDomainsOutput(args?: GetCustomDomainsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCustomDomainsResult>; /** * A collection of arguments for invoking getCustomDomains. */ export interface GetCustomDomainsOutputArgs { /** * 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>; }