GatewayState class
Input properties used for looking up and filtering Gateway resources.
Constructors
-
GatewayState({Input<
String?> ? apiConfig, Input<String?> ? defaultHostname, Input<String?> ? deletionPolicy, Input<String?> ? displayName, Input<Map< ? effectiveLabels, Input<String, String> ?>String?> ? gatewayId, Input<Map< ? labels, Input<String, String> ?>String?> ? name, Input<String?> ? project, Input<Map< ? pulumiLabels, Input<String, String> ?>String?> ? region}) -
Creates a new GatewayState.
apiConfigResource name of the API Config for this Gateway. Format: projects/{project}/locations/global/apis/{api}/configs/{apiConfig}.defaultHostnameThe default API Gateway host name of the form {gatewayId}-{hash}.{region_code}.gateway.dev.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.displayNameA user-visible name for the API.effectiveLabelsAll of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.gatewayIdIdentifier to assign to the Gateway. Must be unique within scope of the parent resource(project).labelsResource labels to represent user-provided metadata.nameResource name of the Gateway. Format: projects/{project}/locations/{region}/gateways/{gateway}projectThe ID of the project in which the resource belongs.pulumiLabelsThe combination of labels configured directly on the resourceregionThe region of the gateway for the API.const -
GatewayState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
apiConfig
→ Input<
String?> ? -
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
createBeforeDestroyis set.final -
defaultHostname
→ Input<
String?> ? -
The default API Gateway host name of the form {gatewayId}-{hash}.{region_code}.gateway.dev.
final
-
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
When a 'terraform destroy' or 'pulumi up' would delete the resource,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
-
displayName
→ Input<
String?> ? -
A user-visible name for the API.
final
-
effectiveLabels
→ Input<
Map< ?String, String> ?> -
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
final
-
gatewayId
→ Input<
String?> ? -
Identifier to assign to the Gateway. Must be unique within scope of the parent resource(project).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
→ Input<
Map< ?String, String> ?> -
Resource labels to represent user-provided metadata.
final
-
name
→ Input<
String?> ? -
Resource name of the Gateway. Format: projects/{project}/locations/{region}/gateways/{gateway}
final
-
project
→ Input<
String?> ? -
The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
final
-
pulumiLabels
→ Input<
Map< ?String, String> ?> -
The combination of labels configured directly on the resource
and default labels configured on the provider.
final
-
region
→ Input<
String?> ? -
The region of the gateway for the API.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited