Class: Azure::ARM::Web::Models::DomainAvailablilityCheckResult

Inherits:
Object
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/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



21
22
23
# File 'lib/generated/azure_mgmt_web/models/domain_availablility_check_result.rb', line 21

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



27
28
29
# File 'lib/generated/azure_mgmt_web/models/domain_availablility_check_result.rb', line 27

def domain_type
  @domain_type
end

#nameString

Returns Name of the domain.

Returns:

  • (String)

    Name of the domain.



17
18
19
# File 'lib/generated/azure_mgmt_web/models/domain_availablility_check_result.rb', line 17

def name
  @name
end

Class Method Details

.mapperObject

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



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

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