Class: TencentCloud::Tke::V20180525::ImageRegistryCredential
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::ImageRegistryCredential
- Defined in:
- lib/v20180525/models.rb
Overview
从镜像仓库拉取镜像的凭据
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(server = nil, username = nil, password = nil, name = nil) ⇒ ImageRegistryCredential
constructor
A new instance of ImageRegistryCredential.
Constructor Details
#initialize(server = nil, username = nil, password = nil, name = nil) ⇒ ImageRegistryCredential
Returns a new instance of ImageRegistryCredential.
12607 12608 12609 12610 12611 12612 |
# File 'lib/v20180525/models.rb', line 12607 def initialize(server=nil, username=nil, password=nil, name=nil) @Server = server @Username = username @Password = password @Name = name end |
Instance Attribute Details
#Name ⇒ Object
12605 12606 12607 |
# File 'lib/v20180525/models.rb', line 12605 def Name @Name end |
#Password ⇒ Object
12605 12606 12607 |
# File 'lib/v20180525/models.rb', line 12605 def Password @Password end |
#Server ⇒ Object
12605 12606 12607 |
# File 'lib/v20180525/models.rb', line 12605 def Server @Server end |
#Username ⇒ Object
12605 12606 12607 |
# File 'lib/v20180525/models.rb', line 12605 def Username @Username end |
Instance Method Details
#deserialize(params) ⇒ Object
12614 12615 12616 12617 12618 12619 |
# File 'lib/v20180525/models.rb', line 12614 def deserialize(params) @Server = params['Server'] @Username = params['Username'] @Password = params['Password'] @Name = params['Name'] end |