1. Packages
  2. Azure Native v1
  3. API Docs
  4. network
  5. Profile
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.network.Profile

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Class representing a Traffic Manager profile. API Version: 2018-08-01.

    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 = "HTTP",
            },
            ProfileName = "azsmnet6386",
            ProfileStatus = "Enabled",
            ResourceGroupName = "azuresdkfornetautoresttrafficmanager1421",
            TrafficRoutingMethod = "MultiValue",
            TrafficViewEnrollmentStatus = "Disabled",
        });
    
    });
    
    package main
    
    import (
    	network "github.com/pulumi/pulumi-azure-native-sdk/network"
    	"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("HTTP"),
    			},
    			ProfileName:                 pulumi.String("azsmnet6386"),
    			ProfileStatus:               pulumi.String("Enabled"),
    			ResourceGroupName:           pulumi.String("azuresdkfornetautoresttrafficmanager1421"),
    			TrafficRoutingMethod:        pulumi.String("MultiValue"),
    			TrafficViewEnrollmentStatus: pulumi.String("Disabled"),
    		})
    		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 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(Map.ofEntries(
                    Map.entry("relativeName", "azsmnet6386"),
                    Map.entry("ttl", 35)
                ))
                .location("global")
                .maxReturn(2)
                .monitorConfig(Map.ofEntries(
                    Map.entry("path", "/testpath.aspx"),
                    Map.entry("port", 80),
                    Map.entry("protocol", "HTTP")
                ))
                .profileName("azsmnet6386")
                .profileStatus("Enabled")
                .resourceGroupName("azuresdkfornetautoresttrafficmanager1421")
                .trafficRoutingMethod("MultiValue")
                .trafficViewEnrollmentStatus("Disabled")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    profile = azure_native.network.Profile("profile",
        dns_config=azure_native.network.DnsConfigArgs(
            relative_name="azsmnet6386",
            ttl=35,
        ),
        location="global",
        max_return=2,
        monitor_config=azure_native.network.MonitorConfigArgs(
            path="/testpath.aspx",
            port=80,
            protocol="HTTP",
        ),
        profile_name="azsmnet6386",
        profile_status="Enabled",
        resource_group_name="azuresdkfornetautoresttrafficmanager1421",
        traffic_routing_method="MultiValue",
        traffic_view_enrollment_status="Disabled")
    
    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: "HTTP",
        },
        profileName: "azsmnet6386",
        profileStatus: "Enabled",
        resourceGroupName: "azuresdkfornetautoresttrafficmanager1421",
        trafficRoutingMethod: "MultiValue",
        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 = "HTTP",
            },
            ProfileName = "azsmnet6386",
            ProfileStatus = "Enabled",
            ResourceGroupName = "azuresdkfornetautoresttrafficmanager1421",
            TrafficRoutingMethod = "Performance",
        });
    
    });
    
    package main
    
    import (
    	network "github.com/pulumi/pulumi-azure-native-sdk/network"
    	"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("HTTP"),
    			},
    			ProfileName:          pulumi.String("azsmnet6386"),
    			ProfileStatus:        pulumi.String("Enabled"),
    			ResourceGroupName:    pulumi.String("azuresdkfornetautoresttrafficmanager1421"),
    			TrafficRoutingMethod: pulumi.String("Performance"),
    		})
    		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 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(Map.ofEntries(
                    Map.entry("relativeName", "azsmnet6386"),
                    Map.entry("ttl", 35)
                ))
                .location("global")
                .monitorConfig(Map.ofEntries(
                    Map.entry("path", "/testpath.aspx"),
                    Map.entry("port", 80),
                    Map.entry("protocol", "HTTP")
                ))
                .profileName("azsmnet6386")
                .profileStatus("Enabled")
                .resourceGroupName("azuresdkfornetautoresttrafficmanager1421")
                .trafficRoutingMethod("Performance")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    profile = azure_native.network.Profile("profile",
        dns_config=azure_native.network.DnsConfigArgs(
            relative_name="azsmnet6386",
            ttl=35,
        ),
        location="global",
        monitor_config=azure_native.network.MonitorConfigArgs(
            path="/testpath.aspx",
            port=80,
            protocol="HTTP",
        ),
        profile_name="azsmnet6386",
        profile_status="Enabled",
        resource_group_name="azuresdkfornetautoresttrafficmanager1421",
        traffic_routing_method="Performance")
    
    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: "HTTP",
        },
        profileName: "azsmnet6386",
        profileStatus: "Enabled",
        resourceGroupName: "azuresdkfornetautoresttrafficmanager1421",
        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[]
            {
                "DomainName",
            },
            DnsConfig = new AzureNative.Network.Inputs.DnsConfigArgs
            {
                RelativeName = "azuresdkfornetautoresttrafficmanager6192",
                Ttl = 35,
            },
            Endpoints = new[]
            {
                new AzureNative.Network.Inputs.EndpointArgs
                {
                    EndpointLocation = "North Europe",
                    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 = "HTTP",
                TimeoutInSeconds = 5,
                ToleratedNumberOfFailures = 2,
            },
            ProfileName = "azuresdkfornetautoresttrafficmanager6192",
            ProfileStatus = "Enabled",
            ResourceGroupName = "azuresdkfornetautoresttrafficmanager2583",
            TrafficRoutingMethod = "Performance",
        });
    
    });
    
    package main
    
    import (
    	network "github.com/pulumi/pulumi-azure-native-sdk/network"
    	"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("DomainName"),
    			},
    			DnsConfig: &network.DnsConfigArgs{
    				RelativeName: pulumi.String("azuresdkfornetautoresttrafficmanager6192"),
    				Ttl:          pulumi.Float64(35),
    			},
    			Endpoints: []network.EndpointTypeArgs{
    				{
    					EndpointLocation: pulumi.String("North Europe"),
    					EndpointStatus:   pulumi.String("Enabled"),
    					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("HTTP"),
    				TimeoutInSeconds:          pulumi.Float64(5),
    				ToleratedNumberOfFailures: pulumi.Float64(2),
    			},
    			ProfileName:          pulumi.String("azuresdkfornetautoresttrafficmanager6192"),
    			ProfileStatus:        pulumi.String("Enabled"),
    			ResourceGroupName:    pulumi.String("azuresdkfornetautoresttrafficmanager2583"),
    			TrafficRoutingMethod: pulumi.String("Performance"),
    		})
    		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 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(Map.ofEntries(
                    Map.entry("relativeName", "azuresdkfornetautoresttrafficmanager6192"),
                    Map.entry("ttl", 35)
                ))
                .endpoints(Map.ofEntries(
                    Map.entry("endpointLocation", "North Europe"),
                    Map.entry("endpointStatus", "Enabled"),
                    Map.entry("name", "My external endpoint"),
                    Map.entry("target", "foobar.contoso.com"),
                    Map.entry("type", "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints")
                ))
                .location("global")
                .monitorConfig(Map.ofEntries(
                    Map.entry("intervalInSeconds", 10),
                    Map.entry("path", "/testpath.aspx"),
                    Map.entry("port", 80),
                    Map.entry("protocol", "HTTP"),
                    Map.entry("timeoutInSeconds", 5),
                    Map.entry("toleratedNumberOfFailures", 2)
                ))
                .profileName("azuresdkfornetautoresttrafficmanager6192")
                .profileStatus("Enabled")
                .resourceGroupName("azuresdkfornetautoresttrafficmanager2583")
                .trafficRoutingMethod("Performance")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    profile = azure_native.network.Profile("profile",
        allowed_endpoint_record_types=["DomainName"],
        dns_config=azure_native.network.DnsConfigArgs(
            relative_name="azuresdkfornetautoresttrafficmanager6192",
            ttl=35,
        ),
        endpoints=[azure_native.network.EndpointArgs(
            endpoint_location="North Europe",
            endpoint_status="Enabled",
            name="My external endpoint",
            target="foobar.contoso.com",
            type="Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
        )],
        location="global",
        monitor_config=azure_native.network.MonitorConfigArgs(
            interval_in_seconds=10,
            path="/testpath.aspx",
            port=80,
            protocol="HTTP",
            timeout_in_seconds=5,
            tolerated_number_of_failures=2,
        ),
        profile_name="azuresdkfornetautoresttrafficmanager6192",
        profile_status="Enabled",
        resource_group_name="azuresdkfornetautoresttrafficmanager2583",
        traffic_routing_method="Performance")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const profile = new azure_native.network.Profile("profile", {
        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",
    });
    
    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 = "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 = "HTTP",
                TimeoutInSeconds = 5,
                ToleratedNumberOfFailures = 2,
            },
            ProfileName = "azuresdkfornetautoresttrafficmanager6192",
            ProfileStatus = "Enabled",
            ResourceGroupName = "azuresdkfornetautoresttrafficmanager2583",
            TrafficRoutingMethod = "Performance",
            TrafficViewEnrollmentStatus = "Disabled",
        });
    
    });
    
    package main
    
    import (
    	network "github.com/pulumi/pulumi-azure-native-sdk/network"
    	"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.EndpointTypeArgs{
    				{
    					CustomHeaders: network.EndpointPropertiesCustomHeadersArray{
    						{
    							Name:  pulumi.String("header-2"),
    							Value: pulumi.String("value-2-overridden"),
    						},
    					},
    					EndpointLocation: pulumi.String("North Europe"),
    					EndpointStatus:   pulumi.String("Enabled"),
    					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.MonitorConfigResponse{
    				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("HTTP"),
    				TimeoutInSeconds:          pulumi.Float64(5),
    				ToleratedNumberOfFailures: pulumi.Float64(2),
    			},
    			ProfileName:                 pulumi.String("azuresdkfornetautoresttrafficmanager6192"),
    			ProfileStatus:               pulumi.String("Enabled"),
    			ResourceGroupName:           pulumi.String("azuresdkfornetautoresttrafficmanager2583"),
    			TrafficRoutingMethod:        pulumi.String("Performance"),
    			TrafficViewEnrollmentStatus: pulumi.String("Disabled"),
    		})
    		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 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(Map.ofEntries(
                    Map.entry("relativeName", "azuresdkfornetautoresttrafficmanager6192"),
                    Map.entry("ttl", 35)
                ))
                .endpoints(Map.ofEntries(
                    Map.entry("customHeaders", Map.ofEntries(
                        Map.entry("name", "header-2"),
                        Map.entry("value", "value-2-overridden")
                    )),
                    Map.entry("endpointLocation", "North Europe"),
                    Map.entry("endpointStatus", "Enabled"),
                    Map.entry("name", "My external endpoint"),
                    Map.entry("target", "foobar.contoso.com"),
                    Map.entry("type", "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints")
                ))
                .location("global")
                .monitorConfig(Map.ofEntries(
                    Map.entry("customHeaders",                 
                        Map.ofEntries(
                            Map.entry("name", "header-1"),
                            Map.entry("value", "value-1")
                        ),
                        Map.ofEntries(
                            Map.entry("name", "header-2"),
                            Map.entry("value", "value-2")
                        )),
                    Map.entry("expectedStatusCodeRanges",                 
                        Map.ofEntries(
                            Map.entry("max", 205),
                            Map.entry("min", 200)
                        ),
                        Map.ofEntries(
                            Map.entry("max", 410),
                            Map.entry("min", 400)
                        )),
                    Map.entry("intervalInSeconds", 10),
                    Map.entry("path", "/testpath.aspx"),
                    Map.entry("port", 80),
                    Map.entry("protocol", "HTTP"),
                    Map.entry("timeoutInSeconds", 5),
                    Map.entry("toleratedNumberOfFailures", 2)
                ))
                .profileName("azuresdkfornetautoresttrafficmanager6192")
                .profileStatus("Enabled")
                .resourceGroupName("azuresdkfornetautoresttrafficmanager2583")
                .trafficRoutingMethod("Performance")
                .trafficViewEnrollmentStatus("Disabled")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    profile = azure_native.network.Profile("profile",
        dns_config=azure_native.network.DnsConfigArgs(
            relative_name="azuresdkfornetautoresttrafficmanager6192",
            ttl=35,
        ),
        endpoints=[{
            "customHeaders": [azure_native.network.EndpointPropertiesCustomHeadersArgs(
                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",
        monitor_config=azure_native.network.MonitorConfigResponseArgs(
            custom_headers=[
                azure_native.network.MonitorConfigCustomHeadersArgs(
                    name="header-1",
                    value="value-1",
                ),
                azure_native.network.MonitorConfigCustomHeadersArgs(
                    name="header-2",
                    value="value-2",
                ),
            ],
            expected_status_code_ranges=[
                azure_native.network.MonitorConfigExpectedStatusCodeRangesArgs(
                    max=205,
                    min=200,
                ),
                azure_native.network.MonitorConfigExpectedStatusCodeRangesArgs(
                    max=410,
                    min=400,
                ),
            ],
            interval_in_seconds=10,
            path="/testpath.aspx",
            port=80,
            protocol="HTTP",
            timeout_in_seconds=5,
            tolerated_number_of_failures=2,
        ),
        profile_name="azuresdkfornetautoresttrafficmanager6192",
        profile_status="Enabled",
        resource_group_name="azuresdkfornetautoresttrafficmanager2583",
        traffic_routing_method="Performance",
        traffic_view_enrollment_status="Disabled")
    
    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: "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",
    });
    
    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 = "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 = "HTTP",
                TimeoutInSeconds = 5,
                ToleratedNumberOfFailures = 2,
            },
            ProfileName = "azuresdkfornetautoresttrafficmanager6192",
            ProfileStatus = "Enabled",
            ResourceGroupName = "azuresdkfornetautoresttrafficmanager2583",
            TrafficRoutingMethod = "Performance",
        });
    
    });
    
    package main
    
    import (
    	network "github.com/pulumi/pulumi-azure-native-sdk/network"
    	"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.EndpointTypeArgs{
    				{
    					EndpointLocation: pulumi.String("North Europe"),
    					EndpointStatus:   pulumi.String("Enabled"),
    					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("HTTP"),
    				TimeoutInSeconds:          pulumi.Float64(5),
    				ToleratedNumberOfFailures: pulumi.Float64(2),
    			},
    			ProfileName:          pulumi.String("azuresdkfornetautoresttrafficmanager6192"),
    			ProfileStatus:        pulumi.String("Enabled"),
    			ResourceGroupName:    pulumi.String("azuresdkfornetautoresttrafficmanager2583"),
    			TrafficRoutingMethod: pulumi.String("Performance"),
    		})
    		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 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(Map.ofEntries(
                    Map.entry("relativeName", "azuresdkfornetautoresttrafficmanager6192"),
                    Map.entry("ttl", 35)
                ))
                .endpoints(Map.ofEntries(
                    Map.entry("endpointLocation", "North Europe"),
                    Map.entry("endpointStatus", "Enabled"),
                    Map.entry("name", "My external endpoint"),
                    Map.entry("target", "foobar.contoso.com"),
                    Map.entry("type", "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints")
                ))
                .location("global")
                .monitorConfig(Map.ofEntries(
                    Map.entry("intervalInSeconds", 10),
                    Map.entry("path", "/testpath.aspx"),
                    Map.entry("port", 80),
                    Map.entry("protocol", "HTTP"),
                    Map.entry("timeoutInSeconds", 5),
                    Map.entry("toleratedNumberOfFailures", 2)
                ))
                .profileName("azuresdkfornetautoresttrafficmanager6192")
                .profileStatus("Enabled")
                .resourceGroupName("azuresdkfornetautoresttrafficmanager2583")
                .trafficRoutingMethod("Performance")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    profile = azure_native.network.Profile("profile",
        dns_config=azure_native.network.DnsConfigArgs(
            relative_name="azuresdkfornetautoresttrafficmanager6192",
            ttl=35,
        ),
        endpoints=[azure_native.network.EndpointArgs(
            endpoint_location="North Europe",
            endpoint_status="Enabled",
            name="My external endpoint",
            target="foobar.contoso.com",
            type="Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
        )],
        location="global",
        monitor_config=azure_native.network.MonitorConfigArgs(
            interval_in_seconds=10,
            path="/testpath.aspx",
            port=80,
            protocol="HTTP",
            timeout_in_seconds=5,
            tolerated_number_of_failures=2,
        ),
        profile_name="azuresdkfornetautoresttrafficmanager6192",
        profile_status="Enabled",
        resource_group_name="azuresdkfornetautoresttrafficmanager2583",
        traffic_routing_method="Performance")
    
    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: "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",
    });
    
    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 = "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 = "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 = "HTTP",
                TimeoutInSeconds = 5,
                ToleratedNumberOfFailures = 2,
            },
            ProfileName = "parentprofile",
            ProfileStatus = "Enabled",
            ResourceGroupName = "myresourcegroup",
            TrafficRoutingMethod = "Priority",
        });
    
    });
    
    package main
    
    import (
    	network "github.com/pulumi/pulumi-azure-native-sdk/network"
    	"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.EndpointTypeArgs{
    				{
    					EndpointStatus:        pulumi.String("Enabled"),
    					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),
    				},
    				{
    					EndpointStatus:        pulumi.String("Enabled"),
    					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("HTTP"),
    				TimeoutInSeconds:          pulumi.Float64(5),
    				ToleratedNumberOfFailures: pulumi.Float64(2),
    			},
    			ProfileName:          pulumi.String("parentprofile"),
    			ProfileStatus:        pulumi.String("Enabled"),
    			ResourceGroupName:    pulumi.String("myresourcegroup"),
    			TrafficRoutingMethod: pulumi.String("Priority"),
    		})
    		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 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(Map.ofEntries(
                    Map.entry("relativeName", "parentprofile"),
                    Map.entry("ttl", 35)
                ))
                .endpoints(            
                    Map.ofEntries(
                        Map.entry("endpointStatus", "Enabled"),
                        Map.entry("minChildEndpoints", 2),
                        Map.entry("minChildEndpointsIPv4", 1),
                        Map.entry("minChildEndpointsIPv6", 2),
                        Map.entry("name", "MyFirstNestedEndpoint"),
                        Map.entry("priority", 1),
                        Map.entry("target", "firstnestedprofile.tmpreview.watmtest.azure-test.net"),
                        Map.entry("type", "Microsoft.Network/trafficManagerProfiles/nestedEndpoints"),
                        Map.entry("weight", 1)
                    ),
                    Map.ofEntries(
                        Map.entry("endpointStatus", "Enabled"),
                        Map.entry("minChildEndpoints", 2),
                        Map.entry("minChildEndpointsIPv4", 2),
                        Map.entry("minChildEndpointsIPv6", 1),
                        Map.entry("name", "MySecondNestedEndpoint"),
                        Map.entry("priority", 2),
                        Map.entry("target", "secondnestedprofile.tmpreview.watmtest.azure-test.net"),
                        Map.entry("type", "Microsoft.Network/trafficManagerProfiles/nestedEndpoints"),
                        Map.entry("weight", 1)
                    ))
                .location("global")
                .monitorConfig(Map.ofEntries(
                    Map.entry("intervalInSeconds", 10),
                    Map.entry("path", "/testpath.aspx"),
                    Map.entry("port", 80),
                    Map.entry("protocol", "HTTP"),
                    Map.entry("timeoutInSeconds", 5),
                    Map.entry("toleratedNumberOfFailures", 2)
                ))
                .profileName("parentprofile")
                .profileStatus("Enabled")
                .resourceGroupName("myresourcegroup")
                .trafficRoutingMethod("Priority")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    profile = azure_native.network.Profile("profile",
        dns_config=azure_native.network.DnsConfigArgs(
            relative_name="parentprofile",
            ttl=35,
        ),
        endpoints=[
            azure_native.network.EndpointArgs(
                endpoint_status="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,
            ),
            azure_native.network.EndpointArgs(
                endpoint_status="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=azure_native.network.MonitorConfigArgs(
            interval_in_seconds=10,
            path="/testpath.aspx",
            port=80,
            protocol="HTTP",
            timeout_in_seconds=5,
            tolerated_number_of_failures=2,
        ),
        profile_name="parentprofile",
        profile_status="Enabled",
        resource_group_name="myresourcegroup",
        traffic_routing_method="Priority")
    
    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: "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",
    });
    
    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 = 
        {
            { "customHeaders", new[]
            {
                
                {
                    { "name", "string" },
                    { "value", "string" },
                },
            } },
            { "expectedStatusCodeRanges", new[]
            {
                
                {
                    { "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[]
        {
            
            {
                { "customHeaders", new[]
                {
                    
                    {
                        { "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[]
                {
                    
                    {
                        { "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",
    });
    
    example, err := network.NewProfile(ctx, "exampleprofileResourceResourceFromNetwork", &network.ProfileArgs{
    	ResourceGroupName: "string",
    	MonitorConfig: map[string]interface{}{
    		"customHeaders": []map[string]interface{}{
    			map[string]interface{}{
    				"name":  "string",
    				"value": "string",
    			},
    		},
    		"expectedStatusCodeRanges": []map[string]interface{}{
    			map[string]interface{}{
    				"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{
    		"string",
    	},
    	Name: "string",
    	Endpoints: []map[string]interface{}{
    		map[string]interface{}{
    			"customHeaders": []map[string]interface{}{
    				map[string]interface{}{
    					"name":  "string",
    					"value": "string",
    				},
    			},
    			"endpointLocation":      "string",
    			"endpointMonitorStatus": "string",
    			"endpointStatus":        "string",
    			"geoMapping": []string{
    				"string",
    			},
    			"id":                    "string",
    			"minChildEndpoints":     0,
    			"minChildEndpointsIPv4": 0,
    			"minChildEndpointsIPv6": 0,
    			"name":                  "string",
    			"priority":              0,
    			"subnets": []map[string]interface{}{
    				map[string]interface{}{
    					"first": "string",
    					"last":  "string",
    					"scope": 0,
    				},
    			},
    			"target":           "string",
    			"targetResourceId": "string",
    			"type":             "string",
    			"weight":           0,
    		},
    	},
    	ProfileStatus: "string",
    	DnsConfig: map[string]interface{}{
    		"relativeName": "string",
    		"ttl":          0,
    	},
    	Tags: map[string]interface{}{
    		"string": "string",
    	},
    	TrafficRoutingMethod:        "string",
    	TrafficViewEnrollmentStatus: "string",
    	Type:                        "string",
    })
    
    var exampleprofileResourceResourceFromNetwork = new Profile("exampleprofileResourceResourceFromNetwork", ProfileArgs.builder()
        .resourceGroupName("string")
        .monitorConfig(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .profileName("string")
        .id("string")
        .location("string")
        .maxReturn(0)
        .allowedEndpointRecordTypes("string")
        .name("string")
        .endpoints(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .profileStatus("string")
        .dnsConfig(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .trafficRoutingMethod("string")
        .trafficViewEnrollmentStatus("string")
        .type("string")
        .build());
    
    exampleprofile_resource_resource_from_network = azure_native.network.Profile("exampleprofileResourceResourceFromNetwork",
        resource_group_name=string,
        monitor_config={
            customHeaders: [{
                name: string,
                value: string,
            }],
            expectedStatusCodeRanges: [{
                max: 0,
                min: 0,
            }],
            intervalInSeconds: 0,
            path: string,
            port: 0,
            profileMonitorStatus: string,
            protocol: string,
            timeoutInSeconds: 0,
            toleratedNumberOfFailures: 0,
        },
        profile_name=string,
        id=string,
        location=string,
        max_return=0,
        allowed_endpoint_record_types=[string],
        name=string,
        endpoints=[{
            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,
        }],
        profile_status=string,
        dns_config={
            relativeName: 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: [{
            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:
            - 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:

    ResourceGroupName string
    The name of the resource group containing the Traffic Manager profile.
    AllowedEndpointRecordTypes List<Union<string, Pulumi.AzureNative.Network.AllowedEndpointRecordType>>
    The list of allowed endpoint record types.
    DnsConfig Pulumi.AzureNative.Network.Inputs.DnsConfig
    The DNS settings of the Traffic Manager profile.
    Endpoints List<Pulumi.AzureNative.Network.Inputs.Endpoint>
    The list of endpoints in the Traffic Manager profile.
    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.AzureNative.Network.Inputs.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 | Pulumi.AzureNative.Network.ProfileStatus
    The status of the Traffic Manager profile.
    Tags Dictionary<string, string>
    Resource tags.
    TrafficRoutingMethod string | Pulumi.AzureNative.Network.TrafficRoutingMethod
    The traffic routing method of the Traffic Manager profile.
    TrafficViewEnrollmentStatus string | Pulumi.AzureNative.Network.TrafficViewEnrollmentStatus
    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.
    ResourceGroupName string
    The name of the resource group containing the Traffic Manager profile.
    AllowedEndpointRecordTypes []string
    The list of allowed endpoint record types.
    DnsConfig DnsConfigArgs
    The DNS settings of the Traffic Manager profile.
    Endpoints []EndpointTypeArgs
    The list of endpoints in the Traffic Manager profile.
    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 MonitorConfigArgs
    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.
    Tags map[string]string
    Resource tags.
    TrafficRoutingMethod string | TrafficRoutingMethod
    The traffic routing method of the Traffic Manager profile.
    TrafficViewEnrollmentStatus string | TrafficViewEnrollmentStatus
    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.
    resourceGroupName String
    The name of the resource group containing the Traffic Manager profile.
    allowedEndpointRecordTypes List<Either<String,AllowedEndpointRecordType>>
    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.
    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.
    tags Map<String,String>
    Resource tags.
    trafficRoutingMethod String | TrafficRoutingMethod
    The traffic routing method of the Traffic Manager profile.
    trafficViewEnrollmentStatus String | TrafficViewEnrollmentStatus
    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.
    resourceGroupName string
    The name of the resource group containing the Traffic Manager profile.
    allowedEndpointRecordTypes (string | AllowedEndpointRecordType)[]
    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.
    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.
    tags {[key: string]: string}
    Resource tags.
    trafficRoutingMethod string | TrafficRoutingMethod
    The traffic routing method of the Traffic Manager profile.
    trafficViewEnrollmentStatus string | TrafficViewEnrollmentStatus
    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_name str
    The name of the resource group containing the Traffic Manager profile.
    allowed_endpoint_record_types Sequence[Union[str, AllowedEndpointRecordType]]
    The list of allowed endpoint record types.
    dns_config DnsConfigArgs
    The DNS settings of the Traffic Manager profile.
    endpoints Sequence[EndpointArgs]
    The list of endpoints in the Traffic Manager profile.
    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 MonitorConfigArgs
    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.
    tags Mapping[str, str]
    Resource tags.
    traffic_routing_method str | TrafficRoutingMethod
    The traffic routing method of the Traffic Manager profile.
    traffic_view_enrollment_status str | TrafficViewEnrollmentStatus
    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.
    resourceGroupName String
    The name of the resource group containing the Traffic Manager profile.
    allowedEndpointRecordTypes List<String | "DomainName" | "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.
    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.
    tags Map<String>
    Resource tags.
    trafficRoutingMethod String | "Performance" | "Priority" | "Weighted" | "Geographic" | "MultiValue" | "Subnet"
    The traffic routing method of the Traffic Manager profile.
    trafficViewEnrollmentStatus String | "Enabled" | "Disabled"
    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
    AllowedEndpointRecordTypeDomainName
    DomainName
    AllowedEndpointRecordTypeIPv4Address
    IPv4Address
    AllowedEndpointRecordTypeIPv6Address
    IPv6Address
    AllowedEndpointRecordTypeAny
    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

    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

    CustomHeaders List<Pulumi.AzureNative.Network.Inputs.EndpointPropertiesCustomHeaders>
    List of custom headers.
    EndpointLocation string
    Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method.
    EndpointMonitorStatus string | Pulumi.AzureNative.Network.EndpointMonitorStatus
    The monitoring status of the endpoint.
    EndpointStatus string | Pulumi.AzureNative.Network.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}
    MinChildEndpoints double
    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'.
    MinChildEndpointsIPv4 double
    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'.
    MinChildEndpointsIPv6 double
    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.AzureNative.Network.Inputs.EndpointPropertiesSubnets>
    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.
    TargetResourceId string
    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.
    CustomHeaders []EndpointPropertiesCustomHeaders
    List of custom headers.
    EndpointLocation string
    Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method.
    EndpointMonitorStatus string | EndpointMonitorStatus
    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}
    MinChildEndpoints float64
    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'.
    MinChildEndpointsIPv4 float64
    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'.
    MinChildEndpointsIPv6 float64
    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 []EndpointPropertiesSubnets
    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.
    TargetResourceId string
    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.
    customHeaders List<EndpointPropertiesCustomHeaders>
    List of custom headers.
    endpointLocation String
    Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method.
    endpointMonitorStatus String | EndpointMonitorStatus
    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}
    minChildEndpoints Double
    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'.
    minChildEndpointsIPv4 Double
    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'.
    minChildEndpointsIPv6 Double
    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<EndpointPropertiesSubnets>
    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.
    targetResourceId String
    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.
    customHeaders EndpointPropertiesCustomHeaders[]
    List of custom headers.
    endpointLocation string
    Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method.
    endpointMonitorStatus string | EndpointMonitorStatus
    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}
    minChildEndpoints number
    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'.
    minChildEndpointsIPv4 number
    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'.
    minChildEndpointsIPv6 number
    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 EndpointPropertiesSubnets[]
    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.
    targetResourceId string
    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.
    custom_headers Sequence[EndpointPropertiesCustomHeaders]
    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_status str | EndpointMonitorStatus
    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_endpoints float
    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_endpoints_i_pv4 float
    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_endpoints_i_pv6 float
    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[EndpointPropertiesSubnets]
    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_id str
    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.
    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.
    endpointMonitorStatus String | "CheckingEndpoint" | "Online" | "Degraded" | "Disabled" | "Inactive" | "Stopped"
    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}
    minChildEndpoints Number
    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'.
    minChildEndpointsIPv4 Number
    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'.
    minChildEndpointsIPv6 Number
    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.
    targetResourceId String
    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
    EndpointMonitorStatusCheckingEndpoint
    CheckingEndpoint
    EndpointMonitorStatusOnline
    Online
    EndpointMonitorStatusDegraded
    Degraded
    EndpointMonitorStatusDisabled
    Disabled
    EndpointMonitorStatusInactive
    Inactive
    EndpointMonitorStatusStopped
    Stopped
    CheckingEndpoint
    CheckingEndpoint
    Online
    Online
    Degraded
    Degraded
    Disabled
    Disabled
    Inactive
    Inactive
    Stopped
    Stopped
    CheckingEndpoint
    CheckingEndpoint
    Online
    Online
    Degraded
    Degraded
    Disabled
    Disabled
    Inactive
    Inactive
    Stopped
    Stopped
    CHECKING_ENDPOINT
    CheckingEndpoint
    ONLINE
    Online
    DEGRADED
    Degraded
    DISABLED
    Disabled
    INACTIVE
    Inactive
    STOPPED
    Stopped
    "CheckingEndpoint"
    CheckingEndpoint
    "Online"
    Online
    "Degraded"
    Degraded
    "Disabled"
    Disabled
    "Inactive"
    Inactive
    "Stopped"
    Stopped

    EndpointPropertiesCustomHeaders, EndpointPropertiesCustomHeadersArgs

    Name string
    Header name.
    Value string
    Header value.
    Name string
    Header name.
    Value string
    Header value.
    name String
    Header name.
    value String
    Header value.
    name string
    Header name.
    value string
    Header value.
    name str
    Header name.
    value str
    Header value.
    name String
    Header name.
    value String
    Header value.

    EndpointPropertiesResponseCustomHeaders, EndpointPropertiesResponseCustomHeadersArgs

    Name string
    Header name.
    Value string
    Header value.
    Name string
    Header name.
    Value string
    Header value.
    name String
    Header name.
    value String
    Header value.
    name string
    Header name.
    value string
    Header value.
    name str
    Header name.
    value str
    Header value.
    name String
    Header name.
    value String
    Header value.

    EndpointPropertiesResponseSubnets, EndpointPropertiesResponseSubnetsArgs

    First string
    First address in the subnet.
    Last string
    Last address in the subnet.
    Scope int
    Block size (number of leading bits in the subnet mask).
    First string
    First address in the subnet.
    Last string
    Last address in the subnet.
    Scope int
    Block size (number of leading bits in the subnet mask).
    first String
    First address in the subnet.
    last String
    Last address in the subnet.
    scope Integer
    Block size (number of leading bits in the subnet mask).
    first string
    First address in the subnet.
    last string
    Last address in the subnet.
    scope number
    Block size (number of leading bits in the subnet mask).
    first str
    First address in the subnet.
    last str
    Last address in the subnet.
    scope int
    Block size (number of leading bits in the subnet mask).
    first String
    First address in the subnet.
    last String
    Last address in the subnet.
    scope Number
    Block size (number of leading bits in the subnet mask).

    EndpointPropertiesSubnets, EndpointPropertiesSubnetsArgs

    First string
    First address in the subnet.
    Last string
    Last address in the subnet.
    Scope int
    Block size (number of leading bits in the subnet mask).
    First string
    First address in the subnet.
    Last string
    Last address in the subnet.
    Scope int
    Block size (number of leading bits in the subnet mask).
    first String
    First address in the subnet.
    last String
    Last address in the subnet.
    scope Integer
    Block size (number of leading bits in the subnet mask).
    first string
    First address in the subnet.
    last string
    Last address in the subnet.
    scope number
    Block size (number of leading bits in the subnet mask).
    first str
    First address in the subnet.
    last str
    Last address in the subnet.
    scope int
    Block size (number of leading bits in the subnet mask).
    first String
    First address in the subnet.
    last String
    Last address in the subnet.
    scope Number
    Block size (number of leading bits in the subnet mask).

    EndpointResponse, EndpointResponseArgs

    CustomHeaders List<Pulumi.AzureNative.Network.Inputs.EndpointPropertiesResponseCustomHeaders>
    List of custom headers.
    EndpointLocation string
    Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method.
    EndpointMonitorStatus string
    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}
    MinChildEndpoints double
    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'.
    MinChildEndpointsIPv4 double
    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'.
    MinChildEndpointsIPv6 double
    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.AzureNative.Network.Inputs.EndpointPropertiesResponseSubnets>
    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.
    TargetResourceId string
    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.
    CustomHeaders []EndpointPropertiesResponseCustomHeaders
    List of custom headers.
    EndpointLocation string
    Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method.
    EndpointMonitorStatus string
    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}
    MinChildEndpoints float64
    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'.
    MinChildEndpointsIPv4 float64
    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'.
    MinChildEndpointsIPv6 float64
    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 []EndpointPropertiesResponseSubnets
    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.
    TargetResourceId string
    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.
    customHeaders List<EndpointPropertiesResponseCustomHeaders>
    List of custom headers.
    endpointLocation String
    Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method.
    endpointMonitorStatus String
    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}
    minChildEndpoints Double
    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'.
    minChildEndpointsIPv4 Double
    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'.
    minChildEndpointsIPv6 Double
    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<EndpointPropertiesResponseSubnets>
    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.
    targetResourceId String
    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.
    customHeaders EndpointPropertiesResponseCustomHeaders[]
    List of custom headers.
    endpointLocation string
    Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method.
    endpointMonitorStatus string
    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}
    minChildEndpoints number
    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'.
    minChildEndpointsIPv4 number
    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'.
    minChildEndpointsIPv6 number
    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 EndpointPropertiesResponseSubnets[]
    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.
    targetResourceId string
    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.
    custom_headers Sequence[EndpointPropertiesResponseCustomHeaders]
    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_status str
    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_endpoints float
    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_endpoints_i_pv4 float
    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_endpoints_i_pv6 float
    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[EndpointPropertiesResponseSubnets]
    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_id str
    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.
    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.
    endpointMonitorStatus String
    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}
    minChildEndpoints Number
    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'.
    minChildEndpointsIPv4 Number
    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'.
    minChildEndpointsIPv6 Number
    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.
    targetResourceId String
    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
    EndpointStatusEnabled
    Enabled
    EndpointStatusDisabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    ENABLED
    Enabled
    DISABLED
    Disabled
    "Enabled"
    Enabled
    "Disabled"
    Disabled

    MonitorConfig, MonitorConfigArgs

    CustomHeaders List<Pulumi.AzureNative.Network.Inputs.MonitorConfigCustomHeaders>
    List of custom headers.
    ExpectedStatusCodeRanges List<Pulumi.AzureNative.Network.Inputs.MonitorConfigExpectedStatusCodeRanges>
    List of expected status code ranges.
    IntervalInSeconds double
    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.
    ProfileMonitorStatus string | Pulumi.AzureNative.Network.ProfileMonitorStatus
    The profile-level monitoring status of the Traffic Manager profile.
    Protocol string | Pulumi.AzureNative.Network.MonitorProtocol
    The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health.
    TimeoutInSeconds double
    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.
    ToleratedNumberOfFailures double
    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 []MonitorConfigCustomHeaders
    List of custom headers.
    ExpectedStatusCodeRanges []MonitorConfigExpectedStatusCodeRanges
    List of expected status code ranges.
    IntervalInSeconds float64
    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.
    ProfileMonitorStatus string | ProfileMonitorStatus
    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.
    TimeoutInSeconds float64
    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.
    ToleratedNumberOfFailures float64
    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<MonitorConfigCustomHeaders>
    List of custom headers.
    expectedStatusCodeRanges List<MonitorConfigExpectedStatusCodeRanges>
    List of expected status code ranges.
    intervalInSeconds Double
    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.
    profileMonitorStatus String | ProfileMonitorStatus
    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.
    timeoutInSeconds Double
    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.
    toleratedNumberOfFailures Double
    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 MonitorConfigCustomHeaders[]
    List of custom headers.
    expectedStatusCodeRanges MonitorConfigExpectedStatusCodeRanges[]
    List of expected status code ranges.
    intervalInSeconds number
    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.
    profileMonitorStatus string | ProfileMonitorStatus
    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.
    timeoutInSeconds number
    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.
    toleratedNumberOfFailures number
    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[MonitorConfigCustomHeaders]
    List of custom headers.
    expected_status_code_ranges Sequence[MonitorConfigExpectedStatusCodeRanges]
    List of expected status code ranges.
    interval_in_seconds float
    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_status str | ProfileMonitorStatus
    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_seconds float
    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_of_failures float
    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.
    expectedStatusCodeRanges List<Property Map>
    List of expected status code ranges.
    intervalInSeconds Number
    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.
    profileMonitorStatus String | "CheckingEndpoints" | "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.
    timeoutInSeconds Number
    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.
    toleratedNumberOfFailures Number
    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

    Name string
    Header name.
    Value string
    Header value.
    Name string
    Header name.
    Value string
    Header value.
    name String
    Header name.
    value String
    Header value.
    name string
    Header name.
    value string
    Header value.
    name str
    Header name.
    value str
    Header value.
    name String
    Header name.
    value String
    Header value.

    MonitorConfigExpectedStatusCodeRanges, MonitorConfigExpectedStatusCodeRangesArgs

    Max int
    Max status code.
    Min int
    Min status code.
    Max int
    Max status code.
    Min int
    Min status code.
    max Integer
    Max status code.
    min Integer
    Min status code.
    max number
    Max status code.
    min number
    Min status code.
    max int
    Max status code.
    min int
    Min status code.
    max Number
    Max status code.
    min Number
    Min status code.

    MonitorConfigResponse, MonitorConfigResponseArgs

    CustomHeaders List<Pulumi.AzureNative.Network.Inputs.MonitorConfigResponseCustomHeaders>
    List of custom headers.
    ExpectedStatusCodeRanges List<Pulumi.AzureNative.Network.Inputs.MonitorConfigResponseExpectedStatusCodeRanges>
    List of expected status code ranges.
    IntervalInSeconds double
    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.
    ProfileMonitorStatus string
    The profile-level monitoring status of the Traffic Manager profile.
    Protocol string
    The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health.
    TimeoutInSeconds double
    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.
    ToleratedNumberOfFailures double
    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 []MonitorConfigResponseCustomHeaders
    List of custom headers.
    ExpectedStatusCodeRanges []MonitorConfigResponseExpectedStatusCodeRanges
    List of expected status code ranges.
    IntervalInSeconds float64
    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.
    ProfileMonitorStatus string
    The profile-level monitoring status of the Traffic Manager profile.
    Protocol string
    The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health.
    TimeoutInSeconds float64
    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.
    ToleratedNumberOfFailures float64
    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<MonitorConfigResponseCustomHeaders>
    List of custom headers.
    expectedStatusCodeRanges List<MonitorConfigResponseExpectedStatusCodeRanges>
    List of expected status code ranges.
    intervalInSeconds Double
    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.
    profileMonitorStatus String
    The profile-level monitoring status of the Traffic Manager profile.
    protocol String
    The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health.
    timeoutInSeconds Double
    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.
    toleratedNumberOfFailures Double
    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 MonitorConfigResponseCustomHeaders[]
    List of custom headers.
    expectedStatusCodeRanges MonitorConfigResponseExpectedStatusCodeRanges[]
    List of expected status code ranges.
    intervalInSeconds number
    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.
    profileMonitorStatus string
    The profile-level monitoring status of the Traffic Manager profile.
    protocol string
    The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health.
    timeoutInSeconds number
    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.
    toleratedNumberOfFailures number
    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[MonitorConfigResponseCustomHeaders]
    List of custom headers.
    expected_status_code_ranges Sequence[MonitorConfigResponseExpectedStatusCodeRanges]
    List of expected status code ranges.
    interval_in_seconds float
    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_status str
    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_seconds float
    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_of_failures float
    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.
    expectedStatusCodeRanges List<Property Map>
    List of expected status code ranges.
    intervalInSeconds Number
    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.
    profileMonitorStatus String
    The profile-level monitoring status of the Traffic Manager profile.
    protocol String
    The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health.
    timeoutInSeconds Number
    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.
    toleratedNumberOfFailures Number
    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

    Name string
    Header name.
    Value string
    Header value.
    Name string
    Header name.
    Value string
    Header value.
    name String
    Header name.
    value String
    Header value.
    name string
    Header name.
    value string
    Header value.
    name str
    Header name.
    value str
    Header value.
    name String
    Header name.
    value String
    Header value.

    MonitorConfigResponseExpectedStatusCodeRanges, MonitorConfigResponseExpectedStatusCodeRangesArgs

    Max int
    Max status code.
    Min int
    Min status code.
    Max int
    Max status code.
    Min int
    Min status code.
    max Integer
    Max status code.
    min Integer
    Min status code.
    max number
    Max status code.
    min number
    Min status code.
    max int
    Max status code.
    min int
    Min status code.
    max Number
    Max status code.
    min Number
    Min status code.

    MonitorProtocol, MonitorProtocolArgs

    HTTP
    HTTP
    HTTPS
    HTTPS
    TCP
    TCP
    MonitorProtocolHTTP
    HTTP
    MonitorProtocolHTTPS
    HTTPS
    MonitorProtocolTCP
    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
    ProfileMonitorStatusCheckingEndpoints
    CheckingEndpoints
    ProfileMonitorStatusOnline
    Online
    ProfileMonitorStatusDegraded
    Degraded
    ProfileMonitorStatusDisabled
    Disabled
    ProfileMonitorStatusInactive
    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
    ProfileStatusEnabled
    Enabled
    ProfileStatusDisabled
    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
    TrafficRoutingMethodPerformance
    Performance
    TrafficRoutingMethodPriority
    Priority
    TrafficRoutingMethodWeighted
    Weighted
    TrafficRoutingMethodGeographic
    Geographic
    TrafficRoutingMethodMultiValue
    MultiValue
    TrafficRoutingMethodSubnet
    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
    TrafficViewEnrollmentStatusEnabled
    Enabled
    TrafficViewEnrollmentStatusDisabled
    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/{subscription-id}/resourceGroups/myresourcegroup/providers/Microsoft.Network/trafficManagerProfiles/parentprofile 
    

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

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi