ArmRollingUpgradeMonitoringPolicy Class

The policy used for monitoring the application upgrade.

Inheritance
ArmRollingUpgradeMonitoringPolicy

Constructor

ArmRollingUpgradeMonitoringPolicy(*, failure_action: typing.Union[str, _ForwardRef('ArmUpgradeFailureAction'), NoneType] = None, health_check_wait_duration: typing.Union[str, NoneType] = '0', health_check_stable_duration: typing.Union[str, NoneType] = 'PT0H2M0S', health_check_retry_timeout: typing.Union[str, NoneType] = 'PT0H10M0S', upgrade_timeout: typing.Union[str, NoneType] = 'P10675199DT02H48M05.4775807S', upgrade_domain_timeout: typing.Union[str, NoneType] = 'P10675199DT02H48M05.4775807S', **kwargs)

Parameters

failure_action
str or ArmUpgradeFailureAction
Required

The activation Mode of the service package. Possible values include: "Rollback", "Manual".

health_check_wait_duration
str
Required

The amount of time to wait after completing an upgrade domain before applying health policies. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.

health_check_stable_duration
str
Required

The amount of time that the application or cluster must remain healthy before the upgrade proceeds to the next upgrade domain. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.

health_check_retry_timeout
str
Required

The amount of time to retry health evaluation when the application or cluster is unhealthy before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.

upgrade_timeout
str
Required

The amount of time the overall upgrade has to complete before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.

upgrade_domain_timeout
str
Required

The amount of time each upgrade domain has to complete before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.