Skip to content

SleepProps

Properties for defining a Sleep.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ros-sleep

Initializer

using AlibabaCloud.SDK.ROS.CDK.Ros;
new SleepProps {
    object CreateDuration = null,
    object DeleteDuration = null,
    object Triggers = null,
    object UpdateDuration = null,
    object UpdateRollbackDuration = null
};

Properties

Name Type Description
CreateDuration object Property createDuration: The number of seconds to wait before resource creation.
DeleteDuration object Property deleteDuration: The number of seconds to wait before resource deletion.
Triggers object Property triggers: Arbitrary map of values that, when changed, will run update or update rollback delays again.
UpdateDuration object Property updateDuration: The number of seconds to wait before resource update.
UpdateRollbackDuration object Property updateRollbackDuration: The number of seconds to wait before resource update rollback.

CreateDurationOptional

public object CreateDuration { get; set; }
  • Type: object

Property createDuration: The number of seconds to wait before resource creation.


DeleteDurationOptional

public object DeleteDuration { get; set; }
  • Type: object

Property deleteDuration: The number of seconds to wait before resource deletion.


TriggersOptional

public object Triggers { get; set; }
  • Type: object

Property triggers: Arbitrary map of values that, when changed, will run update or update rollback delays again.


UpdateDurationOptional

public object UpdateDuration { get; set; }
  • Type: object

Property updateDuration: The number of seconds to wait before resource update.

It only triggers when the property Triggers change and the status of stack is UPDATE_IN_PROGRESS.


UpdateRollbackDurationOptional

public object UpdateRollbackDuration { get; set; }
  • Type: object

Property updateRollbackDuration: The number of seconds to wait before resource update rollback.

It only triggers when stack update failed and resource was updated.