Google Native

Pulumi Official
Package maintained by Pulumi
v0.22.0 published on Friday, Jul 29, 2022 by Pulumi

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:apigateway/v1beta: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:

ApiConfig string

Resource name of the API Config for this Gateway. Format: projects/{project}/locations/global/apis/{api}/configs/{apiConfig}

CreateTime string

Created time.

DefaultHostname string

The default API Gateway host name of the form {gateway_id}-{hash}.{region_code}.gateway.dev.

DisplayName string

Optional. Display name.

Labels Dictionary<string, string>

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

Name string

Resource name of the Gateway. Format: projects/{project}/locations/{location}/gateways/{gateway}

State string

The current state of the Gateway.

UpdateTime string

Updated time.

ApiConfig string

Resource name of the API Config for this Gateway. Format: projects/{project}/locations/global/apis/{api}/configs/{apiConfig}

CreateTime string

Created time.

DefaultHostname string

The default API Gateway host name of the form {gateway_id}-{hash}.{region_code}.gateway.dev.

DisplayName string

Optional. Display name.

Labels map[string]string

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

Name string

Resource name of the Gateway. Format: projects/{project}/locations/{location}/gateways/{gateway}

State string

The current state of the Gateway.

UpdateTime string

Updated time.

apiConfig String

Resource name of the API Config for this Gateway. Format: projects/{project}/locations/global/apis/{api}/configs/{apiConfig}

createTime String

Created time.

defaultHostname String

The default API Gateway host name of the form {gateway_id}-{hash}.{region_code}.gateway.dev.

displayName String

Optional. Display name.

labels Map<String,String>

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

name String

Resource name of the Gateway. Format: projects/{project}/locations/{location}/gateways/{gateway}

state String

The current state of the Gateway.

updateTime String

Updated time.

apiConfig string

Resource name of the API Config for this Gateway. Format: projects/{project}/locations/global/apis/{api}/configs/{apiConfig}

createTime string

Created time.

defaultHostname string

The default API Gateway host name of the form {gateway_id}-{hash}.{region_code}.gateway.dev.

displayName string

Optional. Display name.

labels {[key: string]: string}

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

name string

Resource name of the Gateway. Format: projects/{project}/locations/{location}/gateways/{gateway}

state string

The current state of the Gateway.

updateTime string

Updated time.

api_config str

Resource name of the API Config for this Gateway. Format: projects/{project}/locations/global/apis/{api}/configs/{apiConfig}

create_time str

Created time.

default_hostname str

The default API Gateway host name of the form {gateway_id}-{hash}.{region_code}.gateway.dev.

display_name str

Optional. Display name.

labels Mapping[str, str]

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

name str

Resource name of the Gateway. Format: projects/{project}/locations/{location}/gateways/{gateway}

state str

The current state of the Gateway.

update_time str

Updated time.

apiConfig String

Resource name of the API Config for this Gateway. Format: projects/{project}/locations/global/apis/{api}/configs/{apiConfig}

createTime String

Created time.

defaultHostname String

The default API Gateway host name of the form {gateway_id}-{hash}.{region_code}.gateway.dev.

displayName String

Optional. Display name.

labels Map<String>

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

name String

Resource name of the Gateway. Format: projects/{project}/locations/{location}/gateways/{gateway}

state String

The current state of the Gateway.

updateTime String

Updated time.

Package Details

Repository
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0