Skip to main content

cluster_versions

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

Overview

Namecluster_versions
TypeResource
Idazure.service_fabric_dataplane.cluster_versions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
Versionstring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_cluster_versionselectendpointtimeoutGet the current Service Fabric cluster version. If a cluster upgrade is happening, then this API will return the lowest (older) version of the current and target cluster runtime versions.

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

Get the current Service Fabric cluster version. If a cluster upgrade is happening, then this API will return the lowest (older) version of the current and target cluster runtime versions.

SELECT
Version
FROM azure.service_fabric_dataplane.cluster_versions
WHERE endpoint = '{{ endpoint }}' -- required
AND timeout = '{{ timeout }}'
;