1. Packages
  2. Azure Native
  3. API Docs
  4. app
  5. HttpRouteConfig
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

azure-native.app.HttpRouteConfig

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

    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",
        });
    
    });
    
    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
    	})
    }
    
    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());
    
        }
    }
    
    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")
    
    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",
    });
    
    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
    

    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",
        });
    
    });
    
    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
    	})
    }
    
    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());
    
        }
    }
    
    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")
    
    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",
    });
    
    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
    

    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",
        });
    
    });
    
    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
    	})
    }
    
    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());
    
        }
    }
    
    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")
    
    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",
    });
    
    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
    

    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 string
    The unique name of the resource.
    args HttpRouteConfigArgs
    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 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 string
    The unique name of the resource.
    args HttpRouteConfigArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args HttpRouteConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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 = new AzureNative.App.Inputs.HttpRouteConfigPropertiesArgs
        {
            CustomDomains = new[]
            {
                new AzureNative.App.Inputs.CustomDomainArgs
                {
                    Name = "string",
                    BindingType = "string",
                    CertificateId = "string",
                },
            },
            Rules = new[]
            {
                new AzureNative.App.Inputs.HttpRouteRuleArgs
                {
                    Description = "string",
                    Routes = new[]
                    {
                        new AzureNative.App.Inputs.HttpRouteArgs
                        {
                            Action = new AzureNative.App.Inputs.HttpRouteActionArgs
                            {
                                PrefixRewrite = "string",
                            },
                            Match = new AzureNative.App.Inputs.HttpRouteMatchArgs
                            {
                                CaseSensitive = false,
                                Path = "string",
                                PathSeparatedPrefix = "string",
                                Prefix = "string",
                            },
                        },
                    },
                    Targets = new[]
                    {
                        new AzureNative.App.Inputs.HttpRouteTargetArgs
                        {
                            ContainerApp = "string",
                            Label = "string",
                            Revision = "string",
                            Weight = 0,
                        },
                    },
                },
            },
        },
    });
    
    example, err := app.NewHttpRouteConfig(ctx, "httpRouteConfigResource", &app.HttpRouteConfigArgs{
    	EnvironmentName:   pulumi.String("string"),
    	ResourceGroupName: pulumi.String("string"),
    	HttpRouteName:     pulumi.String("string"),
    	Properties: &app.HttpRouteConfigPropertiesArgs{
    		CustomDomains: app.CustomDomainArray{
    			&app.CustomDomainArgs{
    				Name:          pulumi.String("string"),
    				BindingType:   pulumi.String("string"),
    				CertificateId: pulumi.String("string"),
    			},
    		},
    		Rules: app.HttpRouteRuleArray{
    			&app.HttpRouteRuleArgs{
    				Description: pulumi.String("string"),
    				Routes: app.HttpRouteArray{
    					&app.HttpRouteArgs{
    						Action: &app.HttpRouteActionArgs{
    							PrefixRewrite: pulumi.String("string"),
    						},
    						Match: &app.HttpRouteMatchArgs{
    							CaseSensitive:       pulumi.Bool(false),
    							Path:                pulumi.String("string"),
    							PathSeparatedPrefix: pulumi.String("string"),
    							Prefix:              pulumi.String("string"),
    						},
    					},
    				},
    				Targets: app.HttpRouteTargetArray{
    					&app.HttpRouteTargetArgs{
    						ContainerApp: pulumi.String("string"),
    						Label:        pulumi.String("string"),
    						Revision:     pulumi.String("string"),
    						Weight:       pulumi.Int(0),
    					},
    				},
    			},
    		},
    	},
    })
    
    var httpRouteConfigResource = new HttpRouteConfig("httpRouteConfigResource", HttpRouteConfigArgs.builder()
        .environmentName("string")
        .resourceGroupName("string")
        .httpRouteName("string")
        .properties(HttpRouteConfigPropertiesArgs.builder()
            .customDomains(CustomDomainArgs.builder()
                .name("string")
                .bindingType("string")
                .certificateId("string")
                .build())
            .rules(HttpRouteRuleArgs.builder()
                .description("string")
                .routes(HttpRouteArgs.builder()
                    .action(HttpRouteActionArgs.builder()
                        .prefixRewrite("string")
                        .build())
                    .match(HttpRouteMatchArgs.builder()
                        .caseSensitive(false)
                        .path("string")
                        .pathSeparatedPrefix("string")
                        .prefix("string")
                        .build())
                    .build())
                .targets(HttpRouteTargetArgs.builder()
                    .containerApp("string")
                    .label("string")
                    .revision("string")
                    .weight(0)
                    .build())
                .build())
            .build())
        .build());
    
    http_route_config_resource = azure_native.app.HttpRouteConfig("httpRouteConfigResource",
        environment_name="string",
        resource_group_name="string",
        http_route_name="string",
        properties={
            "custom_domains": [{
                "name": "string",
                "binding_type": "string",
                "certificate_id": "string",
            }],
            "rules": [{
                "description": "string",
                "routes": [{
                    "action": {
                        "prefix_rewrite": "string",
                    },
                    "match": {
                        "case_sensitive": False,
                        "path": "string",
                        "path_separated_prefix": "string",
                        "prefix": "string",
                    },
                }],
                "targets": [{
                    "container_app": "string",
                    "label": "string",
                    "revision": "string",
                    "weight": 0,
                }],
            }],
        })
    
    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,
                }],
            }],
        },
    });
    
    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
    

    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 string
    Name of the Managed Environment.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    HttpRouteName string
    Name of the Http Route Config Resource.
    Properties Pulumi.AzureNative.App.Inputs.HttpRouteConfigProperties
    Http Route Config properties
    EnvironmentName string
    Name of the Managed Environment.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    HttpRouteName string
    Name of the Http Route Config Resource.
    Properties HttpRouteConfigPropertiesArgs
    Http Route Config properties
    environmentName String
    Name of the Managed Environment.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    httpRouteName String
    Name of the Http Route Config Resource.
    properties HttpRouteConfigProperties
    Http Route Config properties
    environmentName string
    Name of the Managed Environment.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    httpRouteName string
    Name of the Http Route Config Resource.
    properties HttpRouteConfigProperties
    Http Route Config properties
    environment_name str
    Name of the Managed Environment.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    http_route_name str
    Name of the Http Route Config Resource.
    properties HttpRouteConfigPropertiesArgs
    Http Route Config properties
    environmentName String
    Name of the Managed Environment.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    httpRouteName 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 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 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 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 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 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 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 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 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 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 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 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 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 string
    FQDN of the route resource.
    ProvisioningErrors List<Pulumi.AzureNative.App.Inputs.HttpRouteProvisioningErrorsResponse>
    List of errors when trying to reconcile http routes
    ProvisioningState 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 string
    FQDN of the route resource.
    ProvisioningErrors []HttpRouteProvisioningErrorsResponse
    List of errors when trying to reconcile http routes
    ProvisioningState 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 String
    FQDN of the route resource.
    provisioningErrors List<HttpRouteProvisioningErrorsResponse>
    List of errors when trying to reconcile http routes
    provisioningState 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 string
    FQDN of the route resource.
    provisioningErrors HttpRouteProvisioningErrorsResponse[]
    List of errors when trying to reconcile http routes
    provisioningState 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 str
    FQDN of the route resource.
    provisioning_errors Sequence[HttpRouteProvisioningErrorsResponse]
    List of errors when trying to reconcile http routes
    provisioning_state 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 String
    FQDN of the route resource.
    provisioningErrors List<Property Map>
    List of errors when trying to reconcile http routes
    provisioningState 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 string
    Description or error message
    Timestamp string
    Timestamp error occured at
    Message string
    Description or error message
    Timestamp string
    Timestamp error occured at
    message String
    Description or error message
    timestamp String
    Timestamp error occured at
    message string
    Description or error message
    timestamp string
    Timestamp error occured at
    message str
    Description or error message
    timestamp str
    Timestamp error occured at
    message String
    Description or error message
    timestamp 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 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 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 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 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 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 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 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 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 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 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 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 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} 
    

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

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi