import * as pulumi from "@pulumi/pulumi"; /** * Creates a new Gateway in a given project and location. * Auto-naming is currently not supported for this resource. */ 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 opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, 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; /** * Resource name of the API Config for this Gateway. Format: projects/{project}/locations/global/apis/{api}/configs/{apiConfig} */ readonly apiConfig: pulumi.Output; /** * Created time. */ readonly createTime: pulumi.Output; /** * The default API Gateway host name of the form `{gateway_id}-{hash}.{region_code}.gateway.dev`. */ readonly defaultHostname: pulumi.Output; /** * Optional. Display name. */ readonly displayName: pulumi.Output; /** * Required. Identifier to assign to the Gateway. Must be unique within scope of the parent resource. */ readonly gatewayId: pulumi.Output; /** * Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources */ readonly labels: pulumi.Output<{ [key: string]: string; }>; readonly location: pulumi.Output; /** * Resource name of the Gateway. Format: projects/{project}/locations/{location}/gateways/{gateway} */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * The current state of the Gateway. */ readonly state: pulumi.Output; /** * Updated time. */ readonly updateTime: 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); } /** * The set of arguments for constructing a Gateway resource. */ export interface GatewayArgs { /** * Resource name of the API Config for this Gateway. Format: projects/{project}/locations/global/apis/{api}/configs/{apiConfig} */ apiConfig: pulumi.Input; /** * Optional. Display name. */ displayName?: pulumi.Input; /** * Required. Identifier to assign to the Gateway. Must be unique within scope of the parent resource. */ gatewayId: pulumi.Input; /** * Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; location?: pulumi.Input; project?: pulumi.Input; }