Skip to main content

cluster_upgrade_progress

Creates, updates, deletes, gets or lists a cluster_upgrade_progress resource.

Overview

Namecluster_upgrade_progress
TypeResource
Idazure.service_fabric_dataplane.cluster_upgrade_progress

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
CodeVersionstring
ConfigVersionstring
CurrentUpgradeDomainProgressobjectInformation about the current in-progress upgrade domain. Not applicable to node-by-node upgrades.
CurrentUpgradeUnitsProgressobjectInformation about the current in-progress upgrade units.
FailureReasonstring
FailureTimestampUtcstring
IsNodeByNodeboolean
NextUpgradeDomainstring
RollingUpgradeModestring
StartTimestampUtcstring
UnhealthyEvaluationsarray
UpgradeDescriptionobjectRepresents a ServiceFabric cluster upgrade.
UpgradeDomainDurationInMillisecondsstring
UpgradeDomainProgressAtFailureobjectThe detailed upgrade progress for nodes in the current upgrade domain at the point of failure. Not applicable to node-by-node upgrades.
UpgradeDomainsarray
UpgradeDurationInMillisecondsstring
UpgradeStatestring
UpgradeUnitsarray

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_cluster_upgrade_progressselectendpointtimeoutGets the progress of the current cluster upgrade. Gets the current progress of the ongoing cluster upgrade. If no upgrade is currently in progress, get the last state of the previous cluster upgrade.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
endpointstringThe service endpoint host (no scheme). (default: )
timeoutinteger (int64)The server timeout for performing the operation in seconds. This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

SELECT examples

Gets the progress of the current cluster upgrade. Gets the current progress of the ongoing cluster upgrade. If no upgrade is currently in progress, get the last state of the previous cluster upgrade.

SELECT
CodeVersion,
ConfigVersion,
CurrentUpgradeDomainProgress,
CurrentUpgradeUnitsProgress,
FailureReason,
FailureTimestampUtc,
IsNodeByNode,
NextUpgradeDomain,
RollingUpgradeMode,
StartTimestampUtc,
UnhealthyEvaluations,
UpgradeDescription,
UpgradeDomainDurationInMilliseconds,
UpgradeDomainProgressAtFailure,
UpgradeDomains,
UpgradeDurationInMilliseconds,
UpgradeState,
UpgradeUnits
FROM azure.service_fabric_dataplane.cluster_upgrade_progress
WHERE endpoint = '{{ endpoint }}' -- required
AND timeout = '{{ timeout }}'
;