import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * API Gateway (Gateway) is the core component of the API management service. It receives, processes, and forwards API requests, and provides security authentication, traffic control, and other features * * ## Import * * ```sh * $ pulumi import volcenginecc:apig/gateway:Gateway example "gateway_id" * ``` */ export declare class Gateway extends pulumi.CustomResource { /** * Get an existing Gateway resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: GatewayState, opts?: pulumi.CustomResourceOptions): Gateway; /** * Returns true if the given object is an instance of Gateway. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Gateway; /** * Backend service configuration information */ readonly backendSpec: pulumi.Output; /** * Gateway remarks. Length limit: 0–253 characters. */ readonly comments: pulumi.Output; /** * Gateway creation time */ readonly createdTime: pulumi.Output; /** * Custom log configuration */ readonly customLog: pulumi.Output; readonly events: pulumi.Output; /** * Gateway instance ID */ readonly gatewayId: pulumi.Output; /** * Log configuration */ readonly logSpec: pulumi.Output; /** * Error message for gateway creation failure, deletion failure, or abnormal status */ readonly message: pulumi.Output; /** * Monitoring configuration information */ readonly monitorSpec: pulumi.Output; /** * Gateway name */ readonly name: pulumi.Output; /** * Network configuration information */ readonly networkSpec: pulumi.Output; /** * Project name */ readonly projectName: pulumi.Output; /** * Resource specification configuration information */ readonly resourceSpec: pulumi.Output; /** * Gateway status. Options: Creating: Creating; CreatedFailed: Creation failed; Updating: Updating; Running: Running; Deleting: Deleting; DeletedFailed: Deletion failed; Abnormal: Abnormal */ readonly status: pulumi.Output; /** * Subnet ID list. Length limit: 1–2 */ readonly subnetIds: pulumi.Output; /** * Link tracing configuration information. */ readonly traceSpec: pulumi.Output; /** * Gateway type. Options: standard: Standard gateway; serverless: Serverless gateway (not supported yet) */ readonly type: pulumi.Output; /** * Gateway version. */ readonly version: pulumi.Output; /** * VPC ID。 */ readonly vpcId: pulumi.Output; /** * Create a Gateway resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: GatewayArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Gateway resources. */ export interface GatewayState { /** * Backend service configuration information */ backendSpec?: pulumi.Input; /** * Gateway remarks. Length limit: 0–253 characters. */ comments?: pulumi.Input; /** * Gateway creation time */ createdTime?: pulumi.Input; /** * Custom log configuration */ customLog?: pulumi.Input; events?: pulumi.Input[]>; /** * Gateway instance ID */ gatewayId?: pulumi.Input; /** * Log configuration */ logSpec?: pulumi.Input; /** * Error message for gateway creation failure, deletion failure, or abnormal status */ message?: pulumi.Input; /** * Monitoring configuration information */ monitorSpec?: pulumi.Input; /** * Gateway name */ name?: pulumi.Input; /** * Network configuration information */ networkSpec?: pulumi.Input; /** * Project name */ projectName?: pulumi.Input; /** * Resource specification configuration information */ resourceSpec?: pulumi.Input; /** * Gateway status. Options: Creating: Creating; CreatedFailed: Creation failed; Updating: Updating; Running: Running; Deleting: Deleting; DeletedFailed: Deletion failed; Abnormal: Abnormal */ status?: pulumi.Input; /** * Subnet ID list. Length limit: 1–2 */ subnetIds?: pulumi.Input[]>; /** * Link tracing configuration information. */ traceSpec?: pulumi.Input; /** * Gateway type. Options: standard: Standard gateway; serverless: Serverless gateway (not supported yet) */ type?: pulumi.Input; /** * Gateway version. */ version?: pulumi.Input; /** * VPC ID。 */ vpcId?: pulumi.Input; } /** * The set of arguments for constructing a Gateway resource. */ export interface GatewayArgs { /** * Gateway remarks. Length limit: 0–253 characters. */ comments?: pulumi.Input; /** * Custom log configuration */ customLog?: pulumi.Input; /** * Log configuration */ logSpec?: pulumi.Input; /** * Monitoring configuration information */ monitorSpec?: pulumi.Input; /** * Gateway name */ name: pulumi.Input; /** * Project name */ projectName?: pulumi.Input; /** * Resource specification configuration information */ resourceSpec?: pulumi.Input; /** * Subnet ID list. Length limit: 1–2 */ subnetIds?: pulumi.Input[]>; /** * Link tracing configuration information. */ traceSpec?: pulumi.Input; /** * Gateway type. Options: standard: Standard gateway; serverless: Serverless gateway (not supported yet) */ type?: pulumi.Input; /** * VPC ID。 */ vpcId?: pulumi.Input; }