1. Packages
  2. Azure Native
  3. API Docs
  4. servicefabricmesh
  5. getGateway
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.servicefabricmesh.getGateway

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

Gets the information about the gateway resource with the given name. The information include the description and other properties of the gateway.

Uses Azure REST API version 2018-09-01-preview.

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>
Copy
def get_gateway(gateway_resource_name: Optional[str] = None,
                resource_group_name: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetGatewayResult
def get_gateway_output(gateway_resource_name: Optional[pulumi.Input[str]] = None,
                resource_group_name: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetGatewayResult]
Copy
func LookupGateway(ctx *Context, args *LookupGatewayArgs, opts ...InvokeOption) (*LookupGatewayResult, error)
func LookupGatewayOutput(ctx *Context, args *LookupGatewayOutputArgs, opts ...InvokeOption) LookupGatewayResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetGatewayResult> getGateway(GetGatewayArgs args, InvokeOptions options)
public static Output<GetGatewayResult> getGateway(GetGatewayArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:servicefabricmesh:getGateway
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

GatewayResourceName
This property is required.
Changes to this property will trigger replacement.
string
The identity of the gateway.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Azure resource group name
GatewayResourceName
This property is required.
Changes to this property will trigger replacement.
string
The identity of the gateway.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Azure resource group name
gatewayResourceName
This property is required.
Changes to this property will trigger replacement.
String
The identity of the gateway.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Azure resource group name
gatewayResourceName
This property is required.
Changes to this property will trigger replacement.
string
The identity of the gateway.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Azure resource group name
gateway_resource_name
This property is required.
Changes to this property will trigger replacement.
str
The identity of the gateway.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
Azure resource group name
gatewayResourceName
This property is required.
Changes to this property will trigger replacement.
String
The identity of the gateway.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Azure resource group name

getGateway Result

The following output properties are available:

AzureApiVersion string
The Azure API version of the resource.
DestinationNetwork Pulumi.AzureNative.ServiceFabricMesh.Outputs.NetworkRefResponse
Network that the Application is using.
Id string
Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
IpAddress string
IP address of the gateway. This is populated in the response and is ignored for incoming requests.
Location string
The geo-location where the resource lives
Name string
The name of the resource
ProvisioningState string
State of the resource.
SourceNetwork Pulumi.AzureNative.ServiceFabricMesh.Outputs.NetworkRefResponse
Network the gateway should listen on for requests.
Status string
Status of the resource.
StatusDetails string
Gives additional information about the current status of the gateway.
Type string
The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
Description string
User readable description of the gateway.
Http List<Pulumi.AzureNative.ServiceFabricMesh.Outputs.HttpConfigResponse>
Configuration for http connectivity for this gateway.
Tags Dictionary<string, string>
Resource tags.
Tcp List<Pulumi.AzureNative.ServiceFabricMesh.Outputs.TcpConfigResponse>
Configuration for tcp connectivity for this gateway.
AzureApiVersion string
The Azure API version of the resource.
DestinationNetwork NetworkRefResponse
Network that the Application is using.
Id string
Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
IpAddress string
IP address of the gateway. This is populated in the response and is ignored for incoming requests.
Location string
The geo-location where the resource lives
Name string
The name of the resource
ProvisioningState string
State of the resource.
SourceNetwork NetworkRefResponse
Network the gateway should listen on for requests.
Status string
Status of the resource.
StatusDetails string
Gives additional information about the current status of the gateway.
Type string
The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
Description string
User readable description of the gateway.
Http []HttpConfigResponse
Configuration for http connectivity for this gateway.
Tags map[string]string
Resource tags.
Tcp []TcpConfigResponse
Configuration for tcp connectivity for this gateway.
azureApiVersion String
The Azure API version of the resource.
destinationNetwork NetworkRefResponse
Network that the Application is using.
id String
Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
ipAddress String
IP address of the gateway. This is populated in the response and is ignored for incoming requests.
location String
The geo-location where the resource lives
name String
The name of the resource
provisioningState String
State of the resource.
sourceNetwork NetworkRefResponse
Network the gateway should listen on for requests.
status String
Status of the resource.
statusDetails String
Gives additional information about the current status of the gateway.
type String
The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
description String
User readable description of the gateway.
http List<HttpConfigResponse>
Configuration for http connectivity for this gateway.
tags Map<String,String>
Resource tags.
tcp List<TcpConfigResponse>
Configuration for tcp connectivity for this gateway.
azureApiVersion string
The Azure API version of the resource.
destinationNetwork NetworkRefResponse
Network that the Application is using.
id string
Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
ipAddress string
IP address of the gateway. This is populated in the response and is ignored for incoming requests.
location string
The geo-location where the resource lives
name string
The name of the resource
provisioningState string
State of the resource.
sourceNetwork NetworkRefResponse
Network the gateway should listen on for requests.
status string
Status of the resource.
statusDetails string
Gives additional information about the current status of the gateway.
type string
The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
description string
User readable description of the gateway.
http HttpConfigResponse[]
Configuration for http connectivity for this gateway.
tags {[key: string]: string}
Resource tags.
tcp TcpConfigResponse[]
Configuration for tcp connectivity for this gateway.
azure_api_version str
The Azure API version of the resource.
destination_network NetworkRefResponse
Network that the Application is using.
id str
Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
ip_address str
IP address of the gateway. This is populated in the response and is ignored for incoming requests.
location str
The geo-location where the resource lives
name str
The name of the resource
provisioning_state str
State of the resource.
source_network NetworkRefResponse
Network the gateway should listen on for requests.
status str
Status of the resource.
status_details str
Gives additional information about the current status of the gateway.
type str
The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
description str
User readable description of the gateway.
http Sequence[HttpConfigResponse]
Configuration for http connectivity for this gateway.
tags Mapping[str, str]
Resource tags.
tcp Sequence[TcpConfigResponse]
Configuration for tcp connectivity for this gateway.
azureApiVersion String
The Azure API version of the resource.
destinationNetwork Property Map
Network that the Application is using.
id String
Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
ipAddress String
IP address of the gateway. This is populated in the response and is ignored for incoming requests.
location String
The geo-location where the resource lives
name String
The name of the resource
provisioningState String
State of the resource.
sourceNetwork Property Map
Network the gateway should listen on for requests.
status String
Status of the resource.
statusDetails String
Gives additional information about the current status of the gateway.
type String
The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
description String
User readable description of the gateway.
http List<Property Map>
Configuration for http connectivity for this gateway.
tags Map<String>
Resource tags.
tcp List<Property Map>
Configuration for tcp connectivity for this gateway.

Supporting Types

EndpointRefResponse

Name string
Name of the endpoint.
Name string
Name of the endpoint.
name String
Name of the endpoint.
name string
Name of the endpoint.
name str
Name of the endpoint.
name String
Name of the endpoint.

GatewayDestinationResponse

ApplicationName This property is required. string
Name of the service fabric Mesh application.
EndpointName This property is required. string
name of the endpoint in the service.
ServiceName This property is required. string
service that contains the endpoint.
ApplicationName This property is required. string
Name of the service fabric Mesh application.
EndpointName This property is required. string
name of the endpoint in the service.
ServiceName This property is required. string
service that contains the endpoint.
applicationName This property is required. String
Name of the service fabric Mesh application.
endpointName This property is required. String
name of the endpoint in the service.
serviceName This property is required. String
service that contains the endpoint.
applicationName This property is required. string
Name of the service fabric Mesh application.
endpointName This property is required. string
name of the endpoint in the service.
serviceName This property is required. string
service that contains the endpoint.
application_name This property is required. str
Name of the service fabric Mesh application.
endpoint_name This property is required. str
name of the endpoint in the service.
service_name This property is required. str
service that contains the endpoint.
applicationName This property is required. String
Name of the service fabric Mesh application.
endpointName This property is required. String
name of the endpoint in the service.
serviceName This property is required. String
service that contains the endpoint.

HttpConfigResponse

Hosts This property is required. List<Pulumi.AzureNative.ServiceFabricMesh.Inputs.HttpHostConfigResponse>
description for routing.
Name This property is required. string
http gateway config name.
Port This property is required. int
Specifies the port at which the service endpoint below needs to be exposed.
Hosts This property is required. []HttpHostConfigResponse
description for routing.
Name This property is required. string
http gateway config name.
Port This property is required. int
Specifies the port at which the service endpoint below needs to be exposed.
hosts This property is required. List<HttpHostConfigResponse>
description for routing.
name This property is required. String
http gateway config name.
port This property is required. Integer
Specifies the port at which the service endpoint below needs to be exposed.
hosts This property is required. HttpHostConfigResponse[]
description for routing.
name This property is required. string
http gateway config name.
port This property is required. number
Specifies the port at which the service endpoint below needs to be exposed.
hosts This property is required. Sequence[HttpHostConfigResponse]
description for routing.
name This property is required. str
http gateway config name.
port This property is required. int
Specifies the port at which the service endpoint below needs to be exposed.
hosts This property is required. List<Property Map>
description for routing.
name This property is required. String
http gateway config name.
port This property is required. Number
Specifies the port at which the service endpoint below needs to be exposed.

HttpHostConfigResponse

Name This property is required. string
http hostname config name.
Routes This property is required. List<Pulumi.AzureNative.ServiceFabricMesh.Inputs.HttpRouteConfigResponse>
Route information to use for routing. Routes are processed in the order they are specified. Specify routes that are more specific before routes that can handle general cases.
Name This property is required. string
http hostname config name.
Routes This property is required. []HttpRouteConfigResponse
Route information to use for routing. Routes are processed in the order they are specified. Specify routes that are more specific before routes that can handle general cases.
name This property is required. String
http hostname config name.
routes This property is required. List<HttpRouteConfigResponse>
Route information to use for routing. Routes are processed in the order they are specified. Specify routes that are more specific before routes that can handle general cases.
name This property is required. string
http hostname config name.
routes This property is required. HttpRouteConfigResponse[]
Route information to use for routing. Routes are processed in the order they are specified. Specify routes that are more specific before routes that can handle general cases.
name This property is required. str
http hostname config name.
routes This property is required. Sequence[HttpRouteConfigResponse]
Route information to use for routing. Routes are processed in the order they are specified. Specify routes that are more specific before routes that can handle general cases.
name This property is required. String
http hostname config name.
routes This property is required. List<Property Map>
Route information to use for routing. Routes are processed in the order they are specified. Specify routes that are more specific before routes that can handle general cases.

HttpRouteConfigResponse

Destination This property is required. Pulumi.AzureNative.ServiceFabricMesh.Inputs.GatewayDestinationResponse
Describes destination endpoint for routing traffic.
Match This property is required. Pulumi.AzureNative.ServiceFabricMesh.Inputs.HttpRouteMatchRuleResponse
Describes a rule for http route matching.
Name This property is required. string
http route name.
Destination This property is required. GatewayDestinationResponse
Describes destination endpoint for routing traffic.
Match This property is required. HttpRouteMatchRuleResponse
Describes a rule for http route matching.
Name This property is required. string
http route name.
destination This property is required. GatewayDestinationResponse
Describes destination endpoint for routing traffic.
match This property is required. HttpRouteMatchRuleResponse
Describes a rule for http route matching.
name This property is required. String
http route name.
destination This property is required. GatewayDestinationResponse
Describes destination endpoint for routing traffic.
match This property is required. HttpRouteMatchRuleResponse
Describes a rule for http route matching.
name This property is required. string
http route name.
destination This property is required. GatewayDestinationResponse
Describes destination endpoint for routing traffic.
match This property is required. HttpRouteMatchRuleResponse
Describes a rule for http route matching.
name This property is required. str
http route name.
destination This property is required. Property Map
Describes destination endpoint for routing traffic.
match This property is required. Property Map
Describes a rule for http route matching.
name This property is required. String
http route name.

HttpRouteMatchHeaderResponse

Name This property is required. string
Name of header to match in request.
Type string
how to match header value
Value string
Value of header to match in request.
Name This property is required. string
Name of header to match in request.
Type string
how to match header value
Value string
Value of header to match in request.
name This property is required. String
Name of header to match in request.
type String
how to match header value
value String
Value of header to match in request.
name This property is required. string
Name of header to match in request.
type string
how to match header value
value string
Value of header to match in request.
name This property is required. str
Name of header to match in request.
type str
how to match header value
value str
Value of header to match in request.
name This property is required. String
Name of header to match in request.
type String
how to match header value
value String
Value of header to match in request.

HttpRouteMatchPathResponse

Type This property is required. string
how to match value in the Uri
Value This property is required. string
Uri path to match for request.
Rewrite string
replacement string for matched part of the Uri.
Type This property is required. string
how to match value in the Uri
Value This property is required. string
Uri path to match for request.
Rewrite string
replacement string for matched part of the Uri.
type This property is required. String
how to match value in the Uri
value This property is required. String
Uri path to match for request.
rewrite String
replacement string for matched part of the Uri.
type This property is required. string
how to match value in the Uri
value This property is required. string
Uri path to match for request.
rewrite string
replacement string for matched part of the Uri.
type This property is required. str
how to match value in the Uri
value This property is required. str
Uri path to match for request.
rewrite str
replacement string for matched part of the Uri.
type This property is required. String
how to match value in the Uri
value This property is required. String
Uri path to match for request.
rewrite String
replacement string for matched part of the Uri.

HttpRouteMatchRuleResponse

Path This property is required. HttpRouteMatchPathResponse
Path to match for routing.
Headers []HttpRouteMatchHeaderResponse
headers and their values to match in request.
path This property is required. HttpRouteMatchPathResponse
Path to match for routing.
headers List<HttpRouteMatchHeaderResponse>
headers and their values to match in request.
path This property is required. HttpRouteMatchPathResponse
Path to match for routing.
headers HttpRouteMatchHeaderResponse[]
headers and their values to match in request.
path This property is required. HttpRouteMatchPathResponse
Path to match for routing.
headers Sequence[HttpRouteMatchHeaderResponse]
headers and their values to match in request.
path This property is required. Property Map
Path to match for routing.
headers List<Property Map>
headers and their values to match in request.

NetworkRefResponse

EndpointRefs List<Pulumi.AzureNative.ServiceFabricMesh.Inputs.EndpointRefResponse>
A list of endpoints that are exposed on this network.
Name string
Name of the network
EndpointRefs []EndpointRefResponse
A list of endpoints that are exposed on this network.
Name string
Name of the network
endpointRefs List<EndpointRefResponse>
A list of endpoints that are exposed on this network.
name String
Name of the network
endpointRefs EndpointRefResponse[]
A list of endpoints that are exposed on this network.
name string
Name of the network
endpoint_refs Sequence[EndpointRefResponse]
A list of endpoints that are exposed on this network.
name str
Name of the network
endpointRefs List<Property Map>
A list of endpoints that are exposed on this network.
name String
Name of the network

TcpConfigResponse

Destination This property is required. Pulumi.AzureNative.ServiceFabricMesh.Inputs.GatewayDestinationResponse
Describes destination endpoint for routing traffic.
Name This property is required. string
tcp gateway config name.
Port This property is required. int
Specifies the port at which the service endpoint below needs to be exposed.
Destination This property is required. GatewayDestinationResponse
Describes destination endpoint for routing traffic.
Name This property is required. string
tcp gateway config name.
Port This property is required. int
Specifies the port at which the service endpoint below needs to be exposed.
destination This property is required. GatewayDestinationResponse
Describes destination endpoint for routing traffic.
name This property is required. String
tcp gateway config name.
port This property is required. Integer
Specifies the port at which the service endpoint below needs to be exposed.
destination This property is required. GatewayDestinationResponse
Describes destination endpoint for routing traffic.
name This property is required. string
tcp gateway config name.
port This property is required. number
Specifies the port at which the service endpoint below needs to be exposed.
destination This property is required. GatewayDestinationResponse
Describes destination endpoint for routing traffic.
name This property is required. str
tcp gateway config name.
port This property is required. int
Specifies the port at which the service endpoint below needs to be exposed.
destination This property is required. Property Map
Describes destination endpoint for routing traffic.
name This property is required. String
tcp gateway config name.
port This property is required. Number
Specifies the port at which the service endpoint below needs to be exposed.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi