public class EndpointInner
extends com.azure.core.management.ProxyResource
| Constructor and Description |
|---|
EndpointInner() |
| Modifier and Type | Method and Description |
|---|---|
List<EndpointPropertiesCustomHeadersItem> |
customHeaders()
Get the customHeaders property: List of custom headers.
|
String |
endpointLocation()
Get the endpointLocation property: Specifies the location of the external or nested endpoints when using the
'Performance' traffic routing method.
|
EndpointMonitorStatus |
endpointMonitorStatus()
Get the endpointMonitorStatus property: The monitoring status of the endpoint.
|
EndpointStatus |
endpointStatus()
Get the endpointStatus property: The status of the endpoint.
|
List<String> |
geoMapping()
Get the geoMapping property: The list of countries/regions mapped to this endpoint when using the 'Geographic'
traffic routing method.
|
String |
id()
Get the id property: Fully qualified resource Id for the resource.
|
Long |
minChildEndpoints()
Get the minChildEndpoints property: The minimum number of endpoints that must be available in the child profile
in order for the parent profile to be considered available.
|
String |
name()
Get the name property: The name of the resource.
|
Long |
priority()
Get the priority property: The priority of this endpoint when using the 'Priority' traffic routing method.
|
List<EndpointPropertiesSubnetsItem> |
subnets()
Get the subnets property: The list of subnets, IP addresses, and/or address ranges mapped to this endpoint when
using the 'Subnet' traffic routing method.
|
String |
target()
Get the target property: The fully-qualified DNS name or IP address of the endpoint.
|
String |
targetResourceId()
Get the targetResourceId property: The Azure Resource URI of the of the endpoint.
|
String |
type()
Get the type property: The type of the resource.
|
void |
validate()
Validates the instance.
|
Long |
weight()
Get the weight property: The weight of this endpoint when using the 'Weighted' traffic routing method.
|
EndpointInner |
withCustomHeaders(List<EndpointPropertiesCustomHeadersItem> customHeaders)
Set the customHeaders property: List of custom headers.
|
EndpointInner |
withEndpointLocation(String endpointLocation)
Set the endpointLocation property: Specifies the location of the external or nested endpoints when using the
'Performance' traffic routing method.
|
EndpointInner |
withEndpointMonitorStatus(EndpointMonitorStatus endpointMonitorStatus)
Set the endpointMonitorStatus property: The monitoring status of the endpoint.
|
EndpointInner |
withEndpointStatus(EndpointStatus endpointStatus)
Set the endpointStatus property: The status of the endpoint.
|
EndpointInner |
withGeoMapping(List<String> geoMapping)
Set the geoMapping property: The list of countries/regions mapped to this endpoint when using the 'Geographic'
traffic routing method.
|
EndpointInner |
withId(String id)
Set the id property: Fully qualified resource Id for the resource.
|
EndpointInner |
withMinChildEndpoints(Long minChildEndpoints)
Set the minChildEndpoints property: The minimum number of endpoints that must be available in the child profile
in order for the parent profile to be considered available.
|
EndpointInner |
withName(String name)
Set the name property: The name of the resource.
|
EndpointInner |
withPriority(Long priority)
Set the priority property: The priority of this endpoint when using the 'Priority' traffic routing method.
|
EndpointInner |
withSubnets(List<EndpointPropertiesSubnetsItem> subnets)
Set the subnets property: The list of subnets, IP addresses, and/or address ranges mapped to this endpoint when
using the 'Subnet' traffic routing method.
|
EndpointInner |
withTarget(String target)
Set the target property: The fully-qualified DNS name or IP address of the endpoint.
|
EndpointInner |
withTargetResourceId(String targetResourceId)
Set the targetResourceId property: The Azure Resource URI of the of the endpoint.
|
EndpointInner |
withType(String type)
Set the type property: The type of the resource.
|
EndpointInner |
withWeight(Long weight)
Set the weight property: The weight of this endpoint when using the 'Weighted' traffic routing method.
|
public String targetResourceId()
public EndpointInner withTargetResourceId(String targetResourceId)
targetResourceId - the targetResourceId value to set.public String target()
public EndpointInner withTarget(String target)
target - the target value to set.public EndpointStatus endpointStatus()
public EndpointInner withEndpointStatus(EndpointStatus endpointStatus)
endpointStatus - the endpointStatus value to set.public Long weight()
public EndpointInner withWeight(Long weight)
weight - the weight value to set.public Long priority()
public EndpointInner withPriority(Long priority)
priority - the priority value to set.public String endpointLocation()
public EndpointInner withEndpointLocation(String endpointLocation)
endpointLocation - the endpointLocation value to set.public EndpointMonitorStatus endpointMonitorStatus()
public EndpointInner withEndpointMonitorStatus(EndpointMonitorStatus endpointMonitorStatus)
endpointMonitorStatus - the endpointMonitorStatus value to set.public Long minChildEndpoints()
public EndpointInner withMinChildEndpoints(Long minChildEndpoints)
minChildEndpoints - the minChildEndpoints value to set.public List<String> geoMapping()
public EndpointInner withGeoMapping(List<String> geoMapping)
geoMapping - the geoMapping value to set.public List<EndpointPropertiesSubnetsItem> subnets()
public EndpointInner withSubnets(List<EndpointPropertiesSubnetsItem> subnets)
subnets - the subnets value to set.public List<EndpointPropertiesCustomHeadersItem> customHeaders()
public EndpointInner withCustomHeaders(List<EndpointPropertiesCustomHeadersItem> customHeaders)
customHeaders - the customHeaders value to set.public String id()
id in class com.azure.core.management.ProxyResourcepublic EndpointInner withId(String id)
id - the id value to set.public String name()
name in class com.azure.core.management.ProxyResourcepublic EndpointInner withName(String name)
name - the name value to set.public String type()
type in class com.azure.core.management.ProxyResourcepublic EndpointInner withType(String type)
type - the type value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.