Class: Azure::TrafficManager::Mgmt::V2018_03_01::Models::DnsConfig
- Inherits:
-
Object
- Object
- Azure::TrafficManager::Mgmt::V2018_03_01::Models::DnsConfig
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/dns_config.rb
Overview
Class containing DNS settings in a Traffic Manager profile.
Instance Attribute Summary collapse
-
#fqdn ⇒ String
Manager profile.
-
#relative_name ⇒ String
profile.
-
#ttl ⇒ Integer
the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DnsConfig class as Ruby Hash.
Instance Attribute Details
#fqdn ⇒ String
Manager profile. This is formed from the concatenation of the RelativeName with the DNS domain used by Azure Traffic Manager.
24 25 26 |
# File 'lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/dns_config.rb', line 24 def fqdn @fqdn end |
#relative_name ⇒ String
profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.
19 20 21 |
# File 'lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/dns_config.rb', line 19 def relative_name @relative_name end |
#ttl ⇒ Integer
the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.
29 30 31 |
# File 'lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/dns_config.rb', line 29 def ttl @ttl end |
Class Method Details
.mapper ⇒ Object
Mapper for DnsConfig class as Ruby Hash. This will be used for serialization/deserialization.
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 |
# File 'lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/dns_config.rb', line 36 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DnsConfig', type: { name: 'Composite', class_name: 'DnsConfig', model_properties: { relative_name: { client_side_validation: true, required: false, serialized_name: 'relativeName', type: { name: 'String' } }, fqdn: { client_side_validation: true, required: false, read_only: true, serialized_name: 'fqdn', type: { name: 'String' } }, ttl: { client_side_validation: true, required: false, serialized_name: 'ttl', type: { name: 'Number' } } } } } end |