Sha256: a3cfe569416b209ee1190769ced86ca8063c8952a0af45c1c420e29f95471df0
Contents?: true
Size: 1.91 KB
Versions: 1
Compression:
Stored size: 1.91 KB
Contents
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # 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 include MsRest::JSONable # @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.13.0 | lib/generated/azure_mgmt_iot_hub/models/iot_hub_name_availability_info.rb |