azure-native.servicefabricmesh.Gateway
Explore with Pulumi AI
This type describes a gateway resource. API Version: 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 = "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/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.HttpHostConfigArray{
						{
							Name: pulumi.String("contoso.com"),
							Routes: servicefabricmesh.HttpRouteConfigArray{
								{
									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 * 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,
    }],
});
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": azure_native.servicefabricmesh.GatewayDestinationArgs(
                    application_name="httpHelloWorldApp",
                    endpoint_name="indexHttpEndpoint",
                    service_name="indexService",
                ),
                "match": {
                    "headers": [azure_native.servicefabricmesh.HttpRouteMatchHeaderArgs(
                        name="accept",
                        type="exact",
                        value="application/json",
                    )],
                    "path": azure_native.servicefabricmesh.HttpRouteMatchPathArgs(
                        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": azure_native.servicefabricmesh.GatewayDestinationArgs(
            application_name="helloWorldApp",
            endpoint_name="helloWorldListener",
            service_name="helloWorldService",
        ),
        "name": "web",
        "port": 80,
    }])
resources:
  gateway:
    type: azure-native:servicefabricmesh:Gateway
    properties:
      description: Service Fabric Mesh sample gateway.
      destinationNetwork:
        name: helloWorldNetwork
      gatewayResourceName: sampleGateway
      http:
        - hosts:
            - name: contoso.com
              routes:
                - destination:
                    applicationName: httpHelloWorldApp
                    endpointName: indexHttpEndpoint
                    serviceName: indexService
                  match:
                    headers:
                      - name: accept
                        type: exact
                        value: application/json
                    path:
                      rewrite: /
                      type: prefix
                      value: /index
                  name: index
          name: contosoWebsite
          port: 8081
      location: EastUS
      resourceGroupName: sbz_demo
      sourceNetwork:
        name: Open
      tags: {}
      tcp:
        - destination:
            applicationName: helloWorldApp
            endpointName: helloWorldListener
            serviceName: helloWorldService
          name: web
          port: 80
Create Gateway Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Gateway(name: string, args: GatewayArgs, opts?: CustomResourceOptions);@overload
def Gateway(resource_name: str,
            args: GatewayArgs,
            opts: Optional[ResourceOptions] = None)
@overload
def Gateway(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            destination_network: Optional[NetworkRefArgs] = None,
            resource_group_name: Optional[str] = None,
            source_network: Optional[NetworkRefArgs] = None,
            description: Optional[str] = None,
            gateway_resource_name: Optional[str] = None,
            http: Optional[Sequence[HttpConfigArgs]] = None,
            location: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            tcp: Optional[Sequence[TcpConfigArgs]] = None)func NewGateway(ctx *Context, name string, args GatewayArgs, opts ...ResourceOption) (*Gateway, error)public Gateway(string name, GatewayArgs args, CustomResourceOptions? opts = null)
