azure-native.servicefabricmesh.getGateway
Gets the information about the gateway resource with the given name. The information include the description and other properties of the gateway. 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>
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]
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: azure-native:servicefabricmesh:getGateway
arguments:
# arguments dictionary
The following arguments are supported:
- Gateway
Resource stringName The identity of the gateway.
- Resource
Group stringName Azure resource group name
- Gateway
Resource stringName The identity of the gateway.
- Resource
Group stringName Azure resource group name
- gateway
Resource StringName The identity of the gateway.
- resource
Group StringName Azure resource group name
- gateway
Resource stringName The identity of the gateway.
- resource
Group stringName Azure resource group name
- gateway_
resource_ strname The identity of the gateway.
- resource_
group_ strname Azure resource group name
- gateway
Resource StringName The identity of the gateway.
- resource
Group StringName Azure resource group name
getGateway Result
The following output properties are available:
- Destination
Network Pulumi.Azure Native. Service Fabric Mesh. Outputs. Network Ref Response Network that the Application is using.
- Id string
Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Ip
Address 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
- Provisioning
State string State of the resource.
- Source
Network Pulumi.Azure Native. Service Fabric Mesh. Outputs. Network Ref Response Network the gateway should listen on for requests.
- Status string
Status of the resource.
- Status
Details 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.
Azure Native. Service Fabric Mesh. Outputs. Http Config Response> Configuration for http connectivity for this gateway.
- Dictionary<string, string>
Resource tags.
- Tcp
List<Pulumi.
Azure Native. Service Fabric Mesh. Outputs. Tcp Config Response> Configuration for tcp connectivity for this gateway.
- Destination
Network NetworkRef Response Network that the Application is using.
- Id string
Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Ip
Address 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
- Provisioning
State string State of the resource.
- Source
Network NetworkRef Response Network the gateway should listen on for requests.
- Status string
Status of the resource.
- Status
Details 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
[]Http
Config Response Configuration for http connectivity for this gateway.
- map[string]string
Resource tags.
- Tcp
[]Tcp
Config Response Configuration for tcp connectivity for this gateway.
- destination
Network NetworkRef Response Network that the Application is using.
- id String
Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- ip
Address 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
- provisioning
State String State of the resource.
- source
Network NetworkRef Response Network the gateway should listen on for requests.
- status String
Status of the resource.
- status
Details 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<Http
Config Response> Configuration for http connectivity for this gateway.
- Map<String,String>
Resource tags.
- tcp
List<Tcp
Config Response> Configuration for tcp connectivity for this gateway.
- destination
Network NetworkRef Response Network that the Application is using.
- id string
Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- ip
Address 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
- provisioning
State string State of the resource.
- source
Network NetworkRef Response Network the gateway should listen on for requests.
- status string
Status of the resource.
- status
Details 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
Http
Config Response[] Configuration for http connectivity for this gateway.
- {[key: string]: string}
Resource tags.
- tcp
Tcp
Config Response[] Configuration for tcp connectivity for this gateway.
- destination_
network NetworkRef Response 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 NetworkRef Response 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[Http
Config Response] Configuration for http connectivity for this gateway.
- Mapping[str, str]
Resource tags.
- tcp
Sequence[Tcp
Config Response] Configuration for tcp connectivity for this gateway.
- destination
Network 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}
- ip
Address 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
- provisioning
State String State of the resource.
- source
Network Property Map Network the gateway should listen on for requests.
- status String
Status of the resource.
- status
Details 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.
- 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
- Application
Name string Name of the service fabric Mesh application.
- Endpoint
Name string name of the endpoint in the service.
- Service
Name string service that contains the endpoint.
- Application
Name string Name of the service fabric Mesh application.
- Endpoint
Name string name of the endpoint in the service.
- Service
Name string service that contains the endpoint.
- application
Name String Name of the service fabric Mesh application.
- endpoint
Name String name of the endpoint in the service.
- service
Name String service that contains the endpoint.
- application
Name string Name of the service fabric Mesh application.
- endpoint
Name string name of the endpoint in the service.
- service
Name string service that contains the endpoint.
- application_
name str Name of the service fabric Mesh application.
- endpoint_
name str name of the endpoint in the service.
- service_
name str service that contains the endpoint.
- application
Name String Name of the service fabric Mesh application.
- endpoint
Name String name of the endpoint in the service.
- service
Name String service that contains the endpoint.
HttpConfigResponse
- Hosts
List<Pulumi.
Azure Native. Service Fabric Mesh. Inputs. Http Host Config Response> description for routing.
- Name string
http gateway config name.
- Port int
Specifies the port at which the service endpoint below needs to be exposed.
- Hosts
[]Http
Host Config Response description for routing.
- Name string
http gateway config name.
- Port int
Specifies the port at which the service endpoint below needs to be exposed.
- hosts
List<Http
Host Config Response> description for routing.
- name String
http gateway config name.
- port Integer
Specifies the port at which the service endpoint below needs to be exposed.
- hosts
Http
Host Config Response[] description for routing.
- name string
http gateway config name.
- port number
Specifies the port at which the service endpoint below needs to be exposed.
- hosts
Sequence[Http
Host Config Response] description for routing.
- name str
http gateway config name.
- port int
Specifies the port at which the service endpoint below needs to be exposed.
- hosts List<Property Map>
description for routing.
- name String
http gateway config name.
- port Number
Specifies the port at which the service endpoint below needs to be exposed.
HttpHostConfigResponse
- Name string
http hostname config name.
- Routes
List<Pulumi.
Azure Native. Service Fabric Mesh. Inputs. Http Route Config Response> 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 string
http hostname config name.
- Routes
[]Http
Route Config Response 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 String
http hostname config name.
- routes
List<Http
Route Config Response> 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 string
http hostname config name.
- routes
Http
Route Config Response[] 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 str
http hostname config name.
- routes
Sequence[Http
Route Config Response] 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 String
http hostname config name.
- routes 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
Pulumi.
Azure Native. Service Fabric Mesh. Inputs. Gateway Destination Response Describes destination endpoint for routing traffic.
- Match
Pulumi.
Azure Native. Service Fabric Mesh. Inputs. Http Route Match Rule Response Describes a rule for http route matching.
- Name string
http route name.
- Destination
Gateway
Destination Response Describes destination endpoint for routing traffic.
- Match
Http
Route Match Rule Response Describes a rule for http route matching.
- Name string
http route name.
- destination
Gateway
Destination Response Describes destination endpoint for routing traffic.
- match
Http
Route Match Rule Response Describes a rule for http route matching.
- name String
http route name.
- destination
Gateway
Destination Response Describes destination endpoint for routing traffic.
- match
Http
Route Match Rule Response Describes a rule for http route matching.
- name string
http route name.
- destination
Gateway
Destination Response Describes destination endpoint for routing traffic.
- match
Http
Route Match Rule Response Describes a rule for http route matching.
- name str
http route name.
- destination Property Map
Describes destination endpoint for routing traffic.
- match Property Map
Describes a rule for http route matching.
- name String
http route name.
HttpRouteMatchHeaderResponse
HttpRouteMatchPathResponse
HttpRouteMatchRuleResponse
- Path
Pulumi.
Azure Native. Service Fabric Mesh. Inputs. Http Route Match Path Response Path to match for routing.
- Headers
List<Pulumi.
Azure Native. Service Fabric Mesh. Inputs. Http Route Match Header Response> headers and their values to match in request.
- Path
Http
Route Match Path Response Path to match for routing.
- Headers
[]Http
Route Match Header Response headers and their values to match in request.
- path
Http
Route Match Path Response Path to match for routing.
- headers
List<Http
Route Match Header Response> headers and their values to match in request.
- path
Http
Route Match Path Response Path to match for routing.
- headers
Http
Route Match Header Response[] headers and their values to match in request.
- path
Http
Route Match Path Response Path to match for routing.
- headers
Sequence[Http
Route Match Header Response] headers and their values to match in request.
- path Property Map
Path to match for routing.
- headers List<Property Map>
headers and their values to match in request.
NetworkRefResponse
- Endpoint
Refs List<Pulumi.Azure Native. Service Fabric Mesh. Inputs. Endpoint Ref Response> A list of endpoints that are exposed on this network.
- Name string
Name of the network
- Endpoint
Refs []EndpointRef Response A list of endpoints that are exposed on this network.
- Name string
Name of the network
- endpoint
Refs List<EndpointRef Response> A list of endpoints that are exposed on this network.
- name String
Name of the network
- endpoint
Refs EndpointRef Response[] A list of endpoints that are exposed on this network.
- name string
Name of the network
- endpoint_
refs Sequence[EndpointRef Response] A list of endpoints that are exposed on this network.
- name str
Name of the network
- endpoint
Refs List<Property Map> A list of endpoints that are exposed on this network.
- name String
Name of the network
TcpConfigResponse
- Destination
Pulumi.
Azure Native. Service Fabric Mesh. Inputs. Gateway Destination Response Describes destination endpoint for routing traffic.
- Name string
tcp gateway config name.
- Port int
Specifies the port at which the service endpoint below needs to be exposed.
- Destination
Gateway
Destination Response Describes destination endpoint for routing traffic.
- Name string
tcp gateway config name.
- Port int
Specifies the port at which the service endpoint below needs to be exposed.
- destination
Gateway
Destination Response Describes destination endpoint for routing traffic.
- name String
tcp gateway config name.
- port Integer
Specifies the port at which the service endpoint below needs to be exposed.
- destination
Gateway
Destination Response Describes destination endpoint for routing traffic.
- name string
tcp gateway config name.
- port number
Specifies the port at which the service endpoint below needs to be exposed.
- destination
Gateway
Destination Response Describes destination endpoint for routing traffic.
- name str
tcp gateway config name.
- port int
Specifies the port at which the service endpoint below needs to be exposed.
- destination Property Map
Describes destination endpoint for routing traffic.
- name String
tcp gateway config name.
- port 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