1. Packages
  2. Azure Native v2
  3. API Docs
  4. app
  5. HttpRouteConfig
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.app.HttpRouteConfig

Explore with Pulumi AI

Advanced Ingress routing for path/header based routing for a Container App Environment Azure REST API version: 2024-10-02-preview.

Example Usage

Create or Update Http Route

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var httpRouteConfig = new AzureNative.App.HttpRouteConfig("httpRouteConfig", new()
    {
        EnvironmentName = "testcontainerenv",
        HttpRouteName = "httproutefriendlyname",
        Properties = new AzureNative.App.Inputs.HttpRouteConfigPropertiesArgs
        {
            CustomDomains = new[]
            {
                new AzureNative.App.Inputs.CustomDomainArgs
                {
                    BindingType = AzureNative.App.BindingType.SniEnabled,
                    CertificateId = "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv/certificates/certificate-1",
                    Name = "example.com",
                },
            },
            Rules = new[]
            {
                new AzureNative.App.Inputs.HttpRouteRuleArgs
                {
                    Description = "random-description",
                    Routes = new[]
                    {
                        new AzureNative.App.Inputs.HttpRouteArgs
                        {
                            Action = new AzureNative.App.Inputs.HttpRouteActionArgs
                            {
                                PrefixRewrite = "/v1/api",
                            },
                            Match = new AzureNative.App.Inputs.HttpRouteMatchArgs
                            {
                                CaseSensitive = true,
                                Path = "/v1",
                            },
                        },
                    },
                    Targets = new[]
                    {
                        new AzureNative.App.Inputs.HttpRouteTargetArgs
                        {
                            ContainerApp = "capp-1",
                            Revision = "rev-1",
                            Weight = 100,
                        },
                    },
                },
            },
        },
        ResourceGroupName = "examplerg",
    });

});
Copy
package main

