Class: Azure::ContainerRegistry::Mgmt::V2019_05_01::Models::RegistryNameStatus

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Attribute Details

#messageString

for the reason that the name is not available.

Returns:

  • (String)

    If any, the error message that provides more detail



25
26
27
# File 'lib/2019-05-01/generated/azure_mgmt_container_registry/models/registry_name_status.rb', line 25

def message
  @message
end

#name_availableBoolean

available.

Returns:

  • (Boolean)

    The value that indicates whether the name is



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

#reasonString

Returns If any, the reason that the name is not available.

Returns:

  • (String)

    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

.mapperObject

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