google-native logo
Google Cloud Native v0.28.0, Feb 2 23

google-native.networkservices/v1beta1.getGateway

Gets details of a single Gateway.

Using getGateway

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getGateway(args: GetGatewayArgs, opts?: InvokeOptions): Promise<GetGatewayResult>
function getGatewayOutput(args: GetGatewayOutputArgs, opts?: InvokeOptions): Output<GetGatewayResult>
def get_gateway(gateway_id: Optional[str] = None,
                location: Optional[str] = None,
                project: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetGatewayResult
def get_gateway_output(gateway_id: Optional[pulumi.Input[str]] = None,
                location: Optional[pulumi.Input[str]] = None,
                project: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetGatewayResult]
func LookupGateway(ctx *Context, args *LookupGatewayArgs, opts ...InvokeOption) (*LookupGatewayResult, error)
func LookupGatewayOutput(ctx *Context, args *LookupGatewayOutputArgs, opts ...InvokeOption) LookupGatewayResultOutput

> Note: This function is named LookupGateway in the Go SDK.

public static class GetGateway 
{
    public static Task<GetGatewayResult> InvokeAsync(GetGatewayArgs args, InvokeOptions? opts = null)
    public static Output<GetGatewayResult> Invoke(GetGatewayInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetGatewayResult> getGateway(GetGatewayArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: google-native:networkservices/v1beta1:getGateway
  arguments:
    # arguments dictionary

The following arguments are supported:

GatewayId string
Location string
Project string
GatewayId string
Location string
Project string
gatewayId String
location String
project String
gatewayId string
location string
project string
gatewayId String
location String
project String

getGateway Result

The following output properties are available:

CreateTime string

The timestamp when the resource was created.

Description string

Optional. A free-text description of the resource. Max length 1024 characters.

Labels Dictionary<string, string>

Optional. Set of label tags associated with the Gateway resource.

Name string

Name of the Gateway resource. It matches pattern projects/*/locations/*/gateways/.

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.

SelfLink string

Server-defined URL of this resource

ServerTlsPolicy string

Optional. 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. This field is required. If unspecified, an error is returned.

UpdateTime string

The timestamp when the resource was updated.

CreateTime string

The timestamp when the resource was created.

Description string

Optional. A free-text description of the resource. Max length 1024 characters.

Labels map[string]string

Optional. Set of label tags associated with the Gateway resource.

Name string

Name of the Gateway resource. It matches pattern projects/*/locations/*/gateways/.

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.

SelfLink string

Server-defined URL of this resource

ServerTlsPolicy string

Optional. 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. This field is required. If unspecified, an error is returned.

UpdateTime string

The timestamp when the resource was updated.

createTime String

The timestamp when the resource was created.

description String

Optional. A free-text description of the resource. Max length 1024 characters.

labels Map<String,String>

Optional. Set of label tags associated with the Gateway resource.

name String

Name of the Gateway resource. It matches pattern projects/*/locations/*/gateways/.

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.

selfLink String

Server-defined URL of this resource

serverTlsPolicy String

Optional. 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. This field is required. If unspecified, an error is returned.

updateTime String

The timestamp when the resource was updated.

createTime string

The timestamp when the resource was created.

description string

Optional. A free-text description of the resource. Max length 1024 characters.

labels {[key: string]: string}

Optional. Set of label tags associated with the Gateway resource.

name string

Name of the Gateway resource. It matches pattern projects/*/locations/*/gateways/.

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.

selfLink string

Server-defined URL of this resource

serverTlsPolicy string

Optional. 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. This field is required. If unspecified, an error is returned.

updateTime string

The timestamp when the resource was updated.

create_time str

The timestamp when the resource was created.

description str

Optional. A free-text description of the resource. Max length 1024 characters.

labels Mapping[str, str]

Optional. Set of label tags associated with the Gateway resource.

name str

Name of the Gateway resource. It matches pattern projects/*/locations/*/gateways/.

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.

self_link str

Server-defined URL of this resource

server_tls_policy str

Optional. 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. This field is required. If unspecified, an error is returned.

update_time str

The timestamp when the resource was updated.

createTime String

The timestamp when the resource was created.

description String

Optional. A free-text description of the resource. Max length 1024 characters.

labels Map<String>

Optional. Set of label tags associated with the Gateway resource.

name String

Name of the Gateway resource. It matches pattern projects/*/locations/*/gateways/.

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.

selfLink String

Server-defined URL of this resource

serverTlsPolicy String

Optional. 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. This field is required. If unspecified, an error is returned.

updateTime String

The timestamp when the resource was updated.

Package Details

Repository
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0