Class: Azure::Web::Mgmt::V2018_02_01::Models::DomainAvailablilityCheckResult

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-02-01/generated/azure_mgmt_web/models/domain_availablility_check_result.rb

Overview

Domain availablility check result.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#availableBoolean

CreateDomain API; otherwise, false.

Returns:

  • (Boolean)

    true if domain can be purchased using



20
21
22
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/domain_availablility_check_result.rb', line 20

def available
  @available
end

#domain_typeDomainType

the full price of domain registration, SoftDeleted: Purchasing this domain will simply restore it and this operation will not cost anything. Possible values include: ‘Regular’, ‘SoftDeleted’

Returns:

  • (DomainType)

    Valid values are Regular domain: Azure will charge



26
27
28
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/domain_availablility_check_result.rb', line 26

def domain_type
  @domain_type
end

#nameString

Returns Name of the domain.

Returns:

  • (String)

    Name of the domain.



16
17
18
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/domain_availablility_check_result.rb', line 16

def name
  @name
end

Class Method Details

.mapperObject

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



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
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/domain_availablility_check_result.rb', line 33

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DomainAvailablilityCheckResult',
    type: {
      name: 'Composite',
      class_name: 'DomainAvailablilityCheckResult',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        available: {
          client_side_validation: true,
          required: false,
          serialized_name: 'available',
          type: {
            name: 'Boolean'
          }
        },
        domain_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'domainType',
          type: {
            name: 'Enum',
            module: 'DomainType'
          }
        }
      }
    }
  }
end