Class: Azure::Appconfiguration::Mgmt::V2020_06_01::Models::NameAvailabilityStatus
- Inherits:
-
Object
- Object
- Azure::Appconfiguration::Mgmt::V2020_06_01::Models::NameAvailabilityStatus
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/name_availability_status.rb
Overview
The result of a request to check the availability of a resource name.
Instance Attribute Summary collapse
-
#message ⇒ String
for the reason that the name is not available.
-
#name_available ⇒ Boolean
available.
-
#reason ⇒ String
If any, the reason that the name is not available.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for NameAvailabilityStatus class as Ruby Hash.
Instance Attribute Details
#message ⇒ String
for the reason that the name is not available.
21 22 23 |
# File 'lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/name_availability_status.rb', line 21 def @message end |
#name_available ⇒ Boolean
available.
17 18 19 |
# File 'lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/name_availability_status.rb', line 17 def name_available @name_available end |
#reason ⇒ String
Returns If any, the reason that the name is not available.
24 25 26 |
# File 'lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/name_availability_status.rb', line 24 def reason @reason end |
Class Method Details
.mapper ⇒ Object
Mapper for NameAvailabilityStatus class as Ruby Hash. This will be used for serialization/deserialization.
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 |
# File 'lib/2020-06-01/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 |