Class: Azure::ServiceFabric::V6_2_0_9::Models::RegistryCredential

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

Overview

Credential information to connect to container registry.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#password_encryptedBoolean

is encrypted.

Returns:

  • (Boolean)

    Indicates that supplied container registry password



24
25
26
# File 'lib/6.2.0.9/generated/azure_service_fabric/models/registry_credential.rb', line 24

def password_encrypted
  @password_encrypted
end

#registry_passwordString

container registry.

Returns:

  • (String)

    The password for supplied username to connect to



20
21
22
# File 'lib/6.2.0.9/generated/azure_service_fabric/models/registry_credential.rb', line 20

def registry_password
  @registry_password
end

#registry_user_nameString

Returns The user name to connect to container registry.

Returns:

  • (String)

    The user name to connect to container registry.



16
17
18
# File 'lib/6.2.0.9/generated/azure_service_fabric/models/registry_credential.rb', line 16

def registry_user_name
  @registry_user_name
end

Class Method Details

.mapperObject

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



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
65
66
67
# File 'lib/6.2.0.9/generated/azure_service_fabric/models/registry_credential.rb', line 31

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RegistryCredential',
    type: {
      name: 'Composite',
      class_name: 'RegistryCredential',
      model_properties: {
        registry_user_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'RegistryUserName',
          type: {
            name: 'String'
          }
        },
        registry_password: {
          client_side_validation: true,
          required: false,
          serialized_name: 'RegistryPassword',
          type: {
            name: 'String'
          }
        },
        password_encrypted: {
          client_side_validation: true,
          required: false,
          serialized_name: 'PasswordEncrypted',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end