azure-native.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",
});
});
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:
- Environment
Name string - Name of the Managed Environment.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Http
Route stringName - Name of the Http Route Config Resource.
- Properties
Pulumi.
Azure Native. App. Inputs. Http Route Config Properties - Http Route Config properties
- Environment
Name string - Name of the Managed Environment.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Http
Route stringName - Name of the Http Route Config Resource.
- Properties
Http
Route Config Properties Args - Http Route Config properties
- environment
Name String - Name of the Managed Environment.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- http
Route StringName - Name of the Http Route Config Resource.
- properties
Http
Route Config Properties - Http Route Config properties
- environment
Name string - Name of the Managed Environment.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- http
Route stringName - Name of the Http Route Config Resource.
- properties
Http
Route Config Properties - Http Route Config properties
- environment_
name str - Name of the Managed Environment.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- http_
route_ strname - Name of the Http Route Config Resource.
- properties
Http
Route Config Properties Args - Http Route Config properties
- environment
Name String - Name of the Managed Environment.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- http
Route StringName - 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
- System
Data Pulumi.Azure Native. App. Outputs. System Data Response - 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
- System
Data SystemData Response - 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
- system
Data SystemData Response - 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
- system
Data SystemData Response - 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 SystemData Response - 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
- system
Data 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
- Sni
Enabled - SniEnabled
- Auto
- Auto
- Binding
Type Disabled - Disabled
- Binding
Type Sni Enabled - SniEnabled
- Binding
Type Auto - Auto
- Disabled
- Disabled
- Sni
Enabled - SniEnabled
- Auto
- Auto
- Disabled
- Disabled
- Sni
Enabled - SniEnabled
- Auto
- Auto
- DISABLED
- Disabled
- SNI_ENABLED
- SniEnabled
- AUTO
- Auto
- "Disabled"
- Disabled
- "Sni
Enabled" - SniEnabled
- "Auto"
- Auto
CustomDomain, CustomDomainArgs
- Name string
- Hostname.
- Binding
Type string | Pulumi.Azure Native. App. Binding Type - Custom Domain binding type.
- Certificate
Id string - Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
- Name string
- Hostname.
- Binding
Type string | BindingType - Custom Domain binding type.
- Certificate
Id string - Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
- name String
- Hostname.
- binding
Type String | BindingType - Custom Domain binding type.
- certificate
Id String - Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
- name string
- Hostname.
- binding
Type string | BindingType - Custom Domain binding type.
- certificate
Id 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.
- binding
Type String | "Disabled" | "SniEnabled" | "Auto" - Custom Domain binding type.
- certificate
Id String - Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
CustomDomainResponse, CustomDomainResponseArgs
- Name string
- Hostname.
- Binding
Type string - Custom Domain binding type.
- Certificate
Id string - Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
- Name string
- Hostname.
- Binding
Type string - Custom Domain binding type.
- Certificate
Id string - Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
- name String
- Hostname.
- binding
Type String - Custom Domain binding type.
- certificate
Id String - Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
- name string
- Hostname.
- binding
Type string - Custom Domain binding type.
- certificate
Id 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.
- binding
Type String - Custom Domain binding type.
- certificate
Id String - Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
HttpRoute, HttpRouteArgs
- Action
Pulumi.
Azure Native. App. Inputs. Http Route Action - Once route is matched, what is the desired action
- Match
Pulumi.
Azure Native. App. Inputs. Http Route Match - Conditions route will match on
- Action
Http
Route Action - Once route is matched, what is the desired action
- Match
Http
Route Match - Conditions route will match on
- action
Http
Route Action - Once route is matched, what is the desired action
- match
Http
Route Match - Conditions route will match on
- action
Http
Route Action - Once route is matched, what is the desired action
- match
Http
Route Match - Conditions route will match on
- action
Http
Route Action - Once route is matched, what is the desired action
- match
Http
Route Match - 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
- Prefix
Rewrite string - Rewrite prefix, default is no rewrites
- Prefix
Rewrite string - Rewrite prefix, default is no rewrites
- prefix
Rewrite String - Rewrite prefix, default is no rewrites
- prefix
Rewrite string - Rewrite prefix, default is no rewrites
- prefix_
rewrite str - Rewrite prefix, default is no rewrites
- prefix
Rewrite String - Rewrite prefix, default is no rewrites
HttpRouteActionResponse, HttpRouteActionResponseArgs
- Prefix
Rewrite string - Rewrite prefix, default is no rewrites
- Prefix
Rewrite string - Rewrite prefix, default is no rewrites
- prefix
Rewrite String - Rewrite prefix, default is no rewrites
- prefix
Rewrite string - Rewrite prefix, default is no rewrites
- prefix_
rewrite str - Rewrite prefix, default is no rewrites
- prefix
Rewrite String - Rewrite prefix, default is no rewrites
HttpRouteConfigProperties, HttpRouteConfigPropertiesArgs
- Custom
Domains List<Pulumi.Azure Native. App. Inputs. Custom Domain> - Custom domain bindings for http Routes' hostnames.
- Rules
List<Pulumi.
Azure Native. App. Inputs. Http Route Rule> - Routing Rules for http route resource.
- Custom
Domains []CustomDomain - Custom domain bindings for http Routes' hostnames.
- Rules
[]Http
Route Rule - Routing Rules for http route resource.
- custom
Domains List<CustomDomain> - Custom domain bindings for http Routes' hostnames.
- rules
List<Http
Route Rule> - Routing Rules for http route resource.
- custom
Domains CustomDomain[] - Custom domain bindings for http Routes' hostnames.
- rules
Http
Route Rule[] - Routing Rules for http route resource.
- custom_
domains Sequence[CustomDomain] - Custom domain bindings for http Routes' hostnames.
- rules
Sequence[Http
Route Rule] - Routing Rules for http route resource.
- custom
Domains 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.
- Provisioning
Errors List<Pulumi.Azure Native. App. Inputs. Http Route Provisioning Errors Response> - List of errors when trying to reconcile http routes
- Provisioning
State string - The provisioning state of the Http Route Config in cluster
- Custom
Domains List<Pulumi.Azure Native. App. Inputs. Custom Domain Response> - Custom domain bindings for http Routes' hostnames.
- Rules
List<Pulumi.
Azure Native. App. Inputs. Http Route Rule Response> - Routing Rules for http route resource.
- Fqdn string
- FQDN of the route resource.
- Provisioning
Errors []HttpRoute Provisioning Errors Response - List of errors when trying to reconcile http routes
- Provisioning
State string - The provisioning state of the Http Route Config in cluster
- Custom
Domains []CustomDomain Response - Custom domain bindings for http Routes' hostnames.
- Rules
[]Http
Route Rule Response - Routing Rules for http route resource.
- fqdn String
- FQDN of the route resource.
- provisioning
Errors List<HttpRoute Provisioning Errors Response> - List of errors when trying to reconcile http routes
- provisioning
State String - The provisioning state of the Http Route Config in cluster
- custom
Domains List<CustomDomain Response> - Custom domain bindings for http Routes' hostnames.
- rules
List<Http
Route Rule Response> - Routing Rules for http route resource.
- fqdn string
- FQDN of the route resource.
- provisioning
Errors HttpRoute Provisioning Errors Response[] - List of errors when trying to reconcile http routes
- provisioning
State string - The provisioning state of the Http Route Config in cluster
- custom
Domains CustomDomain Response[] - Custom domain bindings for http Routes' hostnames.
- rules
Http
Route Rule Response[] - Routing Rules for http route resource.
- fqdn str
- FQDN of the route resource.
- provisioning_
errors Sequence[HttpRoute Provisioning Errors Response] - 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[CustomDomain Response] - Custom domain bindings for http Routes' hostnames.
- rules
Sequence[Http
Route Rule Response] - Routing Rules for http route resource.
- fqdn String
- FQDN of the route resource.
- provisioning
Errors List<Property Map> - List of errors when trying to reconcile http routes
- provisioning
State String - The provisioning state of the Http Route Config in cluster
- custom
Domains List<Property Map> - Custom domain bindings for http Routes' hostnames.
- rules List<Property Map>
- Routing Rules for http route resource.
HttpRouteMatch, HttpRouteMatchArgs
- Case
Sensitive bool - path case sensitive, default is true
- Path string
- match on exact path
- Path
Separated stringPrefix - 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 string
- match on exact path
- Path
Separated stringPrefix - match on all prefix's. Not exact
- Prefix string
- match on all prefix's. Not exact
- case
Sensitive Boolean - path case sensitive, default is true
- path String
- match on exact path
- path
Separated StringPrefix - match on all prefix's. Not exact
- prefix String
- match on all prefix's. Not exact
- case
Sensitive boolean - path case sensitive, default is true
- path string
- match on exact path
- path
Separated stringPrefix - 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_ strprefix - match on all prefix's. Not exact
- prefix str
- match on all prefix's. Not exact
- case
Sensitive Boolean - path case sensitive, default is true
- path String
- match on exact path
- path
Separated StringPrefix - match on all prefix's. Not exact
- prefix String
- match on all prefix's. Not exact
HttpRouteMatchResponse, HttpRouteMatchResponseArgs
- Case
Sensitive bool - path case sensitive, default is true
- Path string
- match on exact path
- Path
Separated stringPrefix - 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 string
- match on exact path
- Path
Separated stringPrefix - match on all prefix's. Not exact
- Prefix string
- match on all prefix's. Not exact
- case
Sensitive Boolean - path case sensitive, default is true
- path String
- match on exact path
- path
Separated StringPrefix - match on all prefix's. Not exact
- prefix String
- match on all prefix's. Not exact
- case
Sensitive boolean - path case sensitive, default is true
- path string
- match on exact path
- path
Separated stringPrefix - 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_ strprefix - match on all prefix's. Not exact
- prefix str
- match on all prefix's. Not exact
- case
Sensitive Boolean - path case sensitive, default is true
- path String
- match on exact path
- path
Separated StringPrefix - match on all prefix's. Not exact
- prefix String
- match on all prefix's. Not exact
HttpRouteProvisioningErrorsResponse, HttpRouteProvisioningErrorsResponseArgs
HttpRouteResponse, HttpRouteResponseArgs
- Action
Pulumi.
Azure Native. App. Inputs. Http Route Action Response - Once route is matched, what is the desired action
- Match
Pulumi.
Azure Native. App. Inputs. Http Route Match Response - Conditions route will match on
- Action
Http
Route Action Response - Once route is matched, what is the desired action
- Match
Http
Route Match Response - Conditions route will match on
- action
Http
Route Action Response - Once route is matched, what is the desired action
- match
Http
Route Match Response - Conditions route will match on
- action
Http
Route Action Response - Once route is matched, what is the desired action
- match
Http
Route Match Response - Conditions route will match on
- action
Http
Route Action Response - Once route is matched, what is the desired action
- match
Http
Route Match Response - 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.
Azure Native. App. Inputs. Http Route> - Routing configuration that will allow matches on specific paths/headers.
- Targets
List<Pulumi.
Azure Native. App. Inputs. Http Route Target> - Targets- container apps, revisions, labels
- Description string
- Description of rule. Optional.
- Routes
[]Http
Route - Routing configuration that will allow matches on specific paths/headers.
- Targets
[]Http
Route Target - Targets- container apps, revisions, labels
- description String
- Description of rule. Optional.
- routes
List<Http
Route> - Routing configuration that will allow matches on specific paths/headers.
- targets
List<Http
Route Target> - Targets- container apps, revisions, labels
- description string
- Description of rule. Optional.
- routes
Http
Route[] - Routing configuration that will allow matches on specific paths/headers.
- targets
Http
Route Target[] - Targets- container apps, revisions, labels
- description str
- Description of rule. Optional.
- routes
Sequence[Http
Route] - Routing configuration that will allow matches on specific paths/headers.
- targets
Sequence[Http
Route Target] - 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.
Azure Native. App. Inputs. Http Route Response> - Routing configuration that will allow matches on specific paths/headers.
- Targets
List<Pulumi.
Azure Native. App. Inputs. Http Route Target Response> - Targets- container apps, revisions, labels
- Description string
- Description of rule. Optional.
- Routes
[]Http
Route Response - Routing configuration that will allow matches on specific paths/headers.
- Targets
[]Http
Route Target Response - Targets- container apps, revisions, labels
- description String
- Description of rule. Optional.
- routes
List<Http
Route Response> - Routing configuration that will allow matches on specific paths/headers.
- targets
List<Http
Route Target Response> - Targets- container apps, revisions, labels
- description string
- Description of rule. Optional.
- routes
Http
Route Response[] - Routing configuration that will allow matches on specific paths/headers.
- targets
Http
Route Target Response[] - Targets- container apps, revisions, labels
- description str
- Description of rule. Optional.
- routes
Sequence[Http
Route Response] - Routing configuration that will allow matches on specific paths/headers.
- targets
Sequence[Http
Route Target Response] - 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
- Container
App 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
- Container
App 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
- container
App 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
- container
App 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
- container
App 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
- Container
App 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
- Container
App 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
- container
App 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
- container
App 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
- container
App 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
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - 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_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - 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