Class: Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::NameAvailabilityInformation

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/name_availability_information.rb

Overview

Data Lake Analytics account name availability result information.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#messageString

account name is not available, if nameAvailable is false.

Returns:

  • (String)

    The message describing why the Data Lake Analytics



25
26
27
# File 'lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/name_availability_information.rb', line 25

def message
  @message
end

#name_availableBoolean

whether the Data Lake Analytics account name is available or not.

Returns:

  • (Boolean)

    The Boolean value of true or false to indicate



17
18
19
# File 'lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/name_availability_information.rb', line 17

def name_available
  @name_available
end

#reasonString

not available, if nameAvailable is false.

Returns:

  • (String)

    The reason why the Data Lake Analytics account name is



21
22
23
# File 'lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/name_availability_information.rb', line 21

def reason
  @reason
end

Class Method Details

.mapperObject

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



32
33
34
35
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
# File 'lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/name_availability_information.rb', line 32

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'NameAvailabilityInformation',
    type: {
      name: 'Composite',
      class_name: 'NameAvailabilityInformation',
      model_properties: {
        name_available: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'nameAvailable',
          type: {
            name: 'Boolean'
          }
        },
        reason: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'reason',
          type: {
            name: 'String'
          }
        },
        message: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'message',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end