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:

The operation completed successfully.

NameDatatypeDescription
idstringThe identification of the result
namestringThe name of the result
propertiesobjectThe detail of the Service Fabric runtime version result
typestringThe result resource type

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_by_environmentselectlocation, environment, subscriptionId, clusterVersionapi-versionGets information about an available Service Fabric cluster code version by environment.
getselectlocation, subscriptionId, clusterVersionapi-versionGets information about an available Service Fabric cluster code version.
list_by_environmentselectlocation, environment, subscriptionIdapi-versionGets all available code versions for Service Fabric cluster resources by environment.
listselectlocation, subscriptionIdapi-versionGets 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
clusterVersionstringThe cluster code version.
environmentstringThe operating system of the cluster. The default means all.
locationstringThe location for the cluster code versions. This is different from cluster location.
subscriptionIdstringThe customer subscription identifier.
api-versionstringThe version of the Service Fabric resource provider API. This is a required parameter and it's value must be "2021-06-01" for this specification.

SELECT examples

Gets information about an available Service Fabric cluster code version by environment.

SELECT
id,
name,
properties,
type
FROM azure.service_fabric.cluster_versions
WHERE location = '{{ location }}' -- required
AND environment = '{{ environment }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND clusterVersion = '{{ clusterVersion }}' -- required
AND api-version = '{{ api-version }}'
;