Class: Azure::Network::Mgmt::V2016_06_01::Models::DnsNameAvailabilityResult

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2016-06-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb

Overview

Response for CheckDnsNameAvailability Api service call

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#availableBoolean

Returns Domain availability (True/False).

Returns:

  • (Boolean)

    Domain availability (True/False)


16
17
18
# File 'lib/2016-06-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb', line 16

def available
  @available
end

Class Method Details

.mapperObject

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


23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# File 'lib/2016-06-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb', line 23

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DnsNameAvailabilityResult',
    type: {
      name: 'Composite',
      class_name: 'DnsNameAvailabilityResult',
      model_properties: {
        available: {
          client_side_validation: true,
          required: false,
          serialized_name: 'available',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end