class Azure::Web::Mgmt::V2015_04_01::Models::DomainAvailablilityCheckResult
Domain
availablility check result.
Attributes
available[RW]
@return [Boolean] true
if domain can be purchased using CreateDomain API; otherwise, false
.
domain_type[RW]
@return [DomainType] Valid values are Regular domain: Azure
will charge 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'
name[RW]
@return [String] Name of the domain.
Public Class Methods
mapper()
click to toggle source
Mapper for DomainAvailablilityCheckResult
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2015-04-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