Class: Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListCredentialsResult

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_list_credentials_result.rb

Overview

The response from the ListCredentials operation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#passwordsArray<RegistryPassword>

registry.

Returns:



20
21
22
# File 'lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_list_credentials_result.rb', line 20

def passwords
  @passwords
end

#usernameString

Returns The username for a container registry.

Returns:

  • (String)

    The username for a container registry.



16
17
18
# File 'lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_list_credentials_result.rb', line 16

def username
  @username
end

Class Method Details

.mapperObject

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



27
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
64
# File 'lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_list_credentials_result.rb', line 27

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RegistryListCredentialsResult',
    type: {
      name: 'Composite',
      class_name: 'RegistryListCredentialsResult',
      model_properties: {
        username: {
          client_side_validation: true,
          required: false,
          serialized_name: 'username',
          type: {
            name: 'String'
          }
        },
        passwords: {
          client_side_validation: true,
          required: false,
          serialized_name: 'passwords',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'RegistryPasswordElementType',
                type: {
                  name: 'Composite',
                  class_name: 'RegistryPassword'
                }
            }
          }
        }
      }
    }
  }
end