public class ProfileInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
ProfileInner() |
| Modifier and Type | Method and Description |
|---|---|
DnsConfig |
dnsConfig()
Get the dnsConfig property: The DNS settings of the Traffic Manager profile.
|
List<EndpointInner> |
endpoints()
Get the endpoints property: The list of endpoints in the Traffic Manager profile.
|
Long |
maxReturn()
Get the maxReturn property: Maximum number of endpoints to be returned for MultiValue routing type.
|
MonitorConfig |
monitorConfig()
Get the monitorConfig property: The endpoint monitoring settings of the Traffic Manager profile.
|
ProfileStatus |
profileStatus()
Get the profileStatus property: The status of the Traffic Manager profile.
|
TrafficRoutingMethod |
trafficRoutingMethod()
Get the trafficRoutingMethod property: The traffic routing method of the Traffic Manager profile.
|
TrafficViewEnrollmentStatus |
trafficViewEnrollmentStatus()
Get the trafficViewEnrollmentStatus property: Indicates whether Traffic View is 'Enabled' or 'Disabled' for the
Traffic Manager profile.
|
void |
validate()
Validates the instance.
|
ProfileInner |
withDnsConfig(DnsConfig dnsConfig)
Set the dnsConfig property: The DNS settings of the Traffic Manager profile.
|
ProfileInner |
withEndpoints(List<EndpointInner> endpoints)
Set the endpoints property: The list of endpoints in the Traffic Manager profile.
|
ProfileInner |
withMaxReturn(Long maxReturn)
Set the maxReturn property: Maximum number of endpoints to be returned for MultiValue routing type.
|
ProfileInner |
withMonitorConfig(MonitorConfig monitorConfig)
Set the monitorConfig property: The endpoint monitoring settings of the Traffic Manager profile.
|
ProfileInner |
withProfileStatus(ProfileStatus profileStatus)
Set the profileStatus property: The status of the Traffic Manager profile.
|
ProfileInner |
withTrafficRoutingMethod(TrafficRoutingMethod trafficRoutingMethod)
Set the trafficRoutingMethod property: The traffic routing method of the Traffic Manager profile.
|
ProfileInner |
withTrafficViewEnrollmentStatus(TrafficViewEnrollmentStatus trafficViewEnrollmentStatus)
Set the trafficViewEnrollmentStatus property: Indicates whether Traffic View is 'Enabled' or 'Disabled' for the
Traffic Manager profile.
|
public ProfileStatus profileStatus()
public ProfileInner withProfileStatus(ProfileStatus profileStatus)
profileStatus - the profileStatus value to set.public TrafficRoutingMethod trafficRoutingMethod()
public ProfileInner withTrafficRoutingMethod(TrafficRoutingMethod trafficRoutingMethod)
trafficRoutingMethod - the trafficRoutingMethod value to set.public DnsConfig dnsConfig()
public ProfileInner withDnsConfig(DnsConfig dnsConfig)
dnsConfig - the dnsConfig value to set.public MonitorConfig monitorConfig()
public ProfileInner withMonitorConfig(MonitorConfig monitorConfig)
monitorConfig - the monitorConfig value to set.public List<EndpointInner> endpoints()
public ProfileInner withEndpoints(List<EndpointInner> endpoints)
endpoints - the endpoints value to set.public TrafficViewEnrollmentStatus trafficViewEnrollmentStatus()
public ProfileInner withTrafficViewEnrollmentStatus(TrafficViewEnrollmentStatus trafficViewEnrollmentStatus)
trafficViewEnrollmentStatus - the trafficViewEnrollmentStatus value to set.public Long maxReturn()
public ProfileInner withMaxReturn(Long maxReturn)
maxReturn - the maxReturn value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.