Class: TencentCloud::Iecp::V20210914::Volume
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iecp::V20210914::Volume
- Defined in:
- lib/v20210914/models.rb
Overview
卷
Instance Attribute Summary collapse
-
#ConfigMap ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#HostPath ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#NFS ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Secret ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Source ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(source = nil, name = nil, hostpath = nil, configmap = nil, secret = nil, nfs = nil) ⇒ Volume
constructor
A new instance of Volume.
Constructor Details
#initialize(source = nil, name = nil, hostpath = nil, configmap = nil, secret = nil, nfs = nil) ⇒ Volume
Returns a new instance of Volume.
6583 6584 6585 6586 6587 6588 6589 6590 |
# File 'lib/v20210914/models.rb', line 6583 def initialize(source=nil, name=nil, hostpath=nil, configmap=nil, secret=nil, nfs=nil) @Source = source @Name = name @HostPath = hostpath @ConfigMap = configmap @Secret = secret @NFS = nfs end |
Instance Attribute Details
#ConfigMap ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
6581 6582 6583 |
# File 'lib/v20210914/models.rb', line 6581 def ConfigMap @ConfigMap end |
#HostPath ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
6581 6582 6583 |
# File 'lib/v20210914/models.rb', line 6581 def HostPath @HostPath end |
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
6581 6582 6583 |
# File 'lib/v20210914/models.rb', line 6581 def Name @Name end |
#NFS ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
6581 6582 6583 |
# File 'lib/v20210914/models.rb', line 6581 def NFS @NFS end |
#Secret ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
6581 6582 6583 |
# File 'lib/v20210914/models.rb', line 6581 def Secret @Secret end |
#Source ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
6581 6582 6583 |
# File 'lib/v20210914/models.rb', line 6581 def Source @Source end |
Instance Method Details
#deserialize(params) ⇒ Object
6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 |
# File 'lib/v20210914/models.rb', line 6592 def deserialize(params) @Source = params['Source'] @Name = params['Name'] unless params['HostPath'].nil? @HostPath = VolumeHostPath.new @HostPath.deserialize(params['HostPath']) end unless params['ConfigMap'].nil? @ConfigMap = VolumeConfigMap.new @ConfigMap.deserialize(params['ConfigMap']) end unless params['Secret'].nil? @Secret = VolumeConfigMap.new @Secret.deserialize(params['Secret']) end unless params['NFS'].nil? @NFS = VolumeNFS.new @NFS.deserialize(params['NFS']) end end |