Class: Azure::ARM::Dns::Models::RecordSet
- Inherits:
-
Object
- Object
- Azure::ARM::Dns::Models::RecordSet
- Includes:
- MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_dns/models/record_set.rb
Overview
Describes a DNS record set (a collection of DNS records with the same name and type).
Instance Attribute Summary collapse
-
#aaaa_records ⇒ Array<AaaaRecord>
The list of AAAA records in the record set.
-
#arecords ⇒ Array<ARecord>
The list of A records in the record set.
-
#cname_record ⇒ CnameRecord
The CNAME record in the record set.
-
#etag ⇒ String
The etag of the record set.
-
#id ⇒ String
The ID of the record set.
-
#metadata ⇒ Hash{String => String}
set.
-
#mx_records ⇒ Array<MxRecord>
The list of MX records in the record set.
-
#name ⇒ String
The name of the record set.
-
#ns_records ⇒ Array<NsRecord>
The list of NS records in the record set.
-
#ptr_records ⇒ Array<PtrRecord>
The list of PTR records in the record set.
-
#soa_record ⇒ SoaRecord
The SOA record in the record set.
-
#srv_records ⇒ Array<SrvRecord>
The list of SRV records in the record set.
-
#ttl ⇒ Integer
set.
-
#txt_records ⇒ Array<TxtRecord>
The list of TXT records in the record set.
-
#type ⇒ String
The type of the record set.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RecordSet class as Ruby Hash.
Instance Attribute Details
#aaaa_records ⇒ Array<AaaaRecord>
Returns The list of AAAA records in the record set.
40 41 42 |
# File 'lib/generated/azure_mgmt_dns/models/record_set.rb', line 40 def aaaa_records @aaaa_records end |
#arecords ⇒ Array<ARecord>
Returns The list of A records in the record set.
37 38 39 |
# File 'lib/generated/azure_mgmt_dns/models/record_set.rb', line 37 def arecords @arecords end |
#cname_record ⇒ CnameRecord
Returns The CNAME record in the record set.
58 59 60 |
# File 'lib/generated/azure_mgmt_dns/models/record_set.rb', line 58 def cname_record @cname_record end |
#etag ⇒ String
Returns The etag of the record set.
26 27 28 |
# File 'lib/generated/azure_mgmt_dns/models/record_set.rb', line 26 def etag @etag end |
#id ⇒ String
Returns The ID of the record set.
17 18 19 |
# File 'lib/generated/azure_mgmt_dns/models/record_set.rb', line 17 def id @id end |
#metadata ⇒ Hash{String => String}
set.
30 31 32 |
# File 'lib/generated/azure_mgmt_dns/models/record_set.rb', line 30 def @metadata end |
#mx_records ⇒ Array<MxRecord>
Returns The list of MX records in the record set.
43 44 45 |
# File 'lib/generated/azure_mgmt_dns/models/record_set.rb', line 43 def mx_records @mx_records end |
#name ⇒ String
Returns The name of the record set.
20 21 22 |
# File 'lib/generated/azure_mgmt_dns/models/record_set.rb', line 20 def name @name end |
#ns_records ⇒ Array<NsRecord>
Returns The list of NS records in the record set.
46 47 48 |
# File 'lib/generated/azure_mgmt_dns/models/record_set.rb', line 46 def ns_records @ns_records end |
#ptr_records ⇒ Array<PtrRecord>
Returns The list of PTR records in the record set.
49 50 51 |
# File 'lib/generated/azure_mgmt_dns/models/record_set.rb', line 49 def ptr_records @ptr_records end |
#soa_record ⇒ SoaRecord
Returns The SOA record in the record set.
61 62 63 |
# File 'lib/generated/azure_mgmt_dns/models/record_set.rb', line 61 def soa_record @soa_record end |
#srv_records ⇒ Array<SrvRecord>
Returns The list of SRV records in the record set.
52 53 54 |
# File 'lib/generated/azure_mgmt_dns/models/record_set.rb', line 52 def srv_records @srv_records end |
#ttl ⇒ Integer
set.
34 35 36 |
# File 'lib/generated/azure_mgmt_dns/models/record_set.rb', line 34 def ttl @ttl end |
#txt_records ⇒ Array<TxtRecord>
Returns The list of TXT records in the record set.
55 56 57 |
# File 'lib/generated/azure_mgmt_dns/models/record_set.rb', line 55 def txt_records @txt_records end |
#type ⇒ String
Returns The type of the record set.
23 24 25 |
# File 'lib/generated/azure_mgmt_dns/models/record_set.rb', line 23 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for RecordSet class as Ruby Hash. This will be used for serialization/deserialization.
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 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 |
# File 'lib/generated/azure_mgmt_dns/models/record_set.rb', line 68 def self.mapper() { required: false, serialized_name: 'RecordSet', type: { name: 'Composite', class_name: 'RecordSet', model_properties: { id: { required: false, serialized_name: 'id', type: { name: 'String' } }, name: { required: false, serialized_name: 'name', type: { name: 'String' } }, type: { required: false, serialized_name: 'type', type: { name: 'String' } }, etag: { required: false, serialized_name: 'etag', type: { name: 'String' } }, metadata: { required: false, serialized_name: 'properties.metadata', type: { name: 'Dictionary', value: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, ttl: { required: false, serialized_name: 'properties.TTL', type: { name: 'Number' } }, arecords: { required: false, serialized_name: 'properties.ARecords', type: { name: 'Sequence', element: { required: false, serialized_name: 'ARecordElementType', type: { name: 'Composite', class_name: 'ARecord' } } } }, aaaa_records: { required: false, serialized_name: 'properties.AAAARecords', type: { name: 'Sequence', element: { required: false, serialized_name: 'AaaaRecordElementType', type: { name: 'Composite', class_name: 'AaaaRecord' } } } }, mx_records: { required: false, serialized_name: 'properties.MXRecords', type: { name: 'Sequence', element: { required: false, serialized_name: 'MxRecordElementType', type: { name: 'Composite', class_name: 'MxRecord' } } } }, ns_records: { required: false, serialized_name: 'properties.NSRecords', type: { name: 'Sequence', element: { required: false, serialized_name: 'NsRecordElementType', type: { name: 'Composite', class_name: 'NsRecord' } } } }, ptr_records: { required: false, serialized_name: 'properties.PTRRecords', type: { name: 'Sequence', element: { required: false, serialized_name: 'PtrRecordElementType', type: { name: 'Composite', class_name: 'PtrRecord' } } } }, srv_records: { required: false, serialized_name: 'properties.SRVRecords', type: { name: 'Sequence', element: { required: false, serialized_name: 'SrvRecordElementType', type: { name: 'Composite', class_name: 'SrvRecord' } } } }, txt_records: { required: false, serialized_name: 'properties.TXTRecords', type: { name: 'Sequence', element: { required: false, serialized_name: 'TxtRecordElementType', type: { name: 'Composite', class_name: 'TxtRecord' } } } }, cname_record: { required: false, serialized_name: 'properties.CNAMERecord', type: { name: 'Composite', class_name: 'CnameRecord' } }, soa_record: { required: false, serialized_name: 'properties.SOARecord', type: { name: 'Composite', class_name: 'SoaRecord' } } } } } end |