Class: TencentCloud::Tke::V20180525::UpdateEKSContainerInstanceRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::UpdateEKSContainerInstanceRequest
- Defined in:
- lib/v20180525/models.rb
Overview
UpdateEKSContainerInstance请求参数结构体
Instance Attribute Summary collapse
- #Containers ⇒ Object
- #EksCiId ⇒ Object
- #EksCiVolume ⇒ Object
- #ImageRegistryCredentials ⇒ Object
- #InitContainers ⇒ Object
- #Name ⇒ Object
- #RestartPolicy ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(eksciid = nil, restartpolicy = nil, ekscivolume = nil, containers = nil, initcontainers = nil, name = nil, imageregistrycredentials = nil) ⇒ UpdateEKSContainerInstanceRequest
constructor
A new instance of UpdateEKSContainerInstanceRequest.
Constructor Details
#initialize(eksciid = nil, restartpolicy = nil, ekscivolume = nil, containers = nil, initcontainers = nil, name = nil, imageregistrycredentials = nil) ⇒ UpdateEKSContainerInstanceRequest
Returns a new instance of UpdateEKSContainerInstanceRequest.
19042 19043 19044 19045 19046 19047 19048 19049 19050 |
# File 'lib/v20180525/models.rb', line 19042 def initialize(eksciid=nil, restartpolicy=nil, ekscivolume=nil, containers=nil, initcontainers=nil, name=nil, imageregistrycredentials=nil) @EksCiId = eksciid @RestartPolicy = restartpolicy @EksCiVolume = ekscivolume @Containers = containers @InitContainers = initcontainers @Name = name @ImageRegistryCredentials = imageregistrycredentials end |
Instance Attribute Details
#Containers ⇒ Object
19040 19041 19042 |
# File 'lib/v20180525/models.rb', line 19040 def Containers @Containers end |
#EksCiId ⇒ Object
19040 19041 19042 |
# File 'lib/v20180525/models.rb', line 19040 def EksCiId @EksCiId end |
#EksCiVolume ⇒ Object
19040 19041 19042 |
# File 'lib/v20180525/models.rb', line 19040 def EksCiVolume @EksCiVolume end |
#ImageRegistryCredentials ⇒ Object
19040 19041 19042 |
# File 'lib/v20180525/models.rb', line 19040 def ImageRegistryCredentials @ImageRegistryCredentials end |
#InitContainers ⇒ Object
19040 19041 19042 |
# File 'lib/v20180525/models.rb', line 19040 def InitContainers @InitContainers end |
#Name ⇒ Object
19040 19041 19042 |
# File 'lib/v20180525/models.rb', line 19040 def Name @Name end |
#RestartPolicy ⇒ Object
19040 19041 19042 |
# File 'lib/v20180525/models.rb', line 19040 def RestartPolicy @RestartPolicy end |
Instance Method Details
#deserialize(params) ⇒ Object
19052 19053 19054 19055 19056 19057 19058 19059 19060 19061 19062 19063 19064 19065 19066 19067 19068 19069 19070 19071 19072 19073 19074 19075 19076 19077 19078 19079 19080 19081 19082 19083 19084 |
# File 'lib/v20180525/models.rb', line 19052 def deserialize(params) @EksCiId = params['EksCiId'] @RestartPolicy = params['RestartPolicy'] unless params['EksCiVolume'].nil? @EksCiVolume = EksCiVolume.new @EksCiVolume.deserialize(params['EksCiVolume']) end unless params['Containers'].nil? @Containers = [] params['Containers'].each do |i| container_tmp = Container.new container_tmp.deserialize(i) @Containers << container_tmp end end unless params['InitContainers'].nil? @InitContainers = [] params['InitContainers'].each do |i| container_tmp = Container.new container_tmp.deserialize(i) @InitContainers << container_tmp end end @Name = params['Name'] unless params['ImageRegistryCredentials'].nil? @ImageRegistryCredentials = [] params['ImageRegistryCredentials'].each do |i| imageregistrycredential_tmp = ImageRegistryCredential.new imageregistrycredential_tmp.deserialize(i) @ImageRegistryCredentials << imageregistrycredential_tmp end end end |