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.



1483
1484
1485
1486
1487
1488
# File 'lib/v20190923/models.rb', line 1483

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。



1481
1482
1483
# File 'lib/v20190923/models.rb', line 1481

def EnableRotation
  @EnableRotation
end

#FrequencyObject

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

Parameters:

  • SecretName:

    云产品凭据名称。

  • EnableRotation:

    是否开启轮转。

  • Frequency:

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

  • RotationBeginTime:

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



1481
1482
1483
# File 'lib/v20190923/models.rb', line 1481

def Frequency
  @Frequency
end

#RotationBeginTimeObject

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

Parameters:

  • SecretName:

    云产品凭据名称。

  • EnableRotation:

    是否开启轮转。

  • Frequency:

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

  • RotationBeginTime:

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



1481
1482
1483
# File 'lib/v20190923/models.rb', line 1481

def RotationBeginTime
  @RotationBeginTime
end

#SecretNameObject

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

Parameters:

  • SecretName:

    云产品凭据名称。

  • EnableRotation:

    是否开启轮转。

  • Frequency:

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

  • RotationBeginTime:

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



1481
1482
1483
# File 'lib/v20190923/models.rb', line 1481

def SecretName
  @SecretName
end

Instance Method Details

#deserialize(params) ⇒ Object



1490
1491
1492
1493
1494
1495
# File 'lib/v20190923/models.rb', line 1490

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