Class: Azure::ContainerRegistry::Mgmt::V2019_05_01::Models::RegistryNameStatus
- Inherits:
-
Object
- Object
- Azure::ContainerRegistry::Mgmt::V2019_05_01::Models::RegistryNameStatus
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-05-01/generated/azure_mgmt_container_registry/models/registry_name_status.rb
Overview
The result of a request to check the availability of a container registry 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 RegistryNameStatus class as Ruby Hash.
Instance Attribute Details
#message ⇒ String
for the reason that the name is not available.
25 26 27 |
# File 'lib/2019-05-01/generated/azure_mgmt_container_registry/models/registry_name_status.rb', line 25 def @message end |
#name_available ⇒ Boolean
available.
18 19 20 |
# File 'lib/2019-05-01/generated/azure_mgmt_container_registry/models/registry_name_status.rb', line 18 def name_available @name_available end |
#reason ⇒ String
Returns If any, the reason that the name is not available.
21 22 23 |
# File 'lib/2019-05-01/generated/azure_mgmt_container_registry/models/registry_name_status.rb', line 21 def reason @reason end |
Class Method Details
.mapper ⇒ Object
Mapper for RegistryNameStatus class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2019-05-01/generated/azure_mgmt_container_registry/models/registry_name_status.rb', line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RegistryNameStatus', type: { name: 'Composite', class_name: 'RegistryNameStatus', model_properties: { name_available: { client_side_validation: true, required: false, serialized_name: 'nameAvailable', type: { name: 'Boolean' } }, reason: { client_side_validation: true, required: false, serialized_name: 'reason', type: { name: 'String' } }, message: { client_side_validation: true, required: false, serialized_name: 'message', type: { name: 'String' } } } } } end |