EndpointArgs

data class EndpointArgs(val alwaysServe: Output<Either<String, AlwaysServe>>? = null, val customHeaders: Output<List<EndpointPropertiesCustomHeadersArgs>>? = null, val endpointLocation: Output<String>? = null, val endpointMonitorStatus: Output<Either<String, EndpointMonitorStatus>>? = null, val endpointStatus: Output<Either<String, EndpointStatus>>? = null, val geoMapping: Output<List<String>>? = null, val id: Output<String>? = null, val minChildEndpoints: Output<Double>? = null, val minChildEndpointsIPv4: Output<Double>? = null, val minChildEndpointsIPv6: Output<Double>? = null, val name: Output<String>? = null, val priority: Output<Double>? = null, val subnets: Output<List<EndpointPropertiesSubnetsArgs>>? = null, val target: Output<String>? = null, val targetResourceId: Output<String>? = null, val type: Output<String>? = null, val weight: Output<Double>? = null) : ConvertibleToJava<EndpointArgs>

Class representing a Traffic Manager endpoint.

Constructors

Link copied to clipboard
constructor(alwaysServe: Output<Either<String, AlwaysServe>>? = null, customHeaders: Output<List<EndpointPropertiesCustomHeadersArgs>>? = null, endpointLocation: Output<String>? = null, endpointMonitorStatus: Output<Either<String, EndpointMonitorStatus>>? = null, endpointStatus: Output<Either<String, EndpointStatus>>? = null, geoMapping: Output<List<String>>? = null, id: Output<String>? = null, minChildEndpoints: Output<Double>? = null, minChildEndpointsIPv4: Output<Double>? = null, minChildEndpointsIPv6: Output<Double>? = null, name: Output<String>? = null, priority: Output<Double>? = null, subnets: Output<List<EndpointPropertiesSubnetsArgs>>? = null, target: Output<String>? = null, targetResourceId: Output<String>? = null, type: Output<String>? = null, weight: Output<Double>? = null)

Properties

Link copied to clipboard
val alwaysServe: Output<Either<String, AlwaysServe>>? = null

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

Link copied to clipboard

List of custom headers.

Link copied to clipboard
val endpointLocation: Output<String>? = null

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

Link copied to clipboard
val endpointMonitorStatus: Output<Either<String, EndpointMonitorStatus>>? = null

The monitoring status of the endpoint.

Link copied to clipboard
val endpointStatus: Output<Either<String, EndpointStatus>>? = null

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

Link copied to clipboard
val geoMapping: Output<List<String>>? = null

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.

Link copied to clipboard
val id: Output<String>? = null

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

Link copied to clipboard
val minChildEndpoints: Output<Double>? = null

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

Link copied to clipboard
val minChildEndpointsIPv4: Output<Double>? = null

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

Link copied to clipboard
val minChildEndpointsIPv6: Output<Double>? = null

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

Link copied to clipboard
val name: Output<String>? = null

The name of the resource

Link copied to clipboard
val priority: Output<Double>? = null

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.

Link copied to clipboard

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.

Link copied to clipboard
val target: Output<String>? = null

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.

Link copied to clipboard
val targetResourceId: Output<String>? = null

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

Link copied to clipboard
val type: Output<String>? = null

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

Link copied to clipboard
val weight: Output<Double>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): EndpointArgs