azure-native.servicefabricmesh.Gateway

This type describes a gateway resource. API Version: 2018-09-01-preview.

Example Usage

CreateOrUpdateGateway

using System.Collections.Generic;
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 = "exact",
                                            Value = "application/json",
                                        },
                                    },
                                    Path = new AzureNative.ServiceFabricMesh.Inputs.HttpRouteMatchPathArgs
                                    {
                                        Rewrite = "/",
                                        Type = "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/go/azure/servicefabricmesh"
	"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.HttpConfigArgs{
				{
					Hosts: []servicefabricmesh.HttpHostConfigArgs{
						{
							Name: pulumi.String("contoso.com"),
							Routes: []servicefabricmesh.HttpRouteConfigArgs{
								{
									Destination: {
										ApplicationName: pulumi.String("httpHelloWorldApp"),
										EndpointName:    pulumi.String("indexHttpEndpoint"),
										ServiceName:     pulumi.String("indexService"),
									},
									Match: {
										Headers: servicefabricmesh.HttpRouteMatchHeaderArray{
											{
												Name:  pulumi.String("accept"),
												Type:  pulumi.String("exact"),
												Value: pulumi.String("application/json"),
											},
										},
										Path: {
											Rewrite: pulumi.String("/"),
											Type:    pulumi.String("prefix"),
											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: nil,
			Tcp: []servicefabricmesh.TcpConfigArgs{
				{
					Destination: {
						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 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(Map.of("name", "helloWorldNetwork"))
            .gatewayResourceName("sampleGateway")
            .http(Map.ofEntries(
                Map.entry("hosts", Map.ofEntries(
                    Map.entry("name", "contoso.com"),
                    Map.entry("routes", Map.ofEntries(
                        Map.entry("destination", Map.ofEntries(
                            Map.entry("applicationName", "httpHelloWorldApp"),
                            Map.entry("endpointName", "indexHttpEndpoint"),
                            Map.entry("serviceName", "indexService")
                        )),
                        Map.entry("match", Map.ofEntries(
                            Map.entry("headers", Map.ofEntries(
                                Map.entry("name", "accept"),
                                Map.entry("type", "exact"),
                                Map.entry("value", "application/json")
                            )),
                            Map.entry("path", Map.ofEntries(
                                Map.entry("rewrite", "/"),
                                Map.entry("type", "prefix"),
                                Map.entry("value", "/index")
                            ))
                        )),
                        Map.entry("name", "index")
                    ))
                )),
                Map.entry("name", "contosoWebsite"),
                Map.entry("port", 8081)
            ))
            .location("EastUS")
            .resourceGroupName("sbz_demo")
            .sourceNetwork(Map.of("name", "Open"))
            .tags()
            .tcp(Map.ofEntries(
                Map.entry("destination", Map.ofEntries(
                    Map.entry("applicationName", "helloWorldApp"),
                    Map.entry("endpointName", "helloWorldListener"),
                    Map.entry("serviceName", "helloWorldService")
                )),
                Map.entry("name", "web"),
                Map.entry("port", 80)
            ))
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

gateway = azure_native.servicefabricmesh.Gateway("gateway",
    description="Service Fabric Mesh sample gateway.",
    destination_network=azure_native.servicefabricmesh.NetworkRefArgs(
        name="helloWorldNetwork",
    ),
    gateway_resource_name="sampleGateway",
    http=[{
        "hosts": [{
            "name": "contoso.com",
            "routes": [{
                "destination": {
                    "applicationName": "httpHelloWorldApp",
                    "endpointName": "indexHttpEndpoint",
                    "serviceName": "indexService",
                },
                "match": {
                    "headers": [azure_native.servicefabricmesh.HttpRouteMatchHeaderArgs(
                        name="accept",
                        type="exact",
                        value="application/json",
                    )],
                    "path": {
                        "rewrite": "/",
                        "type": "prefix",
                        "value": "/index",
                    },
                },
                "name": "index",
            }],
        }],
        "name": "contosoWebsite",
        "port": 8081,
    }],
    location="EastUS",
    resource_group_name="sbz_demo",
    source_network=azure_native.servicefabricmesh.NetworkRefArgs(
        name="Open",
    ),
    tags={},
    tcp=[{
        "destination": {
            "applicationName": "helloWorldApp",
            "endpointName": "helloWorldListener",
            "serviceName": "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: "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,
    }],
});
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

new Gateway(name: string, args: GatewayArgs, opts?: CustomResourceOptions);
@overload
def Gateway(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            destination_network: Optional[NetworkRefArgs] = None,
            gateway_resource_name: Optional[str] = None,
            http: Optional[Sequence[HttpConfigArgs]] = None,
            location: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            source_network: Optional[NetworkRefArgs] = None,
            tags: Optional[Mapping[str, str]] = None,
            tcp: Optional[Sequence[TcpConfigArgs]] = None)
@overload
def Gateway(resource_name: str,
            args: GatewayArgs,
            opts: Optional[ResourceOptions] = 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.

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.

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

The Gateway resource accepts the following input properties:

DestinationNetwork Pulumi.AzureNative.ServiceFabricMesh.Inputs.NetworkRefArgs

Network that the Application is using.

ResourceGroupName string

Azure resource group name

SourceNetwork Pulumi.AzureNative.ServiceFabricMesh.Inputs.NetworkRefArgs

Network the gateway should listen on for requests.

Description string

User readable description of the gateway.

GatewayResourceName string

The identity of the gateway.

Http List<Pulumi.AzureNative.ServiceFabricMesh.Inputs.HttpConfigArgs>

Configuration for http connectivity for this gateway.

Location string

The geo-location where the resource lives

Tags Dictionary<string, string>

Resource tags.

Tcp List<Pulumi.AzureNative.ServiceFabricMesh.Inputs.TcpConfigArgs>

Configuration for tcp connectivity for this gateway.

DestinationNetwork NetworkRefArgs

Network that the Application is using.

ResourceGroupName string

Azure resource group name

SourceNetwork NetworkRefArgs

Network the gateway should listen on for requests.

Description string

User readable description of the gateway.

GatewayResourceName string

The identity of the gateway.

Http []HttpConfigArgs

Configuration for http connectivity for this gateway.

Location string

The geo-location where the resource lives

Tags map[string]string

Resource tags.

Tcp []TcpConfigArgs

Configuration for tcp connectivity for this gateway.

destinationNetwork NetworkRefArgs

Network that the Application is using.

resourceGroupName String

Azure resource group name

sourceNetwork NetworkRefArgs

Network the gateway should listen on for requests.

description String

User readable description of the gateway.

gatewayResourceName String

The identity of the gateway.

http List<HttpConfigArgs>

Configuration for http connectivity for this gateway.

location String

The geo-location where the resource lives

tags Map<String,String>

Resource tags.

tcp List<TcpConfigArgs>

Configuration for tcp connectivity for this gateway.

destinationNetwork NetworkRefArgs

Network that the Application is using.

resourceGroupName string

Azure resource group name

sourceNetwork NetworkRefArgs

Network the gateway should listen on for requests.

description string

User readable description of the gateway.

gatewayResourceName string

The identity of the gateway.

http HttpConfigArgs[]

Configuration for http connectivity for this gateway.

location string

The geo-location where the resource lives

tags {[key: string]: string}

Resource tags.

tcp TcpConfigArgs[]

Configuration for tcp connectivity for this gateway.

destination_network NetworkRefArgs

Network that the Application is using.

resource_group_name str

Azure resource group name

source_network NetworkRefArgs

Network the gateway should listen on for requests.

description str

User readable description of the gateway.

gateway_resource_name str

The identity of the gateway.

http Sequence[HttpConfigArgs]

Configuration for http connectivity for this gateway.

location str

The geo-location where the resource lives

tags Mapping[str, str]

Resource tags.

tcp Sequence[TcpConfigArgs]

Configuration for tcp connectivity for this gateway.

destinationNetwork Property Map

Network that the Application is using.

resourceGroupName String

Azure resource group name

sourceNetwork Property Map

Network the gateway should listen on for requests.

description String

User readable description of the gateway.

gatewayResourceName String

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

tags 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.

IpAddress 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

ProvisioningState string

State of the resource.

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.

Id string

The provider-assigned unique ID for this managed resource.

IpAddress 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

ProvisioningState string

State of the resource.

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.

id String

The provider-assigned unique ID for this managed resource.

ipAddress 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

provisioningState String

State of the resource.

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.

id string

The provider-assigned unique ID for this managed resource.

ipAddress 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

provisioningState string

State of the resource.

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.

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.

ipAddress 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

provisioningState String

State of the resource.

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.

Supporting Types

EndpointRef

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

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

ApplicationName string

Name of the service fabric Mesh application.

EndpointName string

name of the endpoint in the service.

ServiceName string

service that contains the endpoint.

ApplicationName string

Name of the service fabric Mesh application.

EndpointName string

name of the endpoint in the service.

ServiceName string

service that contains the endpoint.

applicationName String

Name of the service fabric Mesh application.

endpointName String

name of the endpoint in the service.

serviceName String

service that contains the endpoint.

applicationName string

Name of the service fabric Mesh application.

endpointName string

name of the endpoint in the service.

serviceName 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.

applicationName String

Name of the service fabric Mesh application.

endpointName String

name of the endpoint in the service.

serviceName String

service that contains the endpoint.

GatewayDestinationResponse

ApplicationName string

Name of the service fabric Mesh application.

EndpointName string

name of the endpoint in the service.

ServiceName string

service that contains the endpoint.

ApplicationName string

Name of the service fabric Mesh application.

EndpointName string

name of the endpoint in the service.

ServiceName string

service that contains the endpoint.

applicationName String

Name of the service fabric Mesh application.

endpointName String

name of the endpoint in the service.

serviceName String

service that contains the endpoint.

applicationName string

Name of the service fabric Mesh application.

endpointName string

name of the endpoint in the service.

serviceName 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.

applicationName String

Name of the service fabric Mesh application.

endpointName String

name of the endpoint in the service.

serviceName String

service that contains the endpoint.

HeaderMatchType

Exact
exact
HeaderMatchTypeExact
exact
Exact
exact
Exact
exact
EXACT
exact
"exact"
exact

HttpConfig

Hosts List<Pulumi.AzureNative.ServiceFabricMesh.Inputs.HttpHostConfig>

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 []HttpHostConfig

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<HttpHostConfig>

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 HttpHostConfig[]

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[HttpHostConfig]

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

Hosts List<Pulumi.AzureNative.ServiceFabricMesh.Inputs.HttpHostConfigResponse>

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 []HttpHostConfigResponse

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<HttpHostConfigResponse>

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 HttpHostConfigResponse[]

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[HttpHostConfigResponse]

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

Name string

http hostname config name.

Routes List<Pulumi.AzureNative.ServiceFabricMesh.Inputs.HttpRouteConfig>

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 []HttpRouteConfig

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<HttpRouteConfig>

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 HttpRouteConfig[]

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[HttpRouteConfig]

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

Name string

http hostname config name.

Routes 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 string

http hostname config name.

Routes []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 String

http hostname config name.

routes 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 string

http hostname config name.

routes 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 str

http hostname config name.

routes 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 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

Destination Pulumi.AzureNative.ServiceFabricMesh.Inputs.GatewayDestination

Describes destination endpoint for routing traffic.

Match Pulumi.AzureNative.ServiceFabricMesh.Inputs.HttpRouteMatchRule

Describes a rule for http route matching.

Name string

http route name.

Destination GatewayDestination

Describes destination endpoint for routing traffic.

Match HttpRouteMatchRule

Describes a rule for http route matching.

Name string

http route name.

destination GatewayDestination

Describes destination endpoint for routing traffic.

match HttpRouteMatchRule

Describes a rule for http route matching.

name String

http route name.

destination GatewayDestination

Describes destination endpoint for routing traffic.

match HttpRouteMatchRule

Describes a rule for http route matching.

name string

http route name.

destination GatewayDestination

Describes destination endpoint for routing traffic.

match HttpRouteMatchRule

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

Destination Pulumi.AzureNative.ServiceFabricMesh.Inputs.GatewayDestinationResponse

Describes destination endpoint for routing traffic.

Match Pulumi.AzureNative.ServiceFabricMesh.Inputs.HttpRouteMatchRuleResponse

Describes a rule for http route matching.

Name string

http route name.

Destination GatewayDestinationResponse

Describes destination endpoint for routing traffic.

Match HttpRouteMatchRuleResponse

Describes a rule for http route matching.

Name string

http route name.

destination GatewayDestinationResponse

Describes destination endpoint for routing traffic.

match HttpRouteMatchRuleResponse

Describes a rule for http route matching.

name String

http route name.

destination GatewayDestinationResponse

Describes destination endpoint for routing traffic.

match HttpRouteMatchRuleResponse

Describes a rule for http route matching.

name string

http route name.

destination GatewayDestinationResponse

Describes destination endpoint for routing traffic.

match HttpRouteMatchRuleResponse

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

Name string

Name of header to match in request.

Type string | Pulumi.AzureNative.ServiceFabricMesh.HeaderMatchType

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 | HeaderMatchType

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 | HeaderMatchType

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 | HeaderMatchType

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 | HeaderMatchType

how to match header value

value str

Value of header to match in request.

name String

Name of header to match in request.

type String | "exact"

how to match header value

value String

Value of header to match in request.

HttpRouteMatchHeaderResponse

Name 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 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 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 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 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 String

Name of header to match in request.

type String

how to match header value

value String

Value of header to match in request.

HttpRouteMatchPath

Type string | Pulumi.AzureNative.ServiceFabricMesh.PathMatchType

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 | PathMatchType

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 | PathMatchType

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 | PathMatchType

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 | PathMatchType

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.

type String | "prefix"

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.

HttpRouteMatchPathResponse

Type string

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

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

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

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

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.

type String

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.

HttpRouteMatchRule

Path HttpRouteMatchPath

Path to match for routing.

Headers []HttpRouteMatchHeader

headers and their values to match in request.

path HttpRouteMatchPath

Path to match for routing.

headers List<HttpRouteMatchHeader>

headers and their values to match in request.

path HttpRouteMatchPath

Path to match for routing.

headers HttpRouteMatchHeader[]

headers and their values to match in request.

path HttpRouteMatchPath

Path to match for routing.

headers Sequence[HttpRouteMatchHeader]

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

Path HttpRouteMatchPathResponse

Path to match for routing.

Headers []HttpRouteMatchHeaderResponse

headers and their values to match in request.

path HttpRouteMatchPathResponse

Path to match for routing.

headers List<HttpRouteMatchHeaderResponse>

headers and their values to match in request.

path HttpRouteMatchPathResponse

Path to match for routing.

headers HttpRouteMatchHeaderResponse[]

headers and their values to match in request.

path HttpRouteMatchPathResponse

Path to match for routing.

headers Sequence[HttpRouteMatchHeaderResponse]

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

EndpointRefs List<Pulumi.AzureNative.ServiceFabricMesh.Inputs.EndpointRef>

A list of endpoints that are exposed on this network.

Name string

Name of the network

EndpointRefs []EndpointRef

A list of endpoints that are exposed on this network.

Name string

Name of the network

endpointRefs List<EndpointRef>

A list of endpoints that are exposed on this network.

name String

Name of the network

endpointRefs 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

endpointRefs List<Property Map>

A list of endpoints that are exposed on this network.

name String

Name of the network

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

PathMatchType

Prefix
prefix
PathMatchTypePrefix
prefix
Prefix
prefix
Prefix
prefix
PREFIX
prefix
"prefix"
prefix

TcpConfig

Destination Pulumi.AzureNative.ServiceFabricMesh.Inputs.GatewayDestination

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 GatewayDestination

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 GatewayDestination

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 GatewayDestination

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 GatewayDestination

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

Destination Pulumi.AzureNative.ServiceFabricMesh.Inputs.GatewayDestinationResponse

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 GatewayDestinationResponse

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 GatewayDestinationResponse

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 GatewayDestinationResponse

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 GatewayDestinationResponse

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/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/gateways/sampleGateway 

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0