Class EndpointArgs
Inherited Members
Namespace: Pulumi.Azure.TrafficManager
Assembly: Pulumi.Azure.dll
Syntax
public sealed class EndpointArgs : ResourceArgs
Constructors
View SourceEndpointArgs()
Declaration
public EndpointArgs()
Properties
View SourceCustomHeaders
One or more custom_header blocks as defined below
Declaration
public InputList<EndpointCustomHeaderArgs> CustomHeaders { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<EndpointCustomHeaderArgs> |
EndpointLocation
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.
Declaration
public Input<string> EndpointLocation { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
EndpointStatus
The status of the Endpoint, can be set to
either Enabled or Disabled. Defaults to Enabled.
Declaration
public Input<string> EndpointStatus { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
GeoMappings
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.
Declaration
public InputList<string> GeoMappings { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
MinChildEndpoints
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 defaults to 1.
Declaration
public Input<int> MinChildEndpoints { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Name
The name of the Traffic Manager endpoint. Changing this forces a new resource to be created.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Priority
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.
Declaration
public Input<int> Priority { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
ProfileName
The name of the Traffic Manager Profile to attach create the Traffic Manager endpoint.
Declaration
public Input<string> ProfileName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ResourceGroupName
The name of the resource group in which to create the Traffic Manager endpoint.
Declaration
public Input<string> ResourceGroupName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Subnets
One or more subnet blocks as defined below
Declaration
public InputList<EndpointSubnetArgs> Subnets { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<EndpointSubnetArgs> |
Target
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.
Declaration
public Input<string> Target { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
TargetResourceId
The resource id of an Azure resource to
target. This argument must be provided for an endpoint of type
azureEndpoints or nestedEndpoints.
Declaration
public Input<string> TargetResourceId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Type
The Endpoint type, must be one of:
azureEndpointsexternalEndpointsnestedEndpoints
Declaration
public Input<string> Type { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Weight
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.
Declaration
public Input<int> Weight { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |