Class: Azure::TrafficManager::Mgmt::V2018_02_01::Models::Endpoint
- Inherits:
-
ProxyResource
- Object
- Resource
- ProxyResource
- Azure::TrafficManager::Mgmt::V2018_02_01::Models::Endpoint
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/endpoint.rb
Overview
Class representing a Traffic Manager endpoint.
Instance Attribute Summary collapse
-
#endpoint_location ⇒ String
endpoints when using the ‘Performance’ traffic routing method.
-
#endpoint_monitor_status ⇒ EndpointMonitorStatus
Possible values include: ‘CheckingEndpoint’, ‘Online’, ‘Degraded’, ‘Disabled’, ‘Inactive’, ‘Stopped’.
-
#endpoint_status ⇒ EndpointStatus
Enabled, it is probed for endpoint health and is included in the traffic routing method.
-
#geo_mapping ⇒ Array<String>
endpoint when using the ‘Geographic’ traffic routing method.
-
#min_child_endpoints ⇒ Integer
available in the child profile in order for the parent profile to be considered available.
-
#priority ⇒ Integer
‘Priority’ traffic routing method.
-
#target ⇒ String
Manager returns this value in DNS responses to direct traffic to this endpoint.
-
#target_resource_id ⇒ String
applicable to endpoints of type ‘ExternalEndpoints’.
-
#weight ⇒ Integer
traffic routing method.
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Endpoint class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#endpoint_location ⇒ String
endpoints when using the ‘Performance’ traffic routing method.
42 43 44 |
# File 'lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/endpoint.rb', line 42 def endpoint_location @endpoint_location end |
#endpoint_monitor_status ⇒ EndpointMonitorStatus
Possible values include: ‘CheckingEndpoint’, ‘Online’, ‘Degraded’, ‘Disabled’, ‘Inactive’, ‘Stopped’
47 48 49 |
# File 'lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/endpoint.rb', line 47 def endpoint_monitor_status @endpoint_monitor_status end |
#endpoint_status ⇒ EndpointStatus
Enabled, it is probed for endpoint health and is included in the traffic routing method. Possible values include: ‘Enabled’, ‘Disabled’
27 28 29 |
# File 'lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/endpoint.rb', line 27 def endpoint_status @endpoint_status end |
#geo_mapping ⇒ Array<String>
endpoint when using the ‘Geographic’ traffic routing method. Please consult Traffic Manager Geographic documentation for a full list of accepted values.
59 60 61 |
# File 'lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/endpoint.rb', line 59 def geo_mapping @geo_mapping end |
#min_child_endpoints ⇒ Integer
available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type ‘NestedEndpoints’.
53 54 55 |
# File 'lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/endpoint.rb', line 53 def min_child_endpoints @min_child_endpoints end |
#priority ⇒ Integer
‘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.
38 39 40 |
# File 'lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/endpoint.rb', line 38 def priority @priority end |
#target ⇒ String
Manager returns this value in DNS responses to direct traffic to this endpoint.
22 23 24 |
# File 'lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/endpoint.rb', line 22 def target @target end |
#target_resource_id ⇒ String
applicable to endpoints of type ‘ExternalEndpoints’.
17 18 19 |
# File 'lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/endpoint.rb', line 17 def target_resource_id @target_resource_id end |
#weight ⇒ Integer
traffic routing method. Possible values are from 1 to 1000.
31 32 33 |
# File 'lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/endpoint.rb', line 31 def weight @weight end |
Class Method Details
.mapper ⇒ Object
Mapper for Endpoint class as Ruby Hash. This will be used for serialization/deserialization.
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 |
# File 'lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/endpoint.rb', line 66 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Endpoint', type: { name: 'Composite', class_name: 'Endpoint', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, target_resource_id: { client_side_validation: true, required: false, serialized_name: 'properties.targetResourceId', type: { name: 'String' } }, target: { client_side_validation: true, required: false, serialized_name: 'properties.target', type: { name: 'String' } }, endpoint_status: { client_side_validation: true, required: false, serialized_name: 'properties.endpointStatus', type: { name: 'String' } }, weight: { client_side_validation: true, required: false, serialized_name: 'properties.weight', type: { name: 'Number' } }, priority: { client_side_validation: true, required: false, serialized_name: 'properties.priority', type: { name: 'Number' } }, endpoint_location: { client_side_validation: true, required: false, serialized_name: 'properties.endpointLocation', type: { name: 'String' } }, endpoint_monitor_status: { client_side_validation: true, required: false, serialized_name: 'properties.endpointMonitorStatus', type: { name: 'String' } }, min_child_endpoints: { client_side_validation: true, required: false, serialized_name: 'properties.minChildEndpoints', type: { name: 'Number' } }, geo_mapping: { client_side_validation: true, required: false, serialized_name: 'properties.geoMapping', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end |