class Azure::TrafficManager::Mgmt::V2017_03_01::Models::TrafficManagerGeographicHierarchy
Class representing the Geographic hierarchy used with the Geographic traffic routing method.
Attributes
geographic_hierarchy[RW]
@return [Region] The region at the root of the hierarchy from all the regions in the hierarchy can be retrieved.
Public Class Methods
mapper()
click to toggle source
Mapper for TrafficManagerGeographicHierarchy
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2017-03-01/generated/azure_mgmt_traffic_manager/models/traffic_manager_geographic_hierarchy.rb, line 25 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'TrafficManagerGeographicHierarchy', type: { name: 'Composite', class_name: 'TrafficManagerGeographicHierarchy', 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' } }, location: { client_side_validation: true, required: false, serialized_name: 'location', type: { name: 'String' } }, tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, geographic_hierarchy: { client_side_validation: true, required: false, serialized_name: 'properties.geographicHierarchy', type: { name: 'Composite', class_name: 'Region' } } } } } end