Class: Azure::Network::Mgmt::V2017_09_01::Models::PublicIPAddressDnsSettings

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-09-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb

Overview

Contains FQDN of the DNS record associated with the public IP address

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#domain_name_labelString

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.

Returns:

  • (String)

    Gets or sets the Domain name label.The concatenation



20
21
22
# File 'lib/2017-09-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb', line 20

def domain_name_label
  @domain_name_label
end

#fqdnString

DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.

Returns:

  • (String)

    Gets the FQDN, Fully qualified domain name of the A



25
26
27
# File 'lib/2017-09-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb', line 25

def fqdn
  @fqdn
end

#reverse_fqdnString

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.

Returns:

  • (String)

    Gets or Sets the Reverse FQDN. A user-visible, fully



31
32
33
# File 'lib/2017-09-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb', line 31

def reverse_fqdn
  @reverse_fqdn
end

Class Method Details

.mapperObject

Mapper for PublicIPAddressDnsSettings class as Ruby Hash. This will be used for serialization/deserialization.



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
# File 'lib/2017-09-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb', line 38

def self.mapper()
  {
    required: false,
    serialized_name: 'PublicIPAddressDnsSettings',
    type: {
      name: 'Composite',
      class_name: 'PublicIPAddressDnsSettings',
      model_properties: {
        domain_name_label: {
          required: false,
          serialized_name: 'domainNameLabel',
          type: {
            name: 'String'
          }
        },
        fqdn: {
          required: false,
          serialized_name: 'fqdn',
          type: {
            name: 'String'
          }
        },
        reverse_fqdn: {
          required: false,
          serialized_name: 'reverseFqdn',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end