GatewayArgs

data class GatewayArgs(val apiConfig: Output<String>? = null, val displayName: Output<String>? = null, val gatewayId: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val project: Output<String>? = null, val region: Output<String>? = null) : ConvertibleToJava<GatewayArgs>

A consumable API that can be used by multiple Gateways. To get more information about Gateway, see:

Example Usage

Import

Gateway can be imported using any of these accepted formats:

  • projects/{{project}}/locations/{{region}}/gateways/{{gateway_id}}

  • {{project}}/{{region}}/{{gateway_id}}

  • {{region}}/{{gateway_id}}

  • {{gateway_id}} When using the pulumi import command, Gateway can be imported using one of the formats above. For example:

$ pulumi import gcp:apigateway/gateway:Gateway default projects/{{project}}/locations/{{region}}/gateways/{{gateway_id}}
$ pulumi import gcp:apigateway/gateway:Gateway default {{project}}/{{region}}/{{gateway_id}}
$ pulumi import gcp:apigateway/gateway:Gateway default {{region}}/{{gateway_id}}
$ pulumi import gcp:apigateway/gateway:Gateway default {{gateway_id}}

Constructors

Link copied to clipboard
constructor(apiConfig: Output<String>? = null, displayName: Output<String>? = null, gatewayId: Output<String>? = null, labels: Output<Map<String, String>>? = null, project: Output<String>? = null, region: Output<String>? = null)

Properties

Link copied to clipboard
val apiConfig: Output<String>? = null

Resource name of the API Config for this Gateway. Format: projects/{project}/locations/global/apis/{api}/configs/{apiConfig}. When changing api configs please ensure the new config is a new resource and the lifecycle rule create_before_destroy is set.

Link copied to clipboard
val displayName: Output<String>? = null

A user-visible name for the API.

Link copied to clipboard
val gatewayId: Output<String>? = null

Identifier to assign to the Gateway. Must be unique within scope of the parent resource(project).

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

Resource labels to represent user-provided metadata. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

Link copied to clipboard
val project: Output<String>? = null

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Link copied to clipboard
val region: Output<String>? = null

The region of the gateway for the API.

Functions

Link copied to clipboard
open override fun toJava(): GatewayArgs