class Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameStatus

The result of a request to check the availability of a container registry name.

Attributes

message[RW]

@return [String] If any, the error message that provides more detail for the reason that the name is not available.

name_available[RW]

@return [Boolean] The value that indicates whether the name is available.

reason[RW]

@return [String] If any, the reason that the name is not available.

Public Class Methods

mapper() click to toggle source

Mapper for RegistryNameStatus class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2017-10-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