MonitoringPolicyDescription
Describes the parameters for monitoring an upgrade in Monitored mode.
Properties
Name | Type | Required |
---|---|---|
FailureAction |
string (enum) | No |
HealthCheckWaitDurationInMilliseconds |
string | No |
HealthCheckStableDurationInMilliseconds |
string | No |
HealthCheckRetryTimeoutInMilliseconds |
string | No |
UpgradeTimeoutInMilliseconds |
string | No |
UpgradeDomainTimeoutInMilliseconds |
string | No |
FailureAction
Type: string (enum)
Required: No
The compensating action to perform when a Monitored upgrade encounters monitoring policy or health policy violations. Invalid indicates the failure action is invalid. Rollback specifies that the upgrade will start rolling back automatically. Manual indicates that the upgrade will switch to UnmonitoredManual upgrade mode.
Possible values are:
Invalid
- Indicates the failure action is invalid. All Service Fabric enumerations have the invalid type. The value is zero.Rollback
- The upgrade will start rolling back automatically. The value is 1Manual
- The upgrade will switch to UnmonitoredManual upgrade mode. The value is 2
HealthCheckWaitDurationInMilliseconds
Type: string
Required: No
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.
HealthCheckStableDurationInMilliseconds
Type: string
Required: No
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.
HealthCheckRetryTimeoutInMilliseconds
Type: string
Required: No
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.
UpgradeTimeoutInMilliseconds
Type: string
Required: No
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.
UpgradeDomainTimeoutInMilliseconds
Type: string
Required: No
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.