Class: Azure::AnalysisServices::Mgmt::V2017_08_01_beta::Models::CheckServerNameAvailabilityResult

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-08-01-beta/generated/azure_mgmt_analysis_services/models/check_server_name_availability_result.rb

Overview

The checking result of server name availibility.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#messageString

Returns The detailed message of the request unavailability.

Returns:

  • (String)

    The detailed message of the request unavailability.



22
23
24
# File 'lib/2017-08-01-beta/generated/azure_mgmt_analysis_services/models/check_server_name_availability_result.rb', line 22

def message
  @message
end

#name_availableBoolean

Returns Indicator of available of the server name.

Returns:

  • (Boolean)

    Indicator of available of the server name.



16
17
18
# File 'lib/2017-08-01-beta/generated/azure_mgmt_analysis_services/models/check_server_name_availability_result.rb', line 16

def name_available
  @name_available
end

#reasonString

Returns The reason of unavailability.

Returns:

  • (String)

    The reason of unavailability.



19
20
21
# File 'lib/2017-08-01-beta/generated/azure_mgmt_analysis_services/models/check_server_name_availability_result.rb', line 19

def reason
  @reason
end

Class Method Details

.mapperObject

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



29
30
31
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
# File 'lib/2017-08-01-beta/generated/azure_mgmt_analysis_services/models/check_server_name_availability_result.rb', line 29

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