Google Cloud Classic v6.57.0, May 30 23
Google Cloud Classic v6.57.0, May 30 23
gcp.networkservices.Gateway
Explore with Pulumi AI
Import
Gateway can be imported using any of these accepted formats
$ pulumi import gcp:networkservices/gateway:Gateway default projects/{{project}}/locations/{{location}}/gateways/{{name}}
$ pulumi import gcp:networkservices/gateway:Gateway default {{project}}/{{location}}/{{name}}
$ pulumi import gcp:networkservices/gateway:Gateway default {{location}}/{{name}}
Example Usage
Network Services Gateway Basic
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var @default = new Gcp.NetworkServices.Gateway("default", new()
{
Scope = "default-scope-basic",
Type = "OPEN_MESH",
Ports = new[]
{
443,
},
}, new CustomResourceOptions
{
Provider = google_beta,
});
});
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/networkservices"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := networkservices.NewGateway(ctx, "default", &networkservices.GatewayArgs{
Scope: pulumi.String("default-scope-basic"),
Type: pulumi.String("OPEN_MESH"),
Ports: pulumi.IntArray{
pulumi.Int(443),
},
}, pulumi.Provider(google_beta))
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.networkservices.Gateway;
import com.pulumi.gcp.networkservices.GatewayArgs;
import com.pulumi.resources.CustomResourceOptions;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var default_ = new Gateway("default", GatewayArgs.builder()
.scope("default-scope-basic")
.type("OPEN_MESH")
.ports(443)
.build(), CustomResourceOptions.builder()
.provider(google_beta)
.build());
}
}
import pulumi
import pulumi_gcp as gcp
default = gcp.networkservices.Gateway("default",
scope="default-scope-basic",
type="OPEN_MESH",
ports=[443],
opts=pulumi.ResourceOptions(provider=google_beta))
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const _default = new gcp.networkservices.Gateway("default", {
scope: "default-scope-basic",
type: "OPEN_MESH",
ports: [443],
}, {
provider: google_beta,
});
resources:
default:
type: gcp:networkservices:Gateway
properties:
scope: default-scope-basic
type: OPEN_MESH
ports:
- 443
options:
provider: ${["google-beta"]}
Network Services Gateway Advanced
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var @default = new Gcp.NetworkServices.Gateway("default", new()
{
Labels =
{
{ "foo", "bar" },
},
Description = "my description",
Type = "OPEN_MESH",
Ports = new[]
{
443,
},
Scope = "default-scope-advance",
}, new CustomResourceOptions
{
Provider = google_beta,
});
});
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/networkservices"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := networkservices.NewGateway(ctx, "default", &networkservices.GatewayArgs{
Labels: pulumi.StringMap{
"foo": pulumi.String("bar"),
},
Description: pulumi.String("my description"),
Type: pulumi.String("OPEN_MESH"),
Ports: pulumi.IntArray{
pulumi.Int(443),
},
Scope: pulumi.String("default-scope-advance"),
}, pulumi.Provider(google_beta))
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.networkservices.Gateway;
import com.pulumi.gcp.networkservices.GatewayArgs;
import com.pulumi.resources.CustomResourceOptions;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var default_ = new Gateway("default", GatewayArgs.builder()
.labels(Map.of("foo", "bar"))
.description("my description")
.type("OPEN_MESH")
.ports(443)
.scope("default-scope-advance")
.build(), CustomResourceOptions.builder()
.provider(google_beta)
.build());
}
}
import pulumi
import pulumi_gcp as gcp
default = gcp.networkservices.Gateway("default",
labels={
"foo": "bar",
},
description="my description",
type="OPEN_MESH",
ports=[443],
scope="default-scope-advance",
opts=pulumi.ResourceOptions(provider=google_beta))
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const _default = new gcp.networkservices.Gateway("default", {
labels: {
foo: "bar",
},
description: "my description",
type: "OPEN_MESH",
ports: [443],
scope: "default-scope-advance",
}, {
provider: google_beta,
});
resources:
default:
type: gcp:networkservices:Gateway
properties:
labels:
foo: bar
description: my description
type: OPEN_MESH
ports:
- 443
scope: default-scope-advance
options:
provider: ${["google-beta"]}
Create Gateway Resource
new Gateway(name: string, args: GatewayArgs, opts?: CustomResourceOptions);
@overload
def Gateway(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
location: Optional[str] = None,
name: Optional[str] = None,
ports: Optional[Sequence[int]] = None,
project: Optional[str] = None,
scope: Optional[str] = None,
server_tls_policy: Optional[str] = None,
type: Optional[str] = None)
@overload
def Gateway(resource_name: str,
args: GatewayArgs,
opts: Optional[ResourceOptions] = None)
func NewGateway(ctx *Context, name string, args GatewayArgs, opts ...ResourceOption) (*Gateway, error)
public Gateway(string name, GatewayArgs args, CustomResourceOptions? opts = null)
public Gateway(String name, GatewayArgs args)
public Gateway(String name, GatewayArgs args, CustomResourceOptions options)
type: gcp:networkservices:Gateway
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args GatewayArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args GatewayArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GatewayArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Gateway Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Gateway resource accepts the following input properties:
- Ports List<int>
One or more port numbers (1-65535), on which the Gateway will receive traffic. The proxy binds to the specified ports. Gateways of type 'SECURE_WEB_GATEWAY' are limited to 1 port. Gateways of type 'OPEN_MESH' listen on 0.0.0.0 and support multiple ports.
- Scope string
Immutable. Scope determines how configuration across multiple Gateway instances are merged. The configuration for multiple Gateway instances with the same scope will be merged as presented as a single coniguration to the proxy/load balancer. Max length 64 characters. Scope should start with a letter and can only have letters, numbers, hyphens.
- Type string
Immutable. The type of the customer-managed gateway. Possible values are: * OPEN_MESH * SECURE_WEB_GATEWAY. Possible values are:
TYPE_UNSPECIFIED
,OPEN_MESH
,SECURE_WEB_GATEWAY
.- Description string
A free-text description of the resource. Max length 1024 characters.
- Labels Dictionary<string, string>
Set of label tags associated with the Gateway resource.
- Location string
The location of the gateway. The default value is
global
.- Name string
Short name of the Gateway resource to be created.
- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Server
Tls stringPolicy A fully-qualified ServerTLSPolicy URL reference. Specifies how TLS traffic is terminated. If empty, TLS termination is disabled.
- Ports []int
One or more port numbers (1-65535), on which the Gateway will receive traffic. The proxy binds to the specified ports. Gateways of type 'SECURE_WEB_GATEWAY' are limited to 1 port. Gateways of type 'OPEN_MESH' listen on 0.0.0.0 and support multiple ports.
- Scope string
Immutable. Scope determines how configuration across multiple Gateway instances are merged. The configuration for multiple Gateway instances with the same scope will be merged as presented as a single coniguration to the proxy/load balancer. Max length 64 characters. Scope should start with a letter and can only have letters, numbers, hyphens.
- Type string
Immutable. The type of the customer-managed gateway. Possible values are: * OPEN_MESH * SECURE_WEB_GATEWAY. Possible values are:
TYPE_UNSPECIFIED
,OPEN_MESH
,SECURE_WEB_GATEWAY
.- Description string
A free-text description of the resource. Max length 1024 characters.
- Labels map[string]string
Set of label tags associated with the Gateway resource.
- Location string
The location of the gateway. The default value is
global
.- Name string
Short name of the Gateway resource to be created.
- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Server
Tls stringPolicy A fully-qualified ServerTLSPolicy URL reference. Specifies how TLS traffic is terminated. If empty, TLS termination is disabled.
- ports List<Integer>
One or more port numbers (1-65535), on which the Gateway will receive traffic. The proxy binds to the specified ports. Gateways of type 'SECURE_WEB_GATEWAY' are limited to 1 port. Gateways of type 'OPEN_MESH' listen on 0.0.0.0 and support multiple ports.
- scope String
Immutable. Scope determines how configuration across multiple Gateway instances are merged. The configuration for multiple Gateway instances with the same scope will be merged as presented as a single coniguration to the proxy/load balancer. Max length 64 characters. Scope should start with a letter and can only have letters, numbers, hyphens.
- type String
Immutable. The type of the customer-managed gateway. Possible values are: * OPEN_MESH * SECURE_WEB_GATEWAY. Possible values are:
TYPE_UNSPECIFIED
,OPEN_MESH
,SECURE_WEB_GATEWAY
.- description String
A free-text description of the resource. Max length 1024 characters.
- labels Map<String,String>
Set of label tags associated with the Gateway resource.
- location String
The location of the gateway. The default value is
global
.- name String
Short name of the Gateway resource to be created.
- project String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- server
Tls StringPolicy A fully-qualified ServerTLSPolicy URL reference. Specifies how TLS traffic is terminated. If empty, TLS termination is disabled.
- ports number[]
One or more port numbers (1-65535), on which the Gateway will receive traffic. The proxy binds to the specified ports. Gateways of type 'SECURE_WEB_GATEWAY' are limited to 1 port. Gateways of type 'OPEN_MESH' listen on 0.0.0.0 and support multiple ports.
- scope string
Immutable. Scope determines how configuration across multiple Gateway instances are merged. The configuration for multiple Gateway instances with the same scope will be merged as presented as a single coniguration to the proxy/load balancer. Max length 64 characters. Scope should start with a letter and can only have letters, numbers, hyphens.
- type string
Immutable. The type of the customer-managed gateway. Possible values are: * OPEN_MESH * SECURE_WEB_GATEWAY. Possible values are:
TYPE_UNSPECIFIED
,OPEN_MESH
,SECURE_WEB_GATEWAY
.- description string
A free-text description of the resource. Max length 1024 characters.
- labels {[key: string]: string}
Set of label tags associated with the Gateway resource.
- location string
The location of the gateway. The default value is
global
.- name string
Short name of the Gateway resource to be created.
- project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- server
Tls stringPolicy A fully-qualified ServerTLSPolicy URL reference. Specifies how TLS traffic is terminated. If empty, TLS termination is disabled.
- ports Sequence[int]
One or more port numbers (1-65535), on which the Gateway will receive traffic. The proxy binds to the specified ports. Gateways of type 'SECURE_WEB_GATEWAY' are limited to 1 port. Gateways of type 'OPEN_MESH' listen on 0.0.0.0 and support multiple ports.
- scope str
Immutable. Scope determines how configuration across multiple Gateway instances are merged. The configuration for multiple Gateway instances with the same scope will be merged as presented as a single coniguration to the proxy/load balancer. Max length 64 characters. Scope should start with a letter and can only have letters, numbers, hyphens.
- type str
Immutable. The type of the customer-managed gateway. Possible values are: * OPEN_MESH * SECURE_WEB_GATEWAY. Possible values are:
TYPE_UNSPECIFIED
,OPEN_MESH
,SECURE_WEB_GATEWAY
.- description str
A free-text description of the resource. Max length 1024 characters.
- labels Mapping[str, str]
Set of label tags associated with the Gateway resource.
- location str
The location of the gateway. The default value is
global
.- name str
Short name of the Gateway resource to be created.
- project str
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- server_
tls_ strpolicy A fully-qualified ServerTLSPolicy URL reference. Specifies how TLS traffic is terminated. If empty, TLS termination is disabled.
- ports List<Number>
One or more port numbers (1-65535), on which the Gateway will receive traffic. The proxy binds to the specified ports. Gateways of type 'SECURE_WEB_GATEWAY' are limited to 1 port. Gateways of type 'OPEN_MESH' listen on 0.0.0.0 and support multiple ports.
- scope String
Immutable. Scope determines how configuration across multiple Gateway instances are merged. The configuration for multiple Gateway instances with the same scope will be merged as presented as a single coniguration to the proxy/load balancer. Max length 64 characters. Scope should start with a letter and can only have letters, numbers, hyphens.
- type String
Immutable. The type of the customer-managed gateway. Possible values are: * OPEN_MESH * SECURE_WEB_GATEWAY. Possible values are:
TYPE_UNSPECIFIED
,OPEN_MESH
,SECURE_WEB_GATEWAY
.- description String
A free-text description of the resource. Max length 1024 characters.
- labels Map<String>
Set of label tags associated with the Gateway resource.
- location String
The location of the gateway. The default value is
global
.- name String
Short name of the Gateway resource to be created.
- project String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- server
Tls StringPolicy A fully-qualified ServerTLSPolicy URL reference. Specifies how TLS traffic is terminated. If empty, TLS termination is disabled.
Outputs
All input properties are implicitly available as output properties. Additionally, the Gateway resource produces the following output properties:
- Create
Time string Time the AccessPolicy was created in UTC.
- Id string
The provider-assigned unique ID for this managed resource.
- Self
Link string Server-defined URL of this resource.
- Update
Time string Time the AccessPolicy was updated in UTC.
- Create
Time string Time the AccessPolicy was created in UTC.
- Id string
The provider-assigned unique ID for this managed resource.
- Self
Link string Server-defined URL of this resource.
- Update
Time string Time the AccessPolicy was updated in UTC.
- create
Time String Time the AccessPolicy was created in UTC.
- id String
The provider-assigned unique ID for this managed resource.
- self
Link String Server-defined URL of this resource.
- update
Time String Time the AccessPolicy was updated in UTC.
- create
Time string Time the AccessPolicy was created in UTC.
- id string
The provider-assigned unique ID for this managed resource.
- self
Link string Server-defined URL of this resource.
- update
Time string Time the AccessPolicy was updated in UTC.
- create_
time str Time the AccessPolicy was created in UTC.
- id str
The provider-assigned unique ID for this managed resource.
- self_
link str Server-defined URL of this resource.
- update_
time str Time the AccessPolicy was updated in UTC.
- create
Time String Time the AccessPolicy was created in UTC.
- id String
The provider-assigned unique ID for this managed resource.
- self
Link String Server-defined URL of this resource.
- update
Time String Time the AccessPolicy was updated in UTC.
Look up Existing Gateway Resource
Get an existing Gateway resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: GatewayState, opts?: CustomResourceOptions): Gateway
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
create_time: Optional[str] = None,
description: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
location: Optional[str] = None,
name: Optional[str] = None,
ports: Optional[Sequence[int]] = None,
project: Optional[str] = None,
scope: Optional[str] = None,
self_link: Optional[str] = None,
server_tls_policy: Optional[str] = None,
type: Optional[str] = None,
update_time: Optional[str] = None) -> Gateway
func GetGateway(ctx *Context, name string, id IDInput, state *GatewayState, opts ...ResourceOption) (*Gateway, error)
public static Gateway Get(string name, Input<string> id, GatewayState? state, CustomResourceOptions? opts = null)
public static Gateway get(String name, Output<String> id, GatewayState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Create
Time string Time the AccessPolicy was created in UTC.
- Description string
A free-text description of the resource. Max length 1024 characters.
- Labels Dictionary<string, string>
Set of label tags associated with the Gateway resource.
- Location string
The location of the gateway. The default value is
global
.- Name string
Short name of the Gateway resource to be created.
- Ports List<int>
One or more port numbers (1-65535), on which the Gateway will receive traffic. The proxy binds to the specified ports. Gateways of type 'SECURE_WEB_GATEWAY' are limited to 1 port. Gateways of type 'OPEN_MESH' listen on 0.0.0.0 and support multiple ports.
- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Scope string
Immutable. Scope determines how configuration across multiple Gateway instances are merged. The configuration for multiple Gateway instances with the same scope will be merged as presented as a single coniguration to the proxy/load balancer. Max length 64 characters. Scope should start with a letter and can only have letters, numbers, hyphens.
- Self
Link string Server-defined URL of this resource.
- Server
Tls stringPolicy A fully-qualified ServerTLSPolicy URL reference. Specifies how TLS traffic is terminated. If empty, TLS termination is disabled.
- Type string
Immutable. The type of the customer-managed gateway. Possible values are: * OPEN_MESH * SECURE_WEB_GATEWAY. Possible values are:
TYPE_UNSPECIFIED
,OPEN_MESH
,SECURE_WEB_GATEWAY
.- Update
Time string Time the AccessPolicy was updated in UTC.
- Create
Time string Time the AccessPolicy was created in UTC.
- Description string
A free-text description of the resource. Max length 1024 characters.
- Labels map[string]string
Set of label tags associated with the Gateway resource.
- Location string
The location of the gateway. The default value is
global
.- Name string
Short name of the Gateway resource to be created.
- Ports []int
One or more port numbers (1-65535), on which the Gateway will receive traffic. The proxy binds to the specified ports. Gateways of type 'SECURE_WEB_GATEWAY' are limited to 1 port. Gateways of type 'OPEN_MESH' listen on 0.0.0.0 and support multiple ports.
- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Scope string
Immutable. Scope determines how configuration across multiple Gateway instances are merged. The configuration for multiple Gateway instances with the same scope will be merged as presented as a single coniguration to the proxy/load balancer. Max length 64 characters. Scope should start with a letter and can only have letters, numbers, hyphens.
- Self
Link string Server-defined URL of this resource.
- Server
Tls stringPolicy A fully-qualified ServerTLSPolicy URL reference. Specifies how TLS traffic is terminated. If empty, TLS termination is disabled.
- Type string
Immutable. The type of the customer-managed gateway. Possible values are: * OPEN_MESH * SECURE_WEB_GATEWAY. Possible values are:
TYPE_UNSPECIFIED
,OPEN_MESH
,SECURE_WEB_GATEWAY
.- Update
Time string Time the AccessPolicy was updated in UTC.
- create
Time String Time the AccessPolicy was created in UTC.
- description String
A free-text description of the resource. Max length 1024 characters.
- labels Map<String,String>
Set of label tags associated with the Gateway resource.
- location String
The location of the gateway. The default value is
global
.- name String
Short name of the Gateway resource to be created.
- ports List<Integer>
One or more port numbers (1-65535), on which the Gateway will receive traffic. The proxy binds to the specified ports. Gateways of type 'SECURE_WEB_GATEWAY' are limited to 1 port. Gateways of type 'OPEN_MESH' listen on 0.0.0.0 and support multiple ports.
- project String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- scope String
Immutable. Scope determines how configuration across multiple Gateway instances are merged. The configuration for multiple Gateway instances with the same scope will be merged as presented as a single coniguration to the proxy/load balancer. Max length 64 characters. Scope should start with a letter and can only have letters, numbers, hyphens.
- self
Link String Server-defined URL of this resource.
- server
Tls StringPolicy A fully-qualified ServerTLSPolicy URL reference. Specifies how TLS traffic is terminated. If empty, TLS termination is disabled.
- type String
Immutable. The type of the customer-managed gateway. Possible values are: * OPEN_MESH * SECURE_WEB_GATEWAY. Possible values are:
TYPE_UNSPECIFIED
,OPEN_MESH
,SECURE_WEB_GATEWAY
.- update
Time String Time the AccessPolicy was updated in UTC.
- create
Time string Time the AccessPolicy was created in UTC.
- description string
A free-text description of the resource. Max length 1024 characters.
- labels {[key: string]: string}
Set of label tags associated with the Gateway resource.
- location string
The location of the gateway. The default value is
global
.- name string
Short name of the Gateway resource to be created.
- ports number[]
One or more port numbers (1-65535), on which the Gateway will receive traffic. The proxy binds to the specified ports. Gateways of type 'SECURE_WEB_GATEWAY' are limited to 1 port. Gateways of type 'OPEN_MESH' listen on 0.0.0.0 and support multiple ports.
- project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- scope string
Immutable. Scope determines how configuration across multiple Gateway instances are merged. The configuration for multiple Gateway instances with the same scope will be merged as presented as a single coniguration to the proxy/load balancer. Max length 64 characters. Scope should start with a letter and can only have letters, numbers, hyphens.
- self
Link string Server-defined URL of this resource.
- server
Tls stringPolicy A fully-qualified ServerTLSPolicy URL reference. Specifies how TLS traffic is terminated. If empty, TLS termination is disabled.
- type string
Immutable. The type of the customer-managed gateway. Possible values are: * OPEN_MESH * SECURE_WEB_GATEWAY. Possible values are:
TYPE_UNSPECIFIED
,OPEN_MESH
,SECURE_WEB_GATEWAY
.- update
Time string Time the AccessPolicy was updated in UTC.
- create_
time str Time the AccessPolicy was created in UTC.
- description str
A free-text description of the resource. Max length 1024 characters.
- labels Mapping[str, str]
Set of label tags associated with the Gateway resource.
- location str
The location of the gateway. The default value is
global
.- name str
Short name of the Gateway resource to be created.
- ports Sequence[int]
One or more port numbers (1-65535), on which the Gateway will receive traffic. The proxy binds to the specified ports. Gateways of type 'SECURE_WEB_GATEWAY' are limited to 1 port. Gateways of type 'OPEN_MESH' listen on 0.0.0.0 and support multiple ports.
- project str
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- scope str
Immutable. Scope determines how configuration across multiple Gateway instances are merged. The configuration for multiple Gateway instances with the same scope will be merged as presented as a single coniguration to the proxy/load balancer. Max length 64 characters. Scope should start with a letter and can only have letters, numbers, hyphens.
- self_
link str Server-defined URL of this resource.
- server_
tls_ strpolicy A fully-qualified ServerTLSPolicy URL reference. Specifies how TLS traffic is terminated. If empty, TLS termination is disabled.
- type str
Immutable. The type of the customer-managed gateway. Possible values are: * OPEN_MESH * SECURE_WEB_GATEWAY. Possible values are:
TYPE_UNSPECIFIED
,OPEN_MESH
,SECURE_WEB_GATEWAY
.- update_
time str Time the AccessPolicy was updated in UTC.
- create
Time String Time the AccessPolicy was created in UTC.
- description String
A free-text description of the resource. Max length 1024 characters.
- labels Map<String>
Set of label tags associated with the Gateway resource.
- location String
The location of the gateway. The default value is
global
.- name String
Short name of the Gateway resource to be created.
- ports List<Number>
One or more port numbers (1-65535), on which the Gateway will receive traffic. The proxy binds to the specified ports. Gateways of type 'SECURE_WEB_GATEWAY' are limited to 1 port. Gateways of type 'OPEN_MESH' listen on 0.0.0.0 and support multiple ports.
- project String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- scope String
Immutable. Scope determines how configuration across multiple Gateway instances are merged. The configuration for multiple Gateway instances with the same scope will be merged as presented as a single coniguration to the proxy/load balancer. Max length 64 characters. Scope should start with a letter and can only have letters, numbers, hyphens.
- self
Link String Server-defined URL of this resource.
- server
Tls StringPolicy A fully-qualified ServerTLSPolicy URL reference. Specifies how TLS traffic is terminated. If empty, TLS termination is disabled.
- type String
Immutable. The type of the customer-managed gateway. Possible values are: * OPEN_MESH * SECURE_WEB_GATEWAY. Possible values are:
TYPE_UNSPECIFIED
,OPEN_MESH
,SECURE_WEB_GATEWAY
.- update
Time String Time the AccessPolicy was updated in UTC.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
google-beta
Terraform Provider.