Skip to main content

cluster_versions

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

Overview

Namecluster_versions
TypeResource
Idazure.service_fabric.cluster_versions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe identification of the result.
namestringThe name of the result.
codeVersionstringThe Service Fabric runtime version of the cluster.
environmentstringIndicates if this version is for Windows or Linux operating system. Known values are: "Windows" and "Linux". (Windows, Linux)
supportExpiryUtcstringThe date of expiry of support of the version.
typestringThe result resource type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_by_environmentselectlocation, environment, cluster_version, subscription_idGets information about a Service Fabric cluster code version available for the specified environment. Gets information about an available Service Fabric cluster code version by environment.
getselectlocation, cluster_version, subscription_idGets information about a Service Fabric cluster code version available in the specified location. Gets information about an available Service Fabric cluster code version.
list_by_environmentselectlocation, environment, subscription_idGets the list of Service Fabric cluster code versions available for the specified environment. Gets all available code versions for Service Fabric cluster resources by environment.
listselectlocation, subscription_idGets the list of Service Fabric cluster code versions available for the specified location. Gets all available code versions for Service Fabric cluster resources by location.

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
cluster_versionstringThe cluster code version. Required.
environmentstringThe operating system of the cluster. The default means all. Known values are: "Windows" and "Linux". Required.
locationstringThe location name. Required.
subscription_idstring

SELECT examples

Gets information about a Service Fabric cluster code version available for the specified environment. Gets information about an available Service Fabric cluster code version by environment.

SELECT
id,
name,
codeVersion,
environment,
supportExpiryUtc,
type
FROM azure.service_fabric.cluster_versions
WHERE location = '{{ location }}' -- required
AND environment = '{{ environment }}' -- required
AND cluster_version = '{{ cluster_version }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;