class Azure::Appconfiguration::Mgmt::V2019_11_01_preview::Models::NameAvailabilityStatus
The result of a request to check the availability of a resource name.
Attributes
message[RW]
@return [String] If any, the error message that provides more detail for the reason that the name is not available.
name_available[RW]
@return [Boolean] The value indicating whether the resource name is available.
reason[RW]
@return [String] If any, the reason that the name is not available.
Public Class Methods
mapper()
click to toggle source
Mapper for NameAvailabilityStatus
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/models/name_availability_status.rb, line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'NameAvailabilityStatus', type: { name: 'Composite', class_name: 'NameAvailabilityStatus', model_properties: { name_available: { client_side_validation: true, required: false, read_only: true, serialized_name: 'nameAvailable', type: { name: 'Boolean' } }, message: { client_side_validation: true, required: false, read_only: true, serialized_name: 'message', type: { name: 'String' } }, reason: { client_side_validation: true, required: false, read_only: true, serialized_name: 'reason', type: { name: 'String' } } } } } end