class Azure::TrafficManager::Mgmt::V2015_11_01::Models::Profile
Class representing a Traffic Manager profile.
Attributes
dns_config[RW]
@return [DnsConfig] Gets or sets the DNS settings of the Traffic Manager profile.
endpoints[RW]
@return [Array<Endpoint>] Gets or sets the list of endpoints in the Traffic Manager profile.
monitor_config[RW]
@return [MonitorConfig] Gets or sets the endpoint monitoring settings of the Traffic Manager profile.
profile_status[RW]
@return [String] Gets or sets the status of the Traffic Manager profile. Possible values are 'Enabled' and 'Disabled'.
traffic_routing_method[RW]
@return [String] Gets or sets the traffic routing method of the Traffic Manager profile. Possible values are 'Performance', 'Weighted', or 'Priority'.
Public Class Methods
mapper()
click to toggle source
Mapper for Profile
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2015-11-01/generated/azure_mgmt_traffic_manager/models/profile.rb, line 41 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Profile', type: { name: 'Composite', class_name: 'Profile', 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' } } } }, profile_status: { client_side_validation: true, required: false, serialized_name: 'properties.profileStatus', type: { name: 'String' } }, traffic_routing_method: { client_side_validation: true, required: false, serialized_name: 'properties.trafficRoutingMethod', type: { name: 'String' } }, dns_config: { client_side_validation: true, required: false, serialized_name: 'properties.dnsConfig', type: { name: 'Composite', class_name: 'DnsConfig' } }, monitor_config: { client_side_validation: true, required: false, serialized_name: 'properties.monitorConfig', type: { name: 'Composite', class_name: 'MonitorConfig' } }, endpoints: { client_side_validation: true, required: false, serialized_name: 'properties.endpoints', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'EndpointElementType', type: { name: 'Composite', class_name: 'Endpoint' } } } } } } } end