1. Packages
  2. Azure Native
  3. API Docs
  4. servicefabricmesh
  5. Gateway
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi

azure-native.servicefabricmesh.Gateway

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi

    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 (
    	"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: nil,
    			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=azure_native.servicefabricmesh.NetworkRefArgs(
            name="helloWorldNetwork",
        ),
        gateway_resource_name="sampleGateway",
        http=[azure_native.servicefabricmesh.HttpConfigArgs(
            hosts=[azure_native.servicefabricmesh.HttpHostConfigArgs(
                name="contoso.com",
                routes=[azure_native.servicefabricmesh.HttpRouteConfigArgs(
                    destination=azure_native.servicefabricmesh.GatewayDestinationArgs(
                        application_name="httpHelloWorldApp",
                        endpoint_name="indexHttpEndpoint",
                        service_name="indexService",
                    ),
                    match=azure_native.servicefabricmesh.HttpRouteMatchRuleArgs(
                        headers=[azure_native.servicefabricmesh.HttpRouteMatchHeaderArgs(
                            name="accept",
                            type=azure_native.servicefabricmesh.HeaderMatchType.EXACT,
                            value="application/json",
                        )],
                        path=azure_native.servicefabricmesh.HttpRouteMatchPathArgs(
                            rewrite="/",
                            type=azure_native.servicefabricmesh.PathMatchType.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=[azure_native.servicefabricmesh.TcpConfigArgs(
            destination=azure_native.servicefabricmesh.GatewayDestinationArgs(
                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.

    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=azure_native.servicefabricmesh.NetworkRefArgs(
            endpoint_refs=[azure_native.servicefabricmesh.EndpointRefArgs(
                name="string",
            )],
            name="string",
        ),
        resource_group_name="string",
        source_network=azure_native.servicefabricmesh.NetworkRefArgs(
            endpoint_refs=[azure_native.servicefabricmesh.EndpointRefArgs(
                name="string",
            )],
            name="string",
        ),
        description="string",
        gateway_resource_name="string",
        http=[azure_native.servicefabricmesh.HttpConfigArgs(
            hosts=[azure_native.servicefabricmesh.HttpHostConfigArgs(
                name="string",
                routes=[azure_native.servicefabricmesh.HttpRouteConfigArgs(
                    destination=azure_native.servicefabricmesh.GatewayDestinationArgs(
                        application_name="string",
                        endpoint_name="string",
                        service_name="string",
                    ),
                    match=azure_native.servicefabricmesh.HttpRouteMatchRuleArgs(
                        path=azure_native.servicefabricmesh.HttpRouteMatchPathArgs(
                            type="string",
                            value="string",
                            rewrite="string",
                        ),
                        headers=[azure_native.servicefabricmesh.HttpRouteMatchHeaderArgs(
                            name="string",
                            type="string",
                            value="string",
                        )],
                    ),
                    name="string",
                )],
            )],
            name="string",
            port=0,
        )],
        location="string",
        tags={
            "string": "string",
        },
        tcp=[azure_native.servicefabricmesh.TcpConfigArgs(
            destination=azure_native.servicefabricmesh.GatewayDestinationArgs(
                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

    The Gateway resource accepts the following input properties:

    DestinationNetwork Pulumi.AzureNative.ServiceFabricMesh.Inputs.NetworkRef
    Network that the Application is using.
    ResourceGroupName string
    Azure resource group name
    SourceNetwork Pulumi.AzureNative.ServiceFabricMesh.Inputs.NetworkRef
    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.HttpConfig>
    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.TcpConfig>
    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 NetworkRef
    Network that the Application is using.
    resourceGroupName String
    Azure resource group name
    sourceNetwork NetworkRef
    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<HttpConfig>
    Configuration for http connectivity for this gateway.
    location String
    The geo-location where the resource lives
    tags Map<String,String>
    Resource tags.
    tcp List<TcpConfig>
    Configuration for tcp connectivity for this gateway.
    destinationNetwork NetworkRef
    Network that the Application is using.
    resourceGroupName string
    Azure resource group name
    sourceNetwork NetworkRef
    Network the gateway should listen on for requests.
    description string
    User readable description of the gateway.
    gatewayResourceName string
    The identity of the gateway.
    http HttpConfig[]
    Configuration for http connectivity for this gateway.
    location string
    The geo-location where the resource lives
    tags {[key: string]: string}
    Resource tags.
    tcp TcpConfig[]
    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, 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

    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, GatewayDestinationResponseArgs

    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, HeaderMatchTypeArgs

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

    HttpConfig, HttpConfigArgs

    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, HttpConfigResponseArgs

    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, HttpHostConfigArgs

    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, HttpHostConfigResponseArgs

    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, HttpRouteConfigArgs

    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, HttpRouteConfigResponseArgs

    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, HttpRouteMatchHeaderArgs

    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, HttpRouteMatchHeaderResponseArgs

    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, HttpRouteMatchPathArgs

    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, HttpRouteMatchPathResponseArgs

    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, HttpRouteMatchRuleArgs

    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, HttpRouteMatchRuleResponseArgs

    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, NetworkRefArgs

    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, NetworkRefResponseArgs

    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, PathMatchTypeArgs

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

    TcpConfig, TcpConfigArgs

    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, TcpConfigResponseArgs

    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/{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
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi