Skip to main content

start_cluster_upgrades

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

Overview

Namestart_cluster_upgrades
TypeResource
Idazure.service_fabric_dataplane.start_cluster_upgrades

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
start_cluster_upgradeexecendpointtimeoutStart upgrading the code or configuration version of a Service Fabric cluster. Validate the supplied upgrade parameters and start upgrading the code or configuration version of a Service Fabric cluster if the parameters are valid.

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.

Lifecycle Methods

Start upgrading the code or configuration version of a Service Fabric cluster. Validate the supplied upgrade parameters and start upgrading the code or configuration version of a Service Fabric cluster if the parameters are valid.

EXEC azure.service_fabric_dataplane.start_cluster_upgrades.start_cluster_upgrade 
@endpoint='{{ endpoint }}' --required,
@timeout='{{ timeout }}'
@@json=
'{
"CodeVersion": "{{ CodeVersion }}",
"ConfigVersion": "{{ ConfigVersion }}",
"UpgradeKind": "{{ UpgradeKind }}",
"RollingUpgradeMode": "{{ RollingUpgradeMode }}",
"UpgradeReplicaSetCheckTimeoutInSeconds": {{ UpgradeReplicaSetCheckTimeoutInSeconds }},
"ForceRestart": {{ ForceRestart }},
"SortOrder": "{{ SortOrder }}",
"MonitoringPolicy": "{{ MonitoringPolicy }}",
"ClusterHealthPolicy": "{{ ClusterHealthPolicy }}",
"EnableDeltaHealthEvaluation": {{ EnableDeltaHealthEvaluation }},
"ClusterUpgradeHealthPolicy": "{{ ClusterUpgradeHealthPolicy }}",
"ApplicationHealthPolicyMap": "{{ ApplicationHealthPolicyMap }}",
"InstanceCloseDelayDurationInSeconds": {{ InstanceCloseDelayDurationInSeconds }}
}'
;