cluster_versions
Creates, updates, deletes, gets or lists a cluster_versions resource.
Overview
| Name | cluster_versions |
| Type | Resource |
| Id | azure.service_fabric_dataplane.cluster_versions |
Fields
The following fields are returned by SELECT queries:
- get_cluster_version
| Name | Datatype | Description |
|---|---|---|
Version | string |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_cluster_version | select | endpoint | timeout | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
endpoint | string | The service endpoint host (no scheme). (default: ) |
timeout | integer (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_cluster_version
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 }}'
;