import (
	app "github.com/pulumi/pulumi-azure-native-sdk/app/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := app.NewHttpRouteConfig(ctx, "httpRouteConfig", &app.HttpRouteConfigArgs{
			EnvironmentName: pulumi.String("testcontainerenv"),
			HttpRouteName:   pulumi.String("httproutefriendlyname"),
			Properties: &app.HttpRouteConfigPropertiesArgs{
				CustomDomains: app.CustomDomainArray{
					&app.CustomDomainArgs{
						BindingType:   pulumi.String(app.BindingTypeSniEnabled),
						CertificateId: pulumi.String("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv/certificates/certificate-1"),
						Name:          pulumi.String("example.com"),
					},
				},
				Rules: app.HttpRouteRuleArray{
					&app.HttpRouteRuleArgs{
						Description: pulumi.String("random-description"),
						Routes: app.HttpRouteArray{
							&app.HttpRouteArgs{
								Action: &app.HttpRouteActionArgs{
									PrefixRewrite: pulumi.String("/v1/api"),
								},
								Match: &app.HttpRouteMatchArgs{
									CaseSensitive: pulumi.Bool(true),
									Path:          pulumi.String("/v1"),
								},
							},
						},
						Targets: app.HttpRouteTargetArray{
							&app.HttpRouteTargetArgs{
								ContainerApp: pulumi.String("capp-1"),
								Revision:     pulumi.String("rev-1"),
								Weight:       pulumi.Int(100),
							},
						},
					},
				},
			},
			ResourceGroupName: pulumi.String("examplerg"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.app.HttpRouteConfig;
import com.pulumi.azurenative.app.HttpRouteConfigArgs;
import com.pulumi.azurenative.app.inputs.HttpRouteConfigPropertiesArgs;
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 httpRouteConfig = new HttpRouteConfig("httpRouteConfig", HttpRouteConfigArgs.builder()
            .environmentName("testcontainerenv")
            .httpRouteName("httproutefriendlyname")
            .properties(HttpRouteConfigPropertiesArgs.builder()
                .customDomains(CustomDomainArgs.builder()
                    .bindingType("SniEnabled")
                    .certificateId("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv/certificates/certificate-1")
                    .name("example.com")
                    .build())
                .rules(HttpRouteRuleArgs.builder()
                    .description("random-description")
                    .routes(HttpRouteArgs.builder()
                        .action(HttpRouteActionArgs.builder()
                            .prefixRewrite("/v1/api")
                            .build())
                        .match(HttpRouteMatchArgs.builder()
                            .caseSensitive(true)
                            .path("/v1")
                            .build())
                        .build())
                    .targets(HttpRouteTargetArgs.builder()
                        .containerApp("capp-1")
                        .revision("rev-1")
                        .weight(100)
                        .build())
                    .build())
                .build())
            .resourceGroupName("examplerg")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const httpRouteConfig = new azure_native.app.HttpRouteConfig("httpRouteConfig", {
    environmentName: "testcontainerenv",
    httpRouteName: "httproutefriendlyname",
    properties: {
        customDomains: [{
            bindingType: azure_native.app.BindingType.SniEnabled,
            certificateId: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv/certificates/certificate-1",
            name: "example.com",
        }],
        rules: [{
            description: "random-description",
            routes: [{
                action: {
                    prefixRewrite: "/v1/api",
                },
                match: {
                    caseSensitive: true,
                    path: "/v1",
                },
            }],
            targets: [{
                containerApp: "capp-1",
                revision: "rev-1",
                weight: 100,
            }],
        }],
    },
    resourceGroupName: "examplerg",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

http_route_config = azure_native.app.HttpRouteConfig("httpRouteConfig",
    environment_name="testcontainerenv",
    http_route_name="httproutefriendlyname",
    properties={
        "custom_domains": [{
            "binding_type": azure_native.app.BindingType.SNI_ENABLED,
            "certificate_id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv/certificates/certificate-1",
            "name": "example.com",
        }],
        "rules": [{
            "description": "random-description",
            "routes": [{
                "action": {
                    "prefix_rewrite": "/v1/api",
                },
                "match": {
                    "case_sensitive": True,
                    "path": "/v1",
                },
            }],
            "targets": [{
                "container_app": "capp-1",
                "revision": "rev-1",
                "weight": 100,
            }],
        }],
    },
    resource_group_name="examplerg")
Copy
resources:
  httpRouteConfig:
    type: azure-native:app:HttpRouteConfig
    properties:
      environmentName: testcontainerenv
      httpRouteName: httproutefriendlyname
      properties:
        customDomains:
          - bindingType: SniEnabled
            certificateId: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv/certificates/certificate-1
            name: example.com
        rules:
          - description: random-description
            routes:
              - action:
                  prefixRewrite: /v1/api
                match:
                  caseSensitive: true
                  path: /v1
            targets:
              - containerApp: capp-1
                revision: rev-1
                weight: 100
      resourceGroupName: examplerg
Copy

Create or Update Http Route Path Separated Prefix Rule

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var httpRouteConfig = new AzureNative.App.HttpRouteConfig("httpRouteConfig", new()
    {
        EnvironmentName = "testcontainerenv",
        HttpRouteName = "httproutefriendlyname",
        Properties = new AzureNative.App.Inputs.HttpRouteConfigPropertiesArgs
        {
            CustomDomains = new[]
            {
                new AzureNative.App.Inputs.CustomDomainArgs
                {
                    BindingType = AzureNative.App.BindingType.Disabled,
                    CertificateId = "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv/certificates/certificate-1",
                    Name = "example.com",
                },
            },
            Rules = new[]
            {
                new AzureNative.App.Inputs.HttpRouteRuleArgs
                {
                    Description = "random-description",
                    Routes = new[]
                    {
                        new AzureNative.App.Inputs.HttpRouteArgs
                        {
                            Action = new AzureNative.App.Inputs.HttpRouteActionArgs
                            {
                                PrefixRewrite = "/v1/api",
                            },
                            Match = new AzureNative.App.Inputs.HttpRouteMatchArgs
                            {
                                CaseSensitive = true,
                                PathSeparatedPrefix = "/v1",
                            },
                        },
                    },
                    Targets = new[]
                    {
                        new AzureNative.App.Inputs.HttpRouteTargetArgs
                        {
                            ContainerApp = "capp-1",
                            Label = "label-1",
                        },
                    },
                },
            },
        },
        ResourceGroupName = "examplerg",
    });

});
Copy
package main

import (
	app "github.com/pulumi/pulumi-azure-native-sdk/app/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := app.NewHttpRouteConfig(ctx, "httpRouteConfig", &app.HttpRouteConfigArgs{
			EnvironmentName: pulumi.String("testcontainerenv"),
			HttpRouteName:   pulumi.String("httproutefriendlyname"),
			Properties: &app.HttpRouteConfigPropertiesArgs{
				CustomDomains: app.CustomDomainArray{
					&app.CustomDomainArgs{
						BindingType:   pulumi.String(app.BindingTypeDisabled),
						CertificateId: pulumi.String("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv/certificates/certificate-1"),
						Name:          pulumi.String("example.com"),
					},
				},
				Rules: app.HttpRouteRuleArray{
					&app.HttpRouteRuleArgs{
						Description: pulumi.String("random-description"),
						Routes: app.HttpRouteArray{
							&app.HttpRouteArgs{
								Action: &app.HttpRouteActionArgs{
									PrefixRewrite: pulumi.String("/v1/api"),
								},
								Match: &app.HttpRouteMatchArgs{
									CaseSensitive:       pulumi.Bool(true),
									PathSeparatedPrefix: pulumi.String("/v1"),
								},
							},
						},
						Targets: app.HttpRouteTargetArray{
							&app.HttpRouteTargetArgs{
								ContainerApp: pulumi.String("capp-1"),
								Label:        pulumi.String("label-1"),
							},
						},
					},
				},
			},
			ResourceGroupName: pulumi.String("examplerg"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.app.HttpRouteConfig;
import com.pulumi.azurenative.app.HttpRouteConfigArgs;
import com.pulumi.azurenative.app.inputs.HttpRouteConfigPropertiesArgs;
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 httpRouteConfig = new HttpRouteConfig("httpRouteConfig", HttpRouteConfigArgs.builder()
            .environmentName("testcontainerenv")
            .httpRouteName("httproutefriendlyname")
            .properties(HttpRouteConfigPropertiesArgs.builder()
                .customDomains(CustomDomainArgs.builder()
                    .bindingType("Disabled")
                    .certificateId("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv/certificates/certificate-1")
                    .name("example.com")
                    .build())
                .rules(HttpRouteRuleArgs.builder()
                    .description("random-description")
                    .routes(HttpRouteArgs.builder()
                        .action(HttpRouteActionArgs.builder()
                            .prefixRewrite("/v1/api")
                            .build())
                        .match(HttpRouteMatchArgs.builder()
                            .caseSensitive(true)
                            .pathSeparatedPrefix("/v1")
                            .build())
                        .build())
                    .targets(HttpRouteTargetArgs.builder()
                        .containerApp("capp-1")
                        .label("label-1")
                        .build())
                    .build())
                .build())
            .resourceGroupName("examplerg")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const httpRouteConfig = new azure_native.app.HttpRouteConfig("httpRouteConfig", {
    environmentName: "testcontainerenv",
    httpRouteName: "httproutefriendlyname",
    properties: {
        customDomains: [{
            bindingType: azure_native.app.BindingType.Disabled,
            certificateId: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv/certificates/certificate-1",
            name: "example.com",
        }],
        rules: [{
            description: "random-description",
            routes: [{
                action: {
                    prefixRewrite: "/v1/api",
                },
                match: {
                    caseSensitive: true,
                    pathSeparatedPrefix: "/v1",
                },
            }],
            targets: [{
                containerApp: "capp-1",
                label: "label-1",
            }],
        }],
    },
    resourceGroupName: "examplerg",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

http_route_config = azure_native.app.HttpRouteConfig("httpRouteConfig",
    environment_name="testcontainerenv",
    http_route_name="httproutefriendlyname",
    properties={
        "custom_domains": [{
            "binding_type": azure_native.app.BindingType.DISABLED,
            "certificate_id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv/certificates/certificate-1",
            "name": "example.com",
        }],
        "rules": [{
            "description": "random-description",
            "routes": [{
                "action": {
                    "prefix_rewrite": "/v1/api",
                },
                "match": {
                    "case_sensitive": True,
                    "path_separated_prefix": "/v1",
                },
            }],
            "targets": [{
                "container_app": "capp-1",
                "label": "label-1",
            }],
        }],
    },
    resource_group_name="examplerg")
Copy
resources:
  httpRouteConfig:
    type: azure-native:app:HttpRouteConfig
    properties:
      environmentName: testcontainerenv
      httpRouteName: httproutefriendlyname
      properties:
        customDomains:
          - bindingType: Disabled
            certificateId: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv/certificates/certificate-1
            name: example.com
        rules:
          - description: random-description
            routes:
              - action:
                  prefixRewrite: /v1/api
                match:
                  caseSensitive: true
                  pathSeparatedPrefix: /v1
            targets:
              - containerApp: capp-1
                label: label-1
      resourceGroupName: examplerg
Copy

Create or Update Http Route Prefix Rule

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var httpRouteConfig = new AzureNative.App.HttpRouteConfig("httpRouteConfig", new()
    {
        EnvironmentName = "testcontainerenv",
        HttpRouteName = "httproutefriendlyname",
        Properties = new AzureNative.App.Inputs.HttpRouteConfigPropertiesArgs
        {
            CustomDomains = new[]
            {
                new AzureNative.App.Inputs.CustomDomainArgs
                {
                    BindingType = AzureNative.App.BindingType.Disabled,
                    CertificateId = "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv/certificates/certificate-1",
                    Name = "example.com",
                },
            },
            Rules = new[]
            {
                new AzureNative.App.Inputs.HttpRouteRuleArgs
                {
                    Description = "random-description",
                    Routes = new[]
                    {
                        new AzureNative.App.Inputs.HttpRouteArgs
                        {
                            Action = new AzureNative.App.Inputs.HttpRouteActionArgs
                            {
                                PrefixRewrite = "/v1/api",
                            },
                            Match = new AzureNative.App.Inputs.HttpRouteMatchArgs
                            {
                                CaseSensitive = true,
                                Prefix = "/v1",
                            },
                        },
                    },
                    Targets = new[]
                    {
                        new AzureNative.App.Inputs.HttpRouteTargetArgs
                        {
                            ContainerApp = "capp-1",
                            Label = "label-1",
                        },
                    },
                },
            },
        },
        ResourceGroupName = "examplerg",
    });

});
Copy
package main

import (
	app "github.com/pulumi/pulumi-azure-native-sdk/app/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := app.NewHttpRouteConfig(ctx, "httpRouteConfig", &app.HttpRouteConfigArgs{
			EnvironmentName: pulumi.String("testcontainerenv"),
			HttpRouteName:   pulumi.String("httproutefriendlyname"),
			Properties: &app.HttpRouteConfigPropertiesArgs{
				CustomDomains: app.CustomDomainArray{
					&app.CustomDomainArgs{
						BindingType:   pulumi.String(app.BindingTypeDisabled),
						CertificateId: pulumi.String("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv/certificates/certificate-1"),
						Name:          pulumi.String("example.com"),
					},
				},
				Rules: app.HttpRouteRuleArray{
					&app.HttpRouteRuleArgs{
						Description: pulumi.String("random-description"),
						Routes: app.HttpRouteArray{
							&app.HttpRouteArgs{
								Action: &app.HttpRouteActionArgs{
									PrefixRewrite: pulumi.String("/v1/api"),
								},
								Match: &app.HttpRouteMatchArgs{
									CaseSensitive: pulumi.Bool(true),
									Prefix:        pulumi.String("/v1"),
								},
							},
						},
						Targets: app.HttpRouteTargetArray{
							&app.HttpRouteTargetArgs{
								ContainerApp: pulumi.String("capp-1"),
								Label:        pulumi.String("label-1"),
							},
						},
					},
				},
			},
			ResourceGroupName: pulumi.String("examplerg"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.app.HttpRouteConfig;
import com.pulumi.azurenative.app.HttpRouteConfigArgs;
import com.pulumi.azurenative.app.inputs.HttpRouteConfigPropertiesArgs;
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 httpRouteConfig = new HttpRouteConfig("httpRouteConfig", HttpRouteConfigArgs.builder()
            .environmentName("testcontainerenv")
            .httpRouteName("httproutefriendlyname")
            .properties(HttpRouteConfigPropertiesArgs.builder()
                .customDomains(CustomDomainArgs.builder()
                    .bindingType("Disabled")
                    .certificateId("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv/certificates/certificate-1")
                    .name("example.com")
                    .build())
                .rules(HttpRouteRuleArgs.builder()
                    .description("random-description")
                    .routes(HttpRouteArgs.builder()
                        .action(HttpRouteActionArgs.builder()
                            .prefixRewrite("/v1/api")
                            .build())
                        .match(HttpRouteMatchArgs.builder()
                            .caseSensitive(true)
                            .prefix("/v1")
                            .build())
                        .build())
                    .targets(HttpRouteTargetArgs.builder()
                        .containerApp("capp-1")
                        .label("label-1")
                        .build())
                    .build())
                .build())
            .resourceGroupName("examplerg")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const httpRouteConfig = new azure_native.app.HttpRouteConfig("httpRouteConfig", {
    environmentName: "testcontainerenv",
    httpRouteName: "httproutefriendlyname",
    properties: {
        customDomains: [{
            bindingType: azure_native.app.BindingType.Disabled,
            certificateId: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv/certificates/certificate-1",
            name: "example.com",
        }],
        rules: [{
            description: "random-description",
            routes: [{
                action: {
                    prefixRewrite: "/v1/api",
                },
                match: {
                    caseSensitive: true,
                    prefix: "/v1",
                },
            }],
            targets: [{
                containerApp: "capp-1",
                label: "label-1",
            }],
        }],
    },
    resourceGroupName: "examplerg",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

http_route_config = azure_native.app.HttpRouteConfig("httpRouteConfig",
    environment_name="testcontainerenv",
    http_route_name="httproutefriendlyname",
    properties={
        "custom_domains": [{
            "binding_type": azure_native.app.BindingType.DISABLED,
            "certificate_id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv/certificates/certificate-1",
            "name": "example.com",
        }],
        "rules": [{
            "description": "random-description",
            "routes": [{
                "action": {
                    "prefix_rewrite": "/v1/api",
                },
                "match": {
                    "case_sensitive": True,
                    "prefix": "/v1",
                },
            }],
            "targets": [{
                "container_app": "capp-1",
                "label": "label-1",
            }],
        }],
    },
    resource_group_name="examplerg")
Copy
resources:
  httpRouteConfig:
    type: azure-native:app:HttpRouteConfig
    properties:
      environmentName: testcontainerenv
      httpRouteName: httproutefriendlyname
      properties:
        customDomains:
          - bindingType: Disabled
            certificateId: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv/certificates/certificate-1
            name: example.com
        rules:
          - description: random-description
            routes:
              - action:
                  prefixRewrite: /v1/api
                match:
                  caseSensitive: true
                  prefix: /v1
            targets:
              - containerApp: capp-1
                label: label-1
      resourceGroupName: examplerg
Copy

Create HttpRouteConfig Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new HttpRouteConfig(name: string, args: HttpRouteConfigArgs, opts?: CustomResourceOptions);
@overload
def HttpRouteConfig(resource_name: str,
                    args: HttpRouteConfigArgs,
                    opts: Optional[ResourceOptions] = None)

@overload
def HttpRouteConfig(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    environment_name: Optional[str] = None,
                    resource_group_name: Optional[str] = None,
                    http_route_name: Optional[str] = None,
                    properties: Optional[HttpRouteConfigPropertiesArgs] = None)
func NewHttpRouteConfig(ctx *Context, name string, args HttpRouteConfigArgs, opts ...ResourceOption) (*HttpRouteConfig, error)
public HttpRouteConfig(string name, HttpRouteConfigArgs args, CustomResourceOptions? opts = null)
public HttpRouteConfig(String name, HttpRouteConfigArgs args)
public HttpRouteConfig(String name, HttpRouteConfigArgs args, CustomResourceOptions options)
type: azure-native:app:HttpRouteConfig
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. HttpRouteConfigArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. HttpRouteConfigArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. HttpRouteConfigArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. HttpRouteConfigArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. HttpRouteConfigArgs
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 httpRouteConfigResource = new AzureNative.App.HttpRouteConfig("httpRouteConfigResource", new()
{
    EnvironmentName = "string",
    ResourceGroupName = "string",
    HttpRouteName = "string",
    Properties = 
    {
        { "customDomains", new[]
        {
            
            {
                { "name", "string" },
                { "bindingType", "string" },
                { "certificateId", "string" },
            },
        } },
        { "rules", new[]
        {
            
            {
                { "description", "string" },
                { "routes", new[]
                {
                    
                    {
                        { "action", 
                        {
                            { "prefixRewrite", "string" },
                        } },
                        { "match", 
                        {
                            { "caseSensitive", false },
                            { "path", "string" },
                            { "pathSeparatedPrefix", "string" },
                            { "prefix", "string" },
                        } },
                    },
                } },
                { "targets", new[]
                {
                    
                    {
                        { "containerApp", "string" },
                        { "label", "string" },
                        { "revision", "string" },
                        { "weight", 0 },
                    },
                } },
            },
        } },
    },
});
Copy
example, err := app.NewHttpRouteConfig(ctx, "httpRouteConfigResource", &app.HttpRouteConfigArgs{
	EnvironmentName:   "string",
	ResourceGroupName: "string",
	HttpRouteName:     "string",
	Properties: map[string]interface{}{
		"customDomains": []map[string]interface{}{
			map[string]interface{}{
				"name":          "string",
				"bindingType":   "string",
				"certificateId": "string",
			},
		},
		"rules": []map[string]interface{}{
			map[string]interface{}{
				"description": "string",
				"routes": []map[string]interface{}{
					map[string]interface{}{
						"action": map[string]interface{}{
							"prefixRewrite": "string",
						},
						"match": map[string]interface{}{
							"caseSensitive":       false,
							"path":                "string",
							"pathSeparatedPrefix": "string",
							"prefix":              "string",
						},
					},
				},
				"targets": []map[string]interface{}{
					map[string]interface{}{
						"containerApp": "string",
						"label":        "string",
						"revision":     "string",
						"weight":       0,
					},
				},
			},
		},
	},
})
Copy
var httpRouteConfigResource = new HttpRouteConfig("httpRouteConfigResource", HttpRouteConfigArgs.builder()
    .environmentName("string")
    .resourceGroupName("string")
    .httpRouteName("string")
    .properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .build());
Copy
http_route_config_resource = azure_native.app.HttpRouteConfig("httpRouteConfigResource",
    environment_name=string,
    resource_group_name=string,
    http_route_name=string,
    properties={
        customDomains: [{
            name: string,
            bindingType: string,
            certificateId: string,
        }],
        rules: [{
            description: string,
            routes: [{
                action: {
                    prefixRewrite: string,
                },
                match: {
                    caseSensitive: False,
                    path: string,
                    pathSeparatedPrefix: string,
                    prefix: string,
                },
            }],
            targets: [{
                containerApp: string,
                label: string,
                revision: string,
                weight: 0,
            }],
        }],
    })
Copy
const httpRouteConfigResource = new azure_native.app.HttpRouteConfig("httpRouteConfigResource", {
    environmentName: "string",
    resourceGroupName: "string",
    httpRouteName: "string",
    properties: {
        customDomains: [{
            name: "string",
            bindingType: "string",
            certificateId: "string",
        }],
        rules: [{
            description: "string",
            routes: [{
                action: {
                    prefixRewrite: "string",
                },
                match: {
                    caseSensitive: false,
                    path: "string",
                    pathSeparatedPrefix: "string",
                    prefix: "string",
                },
            }],
            targets: [{
                containerApp: "string",
                label: "string",
                revision: "string",
                weight: 0,
            }],
        }],
    },
});
Copy
type: azure-native:app:HttpRouteConfig
properties:
    environmentName: string
    httpRouteName: string
    properties:
        customDomains:
            - bindingType: string
              certificateId: string
              name: string
        rules:
            - description: string
              routes:
                - action:
                    prefixRewrite: string
                  match:
                    caseSensitive: false
                    path: string
                    pathSeparatedPrefix: string
                    prefix: string
              targets:
                - containerApp: string
                  label: string
                  revision: string
                  weight: 0
    resourceGroupName: string
Copy

HttpRouteConfig 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 HttpRouteConfig resource accepts the following input properties:

EnvironmentName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Managed Environment.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
HttpRouteName Changes to this property will trigger replacement. string
Name of the Http Route Config Resource.
Properties Pulumi.AzureNative.App.Inputs.HttpRouteConfigProperties
Http Route Config properties
EnvironmentName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Managed Environment.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
HttpRouteName Changes to this property will trigger replacement. string
Name of the Http Route Config Resource.
Properties HttpRouteConfigPropertiesArgs
Http Route Config properties
environmentName
This property is required.
Changes to this property will trigger replacement.
String
Name of the Managed Environment.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
httpRouteName Changes to this property will trigger replacement. String
Name of the Http Route Config Resource.
properties HttpRouteConfigProperties
Http Route Config properties
environmentName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Managed Environment.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
httpRouteName Changes to this property will trigger replacement. string
Name of the Http Route Config Resource.
properties HttpRouteConfigProperties
Http Route Config properties
environment_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the Managed Environment.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
http_route_name Changes to this property will trigger replacement. str
Name of the Http Route Config Resource.
properties HttpRouteConfigPropertiesArgs
Http Route Config properties
environmentName
This property is required.
Changes to this property will trigger replacement.
String
Name of the Managed Environment.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
httpRouteName Changes to this property will trigger replacement. String
Name of the Http Route Config Resource.
properties Property Map
Http Route Config properties

Outputs

All input properties are implicitly available as output properties. Additionally, the HttpRouteConfig resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
SystemData Pulumi.AzureNative.App.Outputs.SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
SystemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id string
The provider-assigned unique ID for this managed resource.
name string
The name of the resource
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id str
The provider-assigned unique ID for this managed resource.
name str
The name of the resource
system_data SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
systemData Property Map
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Supporting Types

BindingType
, BindingTypeArgs

Disabled
Disabled
SniEnabled
SniEnabled
Auto
Auto
BindingTypeDisabled
Disabled
BindingTypeSniEnabled
SniEnabled
BindingTypeAuto
Auto
Disabled
Disabled
SniEnabled
SniEnabled
Auto
Auto
Disabled
Disabled
SniEnabled
SniEnabled
Auto
Auto
DISABLED
Disabled
SNI_ENABLED
SniEnabled
AUTO
Auto
"Disabled"
Disabled
"SniEnabled"
SniEnabled
"Auto"
Auto

CustomDomain
, CustomDomainArgs

Name This property is required. string
Hostname.
BindingType string | Pulumi.AzureNative.App.BindingType
Custom Domain binding type.
CertificateId string
Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
Name This property is required. string
Hostname.
BindingType string | BindingType
Custom Domain binding type.
CertificateId string
Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
name This property is required. String
Hostname.
bindingType String | BindingType
Custom Domain binding type.
certificateId String
Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
name This property is required. string
Hostname.
bindingType string | BindingType
Custom Domain binding type.
certificateId string
Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
name This property is required. str
Hostname.
binding_type str | BindingType
Custom Domain binding type.
certificate_id str
Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
name This property is required. String
Hostname.
bindingType String | "Disabled" | "SniEnabled" | "Auto"
Custom Domain binding type.
certificateId String
Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.

CustomDomainResponse
, CustomDomainResponseArgs

Name This property is required. string
Hostname.
BindingType string
Custom Domain binding type.
CertificateId string
Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
Name This property is required. string
Hostname.
BindingType string
Custom Domain binding type.
CertificateId string
Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
name This property is required. String
Hostname.
bindingType String
Custom Domain binding type.
certificateId String
Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
name This property is required. string
Hostname.
bindingType string
Custom Domain binding type.
certificateId string
Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
name This property is required. str
Hostname.
binding_type str
Custom Domain binding type.
certificate_id str
Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
name This property is required. String
Hostname.
bindingType String
Custom Domain binding type.
certificateId String
Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.

HttpRoute
, HttpRouteArgs

Action Pulumi.AzureNative.App.Inputs.HttpRouteAction
Once route is matched, what is the desired action
Match Pulumi.AzureNative.App.Inputs.HttpRouteMatch
Conditions route will match on
Action HttpRouteAction
Once route is matched, what is the desired action
Match HttpRouteMatch
Conditions route will match on
action HttpRouteAction
Once route is matched, what is the desired action
match HttpRouteMatch
Conditions route will match on
action HttpRouteAction
Once route is matched, what is the desired action
match HttpRouteMatch
Conditions route will match on
action HttpRouteAction
Once route is matched, what is the desired action
match HttpRouteMatch
Conditions route will match on
action Property Map
Once route is matched, what is the desired action
match Property Map
Conditions route will match on

HttpRouteAction
, HttpRouteActionArgs

PrefixRewrite string
Rewrite prefix, default is no rewrites
PrefixRewrite string
Rewrite prefix, default is no rewrites
prefixRewrite String
Rewrite prefix, default is no rewrites
prefixRewrite string
Rewrite prefix, default is no rewrites
prefix_rewrite str
Rewrite prefix, default is no rewrites
prefixRewrite String
Rewrite prefix, default is no rewrites

HttpRouteActionResponse
, HttpRouteActionResponseArgs

PrefixRewrite string
Rewrite prefix, default is no rewrites
PrefixRewrite string
Rewrite prefix, default is no rewrites
prefixRewrite String
Rewrite prefix, default is no rewrites
prefixRewrite string
Rewrite prefix, default is no rewrites
prefix_rewrite str
Rewrite prefix, default is no rewrites
prefixRewrite String
Rewrite prefix, default is no rewrites

HttpRouteConfigProperties
, HttpRouteConfigPropertiesArgs

CustomDomains List<Pulumi.AzureNative.App.Inputs.CustomDomain>
Custom domain bindings for http Routes' hostnames.
Rules List<Pulumi.AzureNative.App.Inputs.HttpRouteRule>
Routing Rules for http route resource.
CustomDomains []CustomDomain
Custom domain bindings for http Routes' hostnames.
Rules []HttpRouteRule
Routing Rules for http route resource.
customDomains List<CustomDomain>
Custom domain bindings for http Routes' hostnames.
rules List<HttpRouteRule>
Routing Rules for http route resource.
customDomains CustomDomain[]
Custom domain bindings for http Routes' hostnames.
rules HttpRouteRule[]
Routing Rules for http route resource.
custom_domains Sequence[CustomDomain]
Custom domain bindings for http Routes' hostnames.
rules Sequence[HttpRouteRule]
Routing Rules for http route resource.
customDomains List<Property Map>
Custom domain bindings for http Routes' hostnames.
rules List<Property Map>
Routing Rules for http route resource.

HttpRouteConfigResponseProperties
, HttpRouteConfigResponsePropertiesArgs

Fqdn This property is required. string
FQDN of the route resource.
ProvisioningErrors This property is required. List<Pulumi.AzureNative.App.Inputs.HttpRouteProvisioningErrorsResponse>
List of errors when trying to reconcile http routes
ProvisioningState This property is required. string
The provisioning state of the Http Route Config in cluster
CustomDomains List<Pulumi.AzureNative.App.Inputs.CustomDomainResponse>
Custom domain bindings for http Routes' hostnames.
Rules List<Pulumi.AzureNative.App.Inputs.HttpRouteRuleResponse>
Routing Rules for http route resource.
Fqdn This property is required. string
FQDN of the route resource.
ProvisioningErrors This property is required. []HttpRouteProvisioningErrorsResponse
List of errors when trying to reconcile http routes
ProvisioningState This property is required. string
The provisioning state of the Http Route Config in cluster
CustomDomains []CustomDomainResponse
Custom domain bindings for http Routes' hostnames.
Rules []HttpRouteRuleResponse
Routing Rules for http route resource.
fqdn This property is required. String
FQDN of the route resource.
provisioningErrors This property is required. List<HttpRouteProvisioningErrorsResponse>
List of errors when trying to reconcile http routes
provisioningState This property is required. String
The provisioning state of the Http Route Config in cluster
customDomains List<CustomDomainResponse>
Custom domain bindings for http Routes' hostnames.
rules List<HttpRouteRuleResponse>
Routing Rules for http route resource.
fqdn This property is required. string
FQDN of the route resource.
provisioningErrors This property is required. HttpRouteProvisioningErrorsResponse[]
List of errors when trying to reconcile http routes
provisioningState This property is required. string
The provisioning state of the Http Route Config in cluster
customDomains CustomDomainResponse[]
Custom domain bindings for http Routes' hostnames.
rules HttpRouteRuleResponse[]
Routing Rules for http route resource.
fqdn This property is required. str
FQDN of the route resource.
provisioning_errors This property is required. Sequence[HttpRouteProvisioningErrorsResponse]
List of errors when trying to reconcile http routes
provisioning_state This property is required. str
The provisioning state of the Http Route Config in cluster
custom_domains Sequence[CustomDomainResponse]
Custom domain bindings for http Routes' hostnames.
rules Sequence[HttpRouteRuleResponse]
Routing Rules for http route resource.
fqdn This property is required. String
FQDN of the route resource.
provisioningErrors This property is required. List<Property Map>
List of errors when trying to reconcile http routes
provisioningState This property is required. String
The provisioning state of the Http Route Config in cluster
customDomains List<Property Map>
Custom domain bindings for http Routes' hostnames.
rules List<Property Map>
Routing Rules for http route resource.

HttpRouteMatch
, HttpRouteMatchArgs

CaseSensitive bool
path case sensitive, default is true
Path string
match on exact path
PathSeparatedPrefix string
match on all prefix's. Not exact
Prefix string
match on all prefix's. Not exact
CaseSensitive bool
path case sensitive, default is true
Path string
match on exact path
PathSeparatedPrefix string
match on all prefix's. Not exact
Prefix string
match on all prefix's. Not exact
caseSensitive Boolean
path case sensitive, default is true
path String
match on exact path
pathSeparatedPrefix String
match on all prefix's. Not exact
prefix String
match on all prefix's. Not exact
caseSensitive boolean
path case sensitive, default is true
path string
match on exact path
pathSeparatedPrefix string
match on all prefix's. Not exact
prefix string
match on all prefix's. Not exact
case_sensitive bool
path case sensitive, default is true
path str
match on exact path
path_separated_prefix str
match on all prefix's. Not exact
prefix str
match on all prefix's. Not exact
caseSensitive Boolean
path case sensitive, default is true
path String
match on exact path
pathSeparatedPrefix String
match on all prefix's. Not exact
prefix String
match on all prefix's. Not exact

HttpRouteMatchResponse
, HttpRouteMatchResponseArgs

CaseSensitive bool
path case sensitive, default is true
Path string
match on exact path
PathSeparatedPrefix string
match on all prefix's. Not exact
Prefix string
match on all prefix's. Not exact
CaseSensitive bool
path case sensitive, default is true
Path string
match on exact path
PathSeparatedPrefix string
match on all prefix's. Not exact
Prefix string
match on all prefix's. Not exact
caseSensitive Boolean
path case sensitive, default is true
path String
match on exact path
pathSeparatedPrefix String
match on all prefix's. Not exact
prefix String
match on all prefix's. Not exact
caseSensitive boolean
path case sensitive, default is true
path string
match on exact path
pathSeparatedPrefix string
match on all prefix's. Not exact
prefix string
match on all prefix's. Not exact
case_sensitive bool
path case sensitive, default is true
path str
match on exact path
path_separated_prefix str
match on all prefix's. Not exact
prefix str
match on all prefix's. Not exact
caseSensitive Boolean
path case sensitive, default is true
path String
match on exact path
pathSeparatedPrefix String
match on all prefix's. Not exact
prefix String
match on all prefix's. Not exact

HttpRouteProvisioningErrorsResponse
, HttpRouteProvisioningErrorsResponseArgs

Message This property is required. string
Description or error message
Timestamp This property is required. string
Timestamp error occured at
Message This property is required. string
Description or error message
Timestamp This property is required. string
Timestamp error occured at
message This property is required. String
Description or error message
timestamp This property is required. String
Timestamp error occured at
message This property is required. string
Description or error message
timestamp This property is required. string
Timestamp error occured at
message This property is required. str
Description or error message
timestamp This property is required. str
Timestamp error occured at
message This property is required. String
Description or error message
timestamp This property is required. String
Timestamp error occured at

HttpRouteResponse
, HttpRouteResponseArgs

Action Pulumi.AzureNative.App.Inputs.HttpRouteActionResponse
Once route is matched, what is the desired action
Match Pulumi.AzureNative.App.Inputs.HttpRouteMatchResponse
Conditions route will match on
Action HttpRouteActionResponse
Once route is matched, what is the desired action
Match HttpRouteMatchResponse
Conditions route will match on
action HttpRouteActionResponse
Once route is matched, what is the desired action
match HttpRouteMatchResponse
Conditions route will match on
action HttpRouteActionResponse
Once route is matched, what is the desired action
match HttpRouteMatchResponse
Conditions route will match on
action HttpRouteActionResponse
Once route is matched, what is the desired action
match HttpRouteMatchResponse
Conditions route will match on
action Property Map
Once route is matched, what is the desired action
match Property Map
Conditions route will match on

HttpRouteRule
, HttpRouteRuleArgs

Description string
Description of rule. Optional.
Routes List<Pulumi.AzureNative.App.Inputs.HttpRoute>
Routing configuration that will allow matches on specific paths/headers.
Targets List<Pulumi.AzureNative.App.Inputs.HttpRouteTarget>
Targets- container apps, revisions, labels
Description string
Description of rule. Optional.
Routes []HttpRoute
Routing configuration that will allow matches on specific paths/headers.
Targets []HttpRouteTarget
Targets- container apps, revisions, labels
description String
Description of rule. Optional.
routes List<HttpRoute>
Routing configuration that will allow matches on specific paths/headers.
targets List<HttpRouteTarget>
Targets- container apps, revisions, labels
description string
Description of rule. Optional.
routes HttpRoute[]
Routing configuration that will allow matches on specific paths/headers.
targets HttpRouteTarget[]
Targets- container apps, revisions, labels
description str
Description of rule. Optional.
routes Sequence[HttpRoute]
Routing configuration that will allow matches on specific paths/headers.
targets Sequence[HttpRouteTarget]
Targets- container apps, revisions, labels
description String
Description of rule. Optional.
routes List<Property Map>
Routing configuration that will allow matches on specific paths/headers.
targets List<Property Map>
Targets- container apps, revisions, labels

HttpRouteRuleResponse
, HttpRouteRuleResponseArgs

Description string
Description of rule. Optional.
Routes List<Pulumi.AzureNative.App.Inputs.HttpRouteResponse>
Routing configuration that will allow matches on specific paths/headers.
Targets List<Pulumi.AzureNative.App.Inputs.HttpRouteTargetResponse>
Targets- container apps, revisions, labels
Description string
Description of rule. Optional.
Routes []HttpRouteResponse
Routing configuration that will allow matches on specific paths/headers.
Targets []HttpRouteTargetResponse
Targets- container apps, revisions, labels
description String
Description of rule. Optional.
routes List<HttpRouteResponse>
Routing configuration that will allow matches on specific paths/headers.
targets List<HttpRouteTargetResponse>
Targets- container apps, revisions, labels
description string
Description of rule. Optional.
routes HttpRouteResponse[]
Routing configuration that will allow matches on specific paths/headers.
targets HttpRouteTargetResponse[]
Targets- container apps, revisions, labels
description str
Description of rule. Optional.
routes Sequence[HttpRouteResponse]
Routing configuration that will allow matches on specific paths/headers.
targets Sequence[HttpRouteTargetResponse]
Targets- container apps, revisions, labels
description String
Description of rule. Optional.
routes List<Property Map>
Routing configuration that will allow matches on specific paths/headers.
targets List<Property Map>
Targets- container apps, revisions, labels

HttpRouteTarget
, HttpRouteTargetArgs

ContainerApp This property is required. string
Container App Name to route requests to
Label string
Label/Revision to route requests to
Revision string
Revision to route requests to
Weight int
Weighted routing
ContainerApp This property is required. string
Container App Name to route requests to
Label string
Label/Revision to route requests to
Revision string
Revision to route requests to
Weight int
Weighted routing
containerApp This property is required. String
Container App Name to route requests to
label String
Label/Revision to route requests to
revision String
Revision to route requests to
weight Integer
Weighted routing
containerApp This property is required. string
Container App Name to route requests to
label string
Label/Revision to route requests to
revision string
Revision to route requests to
weight number
Weighted routing
container_app This property is required. str
Container App Name to route requests to
label str
Label/Revision to route requests to
revision str
Revision to route requests to
weight int
Weighted routing
containerApp This property is required. String
Container App Name to route requests to
label String
Label/Revision to route requests to
revision String
Revision to route requests to
weight Number
Weighted routing

HttpRouteTargetResponse
, HttpRouteTargetResponseArgs

ContainerApp This property is required. string
Container App Name to route requests to
Label string
Label/Revision to route requests to
Revision string
Revision to route requests to
Weight int
Weighted routing
ContainerApp This property is required. string
Container App Name to route requests to
Label string
Label/Revision to route requests to
Revision string
Revision to route requests to
Weight int
Weighted routing
containerApp This property is required. String
Container App Name to route requests to
label String
Label/Revision to route requests to
revision String
Revision to route requests to
weight Integer
Weighted routing
containerApp This property is required. string
Container App Name to route requests to
label string
Label/Revision to route requests to
revision string
Revision to route requests to
weight number
Weighted routing
container_app This property is required. str
Container App Name to route requests to
label str
Label/Revision to route requests to
revision str
Revision to route requests to
weight int
Weighted routing
containerApp This property is required. String
Container App Name to route requests to
label String
Label/Revision to route requests to
revision String
Revision to route requests to
weight Number
Weighted routing

SystemDataResponse
, SystemDataResponseArgs

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:app:HttpRouteConfig myresource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/httpRouteConfigs/{httpRouteName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0