Sha256: 95e7857eb73ac8f4fea5fef0eaa5757b40eba2222d0448bb2fd630f45489ed80
Contents?: true
Size: 1.84 KB
Versions: 1
Compression:
Stored size: 1.84 KB
Contents
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ARM::IotHub module Models # # The properties indicating whether a given iothub name is available. # class IotHubNameAvailabilityInfo include MsRestAzure # @return [Boolean] The value which indicates whether the provided name # is available. attr_accessor :name_available # @return [IotHubNameUnavailabilityReason] The reason for unavailability. # Possible values include: 'Invalid', 'AlreadyExists' attr_accessor :reason # @return [String] The message describing the detailed reason. attr_accessor :message # # Mapper for IotHubNameAvailabilityInfo class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'IotHubNameAvailabilityInfo', type: { name: 'Composite', class_name: 'IotHubNameAvailabilityInfo', model_properties: { name_available: { required: false, serialized_name: 'nameAvailable', type: { name: 'Boolean' } }, reason: { required: false, serialized_name: 'reason', type: { name: 'Enum', module: 'IotHubNameUnavailabilityReason' } }, message: { required: false, serialized_name: 'message', type: { name: 'String' } } } } } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
azure_mgmt_iot_hub-0.8.0 | lib/generated/azure_mgmt_iot_hub/models/iot_hub_name_availability_info.rb |