1. Packages
  2. Azure Native
  3. API Docs
  4. network
  5. Profile
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

azure-native.network.Profile

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

    Class representing a Traffic Manager profile. Azure REST API version: 2022-04-01. Prior API version in Azure Native 1.x: 2018-08-01.

    Other available API versions: 2017-03-01, 2018-02-01, 2022-04-01-preview.

    Example Usage

    Profile-PUT-MultiValue

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var profile = new AzureNative.Network.Profile("profile", new()
        {
            DnsConfig = new AzureNative.Network.Inputs.DnsConfigArgs
            {
                RelativeName = "azsmnet6386",
                Ttl = 35,
            },
            Location = "global",
            MaxReturn = 2,
            MonitorConfig = new AzureNative.Network.Inputs.MonitorConfigArgs
            {
                Path = "/testpath.aspx",
                Port = 80,
                Protocol = AzureNative.Network.MonitorProtocol.HTTP,
            },
            ProfileName = "azsmnet6386",
            ProfileStatus = AzureNative.Network.ProfileStatus.Enabled,
            ResourceGroupName = "azuresdkfornetautoresttrafficmanager1421",
            TrafficRoutingMethod = AzureNative.Network.TrafficRoutingMethod.MultiValue,
            TrafficViewEnrollmentStatus = AzureNative.Network.TrafficViewEnrollmentStatus.Disabled,
        });
    
    });
    
    package main
    
    import (
    	network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := network.NewProfile(ctx, "profile", &network.ProfileArgs{
    			DnsConfig: &network.DnsConfigArgs{
    				RelativeName: pulumi.String("azsmnet6386"),
    				Ttl:          pulumi.Float64(35),
    			},
    			Location:  pulumi.String("global"),
    			MaxReturn: pulumi.Float64(2),
    			MonitorConfig: &network.MonitorConfigArgs{
    				Path:     pulumi.String("/testpath.aspx"),
    				Port:     pulumi.Float64(80),
    				Protocol: pulumi.String(network.MonitorProtocolHTTP),
    			},
    			ProfileName:                 pulumi.String("azsmnet6386"),
    			ProfileStatus:               pulumi.String(network.ProfileStatusEnabled),
    			ResourceGroupName:           pulumi.String("azuresdkfornetautoresttrafficmanager1421"),
    			TrafficRoutingMethod:        pulumi.String(network.TrafficRoutingMethodMultiValue),
    			TrafficViewEnrollmentStatus: pulumi.String(network.TrafficViewEnrollmentStatusDisabled),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.network.Profile;
    import com.pulumi.azurenative.network.ProfileArgs;
    import com.pulumi.azurenative.network.inputs.DnsConfigArgs;
    import com.pulumi.azurenative.network.inputs.MonitorConfigArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var profile = new Profile("profile", ProfileArgs.builder()
                .dnsConfig(DnsConfigArgs.builder()
                    .relativeName("azsmnet6386")
                    .ttl(35)
                    .build())
                .location("global")
                .maxReturn(2)
                .monitorConfig(MonitorConfigArgs.builder()
                    .path("/testpath.aspx")
                    .port(80)
                    .protocol("HTTP")
                    .build())
                .profileName("azsmnet6386")
                .profileStatus("Enabled")
                .resourceGroupName("azuresdkfornetautoresttrafficmanager1421")
                .trafficRoutingMethod("MultiValue")
                .trafficViewEnrollmentStatus("Disabled")
                .build());
    
        }
    }
    
    import 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=azure_native.network.MonitorProtocol.HTTP,
        ),
        profile_name="azsmnet6386",
        profile_status=azure_native.network.ProfileStatus.ENABLED,
        resource_group_name="azuresdkfornetautoresttrafficmanager1421",
        traffic_routing_method=azure_native.network.TrafficRoutingMethod.MULTI_VALUE,
        traffic_view_enrollment_status=azure_native.network.TrafficViewEnrollmentStatus.DISABLED)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const profile = new azure_native.network.Profile("profile", {
        dnsConfig: {
            relativeName: "azsmnet6386",
            ttl: 35,
        },
        location: "global",
        maxReturn: 2,
        monitorConfig: {
            path: "/testpath.aspx",
            port: 80,
            protocol: azure_native.network.MonitorProtocol.HTTP,
        },
        profileName: "azsmnet6386",
        profileStatus: azure_native.network.ProfileStatus.Enabled,
        resourceGroupName: "azuresdkfornetautoresttrafficmanager1421",
        trafficRoutingMethod: azure_native.network.TrafficRoutingMethod.MultiValue,
        trafficViewEnrollmentStatus: azure_native.network.TrafficViewEnrollmentStatus.Disabled,
    });
    
    resources:
      profile:
        type: azure-native:network:Profile
        properties:
          dnsConfig:
            relativeName: azsmnet6386
            ttl: 35
          location: global
          maxReturn: 2
          monitorConfig:
            path: /testpath.aspx
            port: 80
            protocol: HTTP
          profileName: azsmnet6386
          profileStatus: Enabled
          resourceGroupName: azuresdkfornetautoresttrafficmanager1421
          trafficRoutingMethod: MultiValue
          trafficViewEnrollmentStatus: Disabled
    

    Profile-PUT-NoEndpoints

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var profile = new AzureNative.Network.Profile("profile", new()
        {
            DnsConfig = new AzureNative.Network.Inputs.DnsConfigArgs
            {
                RelativeName = "azsmnet6386",
                Ttl = 35,
            },
            Location = "global",
            MonitorConfig = new AzureNative.Network.Inputs.MonitorConfigArgs
            {
                Path = "/testpath.aspx",
                Port = 80,
                Protocol = AzureNative.Network.MonitorProtocol.HTTP,
            },
            ProfileName = "azsmnet6386",
            ProfileStatus = AzureNative.Network.ProfileStatus.Enabled,
            ResourceGroupName = "azuresdkfornetautoresttrafficmanager1421",
            TrafficRoutingMethod = AzureNative.Network.TrafficRoutingMethod.Performance,
        });
    
    });
    
    package main
    
    import (
    	network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := network.NewProfile(ctx, "profile", &network.ProfileArgs{
    			DnsConfig: &network.DnsConfigArgs{
    				RelativeName: pulumi.String("azsmnet6386"),
    				Ttl:          pulumi.Float64(35),
    			},
    			Location: pulumi.String("global"),
    			MonitorConfig: &network.MonitorConfigArgs{
    				Path:     pulumi.String("/testpath.aspx"),
    				Port:     pulumi.Float64(80),
    				Protocol: pulumi.String(network.MonitorProtocolHTTP),
    			},
    			ProfileName:          pulumi.String("azsmnet6386"),
    			ProfileStatus:        pulumi.String(network.ProfileStatusEnabled),
    			ResourceGroupName:    pulumi.String("azuresdkfornetautoresttrafficmanager1421"),
    			TrafficRoutingMethod: pulumi.String(network.TrafficRoutingMethodPerformance),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.network.Profile;
    import com.pulumi.azurenative.network.ProfileArgs;
    import com.pulumi.azurenative.network.inputs.DnsConfigArgs;
    import com.pulumi.azurenative.network.inputs.MonitorConfigArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var profile = new Profile("profile", ProfileArgs.builder()
                .dnsConfig(DnsConfigArgs.builder()
                    .relativeName("azsmnet6386")
                    .ttl(35)
                    .build())
                .location("global")
                .monitorConfig(MonitorConfigArgs.builder()
                    .path("/testpath.aspx")
                    .port(80)
                    .protocol("HTTP")
                    .build())
                .profileName("azsmnet6386")
                .profileStatus("Enabled")
                .resourceGroupName("azuresdkfornetautoresttrafficmanager1421")
                .trafficRoutingMethod("Performance")
                .build());
    
        }
    }
    
    import 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=azure_native.network.MonitorProtocol.HTTP,
        ),
        profile_name="azsmnet6386",
        profile_status=azure_native.network.ProfileStatus.ENABLED,
        resource_group_name="azuresdkfornetautoresttrafficmanager1421",
        traffic_routing_method=azure_native.network.TrafficRoutingMethod.PERFORMANCE)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const profile = new azure_native.network.Profile("profile", {
        dnsConfig: {
            relativeName: "azsmnet6386",
            ttl: 35,
        },
        location: "global",
        monitorConfig: {
            path: "/testpath.aspx",
            port: 80,
            protocol: azure_native.network.MonitorProtocol.HTTP,
        },
        profileName: "azsmnet6386",
        profileStatus: azure_native.network.ProfileStatus.Enabled,
        resourceGroupName: "azuresdkfornetautoresttrafficmanager1421",
        trafficRoutingMethod: azure_native.network.TrafficRoutingMethod.Performance,
    });
    
    resources:
      profile:
        type: azure-native:network:Profile
        properties:
          dnsConfig:
            relativeName: azsmnet6386
            ttl: 35
          location: global
          monitorConfig:
            path: /testpath.aspx
            port: 80
            protocol: HTTP
          profileName: azsmnet6386
          profileStatus: Enabled
          resourceGroupName: azuresdkfornetautoresttrafficmanager1421
          trafficRoutingMethod: Performance
    

    Profile-PUT-WithAliasing

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var profile = new AzureNative.Network.Profile("profile", new()
        {
            AllowedEndpointRecordTypes = new[]
            {
                AzureNative.Network.AllowedEndpointRecordType.DomainName,
            },
            DnsConfig = new AzureNative.Network.Inputs.DnsConfigArgs
            {
                RelativeName = "azuresdkfornetautoresttrafficmanager6192",
                Ttl = 35,
            },
            Endpoints = new[]
            {
                new AzureNative.Network.Inputs.EndpointArgs
                {
                    EndpointLocation = "North Europe",
                    EndpointStatus = AzureNative.Network.EndpointStatus.Enabled,
                    Name = "My external endpoint",
                    Target = "foobar.contoso.com",
                    Type = "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
                },
            },
            Location = "global",
            MonitorConfig = new AzureNative.Network.Inputs.MonitorConfigArgs
            {
                IntervalInSeconds = 10,
                Path = "/testpath.aspx",
                Port = 80,
                Protocol = AzureNative.Network.MonitorProtocol.HTTP,
                TimeoutInSeconds = 5,
                ToleratedNumberOfFailures = 2,
            },
            ProfileName = "azuresdkfornetautoresttrafficmanager6192",
            ProfileStatus = AzureNative.Network.ProfileStatus.Enabled,
            ResourceGroupName = "azuresdkfornetautoresttrafficmanager2583",
            TrafficRoutingMethod = AzureNative.Network.TrafficRoutingMethod.Performance,
        });
    
    });
    
    package main
    
    import (
    	network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := network.NewProfile(ctx, "profile", &network.ProfileArgs{
    			AllowedEndpointRecordTypes: pulumi.StringArray{
    				pulumi.String(network.AllowedEndpointRecordTypeDomainName),
    			},
    			DnsConfig: &network.DnsConfigArgs{
    				RelativeName: pulumi.String("azuresdkfornetautoresttrafficmanager6192"),
    				Ttl:          pulumi.Float64(35),
    			},
    			Endpoints: network.EndpointTypeArray{
    				&network.EndpointTypeArgs{
    					EndpointLocation: pulumi.String("North Europe"),
    					EndpointStatus:   pulumi.String(network.EndpointStatusEnabled),
    					Name:             pulumi.String("My external endpoint"),
    					Target:           pulumi.String("foobar.contoso.com"),
    					Type:             pulumi.String("Microsoft.network/TrafficManagerProfiles/ExternalEndpoints"),
    				},
    			},
    			Location: pulumi.String("global"),
    			MonitorConfig: &network.MonitorConfigArgs{
    				IntervalInSeconds:         pulumi.Float64(10),
    				Path:                      pulumi.String("/testpath.aspx"),
    				Port:                      pulumi.Float64(80),
    				Protocol:                  pulumi.String(network.MonitorProtocolHTTP),
    				TimeoutInSeconds:          pulumi.Float64(5),
    				ToleratedNumberOfFailures: pulumi.Float64(2),
    			},
    			ProfileName:          pulumi.String("azuresdkfornetautoresttrafficmanager6192"),
    			ProfileStatus:        pulumi.String(network.ProfileStatusEnabled),
    			ResourceGroupName:    pulumi.String("azuresdkfornetautoresttrafficmanager2583"),
    			TrafficRoutingMethod: pulumi.String(network.TrafficRoutingMethodPerformance),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.network.Profile;
    import com.pulumi.azurenative.network.ProfileArgs;
    import com.pulumi.azurenative.network.inputs.DnsConfigArgs;
    import com.pulumi.azurenative.network.inputs.EndpointArgs;
    import com.pulumi.azurenative.network.inputs.MonitorConfigArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var profile = new Profile("profile", ProfileArgs.builder()
                .allowedEndpointRecordTypes("DomainName")
                .dnsConfig(DnsConfigArgs.builder()
                    .relativeName("azuresdkfornetautoresttrafficmanager6192")
                    .ttl(35)
                    .build())
                .endpoints(EndpointArgs.builder()
                    .endpointLocation("North Europe")
                    .endpointStatus("Enabled")
                    .name("My external endpoint")
                    .target("foobar.contoso.com")
                    .type("Microsoft.network/TrafficManagerProfiles/ExternalEndpoints")
                    .build())
                .location("global")
                .monitorConfig(MonitorConfigArgs.builder()
                    .intervalInSeconds(10)
                    .path("/testpath.aspx")
                    .port(80)
                    .protocol("HTTP")
                    .timeoutInSeconds(5)
                    .toleratedNumberOfFailures(2)
                    .build())
                .profileName("azuresdkfornetautoresttrafficmanager6192")
                .profileStatus("Enabled")
                .resourceGroupName("azuresdkfornetautoresttrafficmanager2583")
                .trafficRoutingMethod("Performance")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    profile = azure_native.network.Profile("profile",
        allowed_endpoint_record_types=[azure_native.network.AllowedEndpointRecordType.DOMAIN_NAME],
        dns_config=azure_native.network.DnsConfigArgs(
            relative_name="azuresdkfornetautoresttrafficmanager6192",
            ttl=35,
        ),
        endpoints=[azure_native.network.EndpointArgs(
            endpoint_location="North Europe",
            endpoint_status=azure_native.network.EndpointStatus.ENABLED,
            name="My external endpoint",
            target="foobar.contoso.com",
            type="Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
        )],
        location="global",
        monitor_config=azure_native.network.MonitorConfigArgs(
            interval_in_seconds=10,
            path="/testpath.aspx",
            port=80,
            protocol=azure_native.network.MonitorProtocol.HTTP,
            timeout_in_seconds=5,
            tolerated_number_of_failures=2,
        ),
        profile_name="azuresdkfornetautoresttrafficmanager6192",
        profile_status=azure_native.network.ProfileStatus.ENABLED,
        resource_group_name="azuresdkfornetautoresttrafficmanager2583",
        traffic_routing_method=azure_native.network.TrafficRoutingMethod.PERFORMANCE)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const profile = new azure_native.network.Profile("profile", {
        allowedEndpointRecordTypes: [azure_native.network.AllowedEndpointRecordType.DomainName],
        dnsConfig: {
            relativeName: "azuresdkfornetautoresttrafficmanager6192",
            ttl: 35,
        },
        endpoints: [{
            endpointLocation: "North Europe",
            endpointStatus: azure_native.network.EndpointStatus.Enabled,
            name: "My external endpoint",
            target: "foobar.contoso.com",
            type: "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
        }],
        location: "global",
        monitorConfig: {
            intervalInSeconds: 10,
            path: "/testpath.aspx",
            port: 80,
            protocol: azure_native.network.MonitorProtocol.HTTP,
            timeoutInSeconds: 5,
            toleratedNumberOfFailures: 2,
        },
        profileName: "azuresdkfornetautoresttrafficmanager6192",
        profileStatus: azure_native.network.ProfileStatus.Enabled,
        resourceGroupName: "azuresdkfornetautoresttrafficmanager2583",
        trafficRoutingMethod: azure_native.network.TrafficRoutingMethod.Performance,
    });
    
    resources:
      profile:
        type: azure-native:network:Profile
        properties:
          allowedEndpointRecordTypes:
            - DomainName
          dnsConfig:
            relativeName: azuresdkfornetautoresttrafficmanager6192
            ttl: 35
          endpoints:
            - endpointLocation: North Europe
              endpointStatus: Enabled
              name: My external endpoint
              target: foobar.contoso.com
              type: Microsoft.network/TrafficManagerProfiles/ExternalEndpoints
          location: global
          monitorConfig:
            intervalInSeconds: 10
            path: /testpath.aspx
            port: 80
            protocol: HTTP
            timeoutInSeconds: 5
            toleratedNumberOfFailures: 2
          profileName: azuresdkfornetautoresttrafficmanager6192
          profileStatus: Enabled
          resourceGroupName: azuresdkfornetautoresttrafficmanager2583
          trafficRoutingMethod: Performance
    

    Profile-PUT-WithCustomHeaders

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var profile = new AzureNative.Network.Profile("profile", new()
        {
            DnsConfig = new AzureNative.Network.Inputs.DnsConfigArgs
            {
                RelativeName = "azuresdkfornetautoresttrafficmanager6192",
                Ttl = 35,
            },
            Endpoints = new[]
            {
                new AzureNative.Network.Inputs.EndpointArgs
                {
                    CustomHeaders = new[]
                    {
                        new AzureNative.Network.Inputs.EndpointPropertiesCustomHeadersArgs
                        {
                            Name = "header-2",
                            Value = "value-2-overridden",
                        },
                    },
                    EndpointLocation = "North Europe",
                    EndpointStatus = AzureNative.Network.EndpointStatus.Enabled,
                    Name = "My external endpoint",
                    Target = "foobar.contoso.com",
                    Type = "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
                },
            },
            Location = "global",
            MonitorConfig = new AzureNative.Network.Inputs.MonitorConfigArgs
            {
                CustomHeaders = new[]
                {
                    new AzureNative.Network.Inputs.MonitorConfigCustomHeadersArgs
                    {
                        Name = "header-1",
                        Value = "value-1",
                    },
                    new AzureNative.Network.Inputs.MonitorConfigCustomHeadersArgs
                    {
                        Name = "header-2",
                        Value = "value-2",
                    },
                },
                ExpectedStatusCodeRanges = new[]
                {
                    new AzureNative.Network.Inputs.MonitorConfigExpectedStatusCodeRangesArgs
                    {
                        Max = 205,
                        Min = 200,
                    },
                    new AzureNative.Network.Inputs.MonitorConfigExpectedStatusCodeRangesArgs
                    {
                        Max = 410,
                        Min = 400,
                    },
                },
                IntervalInSeconds = 10,
                Path = "/testpath.aspx",
                Port = 80,
                Protocol = AzureNative.Network.MonitorProtocol.HTTP,
                TimeoutInSeconds = 5,
                ToleratedNumberOfFailures = 2,
            },
            ProfileName = "azuresdkfornetautoresttrafficmanager6192",
            ProfileStatus = AzureNative.Network.ProfileStatus.Enabled,
            ResourceGroupName = "azuresdkfornetautoresttrafficmanager2583",
            TrafficRoutingMethod = AzureNative.Network.TrafficRoutingMethod.Performance,
            TrafficViewEnrollmentStatus = AzureNative.Network.TrafficViewEnrollmentStatus.Disabled,
        });
    
    });
    
    package main
    
    import (
    	network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := network.NewProfile(ctx, "profile", &network.ProfileArgs{
    			DnsConfig: &network.DnsConfigArgs{
    				RelativeName: pulumi.String("azuresdkfornetautoresttrafficmanager6192"),
    				Ttl:          pulumi.Float64(35),
    			},
    			Endpoints: network.EndpointTypeArray{
    				&network.EndpointTypeArgs{
    					CustomHeaders: network.EndpointPropertiesCustomHeadersArray{
    						&network.EndpointPropertiesCustomHeadersArgs{
    							Name:  pulumi.String("header-2"),
    							Value: pulumi.String("value-2-overridden"),
    						},
    					},
    					EndpointLocation: pulumi.String("North Europe"),
    					EndpointStatus:   pulumi.String(network.EndpointStatusEnabled),
    					Name:             pulumi.String("My external endpoint"),
    					Target:           pulumi.String("foobar.contoso.com"),
    					Type:             pulumi.String("Microsoft.network/TrafficManagerProfiles/ExternalEndpoints"),
    				},
    			},
    			Location: pulumi.String("global"),
    			MonitorConfig: &network.MonitorConfigArgs{
    				CustomHeaders: network.MonitorConfigCustomHeadersArray{
    					&network.MonitorConfigCustomHeadersArgs{
    						Name:  pulumi.String("header-1"),
    						Value: pulumi.String("value-1"),
    					},
    					&network.MonitorConfigCustomHeadersArgs{
    						Name:  pulumi.String("header-2"),
    						Value: pulumi.String("value-2"),
    					},
    				},
    				ExpectedStatusCodeRanges: network.MonitorConfigExpectedStatusCodeRangesArray{
    					&network.MonitorConfigExpectedStatusCodeRangesArgs{
    						Max: pulumi.Int(205),
    						Min: pulumi.Int(200),
    					},
    					&network.MonitorConfigExpectedStatusCodeRangesArgs{
    						Max: pulumi.Int(410),
    						Min: pulumi.Int(400),
    					},
    				},
    				IntervalInSeconds:         pulumi.Float64(10),
    				Path:                      pulumi.String("/testpath.aspx"),
    				Port:                      pulumi.Float64(80),
    				Protocol:                  pulumi.String(network.MonitorProtocolHTTP),
    				TimeoutInSeconds:          pulumi.Float64(5),
    				ToleratedNumberOfFailures: pulumi.Float64(2),
    			},
    			ProfileName:                 pulumi.String("azuresdkfornetautoresttrafficmanager6192"),
    			ProfileStatus:               pulumi.String(network.ProfileStatusEnabled),
    			ResourceGroupName:           pulumi.String("azuresdkfornetautoresttrafficmanager2583"),
    			TrafficRoutingMethod:        pulumi.String(network.TrafficRoutingMethodPerformance),
    			TrafficViewEnrollmentStatus: pulumi.String(network.TrafficViewEnrollmentStatusDisabled),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.network.Profile;
    import com.pulumi.azurenative.network.ProfileArgs;
    import com.pulumi.azurenative.network.inputs.DnsConfigArgs;
    import com.pulumi.azurenative.network.inputs.EndpointArgs;
    import com.pulumi.azurenative.network.inputs.MonitorConfigArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var profile = new Profile("profile", ProfileArgs.builder()
                .dnsConfig(DnsConfigArgs.builder()
                    .relativeName("azuresdkfornetautoresttrafficmanager6192")
                    .ttl(35)
                    .build())
                .endpoints(EndpointArgs.builder()
                    .customHeaders(EndpointPropertiesCustomHeadersArgs.builder()
                        .name("header-2")
                        .value("value-2-overridden")
                        .build())
                    .endpointLocation("North Europe")
                    .endpointStatus("Enabled")
                    .name("My external endpoint")
                    .target("foobar.contoso.com")
                    .type("Microsoft.network/TrafficManagerProfiles/ExternalEndpoints")
                    .build())
                .location("global")
                .monitorConfig(MonitorConfigArgs.builder()
                    .customHeaders(                
                        MonitorConfigCustomHeadersArgs.builder()
                            .name("header-1")
                            .value("value-1")
                            .build(),
                        MonitorConfigCustomHeadersArgs.builder()
                            .name("header-2")
                            .value("value-2")
                            .build())
                    .expectedStatusCodeRanges(                
                        MonitorConfigExpectedStatusCodeRangesArgs.builder()
                            .max(205)
                            .min(200)
                            .build(),
                        MonitorConfigExpectedStatusCodeRangesArgs.builder()
                            .max(410)
                            .min(400)
                            .build())
                    .intervalInSeconds(10)
                    .path("/testpath.aspx")
                    .port(80)
                    .protocol("HTTP")
                    .timeoutInSeconds(5)
                    .toleratedNumberOfFailures(2)
                    .build())
                .profileName("azuresdkfornetautoresttrafficmanager6192")
                .profileStatus("Enabled")
                .resourceGroupName("azuresdkfornetautoresttrafficmanager2583")
                .trafficRoutingMethod("Performance")
                .trafficViewEnrollmentStatus("Disabled")
                .build());
    
        }
    }
    
    import 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(
            custom_headers=[azure_native.network.EndpointPropertiesCustomHeadersArgs(
                name="header-2",
                value="value-2-overridden",
            )],
            endpoint_location="North Europe",
            endpoint_status=azure_native.network.EndpointStatus.ENABLED,
            name="My external endpoint",
            target="foobar.contoso.com",
            type="Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
        )],
        location="global",
        monitor_config=azure_native.network.MonitorConfigArgs(
            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=azure_native.network.MonitorProtocol.HTTP,
            timeout_in_seconds=5,
            tolerated_number_of_failures=2,
        ),
        profile_name="azuresdkfornetautoresttrafficmanager6192",
        profile_status=azure_native.network.ProfileStatus.ENABLED,
        resource_group_name="azuresdkfornetautoresttrafficmanager2583",
        traffic_routing_method=azure_native.network.TrafficRoutingMethod.PERFORMANCE,
        traffic_view_enrollment_status=azure_native.network.TrafficViewEnrollmentStatus.DISABLED)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const profile = new azure_native.network.Profile("profile", {
        dnsConfig: {
            relativeName: "azuresdkfornetautoresttrafficmanager6192",
            ttl: 35,
        },
        endpoints: [{
            customHeaders: [{
                name: "header-2",
                value: "value-2-overridden",
            }],
            endpointLocation: "North Europe",
            endpointStatus: azure_native.network.EndpointStatus.Enabled,
            name: "My external endpoint",
            target: "foobar.contoso.com",
            type: "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
        }],
        location: "global",
        monitorConfig: {
            customHeaders: [
                {
                    name: "header-1",
                    value: "value-1",
                },
                {
                    name: "header-2",
                    value: "value-2",
                },
            ],
            expectedStatusCodeRanges: [
                {
                    max: 205,
                    min: 200,
                },
                {
                    max: 410,
                    min: 400,
                },
            ],
            intervalInSeconds: 10,
            path: "/testpath.aspx",
            port: 80,
            protocol: azure_native.network.MonitorProtocol.HTTP,
            timeoutInSeconds: 5,
            toleratedNumberOfFailures: 2,
        },
        profileName: "azuresdkfornetautoresttrafficmanager6192",
        profileStatus: azure_native.network.ProfileStatus.Enabled,
        resourceGroupName: "azuresdkfornetautoresttrafficmanager2583",
        trafficRoutingMethod: azure_native.network.TrafficRoutingMethod.Performance,
        trafficViewEnrollmentStatus: azure_native.network.TrafficViewEnrollmentStatus.Disabled,
    });
    
    resources:
      profile:
        type: azure-native:network:Profile
        properties:
          dnsConfig:
            relativeName: azuresdkfornetautoresttrafficmanager6192
            ttl: 35
          endpoints:
            - customHeaders:
                - name: header-2
                  value: value-2-overridden
              endpointLocation: North Europe
              endpointStatus: Enabled
              name: My external endpoint
              target: foobar.contoso.com
              type: Microsoft.network/TrafficManagerProfiles/ExternalEndpoints
          location: global
          monitorConfig:
            customHeaders:
              - name: header-1
                value: value-1
              - name: header-2
                value: value-2
            expectedStatusCodeRanges:
              - max: 205
                min: 200
              - max: 410
                min: 400
            intervalInSeconds: 10
            path: /testpath.aspx
            port: 80
            protocol: HTTP
            timeoutInSeconds: 5
            toleratedNumberOfFailures: 2
          profileName: azuresdkfornetautoresttrafficmanager6192
          profileStatus: Enabled
          resourceGroupName: azuresdkfornetautoresttrafficmanager2583
          trafficRoutingMethod: Performance
          trafficViewEnrollmentStatus: Disabled
    

    Profile-PUT-WithEndpoints

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var profile = new AzureNative.Network.Profile("profile", new()
        {
            DnsConfig = new AzureNative.Network.Inputs.DnsConfigArgs
            {
                RelativeName = "azuresdkfornetautoresttrafficmanager6192",
                Ttl = 35,
            },
            Endpoints = new[]
            {
                new AzureNative.Network.Inputs.EndpointArgs
                {
                    EndpointLocation = "North Europe",
                    EndpointStatus = AzureNative.Network.EndpointStatus.Enabled,
                    Name = "My external endpoint",
                    Target = "foobar.contoso.com",
                    Type = "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
                },
            },
            Location = "global",
            MonitorConfig = new AzureNative.Network.Inputs.MonitorConfigArgs
            {
                IntervalInSeconds = 10,
                Path = "/testpath.aspx",
                Port = 80,
                Protocol = AzureNative.Network.MonitorProtocol.HTTP,
                TimeoutInSeconds = 5,
                ToleratedNumberOfFailures = 2,
            },
            ProfileName = "azuresdkfornetautoresttrafficmanager6192",
            ProfileStatus = AzureNative.Network.ProfileStatus.Enabled,
            ResourceGroupName = "azuresdkfornetautoresttrafficmanager2583",
            TrafficRoutingMethod = AzureNative.Network.TrafficRoutingMethod.Performance,
        });
    
    });
    
    package main
    
    import (
    	network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := network.NewProfile(ctx, "profile", &network.ProfileArgs{
    			DnsConfig: &network.DnsConfigArgs{
    				RelativeName: pulumi.String("azuresdkfornetautoresttrafficmanager6192"),
    				Ttl:          pulumi.Float64(35),
    			},
    			Endpoints: network.EndpointTypeArray{
    				&network.EndpointTypeArgs{
    					EndpointLocation: pulumi.String("North Europe"),
    					EndpointStatus:   pulumi.String(network.EndpointStatusEnabled),
    					Name:             pulumi.String("My external endpoint"),
    					Target:           pulumi.String("foobar.contoso.com"),
    					Type:             pulumi.String("Microsoft.network/TrafficManagerProfiles/ExternalEndpoints"),
    				},
    			},
    			Location: pulumi.String("global"),
    			MonitorConfig: &network.MonitorConfigArgs{
    				IntervalInSeconds:         pulumi.Float64(10),
    				Path:                      pulumi.String("/testpath.aspx"),
    				Port:                      pulumi.Float64(80),
    				Protocol:                  pulumi.String(network.MonitorProtocolHTTP),
    				TimeoutInSeconds:          pulumi.Float64(5),
    				ToleratedNumberOfFailures: pulumi.Float64(2),
    			},
    			ProfileName:          pulumi.String("azuresdkfornetautoresttrafficmanager6192"),
    			ProfileStatus:        pulumi.String(network.ProfileStatusEnabled),
    			ResourceGroupName:    pulumi.String("azuresdkfornetautoresttrafficmanager2583"),
    			TrafficRoutingMethod: pulumi.String(network.TrafficRoutingMethodPerformance),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.network.Profile;
    import com.pulumi.azurenative.network.ProfileArgs;
    import com.pulumi.azurenative.network.inputs.DnsConfigArgs;
    import com.pulumi.azurenative.network.inputs.EndpointArgs;
    import com.pulumi.azurenative.network.inputs.MonitorConfigArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var profile = new Profile("profile", ProfileArgs.builder()
                .dnsConfig(DnsConfigArgs.builder()
                    .relativeName("azuresdkfornetautoresttrafficmanager6192")
                    .ttl(35)
                    .build())
                .endpoints(EndpointArgs.builder()
                    .endpointLocation("North Europe")
                    .endpointStatus("Enabled")
                    .name("My external endpoint")
                    .target("foobar.contoso.com")
                    .type("Microsoft.network/TrafficManagerProfiles/ExternalEndpoints")
                    .build())
                .location("global")
                .monitorConfig(MonitorConfigArgs.builder()
                    .intervalInSeconds(10)
                    .path("/testpath.aspx")
                    .port(80)
                    .protocol("HTTP")
                    .timeoutInSeconds(5)
                    .toleratedNumberOfFailures(2)
                    .build())
                .profileName("azuresdkfornetautoresttrafficmanager6192")
                .profileStatus("Enabled")
                .resourceGroupName("azuresdkfornetautoresttrafficmanager2583")
                .trafficRoutingMethod("Performance")
                .build());
    
        }
    }
    
    import 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=azure_native.network.EndpointStatus.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=azure_native.network.MonitorProtocol.HTTP,
            timeout_in_seconds=5,
            tolerated_number_of_failures=2,
        ),
        profile_name="azuresdkfornetautoresttrafficmanager6192",
        profile_status=azure_native.network.ProfileStatus.ENABLED,
        resource_group_name="azuresdkfornetautoresttrafficmanager2583",
        traffic_routing_method=azure_native.network.TrafficRoutingMethod.PERFORMANCE)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const profile = new azure_native.network.Profile("profile", {
        dnsConfig: {
            relativeName: "azuresdkfornetautoresttrafficmanager6192",
            ttl: 35,
        },
        endpoints: [{
            endpointLocation: "North Europe",
            endpointStatus: azure_native.network.EndpointStatus.Enabled,
            name: "My external endpoint",
            target: "foobar.contoso.com",
            type: "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
        }],
        location: "global",
        monitorConfig: {
            intervalInSeconds: 10,
            path: "/testpath.aspx",
            port: 80,
            protocol: azure_native.network.MonitorProtocol.HTTP,
            timeoutInSeconds: 5,
            toleratedNumberOfFailures: 2,
        },
        profileName: "azuresdkfornetautoresttrafficmanager6192",
        profileStatus: azure_native.network.ProfileStatus.Enabled,
        resourceGroupName: "azuresdkfornetautoresttrafficmanager2583",
        trafficRoutingMethod: azure_native.network.TrafficRoutingMethod.Performance,
    });
    
    resources:
      profile:
        type: azure-native:network:Profile
        properties:
          dnsConfig:
            relativeName: azuresdkfornetautoresttrafficmanager6192
            ttl: 35
          endpoints:
            - endpointLocation: North Europe
              endpointStatus: Enabled
              name: My external endpoint
              target: foobar.contoso.com
              type: Microsoft.network/TrafficManagerProfiles/ExternalEndpoints
          location: global
          monitorConfig:
            intervalInSeconds: 10
            path: /testpath.aspx
            port: 80
            protocol: HTTP
            timeoutInSeconds: 5
            toleratedNumberOfFailures: 2
          profileName: azuresdkfornetautoresttrafficmanager6192
          profileStatus: Enabled
          resourceGroupName: azuresdkfornetautoresttrafficmanager2583
          trafficRoutingMethod: Performance
    

    Profile-PUT-WithNestedEndpoints

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var profile = new AzureNative.Network.Profile("profile", new()
        {
            DnsConfig = new AzureNative.Network.Inputs.DnsConfigArgs
            {
                RelativeName = "parentprofile",
                Ttl = 35,
            },
            Endpoints = new[]
            {
                new AzureNative.Network.Inputs.EndpointArgs
                {
                    EndpointStatus = AzureNative.Network.EndpointStatus.Enabled,
                    MinChildEndpoints = 2,
                    MinChildEndpointsIPv4 = 1,
                    MinChildEndpointsIPv6 = 2,
                    Name = "MyFirstNestedEndpoint",
                    Priority = 1,
                    Target = "firstnestedprofile.tmpreview.watmtest.azure-test.net",
                    Type = "Microsoft.Network/trafficManagerProfiles/nestedEndpoints",
                    Weight = 1,
                },
                new AzureNative.Network.Inputs.EndpointArgs
                {
                    EndpointStatus = AzureNative.Network.EndpointStatus.Enabled,
                    MinChildEndpoints = 2,
                    MinChildEndpointsIPv4 = 2,
                    MinChildEndpointsIPv6 = 1,
                    Name = "MySecondNestedEndpoint",
                    Priority = 2,
                    Target = "secondnestedprofile.tmpreview.watmtest.azure-test.net",
                    Type = "Microsoft.Network/trafficManagerProfiles/nestedEndpoints",
                    Weight = 1,
                },
            },
            Location = "global",
            MonitorConfig = new AzureNative.Network.Inputs.MonitorConfigArgs
            {
                IntervalInSeconds = 10,
                Path = "/testpath.aspx",
                Port = 80,
                Protocol = AzureNative.Network.MonitorProtocol.HTTP,
                TimeoutInSeconds = 5,
                ToleratedNumberOfFailures = 2,
            },
            ProfileName = "parentprofile",
            ProfileStatus = AzureNative.Network.ProfileStatus.Enabled,
            ResourceGroupName = "myresourcegroup",
            TrafficRoutingMethod = AzureNative.Network.TrafficRoutingMethod.Priority,
        });
    
    });
    
    package main
    
    import (
    	network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := network.NewProfile(ctx, "profile", &network.ProfileArgs{
    			DnsConfig: &network.DnsConfigArgs{
    				RelativeName: pulumi.String("parentprofile"),
    				Ttl:          pulumi.Float64(35),
    			},
    			Endpoints: network.EndpointTypeArray{
    				&network.EndpointTypeArgs{
    					EndpointStatus:        pulumi.String(network.EndpointStatusEnabled),
    					MinChildEndpoints:     pulumi.Float64(2),
    					MinChildEndpointsIPv4: pulumi.Float64(1),
    					MinChildEndpointsIPv6: pulumi.Float64(2),
    					Name:                  pulumi.String("MyFirstNestedEndpoint"),
    					Priority:              pulumi.Float64(1),
    					Target:                pulumi.String("firstnestedprofile.tmpreview.watmtest.azure-test.net"),
    					Type:                  pulumi.String("Microsoft.Network/trafficManagerProfiles/nestedEndpoints"),
    					Weight:                pulumi.Float64(1),
    				},
    				&network.EndpointTypeArgs{
    					EndpointStatus:        pulumi.String(network.EndpointStatusEnabled),
    					MinChildEndpoints:     pulumi.Float64(2),
    					MinChildEndpointsIPv4: pulumi.Float64(2),
    					MinChildEndpointsIPv6: pulumi.Float64(1),
    					Name:                  pulumi.String("MySecondNestedEndpoint"),
    					Priority:              pulumi.Float64(2),
    					Target:                pulumi.String("secondnestedprofile.tmpreview.watmtest.azure-test.net"),
    					Type:                  pulumi.String("Microsoft.Network/trafficManagerProfiles/nestedEndpoints"),
    					Weight:                pulumi.Float64(1),
    				},
    			},
    			Location: pulumi.String("global"),
    			MonitorConfig: &network.MonitorConfigArgs{
    				IntervalInSeconds:         pulumi.Float64(10),
    				Path:                      pulumi.String("/testpath.aspx"),
    				Port:                      pulumi.Float64(80),
    				Protocol:                  pulumi.String(network.MonitorProtocolHTTP),
    				TimeoutInSeconds:          pulumi.Float64(5),
    				ToleratedNumberOfFailures: pulumi.Float64(2),
    			},
    			ProfileName:          pulumi.String("parentprofile"),
    			ProfileStatus:        pulumi.String(network.ProfileStatusEnabled),
    			ResourceGroupName:    pulumi.String("myresourcegroup"),
    			TrafficRoutingMethod: pulumi.String(network.TrafficRoutingMethodPriority),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.network.Profile;
    import com.pulumi.azurenative.network.ProfileArgs;
    import com.pulumi.azurenative.network.inputs.DnsConfigArgs;
    import com.pulumi.azurenative.network.inputs.EndpointArgs;
    import com.pulumi.azurenative.network.inputs.MonitorConfigArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var profile = new Profile("profile", ProfileArgs.builder()
                .dnsConfig(DnsConfigArgs.builder()
                    .relativeName("parentprofile")
                    .ttl(35)
                    .build())
                .endpoints(            
                    EndpointArgs.builder()
                        .endpointStatus("Enabled")
                        .minChildEndpoints(2)
                        .minChildEndpointsIPv4(1)
                        .minChildEndpointsIPv6(2)
                        .name("MyFirstNestedEndpoint")
                        .priority(1)
                        .target("firstnestedprofile.tmpreview.watmtest.azure-test.net")
                        .type("Microsoft.Network/trafficManagerProfiles/nestedEndpoints")
                        .weight(1)
                        .build(),
                    EndpointArgs.builder()
                        .endpointStatus("Enabled")
                        .minChildEndpoints(2)
                        .minChildEndpointsIPv4(2)
                        .minChildEndpointsIPv6(1)
                        .name("MySecondNestedEndpoint")
                        .priority(2)
                        .target("secondnestedprofile.tmpreview.watmtest.azure-test.net")
                        .type("Microsoft.Network/trafficManagerProfiles/nestedEndpoints")
                        .weight(1)
                        .build())
                .location("global")
                .monitorConfig(MonitorConfigArgs.builder()
                    .intervalInSeconds(10)
                    .path("/testpath.aspx")
                    .port(80)
                    .protocol("HTTP")
                    .timeoutInSeconds(5)
                    .toleratedNumberOfFailures(2)
                    .build())
                .profileName("parentprofile")
                .profileStatus("Enabled")
                .resourceGroupName("myresourcegroup")
                .trafficRoutingMethod("Priority")
                .build());
    
        }
    }
    
    import 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=azure_native.network.EndpointStatus.ENABLED,
                min_child_endpoints=2,
                min_child_endpoints_i_pv4=1,
                min_child_endpoints_i_pv6=2,
                name="MyFirstNestedEndpoint",
                priority=1,
                target="firstnestedprofile.tmpreview.watmtest.azure-test.net",
                type="Microsoft.Network/trafficManagerProfiles/nestedEndpoints",
                weight=1,
            ),
            azure_native.network.EndpointArgs(
                endpoint_status=azure_native.network.EndpointStatus.ENABLED,
                min_child_endpoints=2,
                min_child_endpoints_i_pv4=2,
                min_child_endpoints_i_pv6=1,
                name="MySecondNestedEndpoint",
                priority=2,
                target="secondnestedprofile.tmpreview.watmtest.azure-test.net",
                type="Microsoft.Network/trafficManagerProfiles/nestedEndpoints",
                weight=1,
            ),
        ],
        location="global",
        monitor_config=azure_native.network.MonitorConfigArgs(
            interval_in_seconds=10,
            path="/testpath.aspx",
            port=80,
            protocol=azure_native.network.MonitorProtocol.HTTP,
            timeout_in_seconds=5,
            tolerated_number_of_failures=2,
        ),
        profile_name="parentprofile",
        profile_status=azure_native.network.ProfileStatus.ENABLED,
        resource_group_name="myresourcegroup",
        traffic_routing_method=azure_native.network.TrafficRoutingMethod.PRIORITY)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const profile = new azure_native.network.Profile("profile", {
        dnsConfig: {
            relativeName: "parentprofile",
            ttl: 35,
        },
        endpoints: [
            {
                endpointStatus: azure_native.network.EndpointStatus.Enabled,
                minChildEndpoints: 2,
                minChildEndpointsIPv4: 1,
                minChildEndpointsIPv6: 2,
                name: "MyFirstNestedEndpoint",
                priority: 1,
                target: "firstnestedprofile.tmpreview.watmtest.azure-test.net",
                type: "Microsoft.Network/trafficManagerProfiles/nestedEndpoints",
                weight: 1,
            },
            {
                endpointStatus: azure_native.network.EndpointStatus.Enabled,
                minChildEndpoints: 2,
                minChildEndpointsIPv4: 2,
                minChildEndpointsIPv6: 1,
                name: "MySecondNestedEndpoint",
                priority: 2,
                target: "secondnestedprofile.tmpreview.watmtest.azure-test.net",
                type: "Microsoft.Network/trafficManagerProfiles/nestedEndpoints",
                weight: 1,
            },
        ],
        location: "global",
        monitorConfig: {
            intervalInSeconds: 10,
            path: "/testpath.aspx",
            port: 80,
            protocol: azure_native.network.MonitorProtocol.HTTP,
            timeoutInSeconds: 5,
            toleratedNumberOfFailures: 2,
        },
        profileName: "parentprofile",
        profileStatus: azure_native.network.ProfileStatus.Enabled,
        resourceGroupName: "myresourcegroup",
        trafficRoutingMethod: azure_native.network.TrafficRoutingMethod.Priority,
    });
    
    resources:
      profile:
        type: azure-native:network:Profile
        properties:
          dnsConfig:
            relativeName: parentprofile
            ttl: 35
          endpoints:
            - endpointStatus: Enabled
              minChildEndpoints: 2
              minChildEndpointsIPv4: 1
              minChildEndpointsIPv6: 2
              name: MyFirstNestedEndpoint
              priority: 1
              target: firstnestedprofile.tmpreview.watmtest.azure-test.net
              type: Microsoft.Network/trafficManagerProfiles/nestedEndpoints
              weight: 1
            - endpointStatus: Enabled
              minChildEndpoints: 2
              minChildEndpointsIPv4: 2
              minChildEndpointsIPv6: 1
              name: MySecondNestedEndpoint
              priority: 2
              target: secondnestedprofile.tmpreview.watmtest.azure-test.net
              type: Microsoft.Network/trafficManagerProfiles/nestedEndpoints
              weight: 1
          location: global
          monitorConfig:
            intervalInSeconds: 10
            path: /testpath.aspx
            port: 80
            protocol: HTTP
            timeoutInSeconds: 5
            toleratedNumberOfFailures: 2
          profileName: parentprofile
          profileStatus: Enabled
          resourceGroupName: myresourcegroup
          trafficRoutingMethod: Priority
    

    Create Profile Resource

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

    Constructor syntax

    new Profile(name: string, args: ProfileArgs, opts?: CustomResourceOptions);
    @overload
    def Profile(resource_name: str,
                args: ProfileArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Profile(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                resource_group_name: Optional[str] = None,
                monitor_config: Optional[MonitorConfigArgs] = None,
                profile_name: Optional[str] = None,
                id: Optional[str] = None,
                location: Optional[str] = None,
                max_return: Optional[float] = None,
                allowed_endpoint_record_types: Optional[Sequence[Union[str, AllowedEndpointRecordType]]] = None,
                name: Optional[str] = None,
                endpoints: Optional[Sequence[EndpointArgs]] = None,
                profile_status: Optional[Union[str, ProfileStatus]] = None,
                dns_config: Optional[DnsConfigArgs] = None,
                tags: Optional[Mapping[str, str]] = None,
                traffic_routing_method: Optional[Union[str, TrafficRoutingMethod]] = None,
                traffic_view_enrollment_status: Optional[Union[str, TrafficViewEnrollmentStatus]] = None,
                type: Optional[str] = None)
    func NewProfile(ctx *Context, name string, args ProfileArgs, opts ...ResourceOption) (*Profile, error)
    public Profile(string name, ProfileArgs args, CustomResourceOptions? opts = null)
    public Profile(String name, ProfileArgs args)
    public Profile(String name, ProfileArgs args, CustomResourceOptions options)
    
    type: azure-native:network:Profile
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ProfileArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ProfileArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ProfileArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var exampleprofileResourceResourceFromNetwork = new AzureNative.Network.Profile("exampleprofileResourceResourceFromNetwork", new()
    {
        ResourceGroupName = "string",
        MonitorConfig = new AzureNative.Network.Inputs.MonitorConfigArgs
        {
            CustomHeaders = new[]
            {
                new AzureNative.Network.Inputs.MonitorConfigCustomHeadersArgs
                {
                    Name = "string",
                    Value = "string",
                },
            },
            ExpectedStatusCodeRanges = new[]
            {
                new AzureNative.Network.Inputs.MonitorConfigExpectedStatusCodeRangesArgs
                {
                    Max = 0,
                    Min = 0,
                },
            },
            IntervalInSeconds = 0,
            Path = "string",
            Port = 0,
            ProfileMonitorStatus = "string",
            Protocol = "string",
            TimeoutInSeconds = 0,
            ToleratedNumberOfFailures = 0,
        },
        ProfileName = "string",
        Id = "string",
        Location = "string",
        MaxReturn = 0,
        AllowedEndpointRecordTypes = new[]
        {
            "string",
        },
        Name = "string",
        Endpoints = new[]
        {
            new AzureNative.Network.Inputs.EndpointArgs
            {
                AlwaysServe = "string",
                CustomHeaders = new[]
                {
                    new AzureNative.Network.Inputs.EndpointPropertiesCustomHeadersArgs
                    {
                        Name = "string",
                        Value = "string",
                    },
                },
                EndpointLocation = "string",
                EndpointMonitorStatus = "string",
                EndpointStatus = "string",
                GeoMapping = new[]
                {
                    "string",
                },
                Id = "string",
                MinChildEndpoints = 0,
                MinChildEndpointsIPv4 = 0,
                MinChildEndpointsIPv6 = 0,
                Name = "string",
                Priority = 0,
                Subnets = new[]
                {
                    new AzureNative.Network.Inputs.EndpointPropertiesSubnetsArgs
                    {
                        First = "string",
                        Last = "string",
                        Scope = 0,
                    },
                },
                Target = "string",
                TargetResourceId = "string",
                Type = "string",
                Weight = 0,
            },
        },
        ProfileStatus = "string",
        DnsConfig = new AzureNative.Network.Inputs.DnsConfigArgs
        {
            RelativeName = "string",
            Ttl = 0,
        },
        Tags = 
        {
            { "string", "string" },
        },
        TrafficRoutingMethod = "string",
        TrafficViewEnrollmentStatus = "string",
        Type = "string",
    });
    
    example, err := network.NewProfile(ctx, "exampleprofileResourceResourceFromNetwork", &network.ProfileArgs{
    ResourceGroupName: pulumi.String("string"),
    MonitorConfig: &network.MonitorConfigArgs{
    CustomHeaders: network.MonitorConfigCustomHeadersArray{
    &network.MonitorConfigCustomHeadersArgs{
    Name: pulumi.String("string"),
    Value: pulumi.String("string"),
    },
    },
    ExpectedStatusCodeRanges: network.MonitorConfigExpectedStatusCodeRangesArray{
    &network.MonitorConfigExpectedStatusCodeRangesArgs{
    Max: pulumi.Int(0),
    Min: pulumi.Int(0),
    },
    },
    IntervalInSeconds: pulumi.Float64(0),
    Path: pulumi.String("string"),
    Port: pulumi.Float64(0),
    ProfileMonitorStatus: pulumi.String("string"),
    Protocol: pulumi.String("string"),
    TimeoutInSeconds: pulumi.Float64(0),
    ToleratedNumberOfFailures: pulumi.Float64(0),
    },
    ProfileName: pulumi.String("string"),
    Id: pulumi.String("string"),
    Location: pulumi.String("string"),
    MaxReturn: pulumi.Float64(0),
    AllowedEndpointRecordTypes: pulumi.StringArray{
    pulumi.String("string"),
    },
    Name: pulumi.String("string"),
    Endpoints: network.EndpointTypeArray{
    &network.EndpointTypeArgs{
    AlwaysServe: pulumi.String("string"),
    CustomHeaders: network.EndpointPropertiesCustomHeadersArray{
    &network.EndpointPropertiesCustomHeadersArgs{
    Name: pulumi.String("string"),
    Value: pulumi.String("string"),
    },
    },
    EndpointLocation: pulumi.String("string"),
    EndpointMonitorStatus: pulumi.String("string"),
    EndpointStatus: pulumi.String("string"),
    GeoMapping: pulumi.StringArray{
    pulumi.String("string"),
    },
    Id: pulumi.String("string"),
    MinChildEndpoints: pulumi.Float64(0),
    MinChildEndpointsIPv4: pulumi.Float64(0),
    MinChildEndpointsIPv6: pulumi.Float64(0),
    Name: pulumi.String("string"),
    Priority: pulumi.Float64(0),
    Subnets: network.EndpointPropertiesSubnetsArray{
    &network.EndpointPropertiesSubnetsArgs{
    First: pulumi.String("string"),
    Last: pulumi.String("string"),
    Scope: pulumi.Int(0),
    },
    },
    Target: pulumi.String("string"),
    TargetResourceId: pulumi.String("string"),
    Type: pulumi.String("string"),
    Weight: pulumi.Float64(0),
    },
    },
    ProfileStatus: pulumi.String("string"),
    DnsConfig: &network.DnsConfigArgs{
    RelativeName: pulumi.String("string"),
    Ttl: pulumi.Float64(0),
    },
    Tags: pulumi.StringMap{
    "string": pulumi.String("string"),
    },
    TrafficRoutingMethod: pulumi.String("string"),
    TrafficViewEnrollmentStatus: pulumi.String("string"),
    Type: pulumi.String("string"),
    })
    
    var exampleprofileResourceResourceFromNetwork = new Profile("exampleprofileResourceResourceFromNetwork", ProfileArgs.builder()
        .resourceGroupName("string")
        .monitorConfig(MonitorConfigArgs.builder()
            .customHeaders(MonitorConfigCustomHeadersArgs.builder()
                .name("string")
                .value("string")
                .build())
            .expectedStatusCodeRanges(MonitorConfigExpectedStatusCodeRangesArgs.builder()
                .max(0)
                .min(0)
                .build())
            .intervalInSeconds(0)
            .path("string")
            .port(0)
            .profileMonitorStatus("string")
            .protocol("string")
            .timeoutInSeconds(0)
            .toleratedNumberOfFailures(0)
            .build())
        .profileName("string")
        .id("string")
        .location("string")
        .maxReturn(0)
        .allowedEndpointRecordTypes("string")
        .name("string")
        .endpoints(EndpointArgs.builder()
            .alwaysServe("string")
            .customHeaders(EndpointPropertiesCustomHeadersArgs.builder()
                .name("string")
                .value("string")
                .build())
            .endpointLocation("string")
            .endpointMonitorStatus("string")
            .endpointStatus("string")
            .geoMapping("string")
            .id("string")
            .minChildEndpoints(0)
            .minChildEndpointsIPv4(0)
            .minChildEndpointsIPv6(0)
            .name("string")
            .priority(0)
            .subnets(EndpointPropertiesSubnetsArgs.builder()
                .first("string")
                .last("string")
                .scope(0)
                .build())
            .target("string")
            .targetResourceId("string")
            .type("string")
            .weight(0)
            .build())
        .profileStatus("string")
        .dnsConfig(DnsConfigArgs.builder()
            .relativeName("string")
            .ttl(0)
            .build())
        .tags(Map.of("string", "string"))
        .trafficRoutingMethod("string")
        .trafficViewEnrollmentStatus("string")
        .type("string")
        .build());
    
    exampleprofile_resource_resource_from_network = azure_native.network.Profile("exampleprofileResourceResourceFromNetwork",
        resource_group_name="string",
        monitor_config=azure_native.network.MonitorConfigArgs(
            custom_headers=[azure_native.network.MonitorConfigCustomHeadersArgs(
                name="string",
                value="string",
            )],
            expected_status_code_ranges=[azure_native.network.MonitorConfigExpectedStatusCodeRangesArgs(
                max=0,
                min=0,
            )],
            interval_in_seconds=0,
            path="string",
            port=0,
            profile_monitor_status="string",
            protocol="string",
            timeout_in_seconds=0,
            tolerated_number_of_failures=0,
        ),
        profile_name="string",
        id="string",
        location="string",
        max_return=0,
        allowed_endpoint_record_types=["string"],
        name="string",
        endpoints=[azure_native.network.EndpointArgs(
            always_serve="string",
            custom_headers=[azure_native.network.EndpointPropertiesCustomHeadersArgs(
                name="string",
                value="string",
            )],
            endpoint_location="string",
            endpoint_monitor_status="string",
            endpoint_status="string",
            geo_mapping=["string"],
            id="string",
            min_child_endpoints=0,
            min_child_endpoints_i_pv4=0,
            min_child_endpoints_i_pv6=0,
            name="string",
            priority=0,
            subnets=[azure_native.network.EndpointPropertiesSubnetsArgs(
                first="string",
                last="string",
                scope=0,
            )],
            target="string",
            target_resource_id="string",
            type="string",
            weight=0,
        )],
        profile_status="string",
        dns_config=azure_native.network.DnsConfigArgs(
            relative_name="string",
            ttl=0,
        ),
        tags={
            "string": "string",
        },
        traffic_routing_method="string",
        traffic_view_enrollment_status="string",
        type="string")
    
    const exampleprofileResourceResourceFromNetwork = new azure_native.network.Profile("exampleprofileResourceResourceFromNetwork", {
        resourceGroupName: "string",
        monitorConfig: {
            customHeaders: [{
                name: "string",
                value: "string",
            }],
            expectedStatusCodeRanges: [{
                max: 0,
                min: 0,
            }],
            intervalInSeconds: 0,
            path: "string",
            port: 0,
            profileMonitorStatus: "string",
            protocol: "string",
            timeoutInSeconds: 0,
            toleratedNumberOfFailures: 0,
        },
        profileName: "string",
        id: "string",
        location: "string",
        maxReturn: 0,
        allowedEndpointRecordTypes: ["string"],
        name: "string",
        endpoints: [{
            alwaysServe: "string",
            customHeaders: [{
                name: "string",
                value: "string",
            }],
            endpointLocation: "string",
            endpointMonitorStatus: "string",
            endpointStatus: "string",
            geoMapping: ["string"],
            id: "string",
            minChildEndpoints: 0,
            minChildEndpointsIPv4: 0,
            minChildEndpointsIPv6: 0,
            name: "string",
            priority: 0,
            subnets: [{
                first: "string",
                last: "string",
                scope: 0,
            }],
            target: "string",
            targetResourceId: "string",
            type: "string",
            weight: 0,
        }],
        profileStatus: "string",
        dnsConfig: {
            relativeName: "string",
            ttl: 0,
        },
        tags: {
            string: "string",
        },
        trafficRoutingMethod: "string",
        trafficViewEnrollmentStatus: "string",
        type: "string",
    });
    
    type: azure-native:network:Profile
    properties:
        allowedEndpointRecordTypes:
            - string
        dnsConfig:
            relativeName: string
            ttl: 0
        endpoints:
            - alwaysServe: string
              customHeaders:
                - name: string
                  value: string
              endpointLocation: string
              endpointMonitorStatus: string
              endpointStatus: string
              geoMapping:
                - string
              id: string
              minChildEndpoints: 0
              minChildEndpointsIPv4: 0
              minChildEndpointsIPv6: 0
              name: string
              priority: 0
              subnets:
                - first: string
                  last: string
                  scope: 0
              target: string
              targetResourceId: string
              type: string
              weight: 0
        id: string
        location: string
        maxReturn: 0
        monitorConfig:
            customHeaders:
                - name: string
                  value: string
            expectedStatusCodeRanges:
                - max: 0
                  min: 0
            intervalInSeconds: 0
            path: string
            port: 0
            profileMonitorStatus: string
            protocol: string
            timeoutInSeconds: 0
            toleratedNumberOfFailures: 0
        name: string
        profileName: string
        profileStatus: string
        resourceGroupName: string
        tags:
            string: string
        trafficRoutingMethod: string
        trafficViewEnrollmentStatus: string
        type: string
    

    Profile Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Profile resource accepts the following input properties:

    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    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. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.
    Id string
    Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
    Location string
    The Azure Region where the resource lives
    MaxReturn double
    Maximum number of endpoints to be returned for MultiValue routing type.
    MonitorConfig Pulumi.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. The name is case insensitive.
    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. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.
    Id string
    Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
    Location string
    The Azure Region where the resource lives
    MaxReturn float64
    Maximum number of endpoints to be returned for MultiValue routing type.
    MonitorConfig 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. The name is case insensitive.
    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. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.
    id String
    Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
    location String
    The Azure Region where the resource lives
    maxReturn Double
    Maximum number of endpoints to be returned for MultiValue routing type.
    monitorConfig MonitorConfig
    The endpoint monitoring settings of the Traffic Manager profile.
    name String
    The name of the resource
    profileName String
    The name of the Traffic Manager profile.
    profileStatus String | ProfileStatus
    The status of the Traffic Manager profile.
    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. The name is case insensitive.
    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. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.
    id string
    Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
    location string
    The Azure Region where the resource lives
    maxReturn number
    Maximum number of endpoints to be returned for MultiValue routing type.
    monitorConfig MonitorConfig
    The endpoint monitoring settings of the Traffic Manager profile.
    name string
    The name of the resource
    profileName string
    The name of the Traffic Manager profile.
    profileStatus string | ProfileStatus
    The status of the Traffic Manager profile.
    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. The name is case insensitive.
    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. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.
    id str
    Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
    location str
    The Azure Region where the resource lives
    max_return float
    Maximum number of endpoints to be returned for MultiValue routing type.
    monitor_config 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. The name is case insensitive.
    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. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.
    id String
    Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
    location String
    The Azure Region where the resource lives
    maxReturn Number
    Maximum number of endpoints to be returned for MultiValue routing type.
    monitorConfig Property Map
    The endpoint monitoring settings of the Traffic Manager profile.
    name String
    The name of the resource
    profileName String
    The name of the Traffic Manager profile.
    profileStatus String | "Enabled" | "Disabled"
    The status of the Traffic Manager profile.
    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

    AlwaysServe, AlwaysServeArgs

    Enabled
    Enabled
    Disabled
    Disabled
    AlwaysServeEnabled
    Enabled
    AlwaysServeDisabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    ENABLED
    Enabled
    DISABLED
    Disabled
    "Enabled"
    Enabled
    "Disabled"
    Disabled

    DnsConfig, DnsConfigArgs

    RelativeName string
    The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.
    Ttl double
    The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.
    RelativeName string
    The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.
    Ttl float64
    The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.
    relativeName String
    The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.
    ttl Double
    The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.
    relativeName string
    The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.
    ttl number
    The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.
    relative_name str
    The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.
    ttl float
    The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.
    relativeName String
    The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.
    ttl Number
    The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.

    DnsConfigResponse, DnsConfigResponseArgs

    Fqdn string
    The fully-qualified domain name (FQDN) of the Traffic Manager profile. This is formed from the concatenation of the RelativeName with the DNS domain used by Azure Traffic Manager.
    RelativeName string
    The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.
    Ttl double
    The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.
    Fqdn string
    The fully-qualified domain name (FQDN) of the Traffic Manager profile. This is formed from the concatenation of the RelativeName with the DNS domain used by Azure Traffic Manager.
    RelativeName string
    The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.
    Ttl float64
    The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.
    fqdn String
    The fully-qualified domain name (FQDN) of the Traffic Manager profile. This is formed from the concatenation of the RelativeName with the DNS domain used by Azure Traffic Manager.
    relativeName String
    The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.
    ttl Double
    The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.
    fqdn string
    The fully-qualified domain name (FQDN) of the Traffic Manager profile. This is formed from the concatenation of the RelativeName with the DNS domain used by Azure Traffic Manager.
    relativeName string
    The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.
    ttl number
    The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.
    fqdn str
    The fully-qualified domain name (FQDN) of the Traffic Manager profile. This is formed from the concatenation of the RelativeName with the DNS domain used by Azure Traffic Manager.
    relative_name str
    The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.
    ttl float
    The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.
    fqdn String
    The fully-qualified domain name (FQDN) of the Traffic Manager profile. This is formed from the concatenation of the RelativeName with the DNS domain used by Azure Traffic Manager.
    relativeName String
    The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.
    ttl Number
    The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.

    Endpoint, EndpointArgs

    AlwaysServe string | Pulumi.AzureNative.Network.AlwaysServe
    If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
    CustomHeaders List<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.
    AlwaysServe string | AlwaysServe
    If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
    CustomHeaders []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.
    alwaysServe String | AlwaysServe
    If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
    customHeaders List<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.
    alwaysServe string | AlwaysServe
    If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
    customHeaders 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.
    always_serve str | AlwaysServe
    If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
    custom_headers Sequence[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.
    alwaysServe String | "Enabled" | "Disabled"
    If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
    customHeaders List<Property Map>
    List of custom headers.
    endpointLocation String
    Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method.
    endpointMonitorStatus String | "CheckingEndpoint" | "Online" | "Degraded" | "Disabled" | "Inactive" | "Stopped" | "Unmonitored"
    The monitoring status of the endpoint.
    endpointStatus String | "Enabled" | "Disabled"
    The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method.
    geoMapping List<String>
    The list of countries/regions mapped to this endpoint when using the 'Geographic' traffic routing method. Please consult Traffic Manager Geographic documentation for a full list of accepted values.
    id String
    Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
    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
    Unmonitored
    Unmonitored
    EndpointMonitorStatusCheckingEndpoint
    CheckingEndpoint
    EndpointMonitorStatusOnline
    Online
    EndpointMonitorStatusDegraded
    Degraded
    EndpointMonitorStatusDisabled
    Disabled
    EndpointMonitorStatusInactive
    Inactive
    EndpointMonitorStatusStopped
    Stopped
    EndpointMonitorStatusUnmonitored
    Unmonitored
    CheckingEndpoint
    CheckingEndpoint
    Online
    Online
    Degraded
    Degraded
    Disabled
    Disabled
    Inactive
    Inactive
    Stopped
    Stopped
    Unmonitored
    Unmonitored
    CheckingEndpoint
    CheckingEndpoint
    Online
    Online
    Degraded
    Degraded
    Disabled
    Disabled
    Inactive
    Inactive
    Stopped
    Stopped
    Unmonitored
    Unmonitored
    CHECKING_ENDPOINT
    CheckingEndpoint
    ONLINE
    Online
    DEGRADED
    Degraded
    DISABLED
    Disabled
    INACTIVE
    Inactive
    STOPPED
    Stopped
    UNMONITORED
    Unmonitored
    "CheckingEndpoint"
    CheckingEndpoint
    "Online"
    Online
    "Degraded"
    Degraded
    "Disabled"
    Disabled
    "Inactive"
    Inactive
    "Stopped"
    Stopped
    "Unmonitored"
    Unmonitored

    EndpointPropertiesCustomHeaders, EndpointPropertiesCustomHeadersArgs

    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

    AlwaysServe string
    If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
    CustomHeaders List<Pulumi.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.
    AlwaysServe string
    If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
    CustomHeaders []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.
    alwaysServe String
    If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
    customHeaders List<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.
    alwaysServe string
    If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
    customHeaders 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.
    always_serve str
    If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
    custom_headers Sequence[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.
    alwaysServe String
    If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
    customHeaders List<Property Map>
    List of custom headers.
    endpointLocation String
    Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method.
    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/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName} 
    

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

    Package Details

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