Class: Azure::ContainerRegistry::Mgmt::V2019_05_01::Models::RegistryNameCheckRequest
- Inherits:
-
Object
- Object
- Azure::ContainerRegistry::Mgmt::V2019_05_01::Models::RegistryNameCheckRequest
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-05-01/generated/azure_mgmt_container_registry/models/registry_name_check_request.rb
Overview
A request to check whether a container registry name is available.
Instance Attribute Summary collapse
-
#name ⇒ String
The name of the container registry.
-
#type ⇒ String
field must be set to ‘Microsoft.ContainerRegistry/registries’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RegistryNameCheckRequest class as Ruby Hash.
Instance Attribute Details
#name ⇒ String
Returns The name of the container registry.
16 17 18 |
# File 'lib/2019-05-01/generated/azure_mgmt_container_registry/models/registry_name_check_request.rb', line 16 def name @name end |
#type ⇒ String
field must be set to ‘Microsoft.ContainerRegistry/registries’. Default value: ‘Microsoft.ContainerRegistry/registries’ .
21 22 23 |
# File 'lib/2019-05-01/generated/azure_mgmt_container_registry/models/registry_name_check_request.rb', line 21 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for RegistryNameCheckRequest class as Ruby Hash. This will be used for serialization/deserialization.
28 29 30 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 |
# File 'lib/2019-05-01/generated/azure_mgmt_container_registry/models/registry_name_check_request.rb', line 28 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RegistryNameCheckRequest', type: { name: 'Composite', class_name: 'RegistryNameCheckRequest', model_properties: { name: { client_side_validation: true, required: true, serialized_name: 'name', constraints: { MaxLength: 50, MinLength: 5, Pattern: '^[a-zA-Z0-9]*$' }, type: { name: 'String' } }, type: { client_side_validation: true, required: true, is_constant: true, serialized_name: 'type', default_value: 'Microsoft.ContainerRegistry/registries', type: { name: 'String' } } } } } end |