Class: Azure::ServiceFabric::V6_5_0_36::Models::ImageRegistryCredential

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/6.5.0.36/generated/azure_service_fabric/models/image_registry_credential.rb

Overview

Image registry credential.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#passwordString

required for create or update operations, however it is not returned in the get or list operations.

Returns:

  • (String)

    The password for the private registry. The password is



25
26
27
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/image_registry_credential.rb', line 25

def password
  @password
end

#serverString

‘http` and `https`.

Returns:

  • (String)

    Docker image registry server, without protocol such as



17
18
19
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/image_registry_credential.rb', line 17

def server
  @server
end

#usernameString

Returns The username for the private registry.

Returns:

  • (String)

    The username for the private registry.



20
21
22
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/image_registry_credential.rb', line 20

def username
  @username
end

Class Method Details

.mapperObject

Mapper for ImageRegistryCredential 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/6.5.0.36/generated/azure_service_fabric/models/image_registry_credential.rb', line 32

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ImageRegistryCredential',
    type: {
      name: 'Composite',
      class_name: 'ImageRegistryCredential',
      model_properties: {
        server: {
          client_side_validation: true,
          required: true,
          serialized_name: 'server',
          type: {
            name: 'String'
          }
        },
        username: {
          client_side_validation: true,
          required: true,
          serialized_name: 'username',
          type: {
            name: 'String'
          }
        },
        password: {
          client_side_validation: true,
          required: false,
          serialized_name: 'password',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end