class Azure::ContainerRegistry::Mgmt::V2016_06_27_preview::Models::RegistryNameCheckRequest

A request to check whether the 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/2016-06-27-preview/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',
          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