azure-native.servicefabricmesh.Gateway
Explore with Pulumi AI
This type describes a gateway resource. Azure REST API version: 2018-09-01-preview. Prior API version in Azure Native 1.x: 2018-09-01-preview.
Example Usage
CreateOrUpdateGateway
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var gateway = new AzureNative.ServiceFabricMesh.Gateway("gateway", new()
{
Description = "Service Fabric Mesh sample gateway.",
DestinationNetwork = new AzureNative.ServiceFabricMesh.Inputs.NetworkRefArgs
{
Name = "helloWorldNetwork",
},
GatewayResourceName = "sampleGateway",
Http = new[]
{
new AzureNative.ServiceFabricMesh.Inputs.HttpConfigArgs
{
Hosts = new[]
{
new AzureNative.ServiceFabricMesh.Inputs.HttpHostConfigArgs
{
Name = "contoso.com",
Routes = new[]
{
new AzureNative.ServiceFabricMesh.Inputs.HttpRouteConfigArgs
{
Destination = new AzureNative.ServiceFabricMesh.Inputs.GatewayDestinationArgs
{
ApplicationName = "httpHelloWorldApp",
EndpointName = "indexHttpEndpoint",
ServiceName = "indexService",
},
Match = new AzureNative.ServiceFabricMesh.Inputs.HttpRouteMatchRuleArgs
{
Headers = new[]
{
new AzureNative.ServiceFabricMesh.Inputs.HttpRouteMatchHeaderArgs
{
Name = "accept",
Type = AzureNative.ServiceFabricMesh.HeaderMatchType.Exact,
Value = "application/json",
},
},
Path = new AzureNative.ServiceFabricMesh.Inputs.HttpRouteMatchPathArgs
{
Rewrite = "/",
Type = AzureNative.ServiceFabricMesh.PathMatchType.Prefix,
Value = "/index",
},
},
Name = "index",
},
},
},
},
Name = "contosoWebsite",
Port = 8081,
},
},
Location = "EastUS",
ResourceGroupName = "sbz_demo",
SourceNetwork = new AzureNative.ServiceFabricMesh.Inputs.NetworkRefArgs
{
Name = "Open",
},
Tags = null,
Tcp = new[]
{
new AzureNative.ServiceFabricMesh.Inputs.TcpConfigArgs
{
Destination = new AzureNative.ServiceFabricMesh.Inputs.GatewayDestinationArgs
{
ApplicationName = "helloWorldApp",
EndpointName = "helloWorldListener",
ServiceName = "helloWorldService",
},
Name = "web",
Port = 80,
},
},
});
});
package main
import (
servicefabricmesh "github.com/pulumi/pulumi-azure-native-sdk/servicefabricmesh/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := servicefabricmesh.NewGateway(ctx, "gateway", &servicefabricmesh.GatewayArgs{
Description: pulumi.String("Service Fabric Mesh sample gateway."),
DestinationNetwork: &servicefabricmesh.NetworkRefArgs{
Name: pulumi.String("helloWorldNetwork"),
},
GatewayResourceName: pulumi.String("sampleGateway"),
Http: servicefabricmesh.HttpConfigArray{
&servicefabricmesh.HttpConfigArgs{
Hosts: servicefabricmesh.HttpHostConfigArray{
&servicefabricmesh.HttpHostConfigArgs{
Name: pulumi.String("contoso.com"),
Routes: servicefabricmesh.HttpRouteConfigArray{
&servicefabricmesh.HttpRouteConfigArgs{
Destination: &servicefabricmesh.GatewayDestinationArgs{
ApplicationName: pulumi.String("httpHelloWorldApp"),
EndpointName: pulumi.String("indexHttpEndpoint"),
ServiceName: pulumi.String("indexService"),
},
Match: &servicefabricmesh.HttpRouteMatchRuleArgs{
Headers: servicefabricmesh.HttpRouteMatchHeaderArray{
&servicefabricmesh.HttpRouteMatchHeaderArgs{
Name: pulumi.String("accept"),
Type: pulumi.String(servicefabricmesh.HeaderMatchTypeExact),
Value: pulumi.String("application/json"),
},
},
Path: &servicefabricmesh.HttpRouteMatchPathArgs{
Rewrite: pulumi.String("/"),
Type: pulumi.String(servicefabricmesh.PathMatchTypePrefix),
Value: pulumi.String("/index"),
},
},
Name: pulumi.String("index"),
},
},
},
},
Name: pulumi.String("contosoWebsite"),
Port: pulumi.Int(8081),
},
},
Location: pulumi.String("EastUS"),
ResourceGroupName: pulumi.String("sbz_demo"),
SourceNetwork: &servicefabricmesh.NetworkRefArgs{
Name: pulumi.String("Open"),
},
Tags: pulumi.StringMap{},
Tcp: servicefabricmesh.TcpConfigArray{
&servicefabricmesh.TcpConfigArgs{
Destination: &servicefabricmesh.GatewayDestinationArgs{
ApplicationName: pulumi.String("helloWorldApp"),
EndpointName: pulumi.String("helloWorldListener"),
ServiceName: pulumi.String("helloWorldService"),
},
Name: pulumi.String("web"),
Port: pulumi.Int(80),
},
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.servicefabricmesh.Gateway;
import com.pulumi.azurenative.servicefabricmesh.GatewayArgs;
import com.pulumi.azurenative.servicefabricmesh.inputs.NetworkRefArgs;
import com.pulumi.azurenative.servicefabricmesh.inputs.HttpConfigArgs;
import com.pulumi.azurenative.servicefabricmesh.inputs.TcpConfigArgs;
import com.pulumi.azurenative.servicefabricmesh.inputs.GatewayDestinationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var gateway = new Gateway("gateway", GatewayArgs.builder()
.description("Service Fabric Mesh sample gateway.")
.destinationNetwork(NetworkRefArgs.builder()
.name("helloWorldNetwork")
.build())
.gatewayResourceName("sampleGateway")
.http(HttpConfigArgs.builder()
.hosts(HttpHostConfigArgs.builder()
.name("contoso.com")
.routes(HttpRouteConfigArgs.builder()
.destination(GatewayDestinationArgs.builder()
.applicationName("httpHelloWorldApp")
.endpointName("indexHttpEndpoint")
.serviceName("indexService")
.build())
.match(HttpRouteMatchRuleArgs.builder()
.headers(HttpRouteMatchHeaderArgs.builder()
.name("accept")
.type("exact")
.value("application/json")
.build())
.path(HttpRouteMatchPathArgs.builder()
.rewrite("/")
.type("prefix")
.value("/index")
.build())
.build())
.name("index")
.build())
.build())
.name("contosoWebsite")
.port(8081)
.build())
.location("EastUS")
.resourceGroupName("sbz_demo")
.sourceNetwork(NetworkRefArgs.builder()
.name("Open")
.build())
.tags()
.tcp(TcpConfigArgs.builder()
.destination(GatewayDestinationArgs.builder()
.applicationName("helloWorldApp")
.endpointName("helloWorldListener")
.serviceName("helloWorldService")
.build())
.name("web")
.port(80)
.build())
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
gateway = azure_native.servicefabricmesh.Gateway("gateway",
description="Service Fabric Mesh sample gateway.",
destination_network={
"name": "helloWorldNetwork",
},
gateway_resource_name="sampleGateway",
http=[{
"hosts": [{
"name": "contoso.com",
"routes": [{
"destination": {
"application_name": "httpHelloWorldApp",
"endpoint_name": "indexHttpEndpoint",
"service_name": "indexService",
},
"match": {
"headers": [{
"name": "accept",
"type": azure_native.servicefabricmesh.HeaderMatchType.EXACT,
"value": "application/json",
}],
"path": {
"rewrite": "/",
"type": azure_native.servicefabricmesh.PathMatchType.PREFIX,
"value": "/index",
},
},
"name": "index",
}],
}],
"name": "contosoWebsite",
"port": 8081,
}],
location="EastUS",
resource_group_name="sbz_demo",
source_network={
"name": "Open",
},
tags={},
tcp=[{
"destination": {
"application_name": "helloWorldApp",
"endpoint_name": "helloWorldListener",
"service_name": "helloWorldService",
},
"name": "web",
"port": 80,
}])
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const gateway = new azure_native.servicefabricmesh.Gateway("gateway", {
description: "Service Fabric Mesh sample gateway.",
destinationNetwork: {
name: "helloWorldNetwork",
},
gatewayResourceName: "sampleGateway",
http: [{
hosts: [{
name: "contoso.com",
routes: [{
destination: {
applicationName: "httpHelloWorldApp",
endpointName: "indexHttpEndpoint",
serviceName: "indexService",
},
match: {
headers: [{
name: "accept",
type: azure_native.servicefabricmesh.HeaderMatchType.Exact,
value: "application/json",
}],
path: {
rewrite: "/",
type: azure_native.servicefabricmesh.PathMatchType.Prefix,
value: "/index",
},
},
name: "index",
}],
}],
name: "contosoWebsite",
port: 8081,
}],
location: "EastUS",
resourceGroupName: "sbz_demo",
sourceNetwork: {
name: "Open",
},
tags: {},
tcp: [{
destination: {
applicationName: "helloWorldApp",
endpointName: "helloWorldListener",
serviceName: "helloWorldService",
},
name: "web",
port: 80,
}],
});
resources:
gateway:
type: azure-native:servicefabricmesh:Gateway
properties:
description: Service Fabric Mesh sample gateway.
destinationNetwork:
name: helloWorldNetwork
gatewayResourceName: sampleGateway
http:
- hosts:
- name: contoso.com
routes:
- destination:
applicationName: httpHelloWorldApp
endpointName: indexHttpEndpoint
serviceName: indexService
match:
headers:
- name: accept
type: exact
value: application/json
path:
rewrite: /
type: prefix
value: /index
name: index
name: contosoWebsite
port: 8081
location: EastUS
resourceGroupName: sbz_demo
sourceNetwork:
name: Open
tags: {}
tcp:
- destination:
applicationName: helloWorldApp
endpointName: helloWorldListener
serviceName: helloWorldService
name: web
port: 80
Create Gateway Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Gateway(name: string, args: GatewayArgs, opts?: CustomResourceOptions);
@overload
def Gateway(resource_name: str,
args: GatewayArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Gateway(resource_name: str,
opts: Optional[ResourceOptions] = None,
destination_network: Optional[NetworkRefArgs] = None,
resource_group_name: Optional[str] = None,
source_network: Optional[NetworkRefArgs] = None,
description: Optional[str] = None,
gateway_resource_name: Optional[str] = None,
http: Optional[Sequence[HttpConfigArgs]] = None,
location: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tcp: Optional[Sequence[TcpConfigArgs]] = None)
func NewGateway(ctx *Context, name string, args GatewayArgs, opts ...ResourceOption) (*Gateway, error)
public Gateway(string name, GatewayArgs args, CustomResourceOptions? opts = null)
public Gateway(String name, GatewayArgs args)
public Gateway(String name, GatewayArgs args, CustomResourceOptions options)
type: azure-native:servicefabricmesh:Gateway
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args GatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args GatewayArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args GatewayArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GatewayArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var examplegatewayResourceResourceFromServicefabricmesh = new AzureNative.ServiceFabricMesh.Gateway("examplegatewayResourceResourceFromServicefabricmesh", new()
{
DestinationNetwork = new AzureNative.ServiceFabricMesh.Inputs.NetworkRefArgs
{
EndpointRefs = new[]
{
new AzureNative.ServiceFabricMesh.Inputs.EndpointRefArgs
{
Name = "string",
},
},
Name = "string",
},
ResourceGroupName = "string",
SourceNetwork = new AzureNative.ServiceFabricMesh.Inputs.NetworkRefArgs
{
EndpointRefs = new[]
{
new AzureNative.ServiceFabricMesh.Inputs.EndpointRefArgs
{
Name = "string",
},
},
Name = "string",
},
Description = "string",
GatewayResourceName = "string",
Http = new[]
{
new AzureNative.ServiceFabricMesh.Inputs.HttpConfigArgs
{
Hosts = new[]
{
new AzureNative.ServiceFabricMesh.Inputs.HttpHostConfigArgs
{
Name = "string",
Routes = new[]
{
new AzureNative.ServiceFabricMesh.Inputs.HttpRouteConfigArgs
{
Destination = new AzureNative.ServiceFabricMesh.Inputs.GatewayDestinationArgs
{
ApplicationName = "string",
EndpointName = "string",
ServiceName = "string",
},
Match = new AzureNative.ServiceFabricMesh.Inputs.HttpRouteMatchRuleArgs
{
Path = new AzureNative.ServiceFabricMesh.Inputs.HttpRouteMatchPathArgs
{
Type = "string",
Value = "string",
Rewrite = "string",
},
Headers = new[]
{
new AzureNative.ServiceFabricMesh.Inputs.HttpRouteMatchHeaderArgs
{
Name = "string",
Type = "string",
Value = "string",
},
},
},
Name = "string",
},
},
},
},
Name = "string",
Port = 0,
},
},
Location = "string",
Tags =
{
{ "string", "string" },
},
Tcp = new[]
{
new AzureNative.ServiceFabricMesh.Inputs.TcpConfigArgs
{
Destination = new AzureNative.ServiceFabricMesh.Inputs.GatewayDestinationArgs
{
ApplicationName = "string",
EndpointName = "string",
ServiceName = "string",
},
Name = "string",
Port = 0,
},
},
});
example, err := servicefabricmesh.NewGateway(ctx, "examplegatewayResourceResourceFromServicefabricmesh", &servicefabricmesh.GatewayArgs{
DestinationNetwork: &servicefabricmesh.NetworkRefArgs{
EndpointRefs: servicefabricmesh.EndpointRefArray{
&servicefabricmesh.EndpointRefArgs{
Name: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
},
ResourceGroupName: pulumi.String("string"),
SourceNetwork: &servicefabricmesh.NetworkRefArgs{
EndpointRefs: servicefabricmesh.EndpointRefArray{
&servicefabricmesh.EndpointRefArgs{
Name: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
},
Description: pulumi.String("string"),
GatewayResourceName: pulumi.String("string"),
Http: servicefabricmesh.HttpConfigArray{
&servicefabricmesh.HttpConfigArgs{
Hosts: servicefabricmesh.HttpHostConfigArray{
&servicefabricmesh.HttpHostConfigArgs{
Name: pulumi.String("string"),
Routes: servicefabricmesh.HttpRouteConfigArray{
&servicefabricmesh.HttpRouteConfigArgs{
Destination: &servicefabricmesh.GatewayDestinationArgs{
ApplicationName: pulumi.String("string"),
EndpointName: pulumi.String("string"),
ServiceName: pulumi.String("string"),
},
Match: &servicefabricmesh.HttpRouteMatchRuleArgs{
Path: &servicefabricmesh.HttpRouteMatchPathArgs{
Type: pulumi.String("string"),
Value: pulumi.String("string"),
Rewrite: pulumi.String("string"),
},
Headers: servicefabricmesh.HttpRouteMatchHeaderArray{
&servicefabricmesh.HttpRouteMatchHeaderArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
Name: pulumi.String("string"),
},
},
},
},
Name: pulumi.String("string"),
Port: pulumi.Int(0),
},
},
Location: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Tcp: servicefabricmesh.TcpConfigArray{
&servicefabricmesh.TcpConfigArgs{
Destination: &servicefabricmesh.GatewayDestinationArgs{
ApplicationName: pulumi.String("string"),
EndpointName: pulumi.String("string"),
ServiceName: pulumi.String("string"),
},
Name: pulumi.String("string"),
Port: pulumi.Int(0),
},
},
})
var examplegatewayResourceResourceFromServicefabricmesh = new Gateway("examplegatewayResourceResourceFromServicefabricmesh", GatewayArgs.builder()
.destinationNetwork(NetworkRefArgs.builder()
.endpointRefs(EndpointRefArgs.builder()
.name("string")
.build())
.name("string")
.build())
.resourceGroupName("string")
.sourceNetwork(NetworkRefArgs.builder()
.endpointRefs(EndpointRefArgs.builder()
.name("string")
.build())
.name("string")
.build())
.description("string")
.gatewayResourceName("string")
.http(HttpConfigArgs.builder()
.hosts(HttpHostConfigArgs.builder()
.name("string")
.routes(HttpRouteConfigArgs.builder()
.destination(GatewayDestinationArgs.builder()
.applicationName("string")
.endpointName("string")
.serviceName("string")
.build())
.match(HttpRouteMatchRuleArgs.builder()
.path(HttpRouteMatchPathArgs.builder()
.type("string")
.value("string")
.rewrite("string")
.build())
.headers(HttpRouteMatchHeaderArgs.builder()
.name("string")
.type("string")
.value("string")
.build())
.build())
.name("string")
.build())
.build())
.name("string")
.port(0)
.build())
.location("string")
.tags(Map.of("string", "string"))
.tcp(TcpConfigArgs.builder()
.destination(GatewayDestinationArgs.builder()
.applicationName("string")
.endpointName("string")
.serviceName("string")
.build())
.name("string")
.port(0)
.build())
.build());
examplegateway_resource_resource_from_servicefabricmesh = azure_native.servicefabricmesh.Gateway("examplegatewayResourceResourceFromServicefabricmesh",
destination_network={
"endpoint_refs": [{
"name": "string",
}],
"name": "string",
},
resource_group_name="string",
source_network={
"endpoint_refs": [{
"name": "string",
}],
"name": "string",
},
description="string",
gateway_resource_name="string",
http=[{
"hosts": [{
"name": "string",
"routes": [{
"destination": {
"application_name": "string",
"endpoint_name": "string",
"service_name": "string",
},
"match": {
"path": {
"type": "string",
"value": "string",
"rewrite": "string",
},
"headers": [{
"name": "string",
"type": "string",
"value": "string",
}],
},
"name": "string",
}],
}],
"name": "string",
"port": 0,
}],
location="string",
tags={
"string": "string",
},
tcp=[{
"destination": {
"application_name": "string",
"endpoint_name": "string",
"service_name": "string",
},
"name": "string",
"port": 0,
}])
const examplegatewayResourceResourceFromServicefabricmesh = new azure_native.servicefabricmesh.Gateway("examplegatewayResourceResourceFromServicefabricmesh", {
destinationNetwork: {
endpointRefs: [{
name: "string",
}],
name: "string",
},
resourceGroupName: "string",
sourceNetwork: {
endpointRefs: [{
name: "string",
}],
name: "string",
},
description: "string",
gatewayResourceName: "string",
http: [{
hosts: [{
name: "string",
routes: [{
destination: {
applicationName: "string",
endpointName: "string",
serviceName: "string",
},
match: {
path: {
type: "string",
value: "string",
rewrite: "string",
},
headers: [{
name: "string",
type: "string",
value: "string",
}],
},
name: "string",
}],
}],
name: "string",
port: 0,
}],
location: "string",
tags: {
string: "string",
},
tcp: [{
destination: {
applicationName: "string",
endpointName: "string",
serviceName: "string",
},
name: "string",
port: 0,
}],
});
type: azure-native:servicefabricmesh:Gateway
properties:
description: string
destinationNetwork:
endpointRefs:
- name: string
name: string
gatewayResourceName: string
http:
- hosts:
- name: string
routes:
- destination:
applicationName: string
endpointName: string
serviceName: string
match:
headers:
- name: string
type: string
value: string
path:
rewrite: string
type: string
value: string
name: string
name: string
port: 0
location: string
resourceGroupName: string
sourceNetwork:
endpointRefs:
- name: string
name: string
tags:
string: string
tcp:
- destination:
applicationName: string
endpointName: string
serviceName: string
name: string
port: 0
Gateway Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Gateway resource accepts the following input properties:
- Destination
Network Pulumi.Azure Native. Service Fabric Mesh. Inputs. Network Ref - Network that the Application is using.
- Resource
Group stringName - Azure resource group name
- Source
Network Pulumi.Azure Native. Service Fabric Mesh. Inputs. Network Ref - Network the gateway should listen on for requests.
- Description string
- User readable description of the gateway.
- Gateway
Resource stringName - The identity of the gateway.
- Http
List<Pulumi.
Azure Native. Service Fabric Mesh. Inputs. Http Config> - Configuration for http connectivity for this gateway.
- Location string
- The geo-location where the resource lives
- Dictionary<string, string>
- Resource tags.
- Tcp
List<Pulumi.
Azure Native. Service Fabric Mesh. Inputs. Tcp Config> - Configuration for tcp connectivity for this gateway.
- Destination
Network NetworkRef Args - Network that the Application is using.
- Resource
Group stringName - Azure resource group name
- Source
Network NetworkRef Args - Network the gateway should listen on for requests.
- Description string
- User readable description of the gateway.
- Gateway
Resource stringName - The identity of the gateway.
- Http
[]Http
Config Args - Configuration for http connectivity for this gateway.
- Location string
- The geo-location where the resource lives
- map[string]string
- Resource tags.
- Tcp
[]Tcp
Config Args - Configuration for tcp connectivity for this gateway.
- destination
Network NetworkRef - Network that the Application is using.
- resource
Group StringName - Azure resource group name
- source
Network NetworkRef - Network the gateway should listen on for requests.
- description String
- User readable description of the gateway.
- gateway
Resource StringName - The identity of the gateway.
- http
List<Http
Config> - Configuration for http connectivity for this gateway.
- location String
- The geo-location where the resource lives
- Map<String,String>
- Resource tags.
- tcp
List<Tcp
Config> - Configuration for tcp connectivity for this gateway.
- destination
Network NetworkRef - Network that the Application is using.
- resource
Group stringName - Azure resource group name
- source
Network NetworkRef - Network the gateway should listen on for requests.
- description string
- User readable description of the gateway.
- gateway
Resource stringName - The identity of the gateway.
- http
Http
Config[] - Configuration for http connectivity for this gateway.
- location string
- The geo-location where the resource lives
- {[key: string]: string}
- Resource tags.
- tcp
Tcp
Config[] - Configuration for tcp connectivity for this gateway.
- destination_
network NetworkRef Args - Network that the Application is using.
- resource_
group_ strname - Azure resource group name
- source_
network NetworkRef Args - Network the gateway should listen on for requests.
- description str
- User readable description of the gateway.
- gateway_
resource_ strname - The identity of the gateway.
- http
Sequence[Http
Config Args] - Configuration for http connectivity for this gateway.
- location str
- The geo-location where the resource lives
- Mapping[str, str]
- Resource tags.
- tcp
Sequence[Tcp
Config Args] - Configuration for tcp connectivity for this gateway.
- destination
Network Property Map - Network that the Application is using.
- resource
Group StringName - Azure resource group name
- source
Network Property Map - Network the gateway should listen on for requests.
- description String
- User readable description of the gateway.
- gateway
Resource StringName - The identity of the gateway.
- http List<Property Map>
- Configuration for http connectivity for this gateway.
- location String
- The geo-location where the resource lives
- Map<String>
- Resource tags.
- tcp List<Property Map>
- Configuration for tcp connectivity for this gateway.
Outputs
All input properties are implicitly available as output properties. Additionally, the Gateway resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip
Address string - IP address of the gateway. This is populated in the response and is ignored for incoming requests.
- Name string
- The name of the resource
- Provisioning
State string - State of the resource.
- 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip
Address string - IP address of the gateway. This is populated in the response and is ignored for incoming requests.
- Name string
- The name of the resource
- Provisioning
State string - State of the resource.
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
- ip
Address String - IP address of the gateway. This is populated in the response and is ignored for incoming requests.
- name String
- The name of the resource
- provisioning
State String - State of the resource.
- 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.
- id string
- The provider-assigned unique ID for this managed resource.
- ip
Address string - IP address of the gateway. This is populated in the response and is ignored for incoming requests.
- name string
- The name of the resource
- provisioning
State string - State of the resource.
- 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.
- id str
- The provider-assigned unique ID for this managed resource.
- ip_
address str - IP address of the gateway. This is populated in the response and is ignored for incoming requests.
- name str
- The name of the resource
- provisioning_
state str - State of the resource.
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
- ip
Address String - IP address of the gateway. This is populated in the response and is ignored for incoming requests.
- name String
- The name of the resource
- provisioning
State String - State of the resource.
- 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.
Supporting Types
EndpointRef, EndpointRefArgs
- 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.
EndpointRefResponse, EndpointRefResponseArgs
- 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.
GatewayDestination, GatewayDestinationArgs
- 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.
GatewayDestinationResponse, GatewayDestinationResponseArgs
- 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.
HeaderMatchType, HeaderMatchTypeArgs
- Exact
- exact
- Header
Match Type Exact - exact
- Exact
- exact
- Exact
- exact
- EXACT
- exact
- "exact"
- exact
HttpConfig, HttpConfigArgs
- Hosts
List<Pulumi.
Azure Native. Service Fabric Mesh. Inputs. Http Host Config> - 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 - 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> - 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[] - 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] - 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.
HttpConfigResponse, HttpConfigResponseArgs
- 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.
HttpHostConfig, HttpHostConfigArgs
- Name string
- http hostname config name.
- Routes
List<Pulumi.
Azure Native. Service Fabric Mesh. Inputs. Http Route Config> - 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 - 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> - 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[] - 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] - 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.
HttpHostConfigResponse, HttpHostConfigResponseArgs
- 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.
HttpRouteConfig, HttpRouteConfigArgs
- Destination
Pulumi.
Azure Native. Service Fabric Mesh. Inputs. Gateway Destination - Describes destination endpoint for routing traffic.
- Match
Pulumi.
Azure Native. Service Fabric Mesh. Inputs. Http Route Match Rule - Describes a rule for http route matching.
- Name string
- http route name.
- Destination
Gateway
Destination - Describes destination endpoint for routing traffic.
- Match
Http
Route Match Rule - Describes a rule for http route matching.
- Name string
- http route name.
- destination
Gateway
Destination - Describes destination endpoint for routing traffic.
- match
Http
Route Match Rule - Describes a rule for http route matching.
- name String
- http route name.
- destination
Gateway
Destination - Describes destination endpoint for routing traffic.
- match
Http
Route Match Rule - Describes a rule for http route matching.
- name string
- http route name.
- destination
Gateway
Destination - Describes destination endpoint for routing traffic.
- match
Http
Route Match Rule - 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.
HttpRouteConfigResponse, HttpRouteConfigResponseArgs
- 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.
HttpRouteMatchHeader, HttpRouteMatchHeaderArgs
- Name string
- Name of header to match in request.
- Type
string | Pulumi.
Azure Native. Service Fabric Mesh. Header Match Type - how to match header value
- Value string
- Value of header to match in request.
- Name string
- Name of header to match in request.
- Type
string | Header
Match Type - how to match header value
- Value string
- Value of header to match in request.
- name String
- Name of header to match in request.
- type
String | Header
Match Type - how to match header value
- value String
- Value of header to match in request.
- name string
- Name of header to match in request.
- type
string | Header
Match Type - how to match header value
- value string
- Value of header to match in request.
- name str
- Name of header to match in request.
- type
str | Header
Match Type - how to match header value
- value str
- Value of header to match in request.
HttpRouteMatchHeaderResponse, HttpRouteMatchHeaderResponseArgs
HttpRouteMatchPath, HttpRouteMatchPathArgs
- Type
string | Pulumi.
Azure Native. Service Fabric Mesh. Path Match Type - how to match value in the Uri
- Value string
- Uri path to match for request.
- Rewrite string
- replacement string for matched part of the Uri.
- Type
string | Path
Match Type - how to match value in the Uri
- Value string
- Uri path to match for request.
- Rewrite string
- replacement string for matched part of the Uri.
- type
String | Path
Match Type - how to match value in the Uri
- value String
- Uri path to match for request.
- rewrite String
- replacement string for matched part of the Uri.
- type
string | Path
Match Type - how to match value in the Uri
- value string
- Uri path to match for request.
- rewrite string
- replacement string for matched part of the Uri.
- type
str | Path
Match Type - how to match value in the Uri
- value str
- Uri path to match for request.
- rewrite str
- replacement string for matched part of the Uri.
HttpRouteMatchPathResponse, HttpRouteMatchPathResponseArgs
HttpRouteMatchRule, HttpRouteMatchRuleArgs
- Path
Pulumi.
Azure Native. Service Fabric Mesh. Inputs. Http Route Match Path - Path to match for routing.
- Headers
List<Pulumi.
Azure Native. Service Fabric Mesh. Inputs. Http Route Match Header> - headers and their values to match in request.
- Path
Http
Route Match Path - Path to match for routing.
- Headers
[]Http
Route Match Header - headers and their values to match in request.
- path
Http
Route Match Path - Path to match for routing.
- headers
List<Http
Route Match Header> - headers and their values to match in request.
- path
Http
Route Match Path - Path to match for routing.
- headers
Http
Route Match Header[] - headers and their values to match in request.
- path
Http
Route Match Path - Path to match for routing.
- headers
Sequence[Http
Route Match Header] - 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.
HttpRouteMatchRuleResponse, HttpRouteMatchRuleResponseArgs
- 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.
NetworkRef, NetworkRefArgs
- Endpoint
Refs List<Pulumi.Azure Native. Service Fabric Mesh. Inputs. Endpoint Ref> - A list of endpoints that are exposed on this network.
- Name string
- Name of the network
- Endpoint
Refs []EndpointRef - A list of endpoints that are exposed on this network.
- Name string
- Name of the network
- endpoint
Refs List<EndpointRef> - A list of endpoints that are exposed on this network.
- name String
- Name of the network
- endpoint
Refs EndpointRef[] - A list of endpoints that are exposed on this network.
- name string
- Name of the network
- endpoint_
refs Sequence[EndpointRef] - 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
NetworkRefResponse, NetworkRefResponseArgs
- 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
PathMatchType, PathMatchTypeArgs
- Prefix
- prefix
- Path
Match Type Prefix - prefix
- Prefix
- prefix
- Prefix
- prefix
- PREFIX
- prefix
- "prefix"
- prefix
TcpConfig, TcpConfigArgs
- Destination
Pulumi.
Azure Native. Service Fabric Mesh. Inputs. Gateway Destination - 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 - 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 - 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 - 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 - 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.
TcpConfigResponse, TcpConfigResponseArgs
- 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.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:servicefabricmesh:Gateway sampleGateway /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/gateways/{gatewayResourceName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0