Class: TencentCloud::Ssm::V20190923::UpdateRotationStatusRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190923/models.rb

Overview

UpdateRotationStatus请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(secretname = nil, enablerotation = nil, frequency = nil, rotationbegintime = nil) ⇒ UpdateRotationStatusRequest

Returns a new instance of UpdateRotationStatusRequest.



1522
1523
1524
1525
1526
1527
# File 'lib/v20190923/models.rb', line 1522

def initialize(secretname=nil, enablerotation=nil, frequency=nil, rotationbegintime=nil)
  @SecretName = secretname
  @EnableRotation = enablerotation
  @Frequency = frequency
  @RotationBeginTime = rotationbegintime
end

Instance Attribute Details

#EnableRotationObject

true -- 开启轮转; false -- 禁止轮转。 当EnableRotation为true时,如果不填RotationBeginTime,则默认填充为当前时间。

Parameters:

  • SecretName:

    云产品凭据名称。

  • EnableRotation:

    是否开启轮转。

  • Frequency:

    轮转周期,以天为单位,最小为30天,最大为365天。

  • RotationBeginTime:

    用户设置的期望开始轮转时间,格式为:2006-01-02 15:04:05。



1520
1521
1522
# File 'lib/v20190923/models.rb', line 1520

def EnableRotation
  @EnableRotation
end

#FrequencyObject

true -- 开启轮转; false -- 禁止轮转。 当EnableRotation为true时,如果不填RotationBeginTime,则默认填充为当前时间。

Parameters:

  • SecretName:

    云产品凭据名称。

  • EnableRotation:

    是否开启轮转。

  • Frequency:

    轮转周期,以天为单位,最小为30天,最大为365天。

  • RotationBeginTime:

    用户设置的期望开始轮转时间,格式为:2006-01-02 15:04:05。



1520
1521
1522
# File 'lib/v20190923/models.rb', line 1520

def Frequency
  @Frequency
end

#RotationBeginTimeObject

true -- 开启轮转; false -- 禁止轮转。 当EnableRotation为true时,如果不填RotationBeginTime,则默认填充为当前时间。

Parameters:

  • SecretName:

    云产品凭据名称。

  • EnableRotation:

    是否开启轮转。

  • Frequency:

    轮转周期,以天为单位,最小为30天,最大为365天。

  • RotationBeginTime:

    用户设置的期望开始轮转时间,格式为:2006-01-02 15:04:05。



1520
1521
1522
# File 'lib/v20190923/models.rb', line 1520

def RotationBeginTime
  @RotationBeginTime
end

#SecretNameObject

true -- 开启轮转; false -- 禁止轮转。 当EnableRotation为true时,如果不填RotationBeginTime,则默认填充为当前时间。

Parameters:

  • SecretName:

    云产品凭据名称。

  • EnableRotation:

    是否开启轮转。

  • Frequency:

    轮转周期,以天为单位,最小为30天,最大为365天。

  • RotationBeginTime:

    用户设置的期望开始轮转时间,格式为:2006-01-02 15:04:05。



1520
1521
1522
# File 'lib/v20190923/models.rb', line 1520

def SecretName
  @SecretName
end

Instance Method Details

#deserialize(params) ⇒ Object



1529
1530
1531
1532
1533
1534
# File 'lib/v20190923/models.rb', line 1529

def deserialize(params)
  @SecretName = params['SecretName']
  @EnableRotation = params['EnableRotation']
  @Frequency = params['Frequency']
  @RotationBeginTime = params['RotationBeginTime']
end