azure-native.network.Profile
Explore with Pulumi AI
Class representing a Traffic Manager profile. Azure REST API version: 2022-04-01. Prior API version in Azure Native 1.x: 2018-08-01.
Other available API versions: 2022-04-01-preview.
Example Usage
Profile-PUT-MultiValue
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var profile = new AzureNative.Network.Profile("profile", new()
    {
        DnsConfig = new AzureNative.Network.Inputs.DnsConfigArgs
        {
            RelativeName = "azsmnet6386",
            Ttl = 35,
        },
        Location = "global",
        MaxReturn = 2,
        MonitorConfig = new AzureNative.Network.Inputs.MonitorConfigArgs
        {
            Path = "/testpath.aspx",
            Port = 80,
            Protocol = AzureNative.Network.MonitorProtocol.HTTP,
        },
        ProfileName = "azsmnet6386",
        ProfileStatus = AzureNative.Network.ProfileStatus.Enabled,
        ResourceGroupName = "azuresdkfornetautoresttrafficmanager1421",
        TrafficRoutingMethod = AzureNative.Network.TrafficRoutingMethod.MultiValue,
        TrafficViewEnrollmentStatus = AzureNative.Network.TrafficViewEnrollmentStatus.Disabled,
    });
});
package main
import (
	network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := network.NewProfile(ctx, "profile", &network.ProfileArgs{
			DnsConfig: &network.DnsConfigArgs{
				RelativeName: pulumi.String("azsmnet6386"),
				Ttl:          pulumi.Float64(35),
			},
			Location:  pulumi.String("global"),
			MaxReturn: pulumi.Float64(2),
			MonitorConfig: &network.MonitorConfigArgs{
				Path:     pulumi.String("/testpath.aspx"),
				Port:     pulumi.Float64(80),
				Protocol: pulumi.String(network.MonitorProtocolHTTP),
			},
			ProfileName:                 pulumi.String("azsmnet6386"),
			ProfileStatus:               pulumi.String(network.ProfileStatusEnabled),
			ResourceGroupName:           pulumi.String("azuresdkfornetautoresttrafficmanager1421"),
			TrafficRoutingMethod:        pulumi.String(network.TrafficRoutingMethodMultiValue),
			TrafficViewEnrollmentStatus: pulumi.String(network.TrafficViewEnrollmentStatusDisabled),
		})
		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.network.Profile;
import com.pulumi.azurenative.network.ProfileArgs;
import com.pulumi.azurenative.network.inputs.DnsConfigArgs;
import com.pulumi.azurenative.network.inputs.MonitorConfigArgs;
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 profile = new Profile("profile", ProfileArgs.builder()
            .dnsConfig(DnsConfigArgs.builder()
                .relativeName("azsmnet6386")
                .ttl(35)
                .build())
            .location("global")
            .maxReturn(2)
            .monitorConfig(MonitorConfigArgs.builder()
                .path("/testpath.aspx")
                .port(80)
                .protocol("HTTP")
                .build())
            .profileName("azsmnet6386")
            .profileStatus("Enabled")
            .resourceGroupName("azuresdkfornetautoresttrafficmanager1421")
            .trafficRoutingMethod("MultiValue")
            .trafficViewEnrollmentStatus("Disabled")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const profile = new azure_native.network.Profile("profile", {
    dnsConfig: {
        relativeName: "azsmnet6386",
        ttl: 35,
    },
    location: "global",
    maxReturn: 2,
    monitorConfig: {
        path: "/testpath.aspx",
        port: 80,
        protocol: azure_native.network.MonitorProtocol.HTTP,
    },
    profileName: "azsmnet6386",
    profileStatus: azure_native.network.ProfileStatus.Enabled,
    resourceGroupName: "azuresdkfornetautoresttrafficmanager1421",
    trafficRoutingMethod: azure_native.network.TrafficRoutingMethod.MultiValue,
    trafficViewEnrollmentStatus: azure_native.network.TrafficViewEnrollmentStatus.Disabled,
});
import pulumi
import pulumi_azure_native as azure_native
profile = azure_native.network.Profile("profile",
    dns_config={
        "relative_name": "azsmnet6386",
        "ttl": 35,
    },
    location="global",
    max_return=2,
    monitor_config={
        "path": "/testpath.aspx",
        "port": 80,
        "protocol": azure_native.network.MonitorProtocol.HTTP,
    },
    profile_name="azsmnet6386",
    profile_status=azure_native.network.ProfileStatus.ENABLED,
    resource_group_name="azuresdkfornetautoresttrafficmanager1421",
    traffic_routing_method=azure_native.network.TrafficRoutingMethod.MULTI_VALUE,
    traffic_view_enrollment_status=azure_native.network.TrafficViewEnrollmentStatus.DISABLED)
resources:
  profile:
    type: azure-native:network:Profile
    properties:
      dnsConfig:
        relativeName: azsmnet6386
        ttl: 35
      location: global
      maxReturn: 2
      monitorConfig:
        path: /testpath.aspx
        port: 80
        protocol: HTTP
      profileName: azsmnet6386
      profileStatus: Enabled
      resourceGroupName: azuresdkfornetautoresttrafficmanager1421
      trafficRoutingMethod: MultiValue
      trafficViewEnrollmentStatus: Disabled
Profile-PUT-NoEndpoints
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var profile = new AzureNative.Network.Profile("profile", new()
    {
        DnsConfig = new AzureNative.Network.Inputs.DnsConfigArgs
        {
            RelativeName = "azsmnet6386",
            Ttl = 35,
        },
        Location = "global",
        MonitorConfig = new AzureNative.Network.Inputs.MonitorConfigArgs
        {
            Path = "/testpath.aspx",
            Port = 80,
            Protocol = AzureNative.Network.MonitorProtocol.HTTP,
        },
        ProfileName = "azsmnet6386",
        ProfileStatus = AzureNative.Network.ProfileStatus.Enabled,
        ResourceGroupName = "azuresdkfornetautoresttrafficmanager1421",
        TrafficRoutingMethod = AzureNative.Network.TrafficRoutingMethod.Performance,
    });
});
package main
import (
	network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := network.NewProfile(ctx, "profile", &network.ProfileArgs{
			DnsConfig: &network.DnsConfigArgs{
				RelativeName: pulumi.String("azsmnet6386"),
				Ttl:          pulumi.Float64(35),
			},
			Location: pulumi.String("global"),
			MonitorConfig: &network.MonitorConfigArgs{
				Path:     pulumi.String("/testpath.aspx"),
				Port:     pulumi.Float64(80),
				Protocol: pulumi.String(network.MonitorProtocolHTTP),
			},
			ProfileName:          pulumi.String("azsmnet6386"),
			ProfileStatus:        pulumi.String(network.ProfileStatusEnabled),
			ResourceGroupName:    pulumi.String("azuresdkfornetautoresttrafficmanager1421"),
			TrafficRoutingMethod: pulumi.String(network.TrafficRoutingMethodPerformance),
		})
		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.network.Profile;
import com.pulumi.azurenative.network.ProfileArgs;
import com.pulumi.azurenative.network.inputs.DnsConfigArgs;
import com.pulumi.azurenative.network.inputs.MonitorConfigArgs;
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 profile = new Profile("profile", ProfileArgs.builder()
            .dnsConfig(DnsConfigArgs.builder()
                .relativeName("azsmnet6386")
                .ttl(35)
                .build())
            .location("global")
            .monitorConfig(MonitorConfigArgs.builder()
                .path("/testpath.aspx")
                .port(80)
                .protocol("HTTP")
                .build())
            .profileName("azsmnet6386")
            .profileStatus("Enabled")
            .resourceGroupName("azuresdkfornetautoresttrafficmanager1421")
            .trafficRoutingMethod("Performance")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const profile = new azure_native.network.Profile("profile", {
    dnsConfig: {
        relativeName: "azsmnet6386",
        ttl: 35,
    },
    location: "global",
    monitorConfig: {
        path: "/testpath.aspx",
        port: 80,
        protocol: azure_native.network.MonitorProtocol.HTTP,
    },
    profileName: "azsmnet6386",
    profileStatus: azure_native.network.ProfileStatus.Enabled,
    resourceGroupName: "azuresdkfornetautoresttrafficmanager1421",
    trafficRoutingMethod: azure_native.network.TrafficRoutingMethod.Performance,
});
import pulumi
import pulumi_azure_native as azure_native
profile = azure_native.network.Profile("profile",
    dns_config={
        "relative_name": "azsmnet6386",
        "ttl": 35,
    },
    location="global",
    monitor_config={
        "path": "/testpath.aspx",
        "port": 80,
        "protocol": azure_native.network.MonitorProtocol.HTTP,
    },
    profile_name="azsmnet6386",
    profile_status=azure_native.network.ProfileStatus.ENABLED,
    resource_group_name="azuresdkfornetautoresttrafficmanager1421",
    traffic_routing_method=azure_native.network.TrafficRoutingMethod.PERFORMANCE)
resources:
  profile:
    type: azure-native:network:Profile
    properties:
      dnsConfig:
        relativeName: azsmnet6386
        ttl: 35
      location: global
      monitorConfig:
        path: /testpath.aspx
        port: 80
        protocol: HTTP
      profileName: azsmnet6386
      profileStatus: Enabled
      resourceGroupName: azuresdkfornetautoresttrafficmanager1421
      trafficRoutingMethod: Performance
Profile-PUT-WithAliasing
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var profile = new AzureNative.Network.Profile("profile", new()
    {
        AllowedEndpointRecordTypes = new[]
        {
            AzureNative.Network.AllowedEndpointRecordType.DomainName,
        },
        DnsConfig = new AzureNative.Network.Inputs.DnsConfigArgs
        {
            RelativeName = "azuresdkfornetautoresttrafficmanager6192",
            Ttl = 35,
        },
        Endpoints = new[]
        {
            new AzureNative.Network.Inputs.EndpointArgs
            {
                EndpointLocation = "North Europe",
                EndpointStatus = AzureNative.Network.EndpointStatus.Enabled,
                Name = "My external endpoint",
                Target = "foobar.contoso.com",
                Type = "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
            },
        },
        Location = "global",
        MonitorConfig = new AzureNative.Network.Inputs.MonitorConfigArgs
        {
            IntervalInSeconds = 10,
            Path = "/testpath.aspx",
            Port = 80,
            Protocol = AzureNative.Network.MonitorProtocol.HTTP,
            TimeoutInSeconds = 5,
            ToleratedNumberOfFailures = 2,
        },
        ProfileName = "azuresdkfornetautoresttrafficmanager6192",
        ProfileStatus = AzureNative.Network.ProfileStatus.Enabled,
        ResourceGroupName = "azuresdkfornetautoresttrafficmanager2583",
        TrafficRoutingMethod = AzureNative.Network.TrafficRoutingMethod.Performance,
    });
});
package main
import (
	network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := network.NewProfile(ctx, "profile", &network.ProfileArgs{
			AllowedEndpointRecordTypes: pulumi.StringArray{
				pulumi.String(network.AllowedEndpointRecordTypeDomainName),
			},
			DnsConfig: &network.DnsConfigArgs{
				RelativeName: pulumi.String("azuresdkfornetautoresttrafficmanager6192"),
				Ttl:          pulumi.Float64(35),
			},
			Endpoints: network.EndpointTypeArray{
				&network.EndpointTypeArgs{
					EndpointLocation: pulumi.String("North Europe"),
					EndpointStatus:   pulumi.String(network.EndpointStatusEnabled),
					Name:             pulumi.String("My external endpoint"),
					Target:           pulumi.String("foobar.contoso.com"),
					Type:             pulumi.String("Microsoft.network/TrafficManagerProfiles/ExternalEndpoints"),
				},
			},
			Location: pulumi.String("global"),
			MonitorConfig: &network.MonitorConfigArgs{
				IntervalInSeconds:         pulumi.Float64(10),
				Path:                      pulumi.String("/testpath.aspx"),
				Port:                      pulumi.Float64(80),
				Protocol:                  pulumi.String(network.MonitorProtocolHTTP),
				TimeoutInSeconds:          pulumi.Float64(5),
				ToleratedNumberOfFailures: pulumi.Float64(2),
			},
			ProfileName:          pulumi.String("azuresdkfornetautoresttrafficmanager6192"),
			ProfileStatus:        pulumi.String(network.ProfileStatusEnabled),
			ResourceGroupName:    pulumi.String("azuresdkfornetautoresttrafficmanager2583"),
			TrafficRoutingMethod: pulumi.String(network.TrafficRoutingMethodPerformance),
		})
		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.network.Profile;
import com.pulumi.azurenative.network.ProfileArgs;
import com.pulumi.azurenative.network.inputs.DnsConfigArgs;
import com.pulumi.azurenative.network.inputs.EndpointArgs;
import com.pulumi.azurenative.network.inputs.MonitorConfigArgs;
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 profile = new Profile("profile", ProfileArgs.builder()
            .allowedEndpointRecordTypes("DomainName")
            .dnsConfig(DnsConfigArgs.builder()
                .relativeName("azuresdkfornetautoresttrafficmanager6192")
                .ttl(35)
                .build())
            .endpoints(EndpointArgs.builder()
                .endpointLocation("North Europe")
                .endpointStatus("Enabled")
                .name("My external endpoint")
                .target("foobar.contoso.com")
                .type("Microsoft.network/TrafficManagerProfiles/ExternalEndpoints")
                .build())
            .location("global")
            .monitorConfig(MonitorConfigArgs.builder()
                .intervalInSeconds(10)
                .path("/testpath.aspx")
                .port(80)
                .protocol("HTTP")
                .timeoutInSeconds(5)
                .toleratedNumberOfFailures(2)
                .build())
            .profileName("azuresdkfornetautoresttrafficmanager6192")
            .profileStatus("Enabled")
            .resourceGroupName("azuresdkfornetautoresttrafficmanager2583")
            .trafficRoutingMethod("Performance")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const profile = new azure_native.network.Profile("profile", {
    allowedEndpointRecordTypes: [azure_native.network.AllowedEndpointRecordType.DomainName],
    dnsConfig: {
        relativeName: "azuresdkfornetautoresttrafficmanager6192",
        ttl: 35,
    },
    endpoints: [{
        endpointLocation: "North Europe",
        endpointStatus: azure_native.network.EndpointStatus.Enabled,
        name: "My external endpoint",
        target: "foobar.contoso.com",
        type: "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
    }],
    location: "global",
    monitorConfig: {
        intervalInSeconds: 10,
        path: "/testpath.aspx",
        port: 80,
        protocol: azure_native.network.MonitorProtocol.HTTP,
        timeoutInSeconds: 5,
        toleratedNumberOfFailures: 2,
    },
    profileName: "azuresdkfornetautoresttrafficmanager6192",
    profileStatus: azure_native.network.ProfileStatus.Enabled,
    resourceGroupName: "azuresdkfornetautoresttrafficmanager2583",
    trafficRoutingMethod: azure_native.network.TrafficRoutingMethod.Performance,
});
import pulumi
import pulumi_azure_native as azure_native
profile = azure_native.network.Profile("profile",
    allowed_endpoint_record_types=[azure_native.network.AllowedEndpointRecordType.DOMAIN_NAME],
    dns_config={
        "relative_name": "azuresdkfornetautoresttrafficmanager6192",
        "ttl": 35,
    },
    endpoints=[{
        "endpoint_location": "North Europe",
        "endpoint_status": azure_native.network.EndpointStatus.ENABLED,
        "name": "My external endpoint",
        "target": "foobar.contoso.com",
        "type": "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
    }],
    location="global",
    monitor_config={
        "interval_in_seconds": 10,
        "path": "/testpath.aspx",
        "port": 80,
        "protocol": azure_native.network.MonitorProtocol.HTTP,
        "timeout_in_seconds": 5,
        "tolerated_number_of_failures": 2,
    },
    profile_name="azuresdkfornetautoresttrafficmanager6192",
    profile_status=azure_native.network.ProfileStatus.ENABLED,
    resource_group_name="azuresdkfornetautoresttrafficmanager2583",
    traffic_routing_method=azure_native.network.TrafficRoutingMethod.PERFORMANCE)
resources:
  profile:
    type: azure-native:network:Profile
    properties:
      allowedEndpointRecordTypes:
        - DomainName
      dnsConfig:
        relativeName: azuresdkfornetautoresttrafficmanager6192
        ttl: 35
      endpoints:
        - endpointLocation: North Europe
          endpointStatus: Enabled
          name: My external endpoint
          target: foobar.contoso.com
          type: Microsoft.network/TrafficManagerProfiles/ExternalEndpoints
      location: global
      monitorConfig:
        intervalInSeconds: 10
        path: /testpath.aspx
        port: 80
        protocol: HTTP
        timeoutInSeconds: 5
        toleratedNumberOfFailures: 2
      profileName: azuresdkfornetautoresttrafficmanager6192
      profileStatus: Enabled
      resourceGroupName: azuresdkfornetautoresttrafficmanager2583
      trafficRoutingMethod: Performance
Profile-PUT-WithCustomHeaders
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var profile = new AzureNative.Network.Profile("profile", new()
    {
        DnsConfig = new AzureNative.Network.Inputs.DnsConfigArgs
        {
            RelativeName = "azuresdkfornetautoresttrafficmanager6192",
            Ttl = 35,
        },
        Endpoints = new[]
        {
            new AzureNative.Network.Inputs.EndpointArgs
            {
                CustomHeaders = new[]
                {
                    new AzureNative.Network.Inputs.EndpointPropertiesCustomHeadersArgs
                    {
                        Name = "header-2",
                        Value = "value-2-overridden",
                    },
                },
                EndpointLocation = "North Europe",
                EndpointStatus = AzureNative.Network.EndpointStatus.Enabled,
                Name = "My external endpoint",
                Target = "foobar.contoso.com",
                Type = "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
            },
        },
        Location = "global",
        MonitorConfig = new AzureNative.Network.Inputs.MonitorConfigArgs
        {
            CustomHeaders = new[]
            {
                new AzureNative.Network.Inputs.MonitorConfigCustomHeadersArgs
                {
                    Name = "header-1",
                    Value = "value-1",
                },
                new AzureNative.Network.Inputs.MonitorConfigCustomHeadersArgs
                {
                    Name = "header-2",
                    Value = "value-2",
                },
            },
            ExpectedStatusCodeRanges = new[]
            {
                new AzureNative.Network.Inputs.MonitorConfigExpectedStatusCodeRangesArgs
                {
                    Max = 205,
                    Min = 200,
                },
                new AzureNative.Network.Inputs.MonitorConfigExpectedStatusCodeRangesArgs
                {
                    Max = 410,
                    Min = 400,
                },
            },
            IntervalInSeconds = 10,
            Path = "/testpath.aspx",
            Port = 80,
            Protocol = AzureNative.Network.MonitorProtocol.HTTP,
            TimeoutInSeconds = 5,
            ToleratedNumberOfFailures = 2,
        },
        ProfileName = "azuresdkfornetautoresttrafficmanager6192",
        ProfileStatus = AzureNative.Network.ProfileStatus.Enabled,
        ResourceGroupName = "azuresdkfornetautoresttrafficmanager2583",
        TrafficRoutingMethod = AzureNative.Network.TrafficRoutingMethod.Performance,
        TrafficViewEnrollmentStatus = AzureNative.Network.TrafficViewEnrollmentStatus.Disabled,
    });
});
package main
import (
	network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := network.NewProfile(ctx, "profile", &network.ProfileArgs{
			DnsConfig: &network.DnsConfigArgs{
				RelativeName: pulumi.String("azuresdkfornetautoresttrafficmanager6192"),
				Ttl:          pulumi.Float64(35),
			},
			Endpoints: network.EndpointTypeArray{
				&network.EndpointTypeArgs{
					CustomHeaders: network.EndpointPropertiesCustomHeadersArray{
						&network.EndpointPropertiesCustomHeadersArgs{
							Name:  pulumi.String("header-2"),
							Value: pulumi.String("value-2-overridden"),
						},
					},
					EndpointLocation: pulumi.String("North Europe"),
					EndpointStatus:   pulumi.String(network.EndpointStatusEnabled),
					Name:             pulumi.String("My external endpoint"),
					Target:           pulumi.String("foobar.contoso.com"),
					Type:             pulumi.String("Microsoft.network/TrafficManagerProfiles/ExternalEndpoints"),
				},
			},
			Location: pulumi.String("global"),
			MonitorConfig: &network.MonitorConfigArgs{
				CustomHeaders: network.MonitorConfigCustomHeadersArray{
					&network.MonitorConfigCustomHeadersArgs{
						Name:  pulumi.String("header-1"),
						Value: pulumi.String("value-1"),
					},
					&network.MonitorConfigCustomHeadersArgs{
						Name:  pulumi.String("header-2"),
						Value: pulumi.String("value-2"),
					},
				},
				ExpectedStatusCodeRanges: network.MonitorConfigExpectedStatusCodeRangesArray{
					&network.MonitorConfigExpectedStatusCodeRangesArgs{
						Max: pulumi.Int(205),
						Min: pulumi.Int(200),
					},
					&network.MonitorConfigExpectedStatusCodeRangesArgs{
						Max: pulumi.Int(410),
						Min: pulumi.Int(400),
					},
				},
				IntervalInSeconds:         pulumi.Float64(10),
				Path:                      pulumi.String("/testpath.aspx"),
				Port:                      pulumi.Float64(80),
				Protocol:                  pulumi.String(network.MonitorProtocolHTTP),
				TimeoutInSeconds:          pulumi.Float64(5),
				ToleratedNumberOfFailures: pulumi.Float64(2),
			},
			ProfileName:                 pulumi.String("azuresdkfornetautoresttrafficmanager6192"),
			ProfileStatus:               pulumi.String(network.ProfileStatusEnabled),
			ResourceGroupName:           pulumi.String("azuresdkfornetautoresttrafficmanager2583"),
			TrafficRoutingMethod:        pulumi.String(network.TrafficRoutingMethodPerformance),
			TrafficViewEnrollmentStatus: pulumi.String(network.TrafficViewEnrollmentStatusDisabled),
		})
		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.network.Profile;
import com.pulumi.azurenative.network.ProfileArgs;
import com.pulumi.azurenative.network.inputs.DnsConfigArgs;
import com.pulumi.azurenative.network.inputs.EndpointArgs;
import com.pulumi.azurenative.network.inputs.MonitorConfigArgs;
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 profile = new Profile("profile", ProfileArgs.builder()
            .dnsConfig(DnsConfigArgs.builder()
                .relativeName("azuresdkfornetautoresttrafficmanager6192")
                .ttl(35)
                .build())
            .endpoints(EndpointArgs.builder()
                .customHeaders(EndpointPropertiesCustomHeadersArgs.builder()
                    .name("header-2")
                    .value("value-2-overridden")
                    .build())
                .endpointLocation("North Europe")
                .endpointStatus("Enabled")
                .name("My external endpoint")
                .target("foobar.contoso.com")
                .type("Microsoft.network/TrafficManagerProfiles/ExternalEndpoints")
                .build())
            .location("global")
            .monitorConfig(MonitorConfigArgs.builder()
                .customHeaders(                
                    MonitorConfigCustomHeadersArgs.builder()
                        .name("header-1")
                        .value("value-1")
                        .build(),
                    MonitorConfigCustomHeadersArgs.builder()
                        .name("header-2")
                        .value("value-2")
                        .build())
                .expectedStatusCodeRanges(                
                    MonitorConfigExpectedStatusCodeRangesArgs.builder()
                        .max(205)
                        .min(200)
                        .build(),
                    MonitorConfigExpectedStatusCodeRangesArgs.builder()
                        .max(410)
                        .min(400)
                        .build())
                .intervalInSeconds(10)
                .path("/testpath.aspx")
                .port(80)
                .protocol("HTTP")
                .timeoutInSeconds(5)
                .toleratedNumberOfFailures(2)
                .build())
            .profileName("azuresdkfornetautoresttrafficmanager6192")
            .profileStatus("Enabled")
            .resourceGroupName("azuresdkfornetautoresttrafficmanager2583")
            .trafficRoutingMethod("Performance")
            .trafficViewEnrollmentStatus("Disabled")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const profile = new azure_native.network.Profile("profile", {
    dnsConfig: {
        relativeName: "azuresdkfornetautoresttrafficmanager6192",
        ttl: 35,
    },
    endpoints: [{
        customHeaders: [{
            name: "header-2",
            value: "value-2-overridden",
        }],
        endpointLocation: "North Europe",
        endpointStatus: azure_native.network.EndpointStatus.Enabled,
        name: "My external endpoint",
        target: "foobar.contoso.com",
        type: "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
    }],
    location: "global",
    monitorConfig: {
        customHeaders: [
            {
                name: "header-1",
                value: "value-1",
            },
            {
                name: "header-2",
                value: "value-2",
            },
        ],
        expectedStatusCodeRanges: [
            {
                max: 205,
                min: 200,
            },
            {
                max: 410,
                min: 400,
            },
        ],
        intervalInSeconds: 10,
        path: "/testpath.aspx",
        port: 80,
        protocol: azure_native.network.MonitorProtocol.HTTP,
        timeoutInSeconds: 5,
        toleratedNumberOfFailures: 2,
    },
    profileName: "azuresdkfornetautoresttrafficmanager6192",
    profileStatus: azure_native.network.ProfileStatus.Enabled,
    resourceGroupName: "azuresdkfornetautoresttrafficmanager2583",
    trafficRoutingMethod: azure_native.network.TrafficRoutingMethod.Performance,
    trafficViewEnrollmentStatus: azure_native.network.TrafficViewEnrollmentStatus.Disabled,
});
import pulumi
import pulumi_azure_native as azure_native
profile = azure_native.network.Profile("profile",
    dns_config={
        "relative_name": "azuresdkfornetautoresttrafficmanager6192",
        "ttl": 35,
    },
    endpoints=[{
        "custom_headers": [{
            "name": "header-2",
            "value": "value-2-overridden",
        }],
        "endpoint_location": "North Europe",
        "endpoint_status": azure_native.network.EndpointStatus.ENABLED,
        "name": "My external endpoint",
        "target": "foobar.contoso.com",
        "type": "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
    }],
    location="global",
    monitor_config={
        "custom_headers": [
            {
                "name": "header-1",
                "value": "value-1",
            },
            {
                "name": "header-2",
                "value": "value-2",
            },
        ],
        "expected_status_code_ranges": [
            {
                "max": 205,
                "min": 200,
            },
            {
                "max": 410,
                "min": 400,
            },
        ],
        "interval_in_seconds": 10,
        "path": "/testpath.aspx",
        "port": 80,
        "protocol": azure_native.network.MonitorProtocol.HTTP,
        "timeout_in_seconds": 5,
        "tolerated_number_of_failures": 2,
    },
    profile_name="azuresdkfornetautoresttrafficmanager6192",
    profile_status=azure_native.network.ProfileStatus.ENABLED,
    resource_group_name="azuresdkfornetautoresttrafficmanager2583",
    traffic_routing_method=azure_native.network.TrafficRoutingMethod.PERFORMANCE,
    traffic_view_enrollment_status=azure_native.network.TrafficViewEnrollmentStatus.DISABLED)
resources:
  profile:
    type: azure-native:network:Profile
    properties:
      dnsConfig:
        relativeName: azuresdkfornetautoresttrafficmanager6192
        ttl: 35
      endpoints:
        - customHeaders:
            - name: header-2
              value: value-2-overridden
          endpointLocation: North Europe
          endpointStatus: Enabled
          name: My external endpoint
          target: foobar.contoso.com
          type: Microsoft.network/TrafficManagerProfiles/ExternalEndpoints
      location: global
      monitorConfig:
        customHeaders:
          - name: header-1
            value: value-1
          - name: header-2
            value: value-2
        expectedStatusCodeRanges:
          - max: 205
            min: 200
          - max: 410
            min: 400
        intervalInSeconds: 10
        path: /testpath.aspx
        port: 80
        protocol: HTTP
        timeoutInSeconds: 5
        toleratedNumberOfFailures: 2
      profileName: azuresdkfornetautoresttrafficmanager6192
      profileStatus: Enabled
      resourceGroupName: azuresdkfornetautoresttrafficmanager2583
      trafficRoutingMethod: Performance
      trafficViewEnrollmentStatus: Disabled
Profile-PUT-WithEndpoints
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var profile = new AzureNative.Network.Profile("profile", new()
    {
        DnsConfig = new AzureNative.Network.Inputs.DnsConfigArgs
        {
            RelativeName = "azuresdkfornetautoresttrafficmanager6192",
            Ttl = 35,
        },
        Endpoints = new[]
        {
            new AzureNative.Network.Inputs.EndpointArgs
            {
                EndpointLocation = "North Europe",
                EndpointStatus = AzureNative.Network.EndpointStatus.Enabled,
                Name = "My external endpoint",
                Target = "foobar.contoso.com",
                Type = "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
            },
        },
        Location = "global",
        MonitorConfig = new AzureNative.Network.Inputs.MonitorConfigArgs
        {
            IntervalInSeconds = 10,
            Path = "/testpath.aspx",
            Port = 80,
            Protocol = AzureNative.Network.MonitorProtocol.HTTP,
            TimeoutInSeconds = 5,
            ToleratedNumberOfFailures = 2,
        },
        ProfileName = "azuresdkfornetautoresttrafficmanager6192",
        ProfileStatus = AzureNative.Network.ProfileStatus.Enabled,
        ResourceGroupName = "azuresdkfornetautoresttrafficmanager2583",
        TrafficRoutingMethod = AzureNative.Network.TrafficRoutingMethod.Performance,
    });
});
package main
import (
	network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := network.NewProfile(ctx, "profile", &network.ProfileArgs{
			DnsConfig: &network.DnsConfigArgs{
				RelativeName: pulumi.String("azuresdkfornetautoresttrafficmanager6192"),
				Ttl:          pulumi.Float64(35),
			},
			Endpoints: network.EndpointTypeArray{
				&network.EndpointTypeArgs{
					EndpointLocation: pulumi.String("North Europe"),
					EndpointStatus:   pulumi.String(network.EndpointStatusEnabled),
					Name:             pulumi.String("My external endpoint"),
					Target:           pulumi.String("foobar.contoso.com"),
					Type:             pulumi.String("Microsoft.network/TrafficManagerProfiles/ExternalEndpoints"),
				},
			},
			Location: pulumi.String("global"),
			MonitorConfig: &network.MonitorConfigArgs{
				IntervalInSeconds:         pulumi.Float64(10),
				Path:                      pulumi.String("/testpath.aspx"),
				Port:                      pulumi.Float64(80),
				Protocol:                  pulumi.String(network.MonitorProtocolHTTP),
				TimeoutInSeconds:          pulumi.Float64(5),
				ToleratedNumberOfFailures: pulumi.Float64(2),
			},
			ProfileName:          pulumi.String("azuresdkfornetautoresttrafficmanager6192"),
			ProfileStatus:        pulumi.String(network.ProfileStatusEnabled),
			ResourceGroupName:    pulumi.String("azuresdkfornetautoresttrafficmanager2583"),
			TrafficRoutingMethod: pulumi.String(network.TrafficRoutingMethodPerformance),
		})
		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.network.Profile;
import com.pulumi.azurenative.network.ProfileArgs;
import com.pulumi.azurenative.network.inputs.DnsConfigArgs;
import com.pulumi.azurenative.network.inputs.EndpointArgs;
import com.pulumi.azurenative.network.inputs.MonitorConfigArgs;
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 profile = new Profile("profile", ProfileArgs.builder()
            .dnsConfig(DnsConfigArgs.builder()
                .relativeName("azuresdkfornetautoresttrafficmanager6192")
                .ttl(35)
                .build())
            .endpoints(EndpointArgs.builder()
                .endpointLocation("North Europe")
                .endpointStatus("Enabled")
                .name("My external endpoint")
                .target("foobar.contoso.com")
                .type("Microsoft.network/TrafficManagerProfiles/ExternalEndpoints")
                .build())
            .location("global")
            .monitorConfig(MonitorConfigArgs.builder()
                .intervalInSeconds(10)
                .path("/testpath.aspx")
                .port(80)
                .protocol("HTTP")
                .timeoutInSeconds(5)
                .toleratedNumberOfFailures(2)
                .build())
            .profileName("azuresdkfornetautoresttrafficmanager6192")
            .profileStatus("Enabled")
            .resourceGroupName("azuresdkfornetautoresttrafficmanager2583")
            .trafficRoutingMethod("Performance")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const profile = new azure_native.network.Profile("profile", {
    dnsConfig: {
        relativeName: "azuresdkfornetautoresttrafficmanager6192",
        ttl: 35,
    },
    endpoints: [{
        endpointLocation: "North Europe",
        endpointStatus: azure_native.network.EndpointStatus.Enabled,
        name: "My external endpoint",
        target: "foobar.contoso.com",
        type: "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
    }],
    location: "global",
    monitorConfig: {
        intervalInSeconds: 10,
        path: "/testpath.aspx",
        port: 80,
        protocol: azure_native.network.MonitorProtocol.HTTP,
        timeoutInSeconds: 5,
        toleratedNumberOfFailures: 2,
    },
    profileName: "azuresdkfornetautoresttrafficmanager6192",
    profileStatus: azure_native.network.ProfileStatus.Enabled,
    resourceGroupName: "azuresdkfornetautoresttrafficmanager2583",
    trafficRoutingMethod: azure_native.network.TrafficRoutingMethod.Performance,
});
import pulumi
import pulumi_azure_native as azure_native
profile = azure_native.network.Profile("profile",
    dns_config={
        "relative_name": "azuresdkfornetautoresttrafficmanager6192",
        "ttl": 35,
    },
    endpoints=[{
        "endpoint_location": "North Europe",
        "endpoint_status": azure_native.network.EndpointStatus.ENABLED,
        "name": "My external endpoint",
        "target": "foobar.contoso.com",
        "type": "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
    }],
    location="global",
    monitor_config={
        "interval_in_seconds": 10,
        "path": "/testpath.aspx",
        "port": 80,
        "protocol": azure_native.network.MonitorProtocol.HTTP,
        "timeout_in_seconds": 5,
        "tolerated_number_of_failures": 2,
    },
    profile_name="azuresdkfornetautoresttrafficmanager6192",
    profile_status=azure_native.network.ProfileStatus.ENABLED,
    resource_group_name="azuresdkfornetautoresttrafficmanager2583",
    traffic_routing_method=azure_native.network.TrafficRoutingMethod.PERFORMANCE)
resources:
  profile:
    type: azure-native:network:Profile
    properties:
      dnsConfig:
        relativeName: azuresdkfornetautoresttrafficmanager6192
        ttl: 35
      endpoints:
        - endpointLocation: North Europe
          endpointStatus: Enabled
          name: My external endpoint
          target: foobar.contoso.com
          type: Microsoft.network/TrafficManagerProfiles/ExternalEndpoints
      location: global
      monitorConfig:
        intervalInSeconds: 10
        path: /testpath.aspx
        port: 80
        protocol: HTTP
        timeoutInSeconds: 5
        toleratedNumberOfFailures: 2
      profileName: azuresdkfornetautoresttrafficmanager6192
      profileStatus: Enabled
      resourceGroupName: azuresdkfornetautoresttrafficmanager2583
      trafficRoutingMethod: Performance
Profile-PUT-WithNestedEndpoints
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var profile = new AzureNative.Network.Profile("profile", new()
    {
        DnsConfig = new AzureNative.Network.Inputs.DnsConfigArgs
        {
            RelativeName = "parentprofile",
            Ttl = 35,
        },
        Endpoints = new[]
        {
            new AzureNative.Network.Inputs.EndpointArgs
            {
                EndpointStatus = AzureNative.Network.EndpointStatus.Enabled,
                MinChildEndpoints = 2,
                MinChildEndpointsIPv4 = 1,
                MinChildEndpointsIPv6 = 2,
                Name = "MyFirstNestedEndpoint",
                Priority = 1,
                Target = "firstnestedprofile.tmpreview.watmtest.azure-test.net",
                Type = "Microsoft.Network/trafficManagerProfiles/nestedEndpoints",
                Weight = 1,
            },
            new AzureNative.Network.Inputs.EndpointArgs
            {
                EndpointStatus = AzureNative.Network.EndpointStatus.Enabled,
                MinChildEndpoints = 2,
                MinChildEndpointsIPv4 = 2,
                MinChildEndpointsIPv6 = 1,
                Name = "MySecondNestedEndpoint",
                Priority = 2,
                Target = "secondnestedprofile.tmpreview.watmtest.azure-test.net",
                Type = "Microsoft.Network/trafficManagerProfiles/nestedEndpoints",
                Weight = 1,
            },
        },
        Location = "global",
        MonitorConfig = new AzureNative.Network.Inputs.MonitorConfigArgs
        {
            IntervalInSeconds = 10,
            Path = "/testpath.aspx",
            Port = 80,
            Protocol = AzureNative.Network.MonitorProtocol.HTTP,
            TimeoutInSeconds = 5,
            ToleratedNumberOfFailures = 2,
        },
        ProfileName = "parentprofile",
        ProfileStatus = AzureNative.Network.ProfileStatus.Enabled,
        ResourceGroupName = "myresourcegroup",
        TrafficRoutingMethod = AzureNative.Network.TrafficRoutingMethod.Priority,
    });
});
package main
import (
	network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := network.NewProfile(ctx, "profile", &network.ProfileArgs{
			DnsConfig: &network.DnsConfigArgs{
				RelativeName: pulumi.String("parentprofile"),
				Ttl:          pulumi.Float64(35),
			},
			Endpoints: network.EndpointTypeArray{
				&network.EndpointTypeArgs{
					EndpointStatus:        pulumi.String(network.EndpointStatusEnabled),
					MinChildEndpoints:     pulumi.Float64(2),
					MinChildEndpointsIPv4: pulumi.Float64(1),
					MinChildEndpointsIPv6: pulumi.Float64(2),
					Name:                  pulumi.String("MyFirstNestedEndpoint"),
					Priority:              pulumi.Float64(1),
					Target:                pulumi.String("firstnestedprofile.tmpreview.watmtest.azure-test.net"),
					Type:                  pulumi.String("Microsoft.Network/trafficManagerProfiles/nestedEndpoints"),
					Weight:                pulumi.Float64(1),
				},
				&network.EndpointTypeArgs{
					EndpointStatus:        pulumi.String(network.EndpointStatusEnabled),
					MinChildEndpoints:     pulumi.Float64(2),
					MinChildEndpointsIPv4: pulumi.Float64(2),
					MinChildEndpointsIPv6: pulumi.Float64(1),
					Name:                  pulumi.String("MySecondNestedEndpoint"),
					Priority:              pulumi.Float64(2),
					Target:                pulumi.String("secondnestedprofile.tmpreview.watmtest.azure-test.net"),
					Type:                  pulumi.String("Microsoft.Network/trafficManagerProfiles/nestedEndpoints"),
					Weight:                pulumi.Float64(1),
				},
			},
			Location: pulumi.String("global"),
			MonitorConfig: &network.MonitorConfigArgs{
				IntervalInSeconds:         pulumi.Float64(10),
				Path:                      pulumi.String("/testpath.aspx"),
				Port:                      pulumi.Float64(80),
				Protocol:                  pulumi.String(network.MonitorProtocolHTTP),
				TimeoutInSeconds:          pulumi.Float64(5),
				ToleratedNumberOfFailures: pulumi.Float64(2),
			},
			ProfileName:          pulumi.String("parentprofile"),
			ProfileStatus:        pulumi.String(network.ProfileStatusEnabled),
			ResourceGroupName:    pulumi.String("myresourcegroup"),
			TrafficRoutingMethod: pulumi.String(network.TrafficRoutingMethodPriority),
		})
		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.network.Profile;
import com.pulumi.azurenative.network.ProfileArgs;
import com.pulumi.azurenative.network.inputs.DnsConfigArgs;
import com.pulumi.azurenative.network.inputs.EndpointArgs;
import com.pulumi.azurenative.network.inputs.MonitorConfigArgs;
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 profile = new Profile("profile", ProfileArgs.builder()
            .dnsConfig(DnsConfigArgs.builder()
                .relativeName("parentprofile")
                .ttl(35)
                .build())
            .endpoints(            
                EndpointArgs.builder()
                    .endpointStatus("Enabled")
                    .minChildEndpoints(2)
                    .minChildEndpointsIPv4(1)
                    .minChildEndpointsIPv6(2)
                    .name("MyFirstNestedEndpoint")
                    .priority(1)
                    .target("firstnestedprofile.tmpreview.watmtest.azure-test.net")
                    .type("Microsoft.Network/trafficManagerProfiles/nestedEndpoints")
                    .weight(1)
                    .build(),
                EndpointArgs.builder()
                    .endpointStatus("Enabled")
                    .minChildEndpoints(2)
                    .minChildEndpointsIPv4(2)
                    .minChildEndpointsIPv6(1)
                    .name("MySecondNestedEndpoint")
                    .priority(2)
                    .target("secondnestedprofile.tmpreview.watmtest.azure-test.net")
                    .type("Microsoft.Network/trafficManagerProfiles/nestedEndpoints")
                    .weight(1)
                    .build())
            .location("global")
            .monitorConfig(MonitorConfigArgs.builder()
                .intervalInSeconds(10)
                .path("/testpath.aspx")
                .port(80)
                .protocol("HTTP")
                .timeoutInSeconds(5)
                .toleratedNumberOfFailures(2)
                .build())
            .profileName("parentprofile")
            .profileStatus("Enabled")
            .resourceGroupName("myresourcegroup")
            .trafficRoutingMethod("Priority")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const profile = new azure_native.network.Profile("profile", {
    dnsConfig: {
        relativeName: "parentprofile",
        ttl: 35,
    },
    endpoints: [
        {
            endpointStatus: azure_native.network.EndpointStatus.Enabled,
            minChildEndpoints: 2,
            minChildEndpointsIPv4: 1,
            minChildEndpointsIPv6: 2,
            name: "MyFirstNestedEndpoint",
            priority: 1,
            target: "firstnestedprofile.tmpreview.watmtest.azure-test.net",
            type: "Microsoft.Network/trafficManagerProfiles/nestedEndpoints",
            weight: 1,
        },
        {
            endpointStatus: azure_native.network.EndpointStatus.Enabled,
            minChildEndpoints: 2,
            minChildEndpointsIPv4: 2,
            minChildEndpointsIPv6: 1,
            name: "MySecondNestedEndpoint",
            priority: 2,
            target: "secondnestedprofile.tmpreview.watmtest.azure-test.net",
            type: "Microsoft.Network/trafficManagerProfiles/nestedEndpoints",
            weight: 1,
        },
    ],
    location: "global",
    monitorConfig: {
        intervalInSeconds: 10,
        path: "/testpath.aspx",
        port: 80,
        protocol: azure_native.network.MonitorProtocol.HTTP,
        timeoutInSeconds: 5,
        toleratedNumberOfFailures: 2,
    },
    profileName: "parentprofile",
    profileStatus: azure_native.network.ProfileStatus.Enabled,
    resourceGroupName: "myresourcegroup",
    trafficRoutingMethod: azure_native.network.TrafficRoutingMethod.Priority,
});
import pulumi
import pulumi_azure_native as azure_native
profile = azure_native.network.Profile("profile",
    dns_config={
        "relative_name": "parentprofile",
        "ttl": 35,
    },
    endpoints=[
        {
            "endpoint_status": azure_native.network.EndpointStatus.ENABLED,
            "min_child_endpoints": 2,
            "min_child_endpoints_i_pv4": 1,
            "min_child_endpoints_i_pv6": 2,
            "name": "MyFirstNestedEndpoint",
            "priority": 1,
            "target": "firstnestedprofile.tmpreview.watmtest.azure-test.net",
            "type": "Microsoft.Network/trafficManagerProfiles/nestedEndpoints",
            "weight": 1,
        },
        {
            "endpoint_status": azure_native.network.EndpointStatus.ENABLED,
            "min_child_endpoints": 2,
            "min_child_endpoints_i_pv4": 2,
            "min_child_endpoints_i_pv6": 1,
            "name": "MySecondNestedEndpoint",
            "priority": 2,
            "target": "secondnestedprofile.tmpreview.watmtest.azure-test.net",
            "type": "Microsoft.Network/trafficManagerProfiles/nestedEndpoints",
            "weight": 1,
        },
    ],
    location="global",
    monitor_config={
        "interval_in_seconds": 10,
        "path": "/testpath.aspx",
        "port": 80,
        "protocol": azure_native.network.MonitorProtocol.HTTP,
        "timeout_in_seconds": 5,
        "tolerated_number_of_failures": 2,
    },
    profile_name="parentprofile",
    profile_status=azure_native.network.ProfileStatus.ENABLED,
    resource_group_name="myresourcegroup",
    traffic_routing_method=azure_native.network.TrafficRoutingMethod.PRIORITY)
resources:
  profile:
    type: azure-native:network:Profile
    properties:
      dnsConfig:
        relativeName: parentprofile
        ttl: 35
      endpoints:
        - endpointStatus: Enabled
          minChildEndpoints: 2
          minChildEndpointsIPv4: 1
          minChildEndpointsIPv6: 2
          name: MyFirstNestedEndpoint
          priority: 1
          target: firstnestedprofile.tmpreview.watmtest.azure-test.net
          type: Microsoft.Network/trafficManagerProfiles/nestedEndpoints
          weight: 1
        - endpointStatus: Enabled
          minChildEndpoints: 2
          minChildEndpointsIPv4: 2
          minChildEndpointsIPv6: 1
          name: MySecondNestedEndpoint
          priority: 2
          target: secondnestedprofile.tmpreview.watmtest.azure-test.net
          type: Microsoft.Network/trafficManagerProfiles/nestedEndpoints
          weight: 1
      location: global
      monitorConfig:
        intervalInSeconds: 10
        path: /testpath.aspx
        port: 80
        protocol: HTTP
        timeoutInSeconds: 5
        toleratedNumberOfFailures: 2
      profileName: parentprofile
      profileStatus: Enabled
      resourceGroupName: myresourcegroup
      trafficRoutingMethod: Priority
Create Profile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Profile(name: string, args: ProfileArgs, opts?: CustomResourceOptions);@overload
def Profile(resource_name: str,
            args: ProfileArgs,
            opts: Optional[ResourceOptions] = None)
@overload
def Profile(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            resource_group_name: Optional[str] = None,
            monitor_config: Optional[MonitorConfigArgs] = None,
            profile_name: Optional[str] = None,
            id: Optional[str] = None,
            location: Optional[str] = None,
            max_return: Optional[float] = None,
            allowed_endpoint_record_types: Optional[Sequence[Union[str, AllowedEndpointRecordType]]] = None,
            name: Optional[str] = None,
            endpoints: Optional[Sequence[EndpointArgs]] = None,
            profile_status: Optional[Union[str, ProfileStatus]] = None,
            dns_config: Optional[DnsConfigArgs] = None,
            tags: Optional[Mapping[str, str]] = None,
            traffic_routing_method: Optional[Union[str, TrafficRoutingMethod]] = None,
            traffic_view_enrollment_status: Optional[Union[str, TrafficViewEnrollmentStatus]] = None,
            type: Optional[str] = None)func NewProfile(ctx *Context, name string, args ProfileArgs, opts ...ResourceOption) (*Profile, error)public Profile(string name, ProfileArgs args, CustomResourceOptions? opts = null)
public Profile(String name, ProfileArgs args)
public Profile(String name, ProfileArgs args, CustomResourceOptions options)
type: azure-native:network:Profile
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 ProfileArgs
- 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 ProfileArgs
- 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 ProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProfileArgs
- 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 exampleprofileResourceResourceFromNetwork = new AzureNative.Network.Profile("exampleprofileResourceResourceFromNetwork", new()
{
    ResourceGroupName = "string",
    MonitorConfig = new AzureNative.Network.Inputs.MonitorConfigArgs
    {
        CustomHeaders = new[]
        {
            new AzureNative.Network.Inputs.MonitorConfigCustomHeadersArgs
            {
                Name = "string",
                Value = "string",
            },
        },
        ExpectedStatusCodeRanges = new[]
        {
            new AzureNative.Network.Inputs.MonitorConfigExpectedStatusCodeRangesArgs
            {
                Max = 0,
                Min = 0,
            },
        },
        IntervalInSeconds = 0,
        Path = "string",
        Port = 0,
        ProfileMonitorStatus = "string",
        Protocol = "string",
        TimeoutInSeconds = 0,
        ToleratedNumberOfFailures = 0,
    },
    ProfileName = "string",
    Id = "string",
    Location = "string",
    MaxReturn = 0,
    AllowedEndpointRecordTypes = new[]
    {
        "string",
    },
    Name = "string",
    Endpoints = new[]
    {
        new AzureNative.Network.Inputs.EndpointArgs
        {
            AlwaysServe = "string",
            CustomHeaders = new[]
            {
                new AzureNative.Network.Inputs.EndpointPropertiesCustomHeadersArgs
                {
                    Name = "string",
                    Value = "string",
                },
            },
            EndpointLocation = "string",
            EndpointMonitorStatus = "string",
            EndpointStatus = "string",
            GeoMapping = new[]
            {
                "string",
            },
            Id = "string",
            MinChildEndpoints = 0,
            MinChildEndpointsIPv4 = 0,
            MinChildEndpointsIPv6 = 0,
            Name = "string",
            Priority = 0,
            Subnets = new[]
            {
                new AzureNative.Network.Inputs.EndpointPropertiesSubnetsArgs
                {
                    First = "string",
                    Last = "string",
                    Scope = 0,
                },
            },
            Target = "string",
            TargetResourceId = "string",
            Type = "string",
            Weight = 0,
        },
    },
    ProfileStatus = "string",
    DnsConfig = new AzureNative.Network.Inputs.DnsConfigArgs
    {
        RelativeName = "string",
        Ttl = 0,
    },
    Tags = 
    {
        { "string", "string" },
    },
    TrafficRoutingMethod = "string",
    TrafficViewEnrollmentStatus = "string",
    Type = "string",
});
example, err := network.NewProfile(ctx, "exampleprofileResourceResourceFromNetwork", &network.ProfileArgs{
	ResourceGroupName: pulumi.String("string"),
	MonitorConfig: &network.MonitorConfigArgs{
		CustomHeaders: network.MonitorConfigCustomHeadersArray{
			&network.MonitorConfigCustomHeadersArgs{
				Name:  pulumi.String("string"),
				Value: pulumi.String("string"),
			},
		},
		ExpectedStatusCodeRanges: network.MonitorConfigExpectedStatusCodeRangesArray{
			&network.MonitorConfigExpectedStatusCodeRangesArgs{
				Max: pulumi.Int(0),
				Min: pulumi.Int(0),
			},
		},
		IntervalInSeconds:         pulumi.Float64(0),
		Path:                      pulumi.String("string"),
		Port:                      pulumi.Float64(0),
		ProfileMonitorStatus:      pulumi.String("string"),
		Protocol:                  pulumi.String("string"),
		TimeoutInSeconds:          pulumi.Float64(0),
		ToleratedNumberOfFailures: pulumi.Float64(0),
	},
	ProfileName: pulumi.String("string"),
	Id:          pulumi.String("string"),
	Location:    pulumi.String("string"),
	MaxReturn:   pulumi.Float64(0),
	AllowedEndpointRecordTypes: pulumi.StringArray{
		pulumi.String("string"),
	},
	Name: pulumi.String("string"),
	Endpoints: network.EndpointTypeArray{
		&network.EndpointTypeArgs{
			AlwaysServe: pulumi.String("string"),
			CustomHeaders: network.EndpointPropertiesCustomHeadersArray{
				&network.EndpointPropertiesCustomHeadersArgs{
					Name:  pulumi.String("string"),
					Value: pulumi.String("string"),
				},
			},
			EndpointLocation:      pulumi.String("string"),
			EndpointMonitorStatus: pulumi.String("string"),
			EndpointStatus:        pulumi.String("string"),
			GeoMapping: pulumi.StringArray{
				pulumi.String("string"),
			},
			Id:                    pulumi.String("string"),
			MinChildEndpoints:     pulumi.Float64(0),
			MinChildEndpointsIPv4: pulumi.Float64(0),
			MinChildEndpointsIPv6: pulumi.Float64(0),
			Name:                  pulumi.String("string"),
			Priority:              pulumi.Float64(0),
			Subnets: network.EndpointPropertiesSubnetsArray{
				&network.EndpointPropertiesSubnetsArgs{
					First: pulumi.String("string"),
					Last:  pulumi.String("string"),
					Scope: pulumi.Int(0),
				},
			},
			Target:           pulumi.String("string"),
			TargetResourceId: pulumi.String("string"),
			Type:             pulumi.String("string"),
			Weight:           pulumi.Float64(0),
		},
	},
	ProfileStatus: pulumi.String("string"),
	DnsConfig: &network.DnsConfigArgs{
		RelativeName: pulumi.String("string"),
		Ttl:          pulumi.Float64(0),
	},
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	TrafficRoutingMethod:        pulumi.String("string"),
	TrafficViewEnrollmentStatus: pulumi.String("string"),
	Type:                        pulumi.String("string"),
})
var exampleprofileResourceResourceFromNetwork = new Profile("exampleprofileResourceResourceFromNetwork", ProfileArgs.builder()
    .resourceGroupName("string")
    .monitorConfig(MonitorConfigArgs.builder()
        .customHeaders(MonitorConfigCustomHeadersArgs.builder()
            .name("string")
            .value("string")
            .build())
        .expectedStatusCodeRanges(MonitorConfigExpectedStatusCodeRangesArgs.builder()
            .max(0)
            .min(0)
            .build())
        .intervalInSeconds(0)
        .path("string")
        .port(0)
        .profileMonitorStatus("string")
        .protocol("string")
        .timeoutInSeconds(0)
        .toleratedNumberOfFailures(0)
        .build())
    .profileName("string")
    .id("string")
    .location("string")
    .maxReturn(0)
    .allowedEndpointRecordTypes("string")
    .name("string")
    .endpoints(EndpointArgs.builder()
        .alwaysServe("string")
        .customHeaders(EndpointPropertiesCustomHeadersArgs.builder()
            .name("string")
            .value("string")
            .build())
        .endpointLocation("string")
        .endpointMonitorStatus("string")
        .endpointStatus("string")
        .geoMapping("string")
        .id("string")
        .minChildEndpoints(0)
        .minChildEndpointsIPv4(0)
        .minChildEndpointsIPv6(0)
        .name("string")
        .priority(0)
        .subnets(EndpointPropertiesSubnetsArgs.builder()
            .first("string")
            .last("string")
            .scope(0)
            .build())
        .target("string")
        .targetResourceId("string")
        .type("string")
        .weight(0)
        .build())
    .profileStatus("string")
    .dnsConfig(DnsConfigArgs.builder()
        .relativeName("string")
        .ttl(0)
        .build())
    .tags(Map.of("string", "string"))
    .trafficRoutingMethod("string")
    .trafficViewEnrollmentStatus("string")
    .type("string")
    .build());
exampleprofile_resource_resource_from_network = azure_native.network.Profile("exampleprofileResourceResourceFromNetwork",
    resource_group_name="string",
    monitor_config={
        "custom_headers": [{
            "name": "string",
            "value": "string",
        }],
        "expected_status_code_ranges": [{
            "max": 0,
            "min": 0,
        }],
        "interval_in_seconds": 0,
        "path": "string",
        "port": 0,
        "profile_monitor_status": "string",
        "protocol": "string",
        "timeout_in_seconds": 0,
        "tolerated_number_of_failures": 0,
    },
    profile_name="string",
    id="string",
    location="string",
    max_return=0,
    allowed_endpoint_record_types=["string"],
    name="string",
    endpoints=[{
        "always_serve": "string",
        "custom_headers": [{
            "name": "string",
            "value": "string",
        }],
        "endpoint_location": "string",
        "endpoint_monitor_status": "string",
        "endpoint_status": "string",
        "geo_mapping": ["string"],
        "id": "string",
        "min_child_endpoints": 0,
        "min_child_endpoints_i_pv4": 0,
        "min_child_endpoints_i_pv6": 0,
        "name": "string",
        "priority": 0,
        "subnets": [{
            "first": "string",
            "last": "string",
            "scope": 0,
        }],
        "target": "string",
        "target_resource_id": "string",
        "type": "string",
        "weight": 0,
    }],
    profile_status="string",
    dns_config={
        "relative_name": "string",
        "ttl": 0,
    },
    tags={
        "string": "string",
    },
    traffic_routing_method="string",
    traffic_view_enrollment_status="string",
    type="string")
const exampleprofileResourceResourceFromNetwork = new azure_native.network.Profile("exampleprofileResourceResourceFromNetwork", {
    resourceGroupName: "string",
    monitorConfig: {
        customHeaders: [{
            name: "string",
            value: "string",
        }],
        expectedStatusCodeRanges: [{
            max: 0,
            min: 0,
        }],
        intervalInSeconds: 0,
        path: "string",
        port: 0,
        profileMonitorStatus: "string",
        protocol: "string",
        timeoutInSeconds: 0,
        toleratedNumberOfFailures: 0,
    },
    profileName: "string",
    id: "string",
    location: "string",
    maxReturn: 0,
    allowedEndpointRecordTypes: ["string"],
    name: "string",
    endpoints: [{
        alwaysServe: "string",
        customHeaders: [{
            name: "string",
            value: "string",
        }],
        endpointLocation: "string",
        endpointMonitorStatus: "string",
        endpointStatus: "string",
        geoMapping: ["string"],
        id: "string",
        minChildEndpoints: 0,
        minChildEndpointsIPv4: 0,
        minChildEndpointsIPv6: 0,
        name: "string",
        priority: 0,
        subnets: [{
            first: "string",
            last: "string",
            scope: 0,
        }],
        target: "string",
        targetResourceId: "string",
        type: "string",
        weight: 0,
    }],
    profileStatus: "string",
    dnsConfig: {
        relativeName: "string",
        ttl: 0,
    },
    tags: {
        string: "string",
    },
    trafficRoutingMethod: "string",
    trafficViewEnrollmentStatus: "string",
    type: "string",
});
type: azure-native:network:Profile
properties:
    allowedEndpointRecordTypes:
        - string
    dnsConfig:
        relativeName: string
        ttl: 0
    endpoints:
        - alwaysServe: string
          customHeaders:
            - name: string
              value: string
          endpointLocation: string
          endpointMonitorStatus: string
          endpointStatus: string
          geoMapping:
            - string
          id: string
          minChildEndpoints: 0
          minChildEndpointsIPv4: 0
          minChildEndpointsIPv6: 0
          name: string
          priority: 0
          subnets:
            - first: string
              last: string
              scope: 0
          target: string
          targetResourceId: string
          type: string
          weight: 0
    id: string
    location: string
    maxReturn: 0
    monitorConfig:
        customHeaders:
            - name: string
              value: string
        expectedStatusCodeRanges:
            - max: 0
              min: 0
        intervalInSeconds: 0
        path: string
        port: 0
        profileMonitorStatus: string
        protocol: string
        timeoutInSeconds: 0
        toleratedNumberOfFailures: 0
    name: string
    profileName: string
    profileStatus: string
    resourceGroupName: string
    tags:
        string: string
    trafficRoutingMethod: string
    trafficViewEnrollmentStatus: string
    type: string
Profile 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 Profile resource accepts the following input properties:
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- AllowedEndpoint List<Union<string, Pulumi.Record Types Azure Native. Network. Allowed Endpoint Record Type>> 
- The list of allowed endpoint record types.
- DnsConfig Pulumi.Azure Native. Network. Inputs. Dns Config 
- The DNS settings of the Traffic Manager profile.
- Endpoints
List<Pulumi.Azure Native. Network. Inputs. Endpoint> 
- The list of endpoints in the Traffic Manager profile. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.
- Id string
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
- Location string
- The Azure Region where the resource lives
- MaxReturn double
- Maximum number of endpoints to be returned for MultiValue routing type.
- MonitorConfig Pulumi.Azure Native. Network. Inputs. Monitor Config 
- The endpoint monitoring settings of the Traffic Manager profile.
- Name string
- The name of the resource
- ProfileName string
- The name of the Traffic Manager profile.
- ProfileStatus string | Pulumi.Azure Native. Network. Profile Status 
- The status of the Traffic Manager profile.
- Dictionary<string, string>
- Resource tags.
- TrafficRouting string | Pulumi.Method Azure Native. Network. Traffic Routing Method 
- The traffic routing method of the Traffic Manager profile.
- TrafficView string | Pulumi.Enrollment Status Azure Native. Network. Traffic View Enrollment Status 
- Indicates whether Traffic View is 'Enabled' or 'Disabled' for the Traffic Manager profile. Null, indicates 'Disabled'. Enabling this feature will increase the cost of the Traffic Manage profile.
- Type string
- The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- AllowedEndpoint []stringRecord Types 
- The list of allowed endpoint record types.
- DnsConfig DnsConfig Args 
- The DNS settings of the Traffic Manager profile.
- Endpoints
[]EndpointType Args 
- The list of endpoints in the Traffic Manager profile. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.
- Id string
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
- Location string
- The Azure Region where the resource lives
- MaxReturn float64
- Maximum number of endpoints to be returned for MultiValue routing type.
- MonitorConfig MonitorConfig Args 
- The endpoint monitoring settings of the Traffic Manager profile.
- Name string
- The name of the resource
- ProfileName string
- The name of the Traffic Manager profile.
- ProfileStatus string | ProfileStatus 
- The status of the Traffic Manager profile.
- map[string]string
- Resource tags.
- TrafficRouting string | TrafficMethod Routing Method 
- The traffic routing method of the Traffic Manager profile.
- TrafficView string | TrafficEnrollment Status View Enrollment Status 
- Indicates whether Traffic View is 'Enabled' or 'Disabled' for the Traffic Manager profile. Null, indicates 'Disabled'. Enabling this feature will increase the cost of the Traffic Manage profile.
- Type string
- The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- allowedEndpoint List<Either<String,AllowedRecord Types Endpoint Record Type>> 
- The list of allowed endpoint record types.
- dnsConfig DnsConfig 
- The DNS settings of the Traffic Manager profile.
- endpoints List<Endpoint>
- The list of endpoints in the Traffic Manager profile. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.
- id String
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
- location String
- The Azure Region where the resource lives
- maxReturn Double
- Maximum number of endpoints to be returned for MultiValue routing type.
- monitorConfig MonitorConfig 
- The endpoint monitoring settings of the Traffic Manager profile.
- name String
- The name of the resource
- profileName String
- The name of the Traffic Manager profile.
- profileStatus String | ProfileStatus 
- The status of the Traffic Manager profile.
- Map<String,String>
- Resource tags.
- trafficRouting String | TrafficMethod Routing Method 
- The traffic routing method of the Traffic Manager profile.
- trafficView String | TrafficEnrollment Status View Enrollment Status 
- Indicates whether Traffic View is 'Enabled' or 'Disabled' for the Traffic Manager profile. Null, indicates 'Disabled'. Enabling this feature will increase the cost of the Traffic Manage profile.
- type String
- The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- allowedEndpoint (string | AllowedRecord Types Endpoint Record Type)[] 
- The list of allowed endpoint record types.
- dnsConfig DnsConfig 
- The DNS settings of the Traffic Manager profile.
- endpoints Endpoint[]
- The list of endpoints in the Traffic Manager profile. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.
- id string
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
- location string
- The Azure Region where the resource lives
- maxReturn number
- Maximum number of endpoints to be returned for MultiValue routing type.
- monitorConfig MonitorConfig 
- The endpoint monitoring settings of the Traffic Manager profile.
- name string
- The name of the resource
- profileName string
- The name of the Traffic Manager profile.
- profileStatus string | ProfileStatus 
- The status of the Traffic Manager profile.
- {[key: string]: string}
- Resource tags.
- trafficRouting string | TrafficMethod Routing Method 
- The traffic routing method of the Traffic Manager profile.
- trafficView string | TrafficEnrollment Status View Enrollment Status 
- Indicates whether Traffic View is 'Enabled' or 'Disabled' for the Traffic Manager profile. Null, indicates 'Disabled'. Enabling this feature will increase the cost of the Traffic Manage profile.
- type string
- The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- allowed_endpoint_ Sequence[Union[str, Allowedrecord_ types Endpoint Record Type]] 
- The list of allowed endpoint record types.
- dns_config DnsConfig Args 
- The DNS settings of the Traffic Manager profile.
- endpoints
Sequence[EndpointArgs] 
- The list of endpoints in the Traffic Manager profile. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.
- id str
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
- location str
- The Azure Region where the resource lives
- max_return float
- Maximum number of endpoints to be returned for MultiValue routing type.
- monitor_config MonitorConfig Args 
- The endpoint monitoring settings of the Traffic Manager profile.
- name str
- The name of the resource
- profile_name str
- The name of the Traffic Manager profile.
- profile_status str | ProfileStatus 
- The status of the Traffic Manager profile.
- Mapping[str, str]
- Resource tags.
- traffic_routing_ str | Trafficmethod Routing Method 
- The traffic routing method of the Traffic Manager profile.
- traffic_view_ str | Trafficenrollment_ status View Enrollment Status 
- Indicates whether Traffic View is 'Enabled' or 'Disabled' for the Traffic Manager profile. Null, indicates 'Disabled'. Enabling this feature will increase the cost of the Traffic Manage profile.
- type str
- The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- allowedEndpoint List<String | "DomainRecord Types Name" | "IPv4Address" | "IPv6Address" | "Any"> 
- The list of allowed endpoint record types.
- dnsConfig Property Map
- The DNS settings of the Traffic Manager profile.
- endpoints List<Property Map>
- The list of endpoints in the Traffic Manager profile. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.
- id String
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
- location String
- The Azure Region where the resource lives
- maxReturn Number
- Maximum number of endpoints to be returned for MultiValue routing type.
- monitorConfig Property Map
- The endpoint monitoring settings of the Traffic Manager profile.
- name String
- The name of the resource
- profileName String
- The name of the Traffic Manager profile.
- profileStatus String | "Enabled" | "Disabled"
- The status of the Traffic Manager profile.
- Map<String>
- Resource tags.
- trafficRouting String | "Performance" | "Priority" | "Weighted" | "Geographic" | "MultiMethod Value" | "Subnet" 
- The traffic routing method of the Traffic Manager profile.
- trafficView String | "Enabled" | "Disabled"Enrollment Status 
- Indicates whether Traffic View is 'Enabled' or 'Disabled' for the Traffic Manager profile. Null, indicates 'Disabled'. Enabling this feature will increase the cost of the Traffic Manage profile.
- type String
- The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
Outputs
All input properties are implicitly available as output properties. Additionally, the Profile resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
AllowedEndpointRecordType, AllowedEndpointRecordTypeArgs        
- DomainName 
- DomainName
- IPv4Address
- IPv4Address
- IPv6Address
- IPv6Address
- Any
- Any
- AllowedEndpoint Record Type Domain Name 
- DomainName
- AllowedEndpoint Record Type IPv4Address 
- IPv4Address
- AllowedEndpoint Record Type IPv6Address 
- IPv6Address
- AllowedEndpoint Record Type Any 
- Any
- DomainName 
- DomainName
- IPv4Address
- IPv4Address
- IPv6Address
- IPv6Address
- Any
- Any
- DomainName 
- DomainName
- IPv4Address
- IPv4Address
- IPv6Address
- IPv6Address
- Any
- Any
- DOMAIN_NAME
- DomainName
- I_PV4_ADDRESS
- IPv4Address
- I_PV6_ADDRESS
- IPv6Address
- ANY
- Any
- "DomainName" 
- DomainName
- "IPv4Address"
- IPv4Address
- "IPv6Address"
- IPv6Address
- "Any"
- Any
AlwaysServe, AlwaysServeArgs    
- Enabled
- Enabled
- Disabled
- Disabled
- AlwaysServe Enabled 
- Enabled
- AlwaysServe Disabled 
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- ENABLED
- Enabled
- DISABLED
- Disabled
- "Enabled"
- Enabled
- "Disabled"
- Disabled
DnsConfig, DnsConfigArgs    
- RelativeName string
- The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.
- Ttl double
- The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.
- RelativeName string
- The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.
- Ttl float64
- The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.
- relativeName String
- The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.
- ttl Double
- The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.
- relativeName string
- The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.
- ttl number
- The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.
- relative_name str
- The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.
- ttl float
- The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.
- relativeName String
- The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.
- ttl Number
- The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.
DnsConfigResponse, DnsConfigResponseArgs      
- Fqdn string
- The fully-qualified domain name (FQDN) of the Traffic Manager profile. This is formed from the concatenation of the RelativeName with the DNS domain used by Azure Traffic Manager.
- RelativeName string
- The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.
- Ttl double
- The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.
- Fqdn string
- The fully-qualified domain name (FQDN) of the Traffic Manager profile. This is formed from the concatenation of the RelativeName with the DNS domain used by Azure Traffic Manager.
- RelativeName string
- The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.
- Ttl float64
- The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.
- fqdn String
- The fully-qualified domain name (FQDN) of the Traffic Manager profile. This is formed from the concatenation of the RelativeName with the DNS domain used by Azure Traffic Manager.
- relativeName String
- The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.
- ttl Double
- The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.
- fqdn string
- The fully-qualified domain name (FQDN) of the Traffic Manager profile. This is formed from the concatenation of the RelativeName with the DNS domain used by Azure Traffic Manager.
- relativeName string
- The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.
- ttl number
- The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.
- fqdn str
- The fully-qualified domain name (FQDN) of the Traffic Manager profile. This is formed from the concatenation of the RelativeName with the DNS domain used by Azure Traffic Manager.
- relative_name str
- The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.
- ttl float
- The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.
- fqdn String
- The fully-qualified domain name (FQDN) of the Traffic Manager profile. This is formed from the concatenation of the RelativeName with the DNS domain used by Azure Traffic Manager.
- relativeName String
- The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.
- ttl Number
- The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.
Endpoint, EndpointArgs  
- AlwaysServe string | Pulumi.Azure Native. Network. Always Serve 
- If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
- CustomHeaders List<Pulumi.Azure Native. Network. Inputs. Endpoint Properties Custom Headers> 
- List of custom headers.
- EndpointLocation string
- Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method.
- EndpointMonitor string | Pulumi.Status Azure Native. Network. Endpoint Monitor Status 
- The monitoring status of the endpoint.
- EndpointStatus string | Pulumi.Azure Native. Network. Endpoint Status 
- The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method.
- GeoMapping List<string>
- The list of countries/regions mapped to this endpoint when using the 'Geographic' traffic routing method. Please consult Traffic Manager Geographic documentation for a full list of accepted values.
- Id string
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
- MinChild doubleEndpoints 
- The minimum number of endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- MinChild doubleEndpoints IPv4 
- The minimum number of IPv4 (DNS record type A) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- MinChild doubleEndpoints IPv6 
- The minimum number of IPv6 (DNS record type AAAA) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- Name string
- The name of the resource
- Priority double
- The priority of this endpoint when using the 'Priority' traffic routing method. Possible values are from 1 to 1000, lower values represent higher priority. This is an optional parameter. If specified, it must be specified on all endpoints, and no two endpoints can share the same priority value.
- Subnets
List<Pulumi.Azure Native. Network. Inputs. Endpoint Properties Subnets> 
- The list of subnets, IP addresses, and/or address ranges mapped to this endpoint when using the 'Subnet' traffic routing method. An empty list will match all ranges not covered by other endpoints.
- Target string
- The fully-qualified DNS name or IP address of the endpoint. Traffic Manager returns this value in DNS responses to direct traffic to this endpoint.
- TargetResource stringId 
- The Azure Resource URI of the of the endpoint. Not applicable to endpoints of type 'ExternalEndpoints'.
- Type string
- The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
- Weight double
- The weight of this endpoint when using the 'Weighted' traffic routing method. Possible values are from 1 to 1000.
- AlwaysServe string | AlwaysServe 
- If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
- CustomHeaders []EndpointProperties Custom Headers 
- List of custom headers.
- EndpointLocation string
- Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method.
- EndpointMonitor string | EndpointStatus Monitor Status 
- The monitoring status of the endpoint.
- EndpointStatus string | EndpointStatus 
- The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method.
- GeoMapping []string
- The list of countries/regions mapped to this endpoint when using the 'Geographic' traffic routing method. Please consult Traffic Manager Geographic documentation for a full list of accepted values.
- Id string
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
- MinChild float64Endpoints 
- The minimum number of endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- MinChild float64Endpoints IPv4 
- The minimum number of IPv4 (DNS record type A) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- MinChild float64Endpoints IPv6 
- The minimum number of IPv6 (DNS record type AAAA) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- Name string
- The name of the resource
- Priority float64
- The priority of this endpoint when using the 'Priority' traffic routing method. Possible values are from 1 to 1000, lower values represent higher priority. This is an optional parameter. If specified, it must be specified on all endpoints, and no two endpoints can share the same priority value.
- Subnets
[]EndpointProperties Subnets 
- The list of subnets, IP addresses, and/or address ranges mapped to this endpoint when using the 'Subnet' traffic routing method. An empty list will match all ranges not covered by other endpoints.
- Target string
- The fully-qualified DNS name or IP address of the endpoint. Traffic Manager returns this value in DNS responses to direct traffic to this endpoint.
- TargetResource stringId 
- The Azure Resource URI of the of the endpoint. Not applicable to endpoints of type 'ExternalEndpoints'.
- Type string
- The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
- Weight float64
- The weight of this endpoint when using the 'Weighted' traffic routing method. Possible values are from 1 to 1000.
- alwaysServe String | AlwaysServe 
- If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
- customHeaders List<EndpointProperties Custom Headers> 
- List of custom headers.
- endpointLocation String
- Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method.
- endpointMonitor String | EndpointStatus Monitor Status 
- The monitoring status of the endpoint.
- endpointStatus String | EndpointStatus 
- The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method.
- geoMapping List<String>
- The list of countries/regions mapped to this endpoint when using the 'Geographic' traffic routing method. Please consult Traffic Manager Geographic documentation for a full list of accepted values.
- id String
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
- minChild DoubleEndpoints 
- The minimum number of endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- minChild DoubleEndpoints IPv4 
- The minimum number of IPv4 (DNS record type A) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- minChild DoubleEndpoints IPv6 
- The minimum number of IPv6 (DNS record type AAAA) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- name String
- The name of the resource
- priority Double
- The priority of this endpoint when using the 'Priority' traffic routing method. Possible values are from 1 to 1000, lower values represent higher priority. This is an optional parameter. If specified, it must be specified on all endpoints, and no two endpoints can share the same priority value.
- subnets
List<EndpointProperties Subnets> 
- The list of subnets, IP addresses, and/or address ranges mapped to this endpoint when using the 'Subnet' traffic routing method. An empty list will match all ranges not covered by other endpoints.
- target String
- The fully-qualified DNS name or IP address of the endpoint. Traffic Manager returns this value in DNS responses to direct traffic to this endpoint.
- targetResource StringId 
- The Azure Resource URI of the of the endpoint. Not applicable to endpoints of type 'ExternalEndpoints'.
- type String
- The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
- weight Double
- The weight of this endpoint when using the 'Weighted' traffic routing method. Possible values are from 1 to 1000.
- alwaysServe string | AlwaysServe 
- If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
- customHeaders EndpointProperties Custom Headers[] 
- List of custom headers.
- endpointLocation string
- Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method.
- endpointMonitor string | EndpointStatus Monitor Status 
- The monitoring status of the endpoint.
- endpointStatus string | EndpointStatus 
- The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method.
- geoMapping string[]
- The list of countries/regions mapped to this endpoint when using the 'Geographic' traffic routing method. Please consult Traffic Manager Geographic documentation for a full list of accepted values.
- id string
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
- minChild numberEndpoints 
- The minimum number of endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- minChild numberEndpoints IPv4 
- The minimum number of IPv4 (DNS record type A) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- minChild numberEndpoints IPv6 
- The minimum number of IPv6 (DNS record type AAAA) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- name string
- The name of the resource
- priority number
- The priority of this endpoint when using the 'Priority' traffic routing method. Possible values are from 1 to 1000, lower values represent higher priority. This is an optional parameter. If specified, it must be specified on all endpoints, and no two endpoints can share the same priority value.
- subnets
EndpointProperties Subnets[] 
- The list of subnets, IP addresses, and/or address ranges mapped to this endpoint when using the 'Subnet' traffic routing method. An empty list will match all ranges not covered by other endpoints.
- target string
- The fully-qualified DNS name or IP address of the endpoint. Traffic Manager returns this value in DNS responses to direct traffic to this endpoint.
- targetResource stringId 
- The Azure Resource URI of the of the endpoint. Not applicable to endpoints of type 'ExternalEndpoints'.
- type string
- The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
- weight number
- The weight of this endpoint when using the 'Weighted' traffic routing method. Possible values are from 1 to 1000.
- always_serve str | AlwaysServe 
- If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
- custom_headers Sequence[EndpointProperties Custom Headers] 
- List of custom headers.
- endpoint_location str
- Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method.
- endpoint_monitor_ str | Endpointstatus Monitor Status 
- The monitoring status of the endpoint.
- endpoint_status str | EndpointStatus 
- The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method.
- geo_mapping Sequence[str]
- The list of countries/regions mapped to this endpoint when using the 'Geographic' traffic routing method. Please consult Traffic Manager Geographic documentation for a full list of accepted values.
- id str
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
- min_child_ floatendpoints 
- The minimum number of endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- min_child_ floatendpoints_ i_ pv4 
- The minimum number of IPv4 (DNS record type A) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- min_child_ floatendpoints_ i_ pv6 
- The minimum number of IPv6 (DNS record type AAAA) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- name str
- The name of the resource
- priority float
- The priority of this endpoint when using the 'Priority' traffic routing method. Possible values are from 1 to 1000, lower values represent higher priority. This is an optional parameter. If specified, it must be specified on all endpoints, and no two endpoints can share the same priority value.
- subnets
Sequence[EndpointProperties Subnets] 
- The list of subnets, IP addresses, and/or address ranges mapped to this endpoint when using the 'Subnet' traffic routing method. An empty list will match all ranges not covered by other endpoints.
- target str
- The fully-qualified DNS name or IP address of the endpoint. Traffic Manager returns this value in DNS responses to direct traffic to this endpoint.
- target_resource_ strid 
- The Azure Resource URI of the of the endpoint. Not applicable to endpoints of type 'ExternalEndpoints'.
- type str
- The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
- weight float
- The weight of this endpoint when using the 'Weighted' traffic routing method. Possible values are from 1 to 1000.
- alwaysServe String | "Enabled" | "Disabled"
- If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
- customHeaders List<Property Map>
- List of custom headers.
- endpointLocation String
- Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method.
- endpointMonitor String | "CheckingStatus Endpoint" | "Online" | "Degraded" | "Disabled" | "Inactive" | "Stopped" | "Unmonitored" 
- The monitoring status of the endpoint.
- endpointStatus String | "Enabled" | "Disabled"
- The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method.
- geoMapping List<String>
- The list of countries/regions mapped to this endpoint when using the 'Geographic' traffic routing method. Please consult Traffic Manager Geographic documentation for a full list of accepted values.
- id String
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
- minChild NumberEndpoints 
- The minimum number of endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- minChild NumberEndpoints IPv4 
- The minimum number of IPv4 (DNS record type A) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- minChild NumberEndpoints IPv6 
- The minimum number of IPv6 (DNS record type AAAA) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- name String
- The name of the resource
- priority Number
- The priority of this endpoint when using the 'Priority' traffic routing method. Possible values are from 1 to 1000, lower values represent higher priority. This is an optional parameter. If specified, it must be specified on all endpoints, and no two endpoints can share the same priority value.
- subnets List<Property Map>
- The list of subnets, IP addresses, and/or address ranges mapped to this endpoint when using the 'Subnet' traffic routing method. An empty list will match all ranges not covered by other endpoints.
- target String
- The fully-qualified DNS name or IP address of the endpoint. Traffic Manager returns this value in DNS responses to direct traffic to this endpoint.
- targetResource StringId 
- The Azure Resource URI of the of the endpoint. Not applicable to endpoints of type 'ExternalEndpoints'.
- type String
- The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
- weight Number
- The weight of this endpoint when using the 'Weighted' traffic routing method. Possible values are from 1 to 1000.
EndpointMonitorStatus, EndpointMonitorStatusArgs      
- CheckingEndpoint 
- CheckingEndpoint
- Online
- Online
- Degraded
- Degraded
- Disabled
- Disabled
- Inactive
- Inactive
- Stopped
- Stopped
- Unmonitored
- Unmonitored
- EndpointMonitor Status Checking Endpoint 
- CheckingEndpoint
- EndpointMonitor Status Online 
- Online
- EndpointMonitor Status Degraded 
- Degraded
- EndpointMonitor Status Disabled 
- Disabled
- EndpointMonitor Status Inactive 
- Inactive
- EndpointMonitor Status Stopped 
- Stopped
- EndpointMonitor Status Unmonitored 
- Unmonitored
- CheckingEndpoint 
- CheckingEndpoint
- Online
- Online
- Degraded
- Degraded
- Disabled
- Disabled
- Inactive
- Inactive
- Stopped
- Stopped
- Unmonitored
- Unmonitored
- CheckingEndpoint 
- CheckingEndpoint
- Online
- Online
- Degraded
- Degraded
- Disabled
- Disabled
- Inactive
- Inactive
- Stopped
- Stopped
- Unmonitored
- Unmonitored
- CHECKING_ENDPOINT
- CheckingEndpoint
- ONLINE
- Online
- DEGRADED
- Degraded
- DISABLED
- Disabled
- INACTIVE
- Inactive
- STOPPED
- Stopped
- UNMONITORED
- Unmonitored
- "CheckingEndpoint" 
- CheckingEndpoint
- "Online"
- Online
- "Degraded"
- Degraded
- "Disabled"
- Disabled
- "Inactive"
- Inactive
- "Stopped"
- Stopped
- "Unmonitored"
- Unmonitored
EndpointPropertiesCustomHeaders, EndpointPropertiesCustomHeadersArgs        
EndpointPropertiesResponseCustomHeaders, EndpointPropertiesResponseCustomHeadersArgs          
EndpointPropertiesResponseSubnets, EndpointPropertiesResponseSubnetsArgs        
EndpointPropertiesSubnets, EndpointPropertiesSubnetsArgs      
EndpointResponse, EndpointResponseArgs    
- AlwaysServe string
- If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
- CustomHeaders List<Pulumi.Azure Native. Network. Inputs. Endpoint Properties Response Custom Headers> 
- List of custom headers.
- EndpointLocation string
- Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method.
- EndpointMonitor stringStatus 
- The monitoring status of the endpoint.
- EndpointStatus string
- The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method.
- GeoMapping List<string>
- The list of countries/regions mapped to this endpoint when using the 'Geographic' traffic routing method. Please consult Traffic Manager Geographic documentation for a full list of accepted values.
- Id string
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
- MinChild doubleEndpoints 
- The minimum number of endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- MinChild doubleEndpoints IPv4 
- The minimum number of IPv4 (DNS record type A) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- MinChild doubleEndpoints IPv6 
- The minimum number of IPv6 (DNS record type AAAA) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- Name string
- The name of the resource
- Priority double
- The priority of this endpoint when using the 'Priority' traffic routing method. Possible values are from 1 to 1000, lower values represent higher priority. This is an optional parameter. If specified, it must be specified on all endpoints, and no two endpoints can share the same priority value.
- Subnets
List<Pulumi.Azure Native. Network. Inputs. Endpoint Properties Response Subnets> 
- The list of subnets, IP addresses, and/or address ranges mapped to this endpoint when using the 'Subnet' traffic routing method. An empty list will match all ranges not covered by other endpoints.
- Target string
- The fully-qualified DNS name or IP address of the endpoint. Traffic Manager returns this value in DNS responses to direct traffic to this endpoint.
- TargetResource stringId 
- The Azure Resource URI of the of the endpoint. Not applicable to endpoints of type 'ExternalEndpoints'.
- Type string
- The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
- Weight double
- The weight of this endpoint when using the 'Weighted' traffic routing method. Possible values are from 1 to 1000.
- AlwaysServe string
- If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
- CustomHeaders []EndpointProperties Response Custom Headers 
- List of custom headers.
- EndpointLocation string
- Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method.
- EndpointMonitor stringStatus 
- The monitoring status of the endpoint.
- EndpointStatus string
- The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method.
- GeoMapping []string
- The list of countries/regions mapped to this endpoint when using the 'Geographic' traffic routing method. Please consult Traffic Manager Geographic documentation for a full list of accepted values.
- Id string
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
- MinChild float64Endpoints 
- The minimum number of endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- MinChild float64Endpoints IPv4 
- The minimum number of IPv4 (DNS record type A) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- MinChild float64Endpoints IPv6 
- The minimum number of IPv6 (DNS record type AAAA) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- Name string
- The name of the resource
- Priority float64
- The priority of this endpoint when using the 'Priority' traffic routing method. Possible values are from 1 to 1000, lower values represent higher priority. This is an optional parameter. If specified, it must be specified on all endpoints, and no two endpoints can share the same priority value.
- Subnets
[]EndpointProperties Response Subnets 
- The list of subnets, IP addresses, and/or address ranges mapped to this endpoint when using the 'Subnet' traffic routing method. An empty list will match all ranges not covered by other endpoints.
- Target string
- The fully-qualified DNS name or IP address of the endpoint. Traffic Manager returns this value in DNS responses to direct traffic to this endpoint.
- TargetResource stringId 
- The Azure Resource URI of the of the endpoint. Not applicable to endpoints of type 'ExternalEndpoints'.
- Type string
- The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
- Weight float64
- The weight of this endpoint when using the 'Weighted' traffic routing method. Possible values are from 1 to 1000.
- alwaysServe String
- If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
- customHeaders List<EndpointProperties Response Custom Headers> 
- List of custom headers.
- endpointLocation String
- Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method.
- endpointMonitor StringStatus 
- The monitoring status of the endpoint.
- endpointStatus String
- The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method.
- geoMapping List<String>
- The list of countries/regions mapped to this endpoint when using the 'Geographic' traffic routing method. Please consult Traffic Manager Geographic documentation for a full list of accepted values.
- id String
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
- minChild DoubleEndpoints 
- The minimum number of endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- minChild DoubleEndpoints IPv4 
- The minimum number of IPv4 (DNS record type A) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- minChild DoubleEndpoints IPv6 
- The minimum number of IPv6 (DNS record type AAAA) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- name String
- The name of the resource
- priority Double
- The priority of this endpoint when using the 'Priority' traffic routing method. Possible values are from 1 to 1000, lower values represent higher priority. This is an optional parameter. If specified, it must be specified on all endpoints, and no two endpoints can share the same priority value.
- subnets
List<EndpointProperties Response Subnets> 
- The list of subnets, IP addresses, and/or address ranges mapped to this endpoint when using the 'Subnet' traffic routing method. An empty list will match all ranges not covered by other endpoints.
- target String
- The fully-qualified DNS name or IP address of the endpoint. Traffic Manager returns this value in DNS responses to direct traffic to this endpoint.
- targetResource StringId 
- The Azure Resource URI of the of the endpoint. Not applicable to endpoints of type 'ExternalEndpoints'.
- type String
- The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
- weight Double
- The weight of this endpoint when using the 'Weighted' traffic routing method. Possible values are from 1 to 1000.
- alwaysServe string
- If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
- customHeaders EndpointProperties Response Custom Headers[] 
- List of custom headers.
- endpointLocation string
- Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method.
- endpointMonitor stringStatus 
- The monitoring status of the endpoint.
- endpointStatus string
- The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method.
- geoMapping string[]
- The list of countries/regions mapped to this endpoint when using the 'Geographic' traffic routing method. Please consult Traffic Manager Geographic documentation for a full list of accepted values.
- id string
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
- minChild numberEndpoints 
- The minimum number of endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- minChild numberEndpoints IPv4 
- The minimum number of IPv4 (DNS record type A) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- minChild numberEndpoints IPv6 
- The minimum number of IPv6 (DNS record type AAAA) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- name string
- The name of the resource
- priority number
- The priority of this endpoint when using the 'Priority' traffic routing method. Possible values are from 1 to 1000, lower values represent higher priority. This is an optional parameter. If specified, it must be specified on all endpoints, and no two endpoints can share the same priority value.
- subnets
EndpointProperties Response Subnets[] 
- The list of subnets, IP addresses, and/or address ranges mapped to this endpoint when using the 'Subnet' traffic routing method. An empty list will match all ranges not covered by other endpoints.
- target string
- The fully-qualified DNS name or IP address of the endpoint. Traffic Manager returns this value in DNS responses to direct traffic to this endpoint.
- targetResource stringId 
- The Azure Resource URI of the of the endpoint. Not applicable to endpoints of type 'ExternalEndpoints'.
- type string
- The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
- weight number
- The weight of this endpoint when using the 'Weighted' traffic routing method. Possible values are from 1 to 1000.
- always_serve str
- If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
- custom_headers Sequence[EndpointProperties Response Custom Headers] 
- List of custom headers.
- endpoint_location str
- Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method.
- endpoint_monitor_ strstatus 
- The monitoring status of the endpoint.
- endpoint_status str
- The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method.
- geo_mapping Sequence[str]
- The list of countries/regions mapped to this endpoint when using the 'Geographic' traffic routing method. Please consult Traffic Manager Geographic documentation for a full list of accepted values.
- id str
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
- min_child_ floatendpoints 
- The minimum number of endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- min_child_ floatendpoints_ i_ pv4 
- The minimum number of IPv4 (DNS record type A) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- min_child_ floatendpoints_ i_ pv6 
- The minimum number of IPv6 (DNS record type AAAA) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- name str
- The name of the resource
- priority float
- The priority of this endpoint when using the 'Priority' traffic routing method. Possible values are from 1 to 1000, lower values represent higher priority. This is an optional parameter. If specified, it must be specified on all endpoints, and no two endpoints can share the same priority value.
- subnets
Sequence[EndpointProperties Response Subnets] 
- The list of subnets, IP addresses, and/or address ranges mapped to this endpoint when using the 'Subnet' traffic routing method. An empty list will match all ranges not covered by other endpoints.
- target str
- The fully-qualified DNS name or IP address of the endpoint. Traffic Manager returns this value in DNS responses to direct traffic to this endpoint.
- target_resource_ strid 
- The Azure Resource URI of the of the endpoint. Not applicable to endpoints of type 'ExternalEndpoints'.
- type str
- The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
- weight float
- The weight of this endpoint when using the 'Weighted' traffic routing method. Possible values are from 1 to 1000.
- alwaysServe String
- If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
- customHeaders List<Property Map>
- List of custom headers.
- endpointLocation String
- Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method.
- endpointMonitor StringStatus 
- The monitoring status of the endpoint.
- endpointStatus String
- The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method.
- geoMapping List<String>
- The list of countries/regions mapped to this endpoint when using the 'Geographic' traffic routing method. Please consult Traffic Manager Geographic documentation for a full list of accepted values.
- id String
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
- minChild NumberEndpoints 
- The minimum number of endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- minChild NumberEndpoints IPv4 
- The minimum number of IPv4 (DNS record type A) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- minChild NumberEndpoints IPv6 
- The minimum number of IPv6 (DNS record type AAAA) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- name String
- The name of the resource
- priority Number
- The priority of this endpoint when using the 'Priority' traffic routing method. Possible values are from 1 to 1000, lower values represent higher priority. This is an optional parameter. If specified, it must be specified on all endpoints, and no two endpoints can share the same priority value.
- subnets List<Property Map>
- The list of subnets, IP addresses, and/or address ranges mapped to this endpoint when using the 'Subnet' traffic routing method. An empty list will match all ranges not covered by other endpoints.
- target String
- The fully-qualified DNS name or IP address of the endpoint. Traffic Manager returns this value in DNS responses to direct traffic to this endpoint.
- targetResource StringId 
- The Azure Resource URI of the of the endpoint. Not applicable to endpoints of type 'ExternalEndpoints'.
- type String
- The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
- weight Number
- The weight of this endpoint when using the 'Weighted' traffic routing method. Possible values are from 1 to 1000.
EndpointStatus, EndpointStatusArgs    
- Enabled
- Enabled
- Disabled
- Disabled
- EndpointStatus Enabled 
- Enabled
- EndpointStatus Disabled 
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- ENABLED
- Enabled
- DISABLED
- Disabled
- "Enabled"
- Enabled
- "Disabled"
- Disabled
MonitorConfig, MonitorConfigArgs    
- CustomHeaders List<Pulumi.Azure Native. Network. Inputs. Monitor Config Custom Headers> 
- List of custom headers.
- ExpectedStatus List<Pulumi.Code Ranges Azure Native. Network. Inputs. Monitor Config Expected Status Code Ranges> 
- List of expected status code ranges.
- IntervalIn doubleSeconds 
- The monitor interval for endpoints in this profile. This is the interval at which Traffic Manager will check the health of each endpoint in this profile.
- Path string
- The path relative to the endpoint domain name used to probe for endpoint health.
- Port double
- The TCP port used to probe for endpoint health.
- ProfileMonitor string | Pulumi.Status Azure Native. Network. Profile Monitor Status 
- The profile-level monitoring status of the Traffic Manager profile.
- Protocol
string | Pulumi.Azure Native. Network. Monitor Protocol 
- The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health.
- TimeoutIn doubleSeconds 
- The monitor timeout for endpoints in this profile. This is the time that Traffic Manager allows endpoints in this profile to response to the health check.
- ToleratedNumber doubleOf Failures 
- The number of consecutive failed health check that Traffic Manager tolerates before declaring an endpoint in this profile Degraded after the next failed health check.
- CustomHeaders []MonitorConfig Custom Headers 
- List of custom headers.
- ExpectedStatus []MonitorCode Ranges Config Expected Status Code Ranges 
- List of expected status code ranges.
- IntervalIn float64Seconds 
- The monitor interval for endpoints in this profile. This is the interval at which Traffic Manager will check the health of each endpoint in this profile.
- Path string
- The path relative to the endpoint domain name used to probe for endpoint health.
- Port float64
- The TCP port used to probe for endpoint health.
- ProfileMonitor string | ProfileStatus Monitor Status 
- The profile-level monitoring status of the Traffic Manager profile.
- Protocol
string | MonitorProtocol 
- The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health.
- TimeoutIn float64Seconds 
- The monitor timeout for endpoints in this profile. This is the time that Traffic Manager allows endpoints in this profile to response to the health check.
- ToleratedNumber float64Of Failures 
- The number of consecutive failed health check that Traffic Manager tolerates before declaring an endpoint in this profile Degraded after the next failed health check.
- customHeaders List<MonitorConfig Custom Headers> 
- List of custom headers.
- expectedStatus List<MonitorCode Ranges Config Expected Status Code Ranges> 
- List of expected status code ranges.
- intervalIn DoubleSeconds 
- The monitor interval for endpoints in this profile. This is the interval at which Traffic Manager will check the health of each endpoint in this profile.
- path String
- The path relative to the endpoint domain name used to probe for endpoint health.
- port Double
- The TCP port used to probe for endpoint health.
- profileMonitor String | ProfileStatus Monitor Status 
- The profile-level monitoring status of the Traffic Manager profile.
- protocol
String | MonitorProtocol 
- The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health.
- timeoutIn DoubleSeconds 
- The monitor timeout for endpoints in this profile. This is the time that Traffic Manager allows endpoints in this profile to response to the health check.
- toleratedNumber DoubleOf Failures 
- The number of consecutive failed health check that Traffic Manager tolerates before declaring an endpoint in this profile Degraded after the next failed health check.
- customHeaders MonitorConfig Custom Headers[] 
- List of custom headers.
- expectedStatus MonitorCode Ranges Config Expected Status Code Ranges[] 
- List of expected status code ranges.
- intervalIn numberSeconds 
- The monitor interval for endpoints in this profile. This is the interval at which Traffic Manager will check the health of each endpoint in this profile.
- path string
- The path relative to the endpoint domain name used to probe for endpoint health.
- port number
- The TCP port used to probe for endpoint health.
- profileMonitor string | ProfileStatus Monitor Status 
- The profile-level monitoring status of the Traffic Manager profile.
- protocol
string | MonitorProtocol 
- The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health.
- timeoutIn numberSeconds 
- The monitor timeout for endpoints in this profile. This is the time that Traffic Manager allows endpoints in this profile to response to the health check.
- toleratedNumber numberOf Failures 
- The number of consecutive failed health check that Traffic Manager tolerates before declaring an endpoint in this profile Degraded after the next failed health check.
- custom_headers Sequence[MonitorConfig Custom Headers] 
- List of custom headers.
- expected_status_ Sequence[Monitorcode_ ranges Config Expected Status Code Ranges] 
- List of expected status code ranges.
- interval_in_ floatseconds 
- The monitor interval for endpoints in this profile. This is the interval at which Traffic Manager will check the health of each endpoint in this profile.
- path str
- The path relative to the endpoint domain name used to probe for endpoint health.
- port float
- The TCP port used to probe for endpoint health.
- profile_monitor_ str | Profilestatus Monitor Status 
- The profile-level monitoring status of the Traffic Manager profile.
- protocol
str | MonitorProtocol 
- The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health.
- timeout_in_ floatseconds 
- The monitor timeout for endpoints in this profile. This is the time that Traffic Manager allows endpoints in this profile to response to the health check.
- tolerated_number_ floatof_ failures 
- The number of consecutive failed health check that Traffic Manager tolerates before declaring an endpoint in this profile Degraded after the next failed health check.
- customHeaders List<Property Map>
- List of custom headers.
- expectedStatus List<Property Map>Code Ranges 
- List of expected status code ranges.
- intervalIn NumberSeconds 
- The monitor interval for endpoints in this profile. This is the interval at which Traffic Manager will check the health of each endpoint in this profile.
- path String
- The path relative to the endpoint domain name used to probe for endpoint health.
- port Number
- The TCP port used to probe for endpoint health.
- profileMonitor String | "CheckingStatus Endpoints" | "Online" | "Degraded" | "Disabled" | "Inactive" 
- The profile-level monitoring status of the Traffic Manager profile.
- protocol String | "HTTP" | "HTTPS" | "TCP"
- The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health.
- timeoutIn NumberSeconds 
- The monitor timeout for endpoints in this profile. This is the time that Traffic Manager allows endpoints in this profile to response to the health check.
- toleratedNumber NumberOf Failures 
- The number of consecutive failed health check that Traffic Manager tolerates before declaring an endpoint in this profile Degraded after the next failed health check.
MonitorConfigCustomHeaders, MonitorConfigCustomHeadersArgs        
MonitorConfigExpectedStatusCodeRanges, MonitorConfigExpectedStatusCodeRangesArgs            
MonitorConfigResponse, MonitorConfigResponseArgs      
- CustomHeaders List<Pulumi.Azure Native. Network. Inputs. Monitor Config Response Custom Headers> 
- List of custom headers.
- ExpectedStatus List<Pulumi.Code Ranges Azure Native. Network. Inputs. Monitor Config Response Expected Status Code Ranges> 
- List of expected status code ranges.
- IntervalIn doubleSeconds 
- The monitor interval for endpoints in this profile. This is the interval at which Traffic Manager will check the health of each endpoint in this profile.
- Path string
- The path relative to the endpoint domain name used to probe for endpoint health.
- Port double
- The TCP port used to probe for endpoint health.
- ProfileMonitor stringStatus 
- The profile-level monitoring status of the Traffic Manager profile.
- Protocol string
- The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health.
- TimeoutIn doubleSeconds 
- The monitor timeout for endpoints in this profile. This is the time that Traffic Manager allows endpoints in this profile to response to the health check.
- ToleratedNumber doubleOf Failures 
- The number of consecutive failed health check that Traffic Manager tolerates before declaring an endpoint in this profile Degraded after the next failed health check.
- CustomHeaders []MonitorConfig Response Custom Headers 
- List of custom headers.
- ExpectedStatus []MonitorCode Ranges Config Response Expected Status Code Ranges 
- List of expected status code ranges.
- IntervalIn float64Seconds 
- The monitor interval for endpoints in this profile. This is the interval at which Traffic Manager will check the health of each endpoint in this profile.
- Path string
- The path relative to the endpoint domain name used to probe for endpoint health.
- Port float64
- The TCP port used to probe for endpoint health.
- ProfileMonitor stringStatus 
- The profile-level monitoring status of the Traffic Manager profile.
- Protocol string
- The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health.
- TimeoutIn float64Seconds 
- The monitor timeout for endpoints in this profile. This is the time that Traffic Manager allows endpoints in this profile to response to the health check.
- ToleratedNumber float64Of Failures 
- The number of consecutive failed health check that Traffic Manager tolerates before declaring an endpoint in this profile Degraded after the next failed health check.
- customHeaders List<MonitorConfig Response Custom Headers> 
- List of custom headers.
- expectedStatus List<MonitorCode Ranges Config Response Expected Status Code Ranges> 
- List of expected status code ranges.
- intervalIn DoubleSeconds 
- The monitor interval for endpoints in this profile. This is the interval at which Traffic Manager will check the health of each endpoint in this profile.
- path String
- The path relative to the endpoint domain name used to probe for endpoint health.
- port Double
- The TCP port used to probe for endpoint health.
- profileMonitor StringStatus 
- The profile-level monitoring status of the Traffic Manager profile.
- protocol String
- The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health.
- timeoutIn DoubleSeconds 
- The monitor timeout for endpoints in this profile. This is the time that Traffic Manager allows endpoints in this profile to response to the health check.
- toleratedNumber DoubleOf Failures 
- The number of consecutive failed health check that Traffic Manager tolerates before declaring an endpoint in this profile Degraded after the next failed health check.
- customHeaders MonitorConfig Response Custom Headers[] 
- List of custom headers.
- expectedStatus MonitorCode Ranges Config Response Expected Status Code Ranges[] 
- List of expected status code ranges.
- intervalIn numberSeconds 
- The monitor interval for endpoints in this profile. This is the interval at which Traffic Manager will check the health of each endpoint in this profile.
- path string
- The path relative to the endpoint domain name used to probe for endpoint health.
- port number
- The TCP port used to probe for endpoint health.
- profileMonitor stringStatus 
- The profile-level monitoring status of the Traffic Manager profile.
- protocol string
- The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health.
- timeoutIn numberSeconds 
- The monitor timeout for endpoints in this profile. This is the time that Traffic Manager allows endpoints in this profile to response to the health check.
- toleratedNumber numberOf Failures 
- The number of consecutive failed health check that Traffic Manager tolerates before declaring an endpoint in this profile Degraded after the next failed health check.
- custom_headers Sequence[MonitorConfig Response Custom Headers] 
- List of custom headers.
- expected_status_ Sequence[Monitorcode_ ranges Config Response Expected Status Code Ranges] 
- List of expected status code ranges.
- interval_in_ floatseconds 
- The monitor interval for endpoints in this profile. This is the interval at which Traffic Manager will check the health of each endpoint in this profile.
- path str
- The path relative to the endpoint domain name used to probe for endpoint health.
- port float
- The TCP port used to probe for endpoint health.
- profile_monitor_ strstatus 
- The profile-level monitoring status of the Traffic Manager profile.
- protocol str
- The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health.
- timeout_in_ floatseconds 
- The monitor timeout for endpoints in this profile. This is the time that Traffic Manager allows endpoints in this profile to response to the health check.
- tolerated_number_ floatof_ failures 
- The number of consecutive failed health check that Traffic Manager tolerates before declaring an endpoint in this profile Degraded after the next failed health check.
- customHeaders List<Property Map>
- List of custom headers.
- expectedStatus List<Property Map>Code Ranges 
- List of expected status code ranges.
- intervalIn NumberSeconds 
- The monitor interval for endpoints in this profile. This is the interval at which Traffic Manager will check the health of each endpoint in this profile.
- path String
- The path relative to the endpoint domain name used to probe for endpoint health.
- port Number
- The TCP port used to probe for endpoint health.
- profileMonitor StringStatus 
- The profile-level monitoring status of the Traffic Manager profile.
- protocol String
- The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health.
- timeoutIn NumberSeconds 
- The monitor timeout for endpoints in this profile. This is the time that Traffic Manager allows endpoints in this profile to response to the health check.
- toleratedNumber NumberOf Failures 
- The number of consecutive failed health check that Traffic Manager tolerates before declaring an endpoint in this profile Degraded after the next failed health check.
MonitorConfigResponseCustomHeaders, MonitorConfigResponseCustomHeadersArgs          
MonitorConfigResponseExpectedStatusCodeRanges, MonitorConfigResponseExpectedStatusCodeRangesArgs              
MonitorProtocol, MonitorProtocolArgs    
- HTTP
- HTTP
- HTTPS
- HTTPS
- TCP
- TCP
- MonitorProtocol HTTP 
- HTTP
- MonitorProtocol HTTPS 
- HTTPS
- MonitorProtocol TCP 
- TCP
- HTTP
- HTTP
- HTTPS
- HTTPS
- TCP
- TCP
- HTTP
- HTTP
- HTTPS
- HTTPS
- TCP
- TCP
- HTTP
- HTTP
- HTTPS
- HTTPS
- TCP
- TCP
- "HTTP"
- HTTP
- "HTTPS"
- HTTPS
- "TCP"
- TCP
ProfileMonitorStatus, ProfileMonitorStatusArgs      
- CheckingEndpoints 
- CheckingEndpoints
- Online
- Online
- Degraded
- Degraded
- Disabled
- Disabled
- Inactive
- Inactive
- ProfileMonitor Status Checking Endpoints 
- CheckingEndpoints
- ProfileMonitor Status Online 
- Online
- ProfileMonitor Status Degraded 
- Degraded
- ProfileMonitor Status Disabled 
- Disabled
- ProfileMonitor Status Inactive 
- Inactive
- CheckingEndpoints 
- CheckingEndpoints
- Online
- Online
- Degraded
- Degraded
- Disabled
- Disabled
- Inactive
- Inactive
- CheckingEndpoints 
- CheckingEndpoints
- Online
- Online
- Degraded
- Degraded
- Disabled
- Disabled
- Inactive
- Inactive
- CHECKING_ENDPOINTS
- CheckingEndpoints
- ONLINE
- Online
- DEGRADED
- Degraded
- DISABLED
- Disabled
- INACTIVE
- Inactive
- "CheckingEndpoints" 
- CheckingEndpoints
- "Online"
- Online
- "Degraded"
- Degraded
- "Disabled"
- Disabled
- "Inactive"
- Inactive
ProfileStatus, ProfileStatusArgs    
- Enabled
- Enabled
- Disabled
- Disabled
- ProfileStatus Enabled 
- Enabled
- ProfileStatus Disabled 
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- ENABLED
- Enabled
- DISABLED
- Disabled
- "Enabled"
- Enabled
- "Disabled"
- Disabled
TrafficRoutingMethod, TrafficRoutingMethodArgs      
- Performance
- Performance
- Priority
- Priority
- Weighted
- Weighted
- Geographic
- Geographic
- MultiValue 
- MultiValue
- Subnet
- Subnet
- TrafficRouting Method Performance 
- Performance
- TrafficRouting Method Priority 
- Priority
- TrafficRouting Method Weighted 
- Weighted
- TrafficRouting Method Geographic 
- Geographic
- TrafficRouting Method Multi Value 
- MultiValue
- TrafficRouting Method Subnet 
- Subnet
- Performance
- Performance
- Priority
- Priority
- Weighted
- Weighted
- Geographic
- Geographic
- MultiValue 
- MultiValue
- Subnet
- Subnet
- Performance
- Performance
- Priority
- Priority
- Weighted
- Weighted
- Geographic
- Geographic
- MultiValue 
- MultiValue
- Subnet
- Subnet
- PERFORMANCE
- Performance
- PRIORITY
- Priority
- WEIGHTED
- Weighted
- GEOGRAPHIC
- Geographic
- MULTI_VALUE
- MultiValue
- SUBNET
- Subnet
- "Performance"
- Performance
- "Priority"
- Priority
- "Weighted"
- Weighted
- "Geographic"
- Geographic
- "MultiValue" 
- MultiValue
- "Subnet"
- Subnet
TrafficViewEnrollmentStatus, TrafficViewEnrollmentStatusArgs        
- Enabled
- Enabled
- Disabled
- Disabled
- TrafficView Enrollment Status Enabled 
- Enabled
- TrafficView Enrollment Status Disabled 
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- ENABLED
- Enabled
- DISABLED
- Disabled
- "Enabled"
- Enabled
- "Disabled"
- Disabled
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:network:Profile parentprofile /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0