Sha256: c99d835853e3299c454235670825ee289758f1a258df09d29e4e8a1cee6783ab
Contents?: true
Size: 1.89 KB
Versions: 1
Compression:
Stored size: 1.89 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 IoT hub 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 detailed reason message. 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, read_only: true, serialized_name: 'nameAvailable', type: { name: 'Boolean' } }, reason: { required: false, read_only: true, 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.9.0 | lib/generated/azure_mgmt_iot_hub/models/iot_hub_name_availability_info.rb |