Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.apigateway/v1beta.getGateway
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
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)
public static Output<GetGatewayResult> getGateway(GetGatewayArgs args, InvokeOptions options)
fn::invoke:
function: google-native:apigateway/v1beta:getGateway
arguments:
# arguments dictionaryThe following arguments are supported:
- gateway_
id str - location str
- project str
getGateway Result
The following output properties are available:
- Api
Config string - Resource name of the API Config for this Gateway. Format: projects/{project}/locations/global/apis/{api}/configs/{apiConfig}
- Create
Time string - Created time.
- Default
Hostname string - The default API Gateway host name of the form
{gateway_id}-{hash}.{region_code}.gateway.dev. - Display
Name 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.
- Update
Time string - Updated time.
- Api
Config string - Resource name of the API Config for this Gateway. Format: projects/{project}/locations/global/apis/{api}/configs/{apiConfig}
- Create
Time string - Created time.
- Default
Hostname string - The default API Gateway host name of the form
{gateway_id}-{hash}.{region_code}.gateway.dev. - Display
Name 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.
- Update
Time string - Updated time.
- api
Config String - Resource name of the API Config for this Gateway. Format: projects/{project}/locations/global/apis/{api}/configs/{apiConfig}
- create
Time String - Created time.
- default
Hostname String - The default API Gateway host name of the form
{gateway_id}-{hash}.{region_code}.gateway.dev. - display
Name 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.
- update
Time String - Updated time.
- api
Config string - Resource name of the API Config for this Gateway. Format: projects/{project}/locations/global/apis/{api}/configs/{apiConfig}
- create
Time string - Created time.
- default
Hostname string - The default API Gateway host name of the form
{gateway_id}-{hash}.{region_code}.gateway.dev. - display
Name 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.
- update
Time 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.
- api
Config String - Resource name of the API Config for this Gateway. Format: projects/{project}/locations/global/apis/{api}/configs/{apiConfig}
- create
Time String - Created time.
- default
Hostname String - The default API Gateway host name of the form
{gateway_id}-{hash}.{region_code}.gateway.dev. - display
Name 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.
- update
Time String - Updated time.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
