class Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameCheckRequest
A request to check whether a container registry name is available.
Attributes
name[RW]
@return [String] The name of the container registry.
type[RW]
@return [String] The resource type of the container registry. This field must be set to 'Microsoft.ContainerRegistry/registries'. Default value: 'Microsoft.ContainerRegistry/registries' .
Public Class Methods
mapper()
click to toggle source
Mapper for RegistryNameCheckRequest
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2017-10-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