1package trafficmanager 2 3// Copyright (c) Microsoft Corporation. All rights reserved. 4// Licensed under the MIT License. See License.txt in the project root for license information. 5// 6// Code generated by Microsoft (R) AutoRest Code Generator. 7// Changes may cause incorrect behavior and will be lost if the code is regenerated. 8 9// EndpointMonitorStatus enumerates the values for endpoint monitor status. 10type EndpointMonitorStatus string 11 12const ( 13 // CheckingEndpoint ... 14 CheckingEndpoint EndpointMonitorStatus = "CheckingEndpoint" 15 // Degraded ... 16 Degraded EndpointMonitorStatus = "Degraded" 17 // Disabled ... 18 Disabled EndpointMonitorStatus = "Disabled" 19 // Inactive ... 20 Inactive EndpointMonitorStatus = "Inactive" 21 // Online ... 22 Online EndpointMonitorStatus = "Online" 23 // Stopped ... 24 Stopped EndpointMonitorStatus = "Stopped" 25) 26 27// PossibleEndpointMonitorStatusValues returns an array of possible values for the EndpointMonitorStatus const type. 28func PossibleEndpointMonitorStatusValues() []EndpointMonitorStatus { 29 return []EndpointMonitorStatus{CheckingEndpoint, Degraded, Disabled, Inactive, Online, Stopped} 30} 31 32// EndpointStatus enumerates the values for endpoint status. 33type EndpointStatus string 34 35const ( 36 // EndpointStatusDisabled ... 37 EndpointStatusDisabled EndpointStatus = "Disabled" 38 // EndpointStatusEnabled ... 39 EndpointStatusEnabled EndpointStatus = "Enabled" 40) 41 42// PossibleEndpointStatusValues returns an array of possible values for the EndpointStatus const type. 43func PossibleEndpointStatusValues() []EndpointStatus { 44 return []EndpointStatus{EndpointStatusDisabled, EndpointStatusEnabled} 45} 46 47// MonitorProtocol enumerates the values for monitor protocol. 48type MonitorProtocol string 49 50const ( 51 // HTTP ... 52 HTTP MonitorProtocol = "HTTP" 53 // HTTPS ... 54 HTTPS MonitorProtocol = "HTTPS" 55 // TCP ... 56 TCP MonitorProtocol = "TCP" 57) 58 59// PossibleMonitorProtocolValues returns an array of possible values for the MonitorProtocol const type. 60func PossibleMonitorProtocolValues() []MonitorProtocol { 61 return []MonitorProtocol{HTTP, HTTPS, TCP} 62} 63 64// ProfileMonitorStatus enumerates the values for profile monitor status. 65type ProfileMonitorStatus string 66 67const ( 68 // ProfileMonitorStatusCheckingEndpoints ... 69 ProfileMonitorStatusCheckingEndpoints ProfileMonitorStatus = "CheckingEndpoints" 70 // ProfileMonitorStatusDegraded ... 71 ProfileMonitorStatusDegraded ProfileMonitorStatus = "Degraded" 72 // ProfileMonitorStatusDisabled ... 73 ProfileMonitorStatusDisabled ProfileMonitorStatus = "Disabled" 74 // ProfileMonitorStatusInactive ... 75 ProfileMonitorStatusInactive ProfileMonitorStatus = "Inactive" 76 // ProfileMonitorStatusOnline ... 77 ProfileMonitorStatusOnline ProfileMonitorStatus = "Online" 78) 79 80// PossibleProfileMonitorStatusValues returns an array of possible values for the ProfileMonitorStatus const type. 81func PossibleProfileMonitorStatusValues() []ProfileMonitorStatus { 82 return []ProfileMonitorStatus{ProfileMonitorStatusCheckingEndpoints, ProfileMonitorStatusDegraded, ProfileMonitorStatusDisabled, ProfileMonitorStatusInactive, ProfileMonitorStatusOnline} 83} 84 85// ProfileStatus enumerates the values for profile status. 86type ProfileStatus string 87 88const ( 89 // ProfileStatusDisabled ... 90 ProfileStatusDisabled ProfileStatus = "Disabled" 91 // ProfileStatusEnabled ... 92 ProfileStatusEnabled ProfileStatus = "Enabled" 93) 94 95// PossibleProfileStatusValues returns an array of possible values for the ProfileStatus const type. 96func PossibleProfileStatusValues() []ProfileStatus { 97 return []ProfileStatus{ProfileStatusDisabled, ProfileStatusEnabled} 98} 99 100// TrafficRoutingMethod enumerates the values for traffic routing method. 101type TrafficRoutingMethod string 102 103const ( 104 // Geographic ... 105 Geographic TrafficRoutingMethod = "Geographic" 106 // Performance ... 107 Performance TrafficRoutingMethod = "Performance" 108 // Priority ... 109 Priority TrafficRoutingMethod = "Priority" 110 // Weighted ... 111 Weighted TrafficRoutingMethod = "Weighted" 112) 113 114// PossibleTrafficRoutingMethodValues returns an array of possible values for the TrafficRoutingMethod const type. 115func PossibleTrafficRoutingMethodValues() []TrafficRoutingMethod { 116 return []TrafficRoutingMethod{Geographic, Performance, Priority, Weighted} 117} 118 119// TrafficViewEnrollmentStatus enumerates the values for traffic view enrollment status. 120type TrafficViewEnrollmentStatus string 121 122const ( 123 // TrafficViewEnrollmentStatusDisabled ... 124 TrafficViewEnrollmentStatusDisabled TrafficViewEnrollmentStatus = "Disabled" 125 // TrafficViewEnrollmentStatusEnabled ... 126 TrafficViewEnrollmentStatusEnabled TrafficViewEnrollmentStatus = "Enabled" 127) 128 129// PossibleTrafficViewEnrollmentStatusValues returns an array of possible values for the TrafficViewEnrollmentStatus const type. 130func PossibleTrafficViewEnrollmentStatusValues() []TrafficViewEnrollmentStatus { 131 return []TrafficViewEnrollmentStatus{TrafficViewEnrollmentStatusDisabled, TrafficViewEnrollmentStatusEnabled} 132} 133