public Gateway(String name, GatewayArgs args)
public Gateway(String name, GatewayArgs args, CustomResourceOptions options)
type: azure-native:servicefabricmesh:Gateway
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args GatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args GatewayArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args GatewayArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GatewayArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var examplegatewayResourceResourceFromServicefabricmesh = new AzureNative.Servicefabricmesh.Gateway("examplegatewayResourceResourceFromServicefabricmesh", new()
{
    DestinationNetwork = 
    {
        { "endpointRefs", new[]
        {
            
            {
                { "name", "string" },
            },
        } },
        { "name", "string" },
    },
    ResourceGroupName = "string",
    SourceNetwork = 
    {
        { "endpointRefs", new[]
        {
            
            {
                { "name", "string" },
            },
        } },
        { "name", "string" },
    },
    Description = "string",
    GatewayResourceName = "string",
    Http = new[]
    {
        
        {
            { "hosts", new[]
            {
                
                {
                    { "name", "string" },
                    { "routes", new[]
                    {
                        
                        {
                            { "destination", 
                            {
                                { "applicationName", "string" },
                                { "endpointName", "string" },
                                { "serviceName", "string" },
                            } },
                            { "match", 
                            {
                                { "path", 
                                {
                                    { "type", "string" },
                                    { "value", "string" },
                                    { "rewrite", "string" },
                                } },
                                { "headers", new[]
                                {
                                    
                                    {
                                        { "name", "string" },
                                        { "type", "string" },
                                        { "value", "string" },
                                    },
                                } },
                            } },
                            { "name", "string" },
                        },
                    } },
                },
            } },
            { "name", "string" },
            { "port", 0 },
        },
    },
    Location = "string",
    Tags = 
    {
        { "string", "string" },
    },
    Tcp = new[]
    {
        
        {
            { "destination", 
            {
                { "applicationName", "string" },
                { "endpointName", "string" },
                { "serviceName", "string" },
            } },
            { "name", "string" },
            { "port", 0 },
        },
    },
});
example, err := servicefabricmesh.NewGateway(ctx, "examplegatewayResourceResourceFromServicefabricmesh", &servicefabricmesh.GatewayArgs{
	DestinationNetwork: map[string]interface{}{
		"endpointRefs": []map[string]interface{}{
			map[string]interface{}{
				"name": "string",
			},
		},
		"name": "string",
	},
	ResourceGroupName: "string",
	SourceNetwork: map[string]interface{}{
		"endpointRefs": []map[string]interface{}{
			map[string]interface{}{
				"name": "string",
			},
		},
		"name": "string",
	},
	Description:         "string",
	GatewayResourceName: "string",
	Http: []map[string]interface{}{
		map[string]interface{}{
			"hosts": []map[string]interface{}{
				map[string]interface{}{
					"name": "string",
					"routes": []map[string]interface{}{
						map[string]interface{}{
							"destination": map[string]interface{}{
								"applicationName": "string",
								"endpointName":    "string",
								"serviceName":     "string",
							},
							"match": map[string]interface{}{
								"path": map[string]interface{}{
									"type":    "string",
									"value":   "string",
									"rewrite": "string",
								},
								"headers": []map[string]interface{}{
									map[string]interface{}{
										"name":  "string",
										"type":  "string",
										"value": "string",
									},
								},
							},
							"name": "string",
						},
					},
				},
			},
			"name": "string",
			"port": 0,
		},
	},
	Location: "string",
	Tags: map[string]interface{}{
		"string": "string",
	},
	Tcp: []map[string]interface{}{
		map[string]interface{}{
			"destination": map[string]interface{}{
				"applicationName": "string",
				"endpointName":    "string",
				"serviceName":     "string",
			},
			"name": "string",
			"port": 0,
		},
	},
})
var examplegatewayResourceResourceFromServicefabricmesh = new Gateway("examplegatewayResourceResourceFromServicefabricmesh", GatewayArgs.builder()
    .destinationNetwork(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .resourceGroupName("string")
    .sourceNetwork(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .description("string")
    .gatewayResourceName("string")
    .http(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .location("string")
    .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .tcp(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .build());
examplegateway_resource_resource_from_servicefabricmesh = azure_native.servicefabricmesh.Gateway("examplegatewayResourceResourceFromServicefabricmesh",
    destination_network={
        endpointRefs: [{
            name: string,
        }],
        name: string,
    },
    resource_group_name=string,
    source_network={
        endpointRefs: [{
            name: string,
        }],
        name: string,
    },
    description=string,
    gateway_resource_name=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,
    }])
const examplegatewayResourceResourceFromServicefabricmesh = new azure_native.servicefabricmesh.Gateway("examplegatewayResourceResourceFromServicefabricmesh", {
    destinationNetwork: {
        endpointRefs: [{
            name: "string",
        }],
        name: "string",
    },
    resourceGroupName: "string",
    sourceNetwork: {
        endpointRefs: [{
            name: "string",
        }],
        name: "string",
    },
    description: "string",
    gatewayResourceName: "string",
    http: [{
        hosts: [{
            name: "string",
            routes: [{
                destination: {
                    applicationName: "string",
                    endpointName: "string",
                    serviceName: "string",
                },
                match: {
                    path: {
                        type: "string",
                        value: "string",
                        rewrite: "string",
                    },
                    headers: [{
                        name: "string",
                        type: "string",
                        value: "string",
                    }],
                },
                name: "string",
            }],
        }],
        name: "string",
        port: 0,
    }],
    location: "string",
    tags: {
        string: "string",
    },
    tcp: [{
        destination: {
            applicationName: "string",
            endpointName: "string",
            serviceName: "string",
        },
        name: "string",
        port: 0,
    }],
});
type: azure-native:servicefabricmesh:Gateway
properties:
    description: string
    destinationNetwork:
        endpointRefs:
            - name: string
        name: string
    gatewayResourceName: string
    http:
        - hosts:
            - name: string
              routes:
                - destination:
                    applicationName: string
                    endpointName: string
                    serviceName: string
                  match:
                    headers:
                        - name: string
                          type: string
                          value: string
                    path:
                        rewrite: string
                        type: string
                        value: string
                  name: string
          name: string
          port: 0
    location: string
    resourceGroupName: string
    sourceNetwork:
        endpointRefs:
            - name: string
        name: string
    tags:
        string: string
    tcp:
        - destination:
            applicationName: string
            endpointName: string
            serviceName: string
          name: string
          port: 0
Gateway Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Gateway resource accepts the following input properties:
- DestinationNetwork Pulumi.Azure Native. Service Fabric Mesh. Inputs. Network Ref 
- Network that the Application is using.
- ResourceGroup stringName 
- Azure resource group name
- SourceNetwork Pulumi.Azure Native. Service Fabric Mesh. Inputs. Network Ref 
- Network the gateway should listen on for requests.
- Description string
- User readable description of the gateway.
- GatewayResource stringName 
- The identity of the gateway.
- Http
List<Pulumi.Azure Native. Service Fabric Mesh. Inputs. Http Config> 
- Configuration for http connectivity for this gateway.
- Location string
- The geo-location where the resource lives
- Dictionary<string, string>
- Resource tags.
- Tcp
List<Pulumi.Azure Native. Service Fabric Mesh. Inputs. Tcp Config> 
- Configuration for tcp connectivity for this gateway.
- DestinationNetwork NetworkRef Args 
- Network that the Application is using.
- ResourceGroup stringName 
- Azure resource group name
- SourceNetwork NetworkRef Args 
- Network the gateway should listen on for requests.
- Description string
- User readable description of the gateway.
- GatewayResource stringName 
- The identity of the gateway.
- Http
[]HttpConfig Args 
- Configuration for http connectivity for this gateway.
- Location string
- The geo-location where the resource lives
- map[string]string
- Resource tags.
- Tcp
[]TcpConfig Args 
- Configuration for tcp connectivity for this gateway.
- destinationNetwork NetworkRef 
- Network that the Application is using.
- resourceGroup StringName 
- Azure resource group name
- sourceNetwork NetworkRef 
- Network the gateway should listen on for requests.
- description String
- User readable description of the gateway.
- gatewayResource StringName 
- The identity of the gateway.
- http
List<HttpConfig> 
- Configuration for http connectivity for this gateway.
- location String
- The geo-location where the resource lives
- Map<String,String>
- Resource tags.
- tcp
List<TcpConfig> 
- Configuration for tcp connectivity for this gateway.
- destinationNetwork NetworkRef 
- Network that the Application is using.
- resourceGroup stringName 
- Azure resource group name
- sourceNetwork NetworkRef 
- Network the gateway should listen on for requests.
- description string
- User readable description of the gateway.
- gatewayResource stringName 
- The identity of the gateway.
- http
HttpConfig[] 
- Configuration for http connectivity for this gateway.
- location string
- The geo-location where the resource lives
- {[key: string]: string}
- Resource tags.
- tcp
TcpConfig[] 
- Configuration for tcp connectivity for this gateway.
- destination_network NetworkRef Args 
- Network that the Application is using.
- resource_group_ strname 
- Azure resource group name
- source_network NetworkRef Args 
- Network the gateway should listen on for requests.
- description str
- User readable description of the gateway.
- gateway_resource_ strname 
- The identity of the gateway.
- http
Sequence[HttpConfig Args] 
- Configuration for http connectivity for this gateway.
- location str
- The geo-location where the resource lives
- Mapping[str, str]
- Resource tags.
- tcp
Sequence[TcpConfig Args] 
- Configuration for tcp connectivity for this gateway.
- destinationNetwork Property Map
- Network that the Application is using.
- resourceGroup StringName 
- Azure resource group name
- sourceNetwork Property Map
- Network the gateway should listen on for requests.
- description String
- User readable description of the gateway.
- gatewayResource StringName 
- The identity of the gateway.
- http List<Property Map>
- Configuration for http connectivity for this gateway.
- location String
- The geo-location where the resource lives
- Map<String>
- Resource tags.
- tcp List<Property Map>
- Configuration for tcp connectivity for this gateway.
Outputs
All input properties are implicitly available as output properties. Additionally, the Gateway resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- 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
- HeaderMatch Type Exact 
- exact
- Exact
- exact
- Exact
- exact
- EXACT
- exact
- "exact"
- exact
HttpConfig, HttpConfigArgs    
- Hosts
List<Pulumi.Azure Native. Service Fabric Mesh. Inputs. Http Host Config> 
- description for routing.
- Name string
- http gateway config name.
- Port int
- Specifies the port at which the service endpoint below needs to be exposed.
- Hosts
[]HttpHost Config 
- description for routing.
- Name string
- http gateway config name.
- Port int
- Specifies the port at which the service endpoint below needs to be exposed.
- hosts
List<HttpHost Config> 
- description for routing.
- name String
- http gateway config name.
- port Integer
- Specifies the port at which the service endpoint below needs to be exposed.
- hosts
HttpHost Config[] 
- description for routing.
- name string
- http gateway config name.
- port number
- Specifies the port at which the service endpoint below needs to be exposed.
- hosts
Sequence[HttpHost Config] 
- description for routing.
- name str
- http gateway config name.
- port int
- Specifies the port at which the service endpoint below needs to be exposed.
- hosts List<Property Map>
- description for routing.
- name String
- http gateway config name.
- port Number
- Specifies the port at which the service endpoint below needs to be exposed.
HttpConfigResponse, HttpConfigResponseArgs      
- Hosts
List<Pulumi.Azure Native. Service Fabric Mesh. Inputs. Http Host Config Response> 
- description for routing.
- Name string
- http gateway config name.
- Port int
- Specifies the port at which the service endpoint below needs to be exposed.
- Hosts
[]HttpHost Config Response 
- description for routing.
- Name string
- http gateway config name.
- Port int
- Specifies the port at which the service endpoint below needs to be exposed.
- hosts
List<HttpHost Config Response> 
- description for routing.
- name String
- http gateway config name.
- port Integer
- Specifies the port at which the service endpoint below needs to be exposed.
- hosts
HttpHost Config Response[] 
- description for routing.
- name string
- http gateway config name.
- port number
- Specifies the port at which the service endpoint below needs to be exposed.
- hosts
Sequence[HttpHost Config Response] 
- description for routing.
- name str
- http gateway config name.
- port int
- Specifies the port at which the service endpoint below needs to be exposed.
- hosts List<Property Map>
- description for routing.
- name String
- http gateway config name.
- port Number
- Specifies the port at which the service endpoint below needs to be exposed.
HttpHostConfig, HttpHostConfigArgs      
- Name string
- http hostname config name.
- Routes
List<Pulumi.Azure Native. Service Fabric Mesh. Inputs. Http Route Config> 
- Route information to use for routing. Routes are processed in the order they are specified. Specify routes that are more specific before routes that can handle general cases.
- Name string
- http hostname config name.
- Routes
[]HttpRoute Config 
- Route information to use for routing. Routes are processed in the order they are specified. Specify routes that are more specific before routes that can handle general cases.
- name String
- http hostname config name.
- routes
List<HttpRoute Config> 
- Route information to use for routing. Routes are processed in the order they are specified. Specify routes that are more specific before routes that can handle general cases.
- name string
- http hostname config name.
- routes
HttpRoute Config[] 
- Route information to use for routing. Routes are processed in the order they are specified. Specify routes that are more specific before routes that can handle general cases.
- name str
- http hostname config name.
- routes
Sequence[HttpRoute Config] 
- Route information to use for routing. Routes are processed in the order they are specified. Specify routes that are more specific before routes that can handle general cases.
- name String
- http hostname config name.
- routes List<Property Map>
- Route information to use for routing. Routes are processed in the order they are specified. Specify routes that are more specific before routes that can handle general cases.
HttpHostConfigResponse, HttpHostConfigResponseArgs        
- Name string
- http hostname config name.
- Routes
List<Pulumi.Azure Native. Service Fabric Mesh. Inputs. Http Route Config Response> 
- Route information to use for routing. Routes are processed in the order they are specified. Specify routes that are more specific before routes that can handle general cases.
- Name string
- http hostname config name.
- Routes
[]HttpRoute Config Response 
- Route information to use for routing. Routes are processed in the order they are specified. Specify routes that are more specific before routes that can handle general cases.
- name String
- http hostname config name.
- routes
List<HttpRoute Config Response> 
- Route information to use for routing. Routes are processed in the order they are specified. Specify routes that are more specific before routes that can handle general cases.
- name string
- http hostname config name.
- routes
HttpRoute Config Response[] 
- Route information to use for routing. Routes are processed in the order they are specified. Specify routes that are more specific before routes that can handle general cases.
- name str
- http hostname config name.
- routes
Sequence[HttpRoute Config Response] 
- Route information to use for routing. Routes are processed in the order they are specified. Specify routes that are more specific before routes that can handle general cases.
- name String
- http hostname config name.
- routes List<Property Map>
- Route information to use for routing. Routes are processed in the order they are specified. Specify routes that are more specific before routes that can handle general cases.
HttpRouteConfig, HttpRouteConfigArgs      
- Destination
Pulumi.Azure Native. Service Fabric Mesh. Inputs. Gateway Destination 
- Describes destination endpoint for routing traffic.
- Match
Pulumi.Azure Native. Service Fabric Mesh. Inputs. Http Route Match Rule 
- Describes a rule for http route matching.
- Name string
- http route name.
- Destination
GatewayDestination 
- Describes destination endpoint for routing traffic.
- Match
HttpRoute Match Rule 
- Describes a rule for http route matching.
- Name string
- http route name.
- destination
GatewayDestination 
- Describes destination endpoint for routing traffic.
- match
HttpRoute Match Rule 
- Describes a rule for http route matching.
- name String
- http route name.
- destination
GatewayDestination 
- Describes destination endpoint for routing traffic.
- match
HttpRoute Match Rule 
- Describes a rule for http route matching.
- name string
- http route name.
- destination
GatewayDestination 
- Describes destination endpoint for routing traffic.
- match
HttpRoute Match Rule 
- Describes a rule for http route matching.
- name str
- http route name.
- destination Property Map
- Describes destination endpoint for routing traffic.
- match Property Map
- Describes a rule for http route matching.
- name String
- http route name.
HttpRouteConfigResponse, HttpRouteConfigResponseArgs        
- Destination
Pulumi.Azure Native. Service Fabric Mesh. Inputs. Gateway Destination Response 
- Describes destination endpoint for routing traffic.
- Match
Pulumi.Azure Native. Service Fabric Mesh. Inputs. Http Route Match Rule Response 
- Describes a rule for http route matching.
- Name string
- http route name.
- Destination
GatewayDestination Response 
- Describes destination endpoint for routing traffic.
- Match
HttpRoute Match Rule Response 
- Describes a rule for http route matching.
- Name string
- http route name.
- destination
GatewayDestination Response 
- Describes destination endpoint for routing traffic.
- match
HttpRoute Match Rule Response 
- Describes a rule for http route matching.
- name String
- http route name.
- destination
GatewayDestination Response 
- Describes destination endpoint for routing traffic.
- match
HttpRoute Match Rule Response 
- Describes a rule for http route matching.
- name string
- http route name.
- destination
GatewayDestination Response 
- Describes destination endpoint for routing traffic.
- match
HttpRoute Match Rule Response 
- Describes a rule for http route matching.
- name str
- http route name.
- destination Property Map
- Describes destination endpoint for routing traffic.
- match Property Map
- Describes a rule for http route matching.
- name String
- http route name.
HttpRouteMatchHeader, HttpRouteMatchHeaderArgs        
- Name string
- Name of header to match in request.
- Type
string | Pulumi.Azure Native. Service Fabric Mesh. Header Match Type 
- how to match header value
- Value string
- Value of header to match in request.
- Name string
- Name of header to match in request.
- Type
string | HeaderMatch Type 
- how to match header value
- Value string
- Value of header to match in request.
- name String
- Name of header to match in request.
- type
String | HeaderMatch Type 
- how to match header value
- value String
- Value of header to match in request.
- name string
- Name of header to match in request.
- type
string | HeaderMatch Type 
- how to match header value
- value string
- Value of header to match in request.
- name str
- Name of header to match in request.
- type
str | HeaderMatch Type 
- how to match header value
- value str
- Value of header to match in request.
HttpRouteMatchHeaderResponse, HttpRouteMatchHeaderResponseArgs          
HttpRouteMatchPath, HttpRouteMatchPathArgs        
- Type
string | Pulumi.Azure Native. Service Fabric Mesh. Path Match Type 
- how to match value in the Uri
- Value string
- Uri path to match for request.
- Rewrite string
- replacement string for matched part of the Uri.
- Type
string | PathMatch Type 
- how to match value in the Uri
- Value string
- Uri path to match for request.
- Rewrite string
- replacement string for matched part of the Uri.
- type
String | PathMatch Type 
- how to match value in the Uri
- value String
- Uri path to match for request.
- rewrite String
- replacement string for matched part of the Uri.
- type
string | PathMatch Type 
- how to match value in the Uri
- value string
- Uri path to match for request.
- rewrite string
- replacement string for matched part of the Uri.
- type
str | PathMatch Type 
- how to match value in the Uri
- value str
- Uri path to match for request.
- rewrite str
- replacement string for matched part of the Uri.
HttpRouteMatchPathResponse, HttpRouteMatchPathResponseArgs          
HttpRouteMatchRule, HttpRouteMatchRuleArgs        
- Path
Pulumi.Azure Native. Service Fabric Mesh. Inputs. Http Route Match Path 
- Path to match for routing.
- Headers
List<Pulumi.Azure Native. Service Fabric Mesh. Inputs. Http Route Match Header> 
- headers and their values to match in request.
- Path
HttpRoute Match Path 
- Path to match for routing.
- Headers
[]HttpRoute Match Header 
- headers and their values to match in request.
- path
HttpRoute Match Path 
- Path to match for routing.
- headers
List<HttpRoute Match Header> 
- headers and their values to match in request.
- path
HttpRoute Match Path 
- Path to match for routing.
- headers
HttpRoute Match Header[] 
- headers and their values to match in request.
- path
HttpRoute Match Path 
- Path to match for routing.
- headers
Sequence[HttpRoute Match Header] 
- headers and their values to match in request.
- path Property Map
- Path to match for routing.
- headers List<Property Map>
- headers and their values to match in request.
HttpRouteMatchRuleResponse, HttpRouteMatchRuleResponseArgs          
- Path
Pulumi.Azure Native. Service Fabric Mesh. Inputs. Http Route Match Path Response 
- Path to match for routing.
- Headers
List<Pulumi.Azure Native. Service Fabric Mesh. Inputs. Http Route Match Header Response> 
- headers and their values to match in request.
- Path
HttpRoute Match Path Response 
- Path to match for routing.
- Headers
[]HttpRoute Match Header Response 
- headers and their values to match in request.
- path
HttpRoute Match Path Response 
- Path to match for routing.
- headers
List<HttpRoute Match Header Response> 
- headers and their values to match in request.
- path
HttpRoute Match Path Response 
- Path to match for routing.
- headers
HttpRoute Match Header Response[] 
- headers and their values to match in request.
- path
HttpRoute Match Path Response 
- Path to match for routing.
- headers
Sequence[HttpRoute Match Header Response] 
- headers and their values to match in request.
- path Property Map
- Path to match for routing.
- headers List<Property Map>
- headers and their values to match in request.
NetworkRef, NetworkRefArgs    
- EndpointRefs List<Pulumi.Azure Native. Service Fabric Mesh. Inputs. Endpoint Ref> 
- A list of endpoints that are exposed on this network.
- Name string
- Name of the network
- 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.Azure Native. Service Fabric Mesh. Inputs. Endpoint Ref Response> 
- A list of endpoints that are exposed on this network.
- Name string
- Name of the network
- EndpointRefs []EndpointRef Response 
- A list of endpoints that are exposed on this network.
- Name string
- Name of the network
- endpointRefs List<EndpointRef Response> 
- A list of endpoints that are exposed on this network.
- name String
- Name of the network
- endpointRefs EndpointRef Response[] 
- A list of endpoints that are exposed on this network.
- name string
- Name of the network
- endpoint_refs Sequence[EndpointRef Response] 
- A list of endpoints that are exposed on this network.
- name str
- Name of the network
- endpointRefs List<Property Map>
- A list of endpoints that are exposed on this network.
- name String
- Name of the network
PathMatchType, PathMatchTypeArgs      
- Prefix
- prefix
- PathMatch Type Prefix 
- prefix
- Prefix
- prefix
- Prefix
- prefix
- PREFIX
- prefix
- "prefix"
- prefix
TcpConfig, TcpConfigArgs    
- Destination
Pulumi.Azure Native. Service Fabric Mesh. Inputs. Gateway Destination 
- Describes destination endpoint for routing traffic.
- Name string
- tcp gateway config name.
- Port int
- Specifies the port at which the service endpoint below needs to be exposed.
- Destination
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.Azure Native. Service Fabric Mesh. Inputs. Gateway Destination Response 
- Describes destination endpoint for routing traffic.
- Name string
- tcp gateway config name.
- Port int
- Specifies the port at which the service endpoint below needs to be exposed.
- Destination
GatewayDestination Response 
- Describes destination endpoint for routing traffic.
- Name string
- tcp gateway config name.
- Port int
- Specifies the port at which the service endpoint below needs to be exposed.
- destination
GatewayDestination Response 
- Describes destination endpoint for routing traffic.
- name String
- tcp gateway config name.
- port Integer
- Specifies the port at which the service endpoint below needs to be exposed.
- destination
GatewayDestination Response 
- Describes destination endpoint for routing traffic.
- name string
- tcp gateway config name.
- port number
- Specifies the port at which the service endpoint below needs to be exposed.
- destination
GatewayDestination Response 
- Describes destination endpoint for routing traffic.
- name str
- tcp gateway config name.
- port int
- Specifies the port at which the service endpoint below needs to be exposed.
- destination Property Map
- Describes destination endpoint for routing traffic.
- name String
- tcp gateway config name.
- port Number
- Specifies the port at which the service endpoint below needs to be exposed.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:servicefabricmesh:Gateway sampleGateway /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/gateways/sampleGateway 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0