1. Packages
  2. Azure Classic
  3. API Docs
  4. network
  5. TrafficManagerEndpoint

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
azure logo

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    Manages a Traffic Manager Endpoint.

    NOTE: This resource is deprecated in favour of the azure.network.TrafficManagerAzureEndpoint, azure.network.TrafficManagerExternalEndpoint, or azure.network.TrafficManagerNestedEndpoint resources and will be removed in version 3.0 of the Azure Provider.

    Example Usage

    using Pulumi;
    using Azure = Pulumi.Azure;
    using Random = Pulumi.Random;
    
    class MyStack : Stack
    {
        public MyStack()
        {
            var server = new Random.RandomId("server", new Random.RandomIdArgs
            {
                Keepers = 
                {
                    { "azi_id", 1 },
                },
                ByteLength = 8,
            });
            var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
            {
                Location = "West Europe",
            });
            var exampleTrafficManagerProfile = new Azure.Network.TrafficManagerProfile("exampleTrafficManagerProfile", new Azure.Network.TrafficManagerProfileArgs
            {
                ResourceGroupName = exampleResourceGroup.Name,
                TrafficRoutingMethod = "Weighted",
                DnsConfig = new Azure.Network.Inputs.TrafficManagerProfileDnsConfigArgs
                {
                    RelativeName = server.Hex,
                    Ttl = 100,
                },
                MonitorConfig = new Azure.Network.Inputs.TrafficManagerProfileMonitorConfigArgs
                {
                    Protocol = "http",
                    Port = 80,
                    Path = "/",
                    IntervalInSeconds = 30,
                    TimeoutInSeconds = 9,
                    ToleratedNumberOfFailures = 3,
                },
                Tags = 
                {
                    { "environment", "Production" },
                },
            });
            var exampleTrafficManagerEndpoint = new Azure.Network.TrafficManagerEndpoint("exampleTrafficManagerEndpoint", new Azure.Network.TrafficManagerEndpointArgs
            {
                ResourceGroupName = exampleResourceGroup.Name,
                ProfileName = exampleTrafficManagerProfile.Name,
                Type = "externalEndpoints",
                Weight = 100,
            });
        }
    
    }
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/network"
    	"github.com/pulumi/pulumi-random/sdk/v4/go/random"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		server, err := random.NewRandomId(ctx, "server", &random.RandomIdArgs{
    			Keepers: pulumi.AnyMap{
    				"azi_id": pulumi.Any(1),
    			},
    			ByteLength: pulumi.Int(8),
    		})
    		if err != nil {
    			return err
    		}
    		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleTrafficManagerProfile, err := network.NewTrafficManagerProfile(ctx, "exampleTrafficManagerProfile", &network.TrafficManagerProfileArgs{
    			ResourceGroupName:    exampleResourceGroup.Name,
    			TrafficRoutingMethod: pulumi.String("Weighted"),
    			DnsConfig: &network.TrafficManagerProfileDnsConfigArgs{
    				RelativeName: server.Hex,
    				Ttl:          pulumi.Int(100),
    			},
    			MonitorConfig: &network.TrafficManagerProfileMonitorConfigArgs{
    				Protocol:                  pulumi.String("http"),
    				Port:                      pulumi.Int(80),
    				Path:                      pulumi.String("/"),
    				IntervalInSeconds:         pulumi.Int(30),
    				TimeoutInSeconds:          pulumi.Int(9),
    				ToleratedNumberOfFailures: pulumi.Int(3),
    			},
    			Tags: pulumi.StringMap{
    				"environment": pulumi.String("Production"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = network.NewTrafficManagerEndpoint(ctx, "exampleTrafficManagerEndpoint", &network.TrafficManagerEndpointArgs{
    			ResourceGroupName: exampleResourceGroup.Name,
    			ProfileName:       exampleTrafficManagerProfile.Name,
    			Type:              pulumi.String("externalEndpoints"),
    			Weight:            pulumi.Int(100),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Example coming soon!

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    import * as random from "@pulumi/random";
    
    const server = new random.RandomId("server", {
        keepers: {
            azi_id: 1,
        },
        byteLength: 8,
    });
    const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
    const exampleTrafficManagerProfile = new azure.network.TrafficManagerProfile("exampleTrafficManagerProfile", {
        resourceGroupName: exampleResourceGroup.name,
        trafficRoutingMethod: "Weighted",
        dnsConfig: {
            relativeName: server.hex,
            ttl: 100,
        },
        monitorConfig: {
            protocol: "http",
            port: 80,
            path: "/",
            intervalInSeconds: 30,
            timeoutInSeconds: 9,
            toleratedNumberOfFailures: 3,
        },
        tags: {
            environment: "Production",
        },
    });
    const exampleTrafficManagerEndpoint = new azure.network.TrafficManagerEndpoint("exampleTrafficManagerEndpoint", {
        resourceGroupName: exampleResourceGroup.name,
        profileName: exampleTrafficManagerProfile.name,
        type: "externalEndpoints",
        weight: 100,
    });
    
    import pulumi
    import pulumi_azure as azure
    import pulumi_random as random
    
    server = random.RandomId("server",
        keepers={
            "azi_id": 1,
        },
        byte_length=8)
    example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
    example_traffic_manager_profile = azure.network.TrafficManagerProfile("exampleTrafficManagerProfile",
        resource_group_name=example_resource_group.name,
        traffic_routing_method="Weighted",
        dns_config=azure.network.TrafficManagerProfileDnsConfigArgs(
            relative_name=server.hex,
            ttl=100,
        ),
        monitor_config=azure.network.TrafficManagerProfileMonitorConfigArgs(
            protocol="http",
            port=80,
            path="/",
            interval_in_seconds=30,
            timeout_in_seconds=9,
            tolerated_number_of_failures=3,
        ),
        tags={
            "environment": "Production",
        })
    example_traffic_manager_endpoint = azure.network.TrafficManagerEndpoint("exampleTrafficManagerEndpoint",
        resource_group_name=example_resource_group.name,
        profile_name=example_traffic_manager_profile.name,
        type="externalEndpoints",
        weight=100)
    

    Example coming soon!

    Create TrafficManagerEndpoint Resource

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

    Constructor syntax

    new TrafficManagerEndpoint(name: string, args: TrafficManagerEndpointArgs, opts?: CustomResourceOptions);
    @overload
    def TrafficManagerEndpoint(resource_name: str,
                               args: TrafficManagerEndpointArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def TrafficManagerEndpoint(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               profile_name: Optional[str] = None,
                               type: Optional[str] = None,
                               resource_group_name: Optional[str] = None,
                               priority: Optional[int] = None,
                               min_child_endpoints: Optional[int] = None,
                               minimum_required_child_endpoints_ipv4: Optional[int] = None,
                               minimum_required_child_endpoints_ipv6: Optional[int] = None,
                               name: Optional[str] = None,
                               custom_headers: Optional[Sequence[TrafficManagerEndpointCustomHeaderArgs]] = None,
                               geo_mappings: Optional[Sequence[str]] = None,
                               endpoint_status: Optional[str] = None,
                               subnets: Optional[Sequence[TrafficManagerEndpointSubnetArgs]] = None,
                               target: Optional[str] = None,
                               target_resource_id: Optional[str] = None,
                               endpoint_location: Optional[str] = None,
                               weight: Optional[int] = None)
    func NewTrafficManagerEndpoint(ctx *Context, name string, args TrafficManagerEndpointArgs, opts ...ResourceOption) (*TrafficManagerEndpoint, error)
    public TrafficManagerEndpoint(string name, TrafficManagerEndpointArgs args, CustomResourceOptions? opts = null)
    public TrafficManagerEndpoint(String name, TrafficManagerEndpointArgs args)
    public TrafficManagerEndpoint(String name, TrafficManagerEndpointArgs args, CustomResourceOptions options)
    
    type: azure:network:TrafficManagerEndpoint
    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 TrafficManagerEndpointArgs
    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 TrafficManagerEndpointArgs
    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 TrafficManagerEndpointArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TrafficManagerEndpointArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TrafficManagerEndpointArgs
    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 trafficManagerEndpointResource = new Azure.Network.TrafficManagerEndpoint("trafficManagerEndpointResource", new()
    {
        ProfileName = "string",
        Type = "string",
        ResourceGroupName = "string",
        Priority = 0,
        MinChildEndpoints = 0,
        MinimumRequiredChildEndpointsIpv4 = 0,
        MinimumRequiredChildEndpointsIpv6 = 0,
        Name = "string",
        CustomHeaders = new[]
        {
            new Azure.Network.Inputs.TrafficManagerEndpointCustomHeaderArgs
            {
                Name = "string",
                Value = "string",
            },
        },
        GeoMappings = new[]
        {
            "string",
        },
        EndpointStatus = "string",
        Subnets = new[]
        {
            new Azure.Network.Inputs.TrafficManagerEndpointSubnetArgs
            {
                First = "string",
                Last = "string",
                Scope = 0,
            },
        },
        Target = "string",
        TargetResourceId = "string",
        EndpointLocation = "string",
        Weight = 0,
    });
    
    example, err := network.NewTrafficManagerEndpoint(ctx, "trafficManagerEndpointResource", &network.TrafficManagerEndpointArgs{
    	ProfileName:                       pulumi.String("string"),
    	Type:                              pulumi.String("string"),
    	ResourceGroupName:                 pulumi.String("string"),
    	Priority:                          pulumi.Int(0),
    	MinChildEndpoints:                 pulumi.Int(0),
    	MinimumRequiredChildEndpointsIpv4: pulumi.Int(0),
    	MinimumRequiredChildEndpointsIpv6: pulumi.Int(0),
    	Name:                              pulumi.String("string"),
    	CustomHeaders: network.TrafficManagerEndpointCustomHeaderArray{
    		&network.TrafficManagerEndpointCustomHeaderArgs{
    			Name:  pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    	GeoMappings: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	EndpointStatus: pulumi.String("string"),
    	Subnets: network.TrafficManagerEndpointSubnetArray{
    		&network.TrafficManagerEndpointSubnetArgs{
    			First: pulumi.String("string"),
    			Last:  pulumi.String("string"),
    			Scope: pulumi.Int(0),
    		},
    	},
    	Target:           pulumi.String("string"),
    	TargetResourceId: pulumi.String("string"),
    	EndpointLocation: pulumi.String("string"),
    	Weight:           pulumi.Int(0),
    })
    
    var trafficManagerEndpointResource = new TrafficManagerEndpoint("trafficManagerEndpointResource", TrafficManagerEndpointArgs.builder()
        .profileName("string")
        .type("string")
        .resourceGroupName("string")
        .priority(0)
        .minChildEndpoints(0)
        .minimumRequiredChildEndpointsIpv4(0)
        .minimumRequiredChildEndpointsIpv6(0)
        .name("string")
        .customHeaders(TrafficManagerEndpointCustomHeaderArgs.builder()
            .name("string")
            .value("string")
            .build())
        .geoMappings("string")
        .endpointStatus("string")
        .subnets(TrafficManagerEndpointSubnetArgs.builder()
            .first("string")
            .last("string")
            .scope(0)
            .build())
        .target("string")
        .targetResourceId("string")
        .endpointLocation("string")
        .weight(0)
        .build());
    
    traffic_manager_endpoint_resource = azure.network.TrafficManagerEndpoint("trafficManagerEndpointResource",
        profile_name="string",
        type="string",
        resource_group_name="string",
        priority=0,
        min_child_endpoints=0,
        minimum_required_child_endpoints_ipv4=0,
        minimum_required_child_endpoints_ipv6=0,
        name="string",
        custom_headers=[{
            "name": "string",
            "value": "string",
        }],
        geo_mappings=["string"],
        endpoint_status="string",
        subnets=[{
            "first": "string",
            "last": "string",
            "scope": 0,
        }],
        target="string",
        target_resource_id="string",
        endpoint_location="string",
        weight=0)
    
    const trafficManagerEndpointResource = new azure.network.TrafficManagerEndpoint("trafficManagerEndpointResource", {
        profileName: "string",
        type: "string",
        resourceGroupName: "string",
        priority: 0,
        minChildEndpoints: 0,
        minimumRequiredChildEndpointsIpv4: 0,
        minimumRequiredChildEndpointsIpv6: 0,
        name: "string",
        customHeaders: [{
            name: "string",
            value: "string",
        }],
        geoMappings: ["string"],
        endpointStatus: "string",
        subnets: [{
            first: "string",
            last: "string",
            scope: 0,
        }],
        target: "string",
        targetResourceId: "string",
        endpointLocation: "string",
        weight: 0,
    });
    
    type: azure:network:TrafficManagerEndpoint
    properties:
        customHeaders:
            - name: string
              value: string
        endpointLocation: string
        endpointStatus: string
        geoMappings:
            - string
        minChildEndpoints: 0
        minimumRequiredChildEndpointsIpv4: 0
        minimumRequiredChildEndpointsIpv6: 0
        name: string
        priority: 0
        profileName: string
        resourceGroupName: string
        subnets:
            - first: string
              last: string
              scope: 0
        target: string
        targetResourceId: string
        type: string
        weight: 0
    

    TrafficManagerEndpoint Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The TrafficManagerEndpoint resource accepts the following input properties:

    ProfileName string
    The name of the Traffic Manager Profile to attach create the Traffic Manager endpoint.
    ResourceGroupName string
    The name of the resource group where the Traffic Manager Profile exists.
    Type string
    The Endpoint type, must be one of:

    • azureEndpoints
    • externalEndpoints
    • nestedEndpoints
    CustomHeaders List<TrafficManagerEndpointCustomHeader>
    One or more custom_header blocks as defined below
    EndpointLocation string
    Specifies the Azure location of the Endpoint, this must be specified for Profiles using the Performance routing method if the Endpoint is of either type nestedEndpoints or externalEndpoints. For Endpoints of type azureEndpoints the value will be taken from the location of the Azure target resource.
    EndpointStatus string
    The status of the Endpoint, can be set to either Enabled or Disabled. Defaults to Enabled.
    GeoMappings List<string>
    A list of Geographic Regions used to distribute traffic, such as WORLD, UK or DE. The same location can't be specified in two endpoints. See the Geographic Hierarchies documentation for more information.
    MinChildEndpoints int
    This argument specifies the minimum number of endpoints that must be ‘online’ in the child profile in order for the parent profile to direct traffic to any of the endpoints in that child profile. This argument only applies to Endpoints of type nestedEndpoints and has to be larger than 0.
    MinimumRequiredChildEndpointsIpv4 int
    This argument specifies the minimum number of IPv4 (DNS record type A) endpoints that must be ‘online’ in the child profile in order for the parent profile to direct traffic to any of the endpoints in that child profile. This argument only applies to Endpoints of type nestedEndpoints and defaults to 1.
    MinimumRequiredChildEndpointsIpv6 int
    This argument specifies the minimum number of IPv6 (DNS record type AAAA) endpoints that must be ‘online’ in the child profile in order for the parent profile to direct traffic to any of the endpoints in that child profile. This argument only applies to Endpoints of type nestedEndpoints and defaults to 1.
    Name string
    The name of the Traffic Manager endpoint. Changing this forces a new resource to be created.
    Priority int
    Specifies the priority of this Endpoint, this must be specified for Profiles using the Priority traffic routing method. Supports values between 1 and 1000, with no Endpoints sharing the same value. If omitted the value will be computed in order of creation.
    Subnets List<TrafficManagerEndpointSubnet>
    One or more subnet blocks as defined below
    Target string
    The FQDN DNS name of the target. This argument must be provided for an endpoint of type externalEndpoints, for other types it will be computed.
    TargetResourceId string
    The resource id of an Azure resource to target. This argument must be provided for an endpoint of type azureEndpoints or nestedEndpoints.
    Weight int
    Specifies how much traffic should be distributed to this endpoint, this must be specified for Profiles using the Weighted traffic routing method. Supports values between 1 and 1000.
    ProfileName string
    The name of the Traffic Manager Profile to attach create the Traffic Manager endpoint.
    ResourceGroupName string
    The name of the resource group where the Traffic Manager Profile exists.
    Type string
    The Endpoint type, must be one of:

    • azureEndpoints
    • externalEndpoints
    • nestedEndpoints
    CustomHeaders []TrafficManagerEndpointCustomHeaderArgs
    One or more custom_header blocks as defined below
    EndpointLocation string
    Specifies the Azure location of the Endpoint, this must be specified for Profiles using the Performance routing method if the Endpoint is of either type nestedEndpoints or externalEndpoints. For Endpoints of type azureEndpoints the value will be taken from the location of the Azure target resource.
    EndpointStatus string
    The status of the Endpoint, can be set to either Enabled or Disabled. Defaults to Enabled.
    GeoMappings []string
    A list of Geographic Regions used to distribute traffic, such as WORLD, UK or DE. The same location can't be specified in two endpoints. See the Geographic Hierarchies documentation for more information.
    MinChildEndpoints int
    This argument specifies the minimum number of endpoints that must be ‘online’ in the child profile in order for the parent profile to direct traffic to any of the endpoints in that child profile. This argument only applies to Endpoints of type nestedEndpoints and has to be larger than 0.
    MinimumRequiredChildEndpointsIpv4 int
    This argument specifies the minimum number of IPv4 (DNS record type A) endpoints that must be ‘online’ in the child profile in order for the parent profile to direct traffic to any of the endpoints in that child profile. This argument only applies to Endpoints of type nestedEndpoints and defaults to 1.
    MinimumRequiredChildEndpointsIpv6 int
    This argument specifies the minimum number of IPv6 (DNS record type AAAA) endpoints that must be ‘online’ in the child profile in order for the parent profile to direct traffic to any of the endpoints in that child profile. This argument only applies to Endpoints of type nestedEndpoints and defaults to 1.
    Name string
    The name of the Traffic Manager endpoint. Changing this forces a new resource to be created.
    Priority int
    Specifies the priority of this Endpoint, this must be specified for Profiles using the Priority traffic routing method. Supports values between 1 and 1000, with no Endpoints sharing the same value. If omitted the value will be computed in order of creation.
    Subnets []TrafficManagerEndpointSubnetArgs
    One or more subnet blocks as defined below
    Target string
    The FQDN DNS name of the target. This argument must be provided for an endpoint of type externalEndpoints, for other types it will be computed.
    TargetResourceId string
    The resource id of an Azure resource to target. This argument must be provided for an endpoint of type azureEndpoints or nestedEndpoints.
    Weight int
    Specifies how much traffic should be distributed to this endpoint, this must be specified for Profiles using the Weighted traffic routing method. Supports values between 1 and 1000.
    profileName String
    The name of the Traffic Manager Profile to attach create the Traffic Manager endpoint.
    resourceGroupName String
    The name of the resource group where the Traffic Manager Profile exists.
    type String
    The Endpoint type, must be one of:

    • azureEndpoints
    • externalEndpoints
    • nestedEndpoints
    customHeaders List<TrafficManagerEndpointCustomHeader>
    One or more custom_header blocks as defined below
    endpointLocation String
    Specifies the Azure location of the Endpoint, this must be specified for Profiles using the Performance routing method if the Endpoint is of either type nestedEndpoints or externalEndpoints. For Endpoints of type azureEndpoints the value will be taken from the location of the Azure target resource.
    endpointStatus String
    The status of the Endpoint, can be set to either Enabled or Disabled. Defaults to Enabled.
    geoMappings List<String>
    A list of Geographic Regions used to distribute traffic, such as WORLD, UK or DE. The same location can't be specified in two endpoints. See the Geographic Hierarchies documentation for more information.
    minChildEndpoints Integer
    This argument specifies the minimum number of endpoints that must be ‘online’ in the child profile in order for the parent profile to direct traffic to any of the endpoints in that child profile. This argument only applies to Endpoints of type nestedEndpoints and has to be larger than 0.
    minimumRequiredChildEndpointsIpv4 Integer
    This argument specifies the minimum number of IPv4 (DNS record type A) endpoints that must be ‘online’ in the child profile in order for the parent profile to direct traffic to any of the endpoints in that child profile. This argument only applies to Endpoints of type nestedEndpoints and defaults to 1.
    minimumRequiredChildEndpointsIpv6 Integer
    This argument specifies the minimum number of IPv6 (DNS record type AAAA) endpoints that must be ‘online’ in the child profile in order for the parent profile to direct traffic to any of the endpoints in that child profile. This argument only applies to Endpoints of type nestedEndpoints and defaults to 1.
    name String
    The name of the Traffic Manager endpoint. Changing this forces a new resource to be created.
    priority Integer
    Specifies the priority of this Endpoint, this must be specified for Profiles using the Priority traffic routing method. Supports values between 1 and 1000, with no Endpoints sharing the same value. If omitted the value will be computed in order of creation.
    subnets List<TrafficManagerEndpointSubnet>
    One or more subnet blocks as defined below
    target String
    The FQDN DNS name of the target. This argument must be provided for an endpoint of type externalEndpoints, for other types it will be computed.
    targetResourceId String
    The resource id of an Azure resource to target. This argument must be provided for an endpoint of type azureEndpoints or nestedEndpoints.
    weight Integer
    Specifies how much traffic should be distributed to this endpoint, this must be specified for Profiles using the Weighted traffic routing method. Supports values between 1 and 1000.
    profileName string
    The name of the Traffic Manager Profile to attach create the Traffic Manager endpoint.
    resourceGroupName string
    The name of the resource group where the Traffic Manager Profile exists.
    type string
    The Endpoint type, must be one of:

    • azureEndpoints
    • externalEndpoints
    • nestedEndpoints
    customHeaders TrafficManagerEndpointCustomHeader[]
    One or more custom_header blocks as defined below
    endpointLocation string
    Specifies the Azure location of the Endpoint, this must be specified for Profiles using the Performance routing method if the Endpoint is of either type nestedEndpoints or externalEndpoints. For Endpoints of type azureEndpoints the value will be taken from the location of the Azure target resource.
    endpointStatus string
    The status of the Endpoint, can be set to either Enabled or Disabled. Defaults to Enabled.
    geoMappings string[]
    A list of Geographic Regions used to distribute traffic, such as WORLD, UK or DE. The same location can't be specified in two endpoints. See the Geographic Hierarchies documentation for more information.
    minChildEndpoints number
    This argument specifies the minimum number of endpoints that must be ‘online’ in the child profile in order for the parent profile to direct traffic to any of the endpoints in that child profile. This argument only applies to Endpoints of type nestedEndpoints and has to be larger than 0.
    minimumRequiredChildEndpointsIpv4 number
    This argument specifies the minimum number of IPv4 (DNS record type A) endpoints that must be ‘online’ in the child profile in order for the parent profile to direct traffic to any of the endpoints in that child profile. This argument only applies to Endpoints of type nestedEndpoints and defaults to 1.
    minimumRequiredChildEndpointsIpv6 number
    This argument specifies the minimum number of IPv6 (DNS record type AAAA) endpoints that must be ‘online’ in the child profile in order for the parent profile to direct traffic to any of the endpoints in that child profile. This argument only applies to Endpoints of type nestedEndpoints and defaults to 1.
    name string
    The name of the Traffic Manager endpoint. Changing this forces a new resource to be created.
    priority number
    Specifies the priority of this Endpoint, this must be specified for Profiles using the Priority traffic routing method. Supports values between 1 and 1000, with no Endpoints sharing the same value. If omitted the value will be computed in order of creation.
    subnets TrafficManagerEndpointSubnet[]
    One or more subnet blocks as defined below
    target string
    The FQDN DNS name of the target. This argument must be provided for an endpoint of type externalEndpoints, for other types it will be computed.
    targetResourceId string
    The resource id of an Azure resource to target. This argument must be provided for an endpoint of type azureEndpoints or nestedEndpoints.
    weight number
    Specifies how much traffic should be distributed to this endpoint, this must be specified for Profiles using the Weighted traffic routing method. Supports values between 1 and 1000.
    profile_name str
    The name of the Traffic Manager Profile to attach create the Traffic Manager endpoint.
    resource_group_name str
    The name of the resource group where the Traffic Manager Profile exists.
    type str
    The Endpoint type, must be one of:

    • azureEndpoints
    • externalEndpoints
    • nestedEndpoints
    custom_headers Sequence[TrafficManagerEndpointCustomHeaderArgs]
    One or more custom_header blocks as defined below
    endpoint_location str
    Specifies the Azure location of the Endpoint, this must be specified for Profiles using the Performance routing method if the Endpoint is of either type nestedEndpoints or externalEndpoints. For Endpoints of type azureEndpoints the value will be taken from the location of the Azure target resource.
    endpoint_status str
    The status of the Endpoint, can be set to either Enabled or Disabled. Defaults to Enabled.
    geo_mappings Sequence[str]
    A list of Geographic Regions used to distribute traffic, such as WORLD, UK or DE. The same location can't be specified in two endpoints. See the Geographic Hierarchies documentation for more information.
    min_child_endpoints int
    This argument specifies the minimum number of endpoints that must be ‘online’ in the child profile in order for the parent profile to direct traffic to any of the endpoints in that child profile. This argument only applies to Endpoints of type nestedEndpoints and has to be larger than 0.
    minimum_required_child_endpoints_ipv4 int
    This argument specifies the minimum number of IPv4 (DNS record type A) endpoints that must be ‘online’ in the child profile in order for the parent profile to direct traffic to any of the endpoints in that child profile. This argument only applies to Endpoints of type nestedEndpoints and defaults to 1.
    minimum_required_child_endpoints_ipv6 int
    This argument specifies the minimum number of IPv6 (DNS record type AAAA) endpoints that must be ‘online’ in the child profile in order for the parent profile to direct traffic to any of the endpoints in that child profile. This argument only applies to Endpoints of type nestedEndpoints and defaults to 1.
    name str
    The name of the Traffic Manager endpoint. Changing this forces a new resource to be created.
    priority int
    Specifies the priority of this Endpoint, this must be specified for Profiles using the Priority traffic routing method. Supports values between 1 and 1000, with no Endpoints sharing the same value. If omitted the value will be computed in order of creation.
    subnets Sequence[TrafficManagerEndpointSubnetArgs]
    One or more subnet blocks as defined below
    target str
    The FQDN DNS name of the target. This argument must be provided for an endpoint of type externalEndpoints, for other types it will be computed.
    target_resource_id str
    The resource id of an Azure resource to target. This argument must be provided for an endpoint of type azureEndpoints or nestedEndpoints.
    weight int
    Specifies how much traffic should be distributed to this endpoint, this must be specified for Profiles using the Weighted traffic routing method. Supports values between 1 and 1000.
    profileName String
    The name of the Traffic Manager Profile to attach create the Traffic Manager endpoint.
    resourceGroupName String
    The name of the resource group where the Traffic Manager Profile exists.
    type String
    The Endpoint type, must be one of:

    • azureEndpoints
    • externalEndpoints
    • nestedEndpoints
    customHeaders List<Property Map>
    One or more custom_header blocks as defined below
    endpointLocation String
    Specifies the Azure location of the Endpoint, this must be specified for Profiles using the Performance routing method if the Endpoint is of either type nestedEndpoints or externalEndpoints. For Endpoints of type azureEndpoints the value will be taken from the location of the Azure target resource.
    endpointStatus String
    The status of the Endpoint, can be set to either Enabled or Disabled. Defaults to Enabled.
    geoMappings List<String>
    A list of Geographic Regions used to distribute traffic, such as WORLD, UK or DE. The same location can't be specified in two endpoints. See the Geographic Hierarchies documentation for more information.
    minChildEndpoints Number
    This argument specifies the minimum number of endpoints that must be ‘online’ in the child profile in order for the parent profile to direct traffic to any of the endpoints in that child profile. This argument only applies to Endpoints of type nestedEndpoints and has to be larger than 0.
    minimumRequiredChildEndpointsIpv4 Number
    This argument specifies the minimum number of IPv4 (DNS record type A) endpoints that must be ‘online’ in the child profile in order for the parent profile to direct traffic to any of the endpoints in that child profile. This argument only applies to Endpoints of type nestedEndpoints and defaults to 1.
    minimumRequiredChildEndpointsIpv6 Number
    This argument specifies the minimum number of IPv6 (DNS record type AAAA) endpoints that must be ‘online’ in the child profile in order for the parent profile to direct traffic to any of the endpoints in that child profile. This argument only applies to Endpoints of type nestedEndpoints and defaults to 1.
    name String
    The name of the Traffic Manager endpoint. Changing this forces a new resource to be created.
    priority Number
    Specifies the priority of this Endpoint, this must be specified for Profiles using the Priority traffic routing method. Supports values between 1 and 1000, with no Endpoints sharing the same value. If omitted the value will be computed in order of creation.
    subnets List<Property Map>
    One or more subnet blocks as defined below
    target String
    The FQDN DNS name of the target. This argument must be provided for an endpoint of type externalEndpoints, for other types it will be computed.
    targetResourceId String
    The resource id of an Azure resource to target. This argument must be provided for an endpoint of type azureEndpoints or nestedEndpoints.
    weight Number
    Specifies how much traffic should be distributed to this endpoint, this must be specified for Profiles using the Weighted traffic routing method. Supports values between 1 and 1000.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the TrafficManagerEndpoint resource produces the following output properties:

    EndpointMonitorStatus string
    Id string
    The provider-assigned unique ID for this managed resource.
    EndpointMonitorStatus string
    Id string
    The provider-assigned unique ID for this managed resource.
    endpointMonitorStatus String
    id String
    The provider-assigned unique ID for this managed resource.
    endpointMonitorStatus string
    id string
    The provider-assigned unique ID for this managed resource.
    endpoint_monitor_status str
    id str
    The provider-assigned unique ID for this managed resource.
    endpointMonitorStatus String
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing TrafficManagerEndpoint Resource

    Get an existing TrafficManagerEndpoint resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: TrafficManagerEndpointState, opts?: CustomResourceOptions): TrafficManagerEndpoint
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            custom_headers: Optional[Sequence[TrafficManagerEndpointCustomHeaderArgs]] = None,
            endpoint_location: Optional[str] = None,
            endpoint_monitor_status: Optional[str] = None,
            endpoint_status: Optional[str] = None,
            geo_mappings: Optional[Sequence[str]] = None,
            min_child_endpoints: Optional[int] = None,
            minimum_required_child_endpoints_ipv4: Optional[int] = None,
            minimum_required_child_endpoints_ipv6: Optional[int] = None,
            name: Optional[str] = None,
            priority: Optional[int] = None,
            profile_name: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            subnets: Optional[Sequence[TrafficManagerEndpointSubnetArgs]] = None,
            target: Optional[str] = None,
            target_resource_id: Optional[str] = None,
            type: Optional[str] = None,
            weight: Optional[int] = None) -> TrafficManagerEndpoint
    func GetTrafficManagerEndpoint(ctx *Context, name string, id IDInput, state *TrafficManagerEndpointState, opts ...ResourceOption) (*TrafficManagerEndpoint, error)
    public static TrafficManagerEndpoint Get(string name, Input<string> id, TrafficManagerEndpointState? state, CustomResourceOptions? opts = null)
    public static TrafficManagerEndpoint get(String name, Output<String> id, TrafficManagerEndpointState state, CustomResourceOptions options)
    resources:  _:    type: azure:network:TrafficManagerEndpoint    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CustomHeaders List<TrafficManagerEndpointCustomHeader>
    One or more custom_header blocks as defined below
    EndpointLocation string
    Specifies the Azure location of the Endpoint, this must be specified for Profiles using the Performance routing method if the Endpoint is of either type nestedEndpoints or externalEndpoints. For Endpoints of type azureEndpoints the value will be taken from the location of the Azure target resource.
    EndpointMonitorStatus string
    EndpointStatus string
    The status of the Endpoint, can be set to either Enabled or Disabled. Defaults to Enabled.
    GeoMappings List<string>
    A list of Geographic Regions used to distribute traffic, such as WORLD, UK or DE. The same location can't be specified in two endpoints. See the Geographic Hierarchies documentation for more information.
    MinChildEndpoints int
    This argument specifies the minimum number of endpoints that must be ‘online’ in the child profile in order for the parent profile to direct traffic to any of the endpoints in that child profile. This argument only applies to Endpoints of type nestedEndpoints and has to be larger than 0.
    MinimumRequiredChildEndpointsIpv4 int
    This argument specifies the minimum number of IPv4 (DNS record type A) endpoints that must be ‘online’ in the child profile in order for the parent profile to direct traffic to any of the endpoints in that child profile. This argument only applies to Endpoints of type nestedEndpoints and defaults to 1.
    MinimumRequiredChildEndpointsIpv6 int
    This argument specifies the minimum number of IPv6 (DNS record type AAAA) endpoints that must be ‘online’ in the child profile in order for the parent profile to direct traffic to any of the endpoints in that child profile. This argument only applies to Endpoints of type nestedEndpoints and defaults to 1.
    Name string
    The name of the Traffic Manager endpoint. Changing this forces a new resource to be created.
    Priority int
    Specifies the priority of this Endpoint, this must be specified for Profiles using the Priority traffic routing method. Supports values between 1 and 1000, with no Endpoints sharing the same value. If omitted the value will be computed in order of creation.
    ProfileName string
    The name of the Traffic Manager Profile to attach create the Traffic Manager endpoint.
    ResourceGroupName string
    The name of the resource group where the Traffic Manager Profile exists.
    Subnets List<TrafficManagerEndpointSubnet>
    One or more subnet blocks as defined below
    Target string
    The FQDN DNS name of the target. This argument must be provided for an endpoint of type externalEndpoints, for other types it will be computed.
    TargetResourceId string
    The resource id of an Azure resource to target. This argument must be provided for an endpoint of type azureEndpoints or nestedEndpoints.
    Type string
    The Endpoint type, must be one of:

    • azureEndpoints
    • externalEndpoints
    • nestedEndpoints
    Weight int
    Specifies how much traffic should be distributed to this endpoint, this must be specified for Profiles using the Weighted traffic routing method. Supports values between 1 and 1000.
    CustomHeaders []TrafficManagerEndpointCustomHeaderArgs
    One or more custom_header blocks as defined below
    EndpointLocation string
    Specifies the Azure location of the Endpoint, this must be specified for Profiles using the Performance routing method if the Endpoint is of either type nestedEndpoints or externalEndpoints. For Endpoints of type azureEndpoints the value will be taken from the location of the Azure target resource.
    EndpointMonitorStatus string
    EndpointStatus string
    The status of the Endpoint, can be set to either Enabled or Disabled. Defaults to Enabled.
    GeoMappings []string
    A list of Geographic Regions used to distribute traffic, such as WORLD, UK or DE. The same location can't be specified in two endpoints. See the Geographic Hierarchies documentation for more information.
    MinChildEndpoints int
    This argument specifies the minimum number of endpoints that must be ‘online’ in the child profile in order for the parent profile to direct traffic to any of the endpoints in that child profile. This argument only applies to Endpoints of type nestedEndpoints and has to be larger than 0.
    MinimumRequiredChildEndpointsIpv4 int
    This argument specifies the minimum number of IPv4 (DNS record type A) endpoints that must be ‘online’ in the child profile in order for the parent profile to direct traffic to any of the endpoints in that child profile. This argument only applies to Endpoints of type nestedEndpoints and defaults to 1.
    MinimumRequiredChildEndpointsIpv6 int
    This argument specifies the minimum number of IPv6 (DNS record type AAAA) endpoints that must be ‘online’ in the child profile in order for the parent profile to direct traffic to any of the endpoints in that child profile. This argument only applies to Endpoints of type nestedEndpoints and defaults to 1.
    Name string
    The name of the Traffic Manager endpoint. Changing this forces a new resource to be created.
    Priority int
    Specifies the priority of this Endpoint, this must be specified for Profiles using the Priority traffic routing method. Supports values between 1 and 1000, with no Endpoints sharing the same value. If omitted the value will be computed in order of creation.
    ProfileName string
    The name of the Traffic Manager Profile to attach create the Traffic Manager endpoint.
    ResourceGroupName string
    The name of the resource group where the Traffic Manager Profile exists.
    Subnets []TrafficManagerEndpointSubnetArgs
    One or more subnet blocks as defined below
    Target string
    The FQDN DNS name of the target. This argument must be provided for an endpoint of type externalEndpoints, for other types it will be computed.
    TargetResourceId string
    The resource id of an Azure resource to target. This argument must be provided for an endpoint of type azureEndpoints or nestedEndpoints.
    Type string
    The Endpoint type, must be one of:

    • azureEndpoints
    • externalEndpoints
    • nestedEndpoints
    Weight int
    Specifies how much traffic should be distributed to this endpoint, this must be specified for Profiles using the Weighted traffic routing method. Supports values between 1 and 1000.
    customHeaders List<TrafficManagerEndpointCustomHeader>
    One or more custom_header blocks as defined below
    endpointLocation String
    Specifies the Azure location of the Endpoint, this must be specified for Profiles using the Performance routing method if the Endpoint is of either type nestedEndpoints or externalEndpoints. For Endpoints of type azureEndpoints the value will be taken from the location of the Azure target resource.
    endpointMonitorStatus String
    endpointStatus String
    The status of the Endpoint, can be set to either Enabled or Disabled. Defaults to Enabled.
    geoMappings List<String>
    A list of Geographic Regions used to distribute traffic, such as WORLD, UK or DE. The same location can't be specified in two endpoints. See the Geographic Hierarchies documentation for more information.
    minChildEndpoints Integer
    This argument specifies the minimum number of endpoints that must be ‘online’ in the child profile in order for the parent profile to direct traffic to any of the endpoints in that child profile. This argument only applies to Endpoints of type nestedEndpoints and has to be larger than 0.
    minimumRequiredChildEndpointsIpv4 Integer
    This argument specifies the minimum number of IPv4 (DNS record type A) endpoints that must be ‘online’ in the child profile in order for the parent profile to direct traffic to any of the endpoints in that child profile. This argument only applies to Endpoints of type nestedEndpoints and defaults to 1.
    minimumRequiredChildEndpointsIpv6 Integer
    This argument specifies the minimum number of IPv6 (DNS record type AAAA) endpoints that must be ‘online’ in the child profile in order for the parent profile to direct traffic to any of the endpoints in that child profile. This argument only applies to Endpoints of type nestedEndpoints and defaults to 1.
    name String
    The name of the Traffic Manager endpoint. Changing this forces a new resource to be created.
    priority Integer
    Specifies the priority of this Endpoint, this must be specified for Profiles using the Priority traffic routing method. Supports values between 1 and 1000, with no Endpoints sharing the same value. If omitted the value will be computed in order of creation.
    profileName String
    The name of the Traffic Manager Profile to attach create the Traffic Manager endpoint.
    resourceGroupName String
    The name of the resource group where the Traffic Manager Profile exists.
    subnets List<TrafficManagerEndpointSubnet>
    One or more subnet blocks as defined below
    target String
    The FQDN DNS name of the target. This argument must be provided for an endpoint of type externalEndpoints, for other types it will be computed.
    targetResourceId String
    The resource id of an Azure resource to target. This argument must be provided for an endpoint of type azureEndpoints or nestedEndpoints.
    type String
    The Endpoint type, must be one of:

    • azureEndpoints
    • externalEndpoints
    • nestedEndpoints
    weight Integer
    Specifies how much traffic should be distributed to this endpoint, this must be specified for Profiles using the Weighted traffic routing method. Supports values between 1 and 1000.
    customHeaders TrafficManagerEndpointCustomHeader[]
    One or more custom_header blocks as defined below
    endpointLocation string
    Specifies the Azure location of the Endpoint, this must be specified for Profiles using the Performance routing method if the Endpoint is of either type nestedEndpoints or externalEndpoints. For Endpoints of type azureEndpoints the value will be taken from the location of the Azure target resource.
    endpointMonitorStatus string
    endpointStatus string
    The status of the Endpoint, can be set to either Enabled or Disabled. Defaults to Enabled.
    geoMappings string[]
    A list of Geographic Regions used to distribute traffic, such as WORLD, UK or DE. The same location can't be specified in two endpoints. See the Geographic Hierarchies documentation for more information.
    minChildEndpoints number
    This argument specifies the minimum number of endpoints that must be ‘online’ in the child profile in order for the parent profile to direct traffic to any of the endpoints in that child profile. This argument only applies to Endpoints of type nestedEndpoints and has to be larger than 0.
    minimumRequiredChildEndpointsIpv4 number
    This argument specifies the minimum number of IPv4 (DNS record type A) endpoints that must be ‘online’ in the child profile in order for the parent profile to direct traffic to any of the endpoints in that child profile. This argument only applies to Endpoints of type nestedEndpoints and defaults to 1.
    minimumRequiredChildEndpointsIpv6 number
    This argument specifies the minimum number of IPv6 (DNS record type AAAA) endpoints that must be ‘online’ in the child profile in order for the parent profile to direct traffic to any of the endpoints in that child profile. This argument only applies to Endpoints of type nestedEndpoints and defaults to 1.
    name string
    The name of the Traffic Manager endpoint. Changing this forces a new resource to be created.
    priority number
    Specifies the priority of this Endpoint, this must be specified for Profiles using the Priority traffic routing method. Supports values between 1 and 1000, with no Endpoints sharing the same value. If omitted the value will be computed in order of creation.
    profileName string
    The name of the Traffic Manager Profile to attach create the Traffic Manager endpoint.
    resourceGroupName string
    The name of the resource group where the Traffic Manager Profile exists.
    subnets TrafficManagerEndpointSubnet[]
    One or more subnet blocks as defined below
    target string
    The FQDN DNS name of the target. This argument must be provided for an endpoint of type externalEndpoints, for other types it will be computed.
    targetResourceId string
    The resource id of an Azure resource to target. This argument must be provided for an endpoint of type azureEndpoints or nestedEndpoints.
    type string
    The Endpoint type, must be one of:

    • azureEndpoints
    • externalEndpoints
    • nestedEndpoints
    weight number
    Specifies how much traffic should be distributed to this endpoint, this must be specified for Profiles using the Weighted traffic routing method. Supports values between 1 and 1000.
    custom_headers Sequence[TrafficManagerEndpointCustomHeaderArgs]
    One or more custom_header blocks as defined below
    endpoint_location str
    Specifies the Azure location of the Endpoint, this must be specified for Profiles using the Performance routing method if the Endpoint is of either type nestedEndpoints or externalEndpoints. For Endpoints of type azureEndpoints the value will be taken from the location of the Azure target resource.
    endpoint_monitor_status str
    endpoint_status str
    The status of the Endpoint, can be set to either Enabled or Disabled. Defaults to Enabled.
    geo_mappings Sequence[str]
    A list of Geographic Regions used to distribute traffic, such as WORLD, UK or DE. The same location can't be specified in two endpoints. See the Geographic Hierarchies documentation for more information.
    min_child_endpoints int
    This argument specifies the minimum number of endpoints that must be ‘online’ in the child profile in order for the parent profile to direct traffic to any of the endpoints in that child profile. This argument only applies to Endpoints of type nestedEndpoints and has to be larger than 0.
    minimum_required_child_endpoints_ipv4 int
    This argument specifies the minimum number of IPv4 (DNS record type A) endpoints that must be ‘online’ in the child profile in order for the parent profile to direct traffic to any of the endpoints in that child profile. This argument only applies to Endpoints of type nestedEndpoints and defaults to 1.
    minimum_required_child_endpoints_ipv6 int
    This argument specifies the minimum number of IPv6 (DNS record type AAAA) endpoints that must be ‘online’ in the child profile in order for the parent profile to direct traffic to any of the endpoints in that child profile. This argument only applies to Endpoints of type nestedEndpoints and defaults to 1.
    name str
    The name of the Traffic Manager endpoint. Changing this forces a new resource to be created.
    priority int
    Specifies the priority of this Endpoint, this must be specified for Profiles using the Priority traffic routing method. Supports values between 1 and 1000, with no Endpoints sharing the same value. If omitted the value will be computed in order of creation.
    profile_name str
    The name of the Traffic Manager Profile to attach create the Traffic Manager endpoint.
    resource_group_name str
    The name of the resource group where the Traffic Manager Profile exists.
    subnets Sequence[TrafficManagerEndpointSubnetArgs]
    One or more subnet blocks as defined below
    target str
    The FQDN DNS name of the target. This argument must be provided for an endpoint of type externalEndpoints, for other types it will be computed.
    target_resource_id str
    The resource id of an Azure resource to target. This argument must be provided for an endpoint of type azureEndpoints or nestedEndpoints.
    type str
    The Endpoint type, must be one of:

    • azureEndpoints
    • externalEndpoints
    • nestedEndpoints
    weight int
    Specifies how much traffic should be distributed to this endpoint, this must be specified for Profiles using the Weighted traffic routing method. Supports values between 1 and 1000.
    customHeaders List<Property Map>
    One or more custom_header blocks as defined below
    endpointLocation String
    Specifies the Azure location of the Endpoint, this must be specified for Profiles using the Performance routing method if the Endpoint is of either type nestedEndpoints or externalEndpoints. For Endpoints of type azureEndpoints the value will be taken from the location of the Azure target resource.
    endpointMonitorStatus String
    endpointStatus String
    The status of the Endpoint, can be set to either Enabled or Disabled. Defaults to Enabled.
    geoMappings List<String>
    A list of Geographic Regions used to distribute traffic, such as WORLD, UK or DE. The same location can't be specified in two endpoints. See the Geographic Hierarchies documentation for more information.
    minChildEndpoints Number
    This argument specifies the minimum number of endpoints that must be ‘online’ in the child profile in order for the parent profile to direct traffic to any of the endpoints in that child profile. This argument only applies to Endpoints of type nestedEndpoints and has to be larger than 0.
    minimumRequiredChildEndpointsIpv4 Number
    This argument specifies the minimum number of IPv4 (DNS record type A) endpoints that must be ‘online’ in the child profile in order for the parent profile to direct traffic to any of the endpoints in that child profile. This argument only applies to Endpoints of type nestedEndpoints and defaults to 1.
    minimumRequiredChildEndpointsIpv6 Number
    This argument specifies the minimum number of IPv6 (DNS record type AAAA) endpoints that must be ‘online’ in the child profile in order for the parent profile to direct traffic to any of the endpoints in that child profile. This argument only applies to Endpoints of type nestedEndpoints and defaults to 1.
    name String
    The name of the Traffic Manager endpoint. Changing this forces a new resource to be created.
    priority Number
    Specifies the priority of this Endpoint, this must be specified for Profiles using the Priority traffic routing method. Supports values between 1 and 1000, with no Endpoints sharing the same value. If omitted the value will be computed in order of creation.
    profileName String
    The name of the Traffic Manager Profile to attach create the Traffic Manager endpoint.
    resourceGroupName String
    The name of the resource group where the Traffic Manager Profile exists.
    subnets List<Property Map>
    One or more subnet blocks as defined below
    target String
    The FQDN DNS name of the target. This argument must be provided for an endpoint of type externalEndpoints, for other types it will be computed.
    targetResourceId String
    The resource id of an Azure resource to target. This argument must be provided for an endpoint of type azureEndpoints or nestedEndpoints.
    type String
    The Endpoint type, must be one of:

    • azureEndpoints
    • externalEndpoints
    • nestedEndpoints
    weight Number
    Specifies how much traffic should be distributed to this endpoint, this must be specified for Profiles using the Weighted traffic routing method. Supports values between 1 and 1000.

    Supporting Types

    TrafficManagerEndpointCustomHeader, TrafficManagerEndpointCustomHeaderArgs

    Name string
    The name of the custom header.
    Value string
    The value of custom header. Applicable for Http and Https protocol.
    Name string
    The name of the custom header.
    Value string
    The value of custom header. Applicable for Http and Https protocol.
    name String
    The name of the custom header.
    value String
    The value of custom header. Applicable for Http and Https protocol.
    name string
    The name of the custom header.
    value string
    The value of custom header. Applicable for Http and Https protocol.
    name str
    The name of the custom header.
    value str
    The value of custom header. Applicable for Http and Https protocol.
    name String
    The name of the custom header.
    value String
    The value of custom header. Applicable for Http and Https protocol.

    TrafficManagerEndpointSubnet, TrafficManagerEndpointSubnetArgs

    First string
    The First IP....
    Last string
    The Last IP...
    Scope int
    The Scope...
    First string
    The First IP....
    Last string
    The Last IP...
    Scope int
    The Scope...
    first String
    The First IP....
    last String
    The Last IP...
    scope Integer
    The Scope...
    first string
    The First IP....
    last string
    The Last IP...
    scope number
    The Scope...
    first str
    The First IP....
    last str
    The Last IP...
    scope int
    The Scope...
    first String
    The First IP....
    last String
    The Last IP...
    scope Number
    The Scope...

    Import

    Traffic Manager Endpoints can be imported using the resource id, e.g.

     $ pulumi import azure:network/trafficManagerEndpoint:TrafficManagerEndpoint exampleEndpoints /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Network/trafficManagerProfiles/mytrafficmanagerprofile1/azureEndpoints/mytrafficmanagerendpoint
    

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

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Viewing docs for Azure v4.42.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.