Class: TencentCloud::Tione::V20211111::CronScaleJob
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tione::V20211111::CronScaleJob
- Defined in:
- lib/v20211111/models.rb
Overview
定时扩缩任务
Instance Attribute Summary collapse
-
#ExcludeDates ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#MaxReplicas ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#MinReplicas ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Schedule ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TargetReplicas ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(schedule = nil, name = nil, targetreplicas = nil, minreplicas = nil, maxreplicas = nil, excludedates = nil) ⇒ CronScaleJob
constructor
A new instance of CronScaleJob.
Constructor Details
#initialize(schedule = nil, name = nil, targetreplicas = nil, minreplicas = nil, maxreplicas = nil, excludedates = nil) ⇒ CronScaleJob
Returns a new instance of CronScaleJob.
1540 1541 1542 1543 1544 1545 1546 1547 |
# File 'lib/v20211111/models.rb', line 1540 def initialize(schedule=nil, name=nil, targetreplicas=nil, minreplicas=nil, maxreplicas=nil, excludedates=nil) @Schedule = schedule @Name = name @TargetReplicas = targetreplicas @MinReplicas = minreplicas @MaxReplicas = maxreplicas @ExcludeDates = excludedates end |
Instance Attribute Details
#ExcludeDates ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
1538 1539 1540 |
# File 'lib/v20211111/models.rb', line 1538 def ExcludeDates @ExcludeDates end |
#MaxReplicas ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
1538 1539 1540 |
# File 'lib/v20211111/models.rb', line 1538 def MaxReplicas @MaxReplicas end |
#MinReplicas ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
1538 1539 1540 |
# File 'lib/v20211111/models.rb', line 1538 def MinReplicas @MinReplicas end |
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
1538 1539 1540 |
# File 'lib/v20211111/models.rb', line 1538 def Name @Name end |
#Schedule ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
1538 1539 1540 |
# File 'lib/v20211111/models.rb', line 1538 def Schedule @Schedule end |
#TargetReplicas ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
1538 1539 1540 |
# File 'lib/v20211111/models.rb', line 1538 def TargetReplicas @TargetReplicas end |
Instance Method Details
#deserialize(params) ⇒ Object
1549 1550 1551 1552 1553 1554 1555 1556 |
# File 'lib/v20211111/models.rb', line 1549 def deserialize(params) @Schedule = params['Schedule'] @Name = params['Name'] @TargetReplicas = params['TargetReplicas'] @MinReplicas = params['MinReplicas'] @MaxReplicas = params['MaxReplicas'] @ExcludeDates = params['ExcludeDates'] end |