import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * A service is a set of routes exposed as entry points to distinguish traffic sources and protocols, enabling business, environment, and logical tenant isolation. Services can bind independent access domains, allowing access by domain. * * ## Import * * ```sh * $ pulumi import volcenginecc:apig/gatewayService:GatewayService example "service_id" * ``` */ export declare class GatewayService extends pulumi.CustomResource { /** * Get an existing GatewayService 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?: GatewayServiceState, opts?: pulumi.CustomResourceOptions): GatewayService; /** * Returns true if the given object is an instance of GatewayService. 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 GatewayService; /** * Authentication configuration. */ readonly authSpec: pulumi.Output; /** * Remarks. Length must be 0–253 characters. */ readonly comments: pulumi.Output; /** * Creation time. */ readonly createdTime: pulumi.Output; readonly customDomains: pulumi.Output; /** * Domain details. */ readonly domainSpec: pulumi.Output; /** * Domain type. Options: DefaultDomain: Default domain. CustomDomain: Custom domain. */ readonly domainType: pulumi.Output; readonly domains: pulumi.Output; /** * Gateway ID. */ readonly gatewayId: pulumi.Output; /** * Gateway name. */ readonly gatewayName: pulumi.Output; /** * Error message for service creation failure, deletion failure, or abnormal status. */ readonly message: pulumi.Output; /** * Supported protocols. Options: HTTP: HTTP. HTTPS: HTTPS. */ readonly protocols: pulumi.Output; /** * Service ID. */ readonly serviceId: pulumi.Output; /** * Service name. Supports uppercase and lowercase letters, numbers, and hyphens (-). Length must be 2–128 characters. Cannot start with a hyphen (-). */ readonly serviceName: pulumi.Output; /** * Default domain network configuration.. */ readonly serviceNetworkSpec: pulumi.Output; /** * Service type. Options: AIProvider: AI model proxy. */ readonly serviceType: pulumi.Output; /** * Creating: Creating. CreatedFailed: Creation failed. Running: Running. Deleting: Deleting. DeletedFailed: Deletion failed. Abnormal: Abnormal. */ readonly status: pulumi.Output; /** * Create a GatewayService 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: GatewayServiceArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering GatewayService resources. */ export interface GatewayServiceState { /** * Authentication configuration. */ authSpec?: pulumi.Input; /** * Remarks. Length must be 0–253 characters. */ comments?: pulumi.Input; /** * Creation time. */ createdTime?: pulumi.Input; customDomains?: pulumi.Input[]>; /** * Domain details. */ domainSpec?: pulumi.Input; /** * Domain type. Options: DefaultDomain: Default domain. CustomDomain: Custom domain. */ domainType?: pulumi.Input; domains?: pulumi.Input[]>; /** * Gateway ID. */ gatewayId?: pulumi.Input; /** * Gateway name. */ gatewayName?: pulumi.Input; /** * Error message for service creation failure, deletion failure, or abnormal status. */ message?: pulumi.Input; /** * Supported protocols. Options: HTTP: HTTP. HTTPS: HTTPS. */ protocols?: pulumi.Input[]>; /** * Service ID. */ serviceId?: pulumi.Input; /** * Service name. Supports uppercase and lowercase letters, numbers, and hyphens (-). Length must be 2–128 characters. Cannot start with a hyphen (-). */ serviceName?: pulumi.Input; /** * Default domain network configuration.. */ serviceNetworkSpec?: pulumi.Input; /** * Service type. Options: AIProvider: AI model proxy. */ serviceType?: pulumi.Input; /** * Creating: Creating. CreatedFailed: Creation failed. Running: Running. Deleting: Deleting. DeletedFailed: Deletion failed. Abnormal: Abnormal. */ status?: pulumi.Input; } /** * The set of arguments for constructing a GatewayService resource. */ export interface GatewayServiceArgs { /** * Authentication configuration. */ authSpec: pulumi.Input; /** * Remarks. Length must be 0–253 characters. */ comments?: pulumi.Input; customDomains?: pulumi.Input[]>; /** * Domain type. Options: DefaultDomain: Default domain. CustomDomain: Custom domain. */ domainType?: pulumi.Input; /** * Gateway ID. */ gatewayId: pulumi.Input; /** * Supported protocols. Options: HTTP: HTTP. HTTPS: HTTPS. */ protocols: pulumi.Input[]>; /** * Service name. Supports uppercase and lowercase letters, numbers, and hyphens (-). Length must be 2–128 characters. Cannot start with a hyphen (-). */ serviceName: pulumi.Input; /** * Default domain network configuration.. */ serviceNetworkSpec?: pulumi.Input; /** * Service type. Options: AIProvider: AI model proxy. */ serviceType?: pulumi.Input; }