ArmTrafficManagerModelFactory.TrafficManagerEndpointData Method

Definition

public static Azure.ResourceManager.TrafficManager.TrafficManagerEndpointData TrafficManagerEndpointData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.Core.ResourceIdentifier targetResourceId = default, string target = default, Azure.ResourceManager.TrafficManager.Models.TrafficManagerEndpointStatus? endpointStatus = default, long? weight = default, long? priority = default, string endpointLocation = default, Azure.ResourceManager.TrafficManager.Models.TrafficManagerEndpointMonitorStatus? endpointMonitorStatus = default, long? minChildEndpoints = default, long? minChildEndpointsIPv4 = default, long? minChildEndpointsIPv6 = default, System.Collections.Generic.IEnumerable<string> geoMapping = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.TrafficManager.Models.TrafficManagerEndpointSubnetInfo> subnets = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.TrafficManager.Models.TrafficManagerEndpointCustomHeaderInfo> customHeaders = default, Azure.ResourceManager.TrafficManager.Models.TrafficManagerEndpointAlwaysServeStatus? alwaysServe = default);
static member TrafficManagerEndpointData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Azure.Core.ResourceIdentifier * string * Nullable<Azure.ResourceManager.TrafficManager.Models.TrafficManagerEndpointStatus> * Nullable<int64> * Nullable<int64> * string * Nullable<Azure.ResourceManager.TrafficManager.Models.TrafficManagerEndpointMonitorStatus> * Nullable<int64> * Nullable<int64> * Nullable<int64> * seq<string> * seq<Azure.ResourceManager.TrafficManager.Models.TrafficManagerEndpointSubnetInfo> * seq<Azure.ResourceManager.TrafficManager.Models.TrafficManagerEndpointCustomHeaderInfo> * Nullable<Azure.ResourceManager.TrafficManager.Models.TrafficManagerEndpointAlwaysServeStatus> -> Azure.ResourceManager.TrafficManager.TrafficManagerEndpointData
Public Shared Function TrafficManagerEndpointData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional targetResourceId As ResourceIdentifier = Nothing, Optional target As String = Nothing, Optional endpointStatus As Nullable(Of TrafficManagerEndpointStatus) = Nothing, Optional weight As Nullable(Of Long) = Nothing, Optional priority As Nullable(Of Long) = Nothing, Optional endpointLocation As String = Nothing, Optional endpointMonitorStatus As Nullable(Of TrafficManagerEndpointMonitorStatus) = Nothing, Optional minChildEndpoints As Nullable(Of Long) = Nothing, Optional minChildEndpointsIPv4 As Nullable(Of Long) = Nothing, Optional minChildEndpointsIPv6 As Nullable(Of Long) = Nothing, Optional geoMapping As IEnumerable(Of String) = Nothing, Optional subnets As IEnumerable(Of TrafficManagerEndpointSubnetInfo) = Nothing, Optional customHeaders As IEnumerable(Of TrafficManagerEndpointCustomHeaderInfo) = Nothing, Optional alwaysServe As Nullable(Of TrafficManagerEndpointAlwaysServeStatus) = Nothing) As TrafficManagerEndpointData

Parameters

id
ResourceIdentifier

Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}.

name
String

The name of the resource.

resourceType
Nullable<ResourceType>

The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.

targetResourceId
ResourceIdentifier

The Azure Resource URI of the of the endpoint. Not applicable to endpoints of type 'ExternalEndpoints'.

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.

endpointStatus
Nullable<TrafficManagerEndpointStatus>

The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method.

weight
Nullable<Int64>

The weight of this endpoint when using the 'Weighted' traffic routing method. Possible values are from 1 to 1000.

priority
Nullable<Int64>

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.

endpointLocation
String

Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method.

endpointMonitorStatus
Nullable<TrafficManagerEndpointMonitorStatus>

The monitoring status of the endpoint.

minChildEndpoints
Nullable<Int64>

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
Nullable<Int64>

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
Nullable<Int64>

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'.

geoMapping
IEnumerable<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.

subnets
IEnumerable<TrafficManagerEndpointSubnetInfo>

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.

customHeaders
IEnumerable<TrafficManagerEndpointCustomHeaderInfo>

List of custom headers.

alwaysServe
Nullable<TrafficManagerEndpointAlwaysServeStatus>

If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.

Returns

A new TrafficManagerEndpointData instance for mocking.

Applies to