Class: Azure::ARM::Network::Models::PublicIpAddressDnsSettings
- Inherits:
-
Object
- Object
- Azure::ARM::Network::Models::PublicIpAddressDnsSettings
- Includes:
- MsRestAzure
- Defined in:
- lib/azure_mgmt_network/Models/public_ip_address_dns_settings.rb
Overview
Contains FQDN of the DNS record associated with the public IP address
Instance Attribute Summary collapse
-
#domain_name_label ⇒ String
of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address.
-
#fqdn ⇒ String
DNS record associated with the public IP.
-
#reverse_fqdn ⇒ String
qualified domain name that resolves to this public IP address.
Class Method Summary collapse
-
.deserialize_object(object) ⇒ PublicIpAddressDnsSettings
Deserializes given Ruby Hash into Model object.
-
.serialize_object(object) ⇒ Hash
Serializes given Model object into Ruby Hash.
Instance Method Summary collapse
-
#validate ⇒ Object
Validate the object.
Instance Attribute Details
#domain_name_label ⇒ String
of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.
20 21 22 |
# File 'lib/azure_mgmt_network/Models/public_ip_address_dns_settings.rb', line 20 def domain_name_label @domain_name_label end |
#fqdn ⇒ String
DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.
25 26 27 |
# File 'lib/azure_mgmt_network/Models/public_ip_address_dns_settings.rb', line 25 def fqdn @fqdn end |
#reverse_fqdn ⇒ String
qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN.
31 32 33 |
# File 'lib/azure_mgmt_network/Models/public_ip_address_dns_settings.rb', line 31 def reverse_fqdn @reverse_fqdn end |
Class Method Details
.deserialize_object(object) ⇒ PublicIpAddressDnsSettings
Deserializes given Ruby Hash into Model object.
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 |
# File 'lib/azure_mgmt_network/Models/public_ip_address_dns_settings.rb', line 66 def self.deserialize_object(object) return if object.nil? output_object = PublicIpAddressDnsSettings.new deserialized_property = object['domainNameLabel'] output_object.domain_name_label = deserialized_property deserialized_property = object['fqdn'] output_object.fqdn = deserialized_property deserialized_property = object['reverseFqdn'] output_object.reverse_fqdn = deserialized_property output_object.validate output_object end |
.serialize_object(object) ⇒ Hash
Serializes given Model object into Ruby Hash.
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
# File 'lib/azure_mgmt_network/Models/public_ip_address_dns_settings.rb', line 45 def self.serialize_object(object) object.validate output_object = {} serialized_property = object.domain_name_label output_object['domainNameLabel'] = serialized_property unless serialized_property.nil? serialized_property = object.fqdn output_object['fqdn'] = serialized_property unless serialized_property.nil? serialized_property = object.reverse_fqdn output_object['reverseFqdn'] = serialized_property unless serialized_property.nil? output_object end |
Instance Method Details
#validate ⇒ Object
Validate the object. Throws ValidationError if validation fails.
36 37 38 |
# File 'lib/azure_mgmt_network/Models/public_ip_address_dns_settings.rb', line 36 def validate # Nothing to validate end |