Share via


EndpointInner Constructors

Definition

Overloads

EndpointInner()

Initializes a new instance of the EndpointInner class.

EndpointInner(String, String, String, String, String, String, Nullable<Int64>, Nullable<Int64>, String, String, Nullable<Int64>, IList<String>, IList<EndpointPropertiesSubnetsItem>, IList<EndpointPropertiesCustomHeadersItem>)

Initializes a new instance of the EndpointInner class.

EndpointInner()

Initializes a new instance of the EndpointInner class.

public EndpointInner ();
Public Sub New ()

Applies to

EndpointInner(String, String, String, String, String, String, Nullable<Int64>, Nullable<Int64>, String, String, Nullable<Int64>, IList<String>, IList<EndpointPropertiesSubnetsItem>, IList<EndpointPropertiesCustomHeadersItem>)

Initializes a new instance of the EndpointInner class.

public EndpointInner (string id = default, string name = default, string type = default, string targetResourceId = default, string target = default, string endpointStatus = default, long? weight = default, long? priority = default, string endpointLocation = default, string endpointMonitorStatus = default, long? minChildEndpoints = default, System.Collections.Generic.IList<string> geoMapping = default, System.Collections.Generic.IList<Microsoft.Azure.Management.TrafficManager.Fluent.Models.EndpointPropertiesSubnetsItem> subnets = default, System.Collections.Generic.IList<Microsoft.Azure.Management.TrafficManager.Fluent.Models.EndpointPropertiesCustomHeadersItem> customHeaders = default);
new Microsoft.Azure.Management.TrafficManager.Fluent.Models.EndpointInner : string * string * string * string * string * string * Nullable<int64> * Nullable<int64> * string * string * Nullable<int64> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<Microsoft.Azure.Management.TrafficManager.Fluent.Models.EndpointPropertiesSubnetsItem> * System.Collections.Generic.IList<Microsoft.Azure.Management.TrafficManager.Fluent.Models.EndpointPropertiesCustomHeadersItem> -> Microsoft.Azure.Management.TrafficManager.Fluent.Models.EndpointInner
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional targetResourceId As String = Nothing, Optional target As String = Nothing, Optional endpointStatus As String = Nothing, Optional weight As Nullable(Of Long) = Nothing, Optional priority As Nullable(Of Long) = Nothing, Optional endpointLocation As String = Nothing, Optional endpointMonitorStatus As String = Nothing, Optional minChildEndpoints As Nullable(Of Long) = Nothing, Optional geoMapping As IList(Of String) = Nothing, Optional subnets As IList(Of EndpointPropertiesSubnetsItem) = Nothing, Optional customHeaders As IList(Of EndpointPropertiesCustomHeadersItem) = Nothing)

Parameters

id
String

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

name
String

The name of the resource

type
String

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

targetResourceId
String

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
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. Possible values include: 'Enabled', 'Disabled'

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
String

The monitoring status of the endpoint. Possible values include: 'CheckingEndpoint', 'Online', 'Degraded', 'Disabled', 'Inactive', 'Stopped'

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

geoMapping
IList<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
IList<EndpointPropertiesSubnetsItem>

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
IList<EndpointPropertiesCustomHeadersItem>

List of custom headers.

Applies to