cluster_versions
Creates, updates, deletes, gets or lists a cluster_versions resource.
Overview
| Name | cluster_versions |
| Type | Resource |
| Id | azure.service_fabric.cluster_versions |
Fields
The following fields are returned by SELECT queries:
- get_by_environment
- get
- list_by_environment
- list
| Name | Datatype | Description |
|---|---|---|
id | string | The identification of the result. |
name | string | The name of the result. |
codeVersion | string | The Service Fabric runtime version of the cluster. |
environment | string | Indicates if this version is for Windows or Linux operating system. Known values are: "Windows" and "Linux". (Windows, Linux) |
supportExpiryUtc | string | The date of expiry of support of the version. |
type | string | The result resource type. |
| Name | Datatype | Description |
|---|---|---|
id | string | The identification of the result. |
name | string | The name of the result. |
codeVersion | string | The Service Fabric runtime version of the cluster. |
environment | string | Indicates if this version is for Windows or Linux operating system. Known values are: "Windows" and "Linux". (Windows, Linux) |
supportExpiryUtc | string | The date of expiry of support of the version. |
type | string | The result resource type. |
| Name | Datatype | Description |
|---|---|---|
id | string | The identification of the result. |
name | string | The name of the result. |
codeVersion | string | The Service Fabric runtime version of the cluster. |
environment | string | Indicates if this version is for Windows or Linux operating system. Known values are: "Windows" and "Linux". (Windows, Linux) |
supportExpiryUtc | string | The date of expiry of support of the version. |
type | string | The result resource type. |
| Name | Datatype | Description |
|---|---|---|
id | string | The identification of the result. |
name | string | The name of the result. |
codeVersion | string | The Service Fabric runtime version of the cluster. |
environment | string | Indicates if this version is for Windows or Linux operating system. Known values are: "Windows" and "Linux". (Windows, Linux) |
supportExpiryUtc | string | The date of expiry of support of the version. |
type | string | The result resource type. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_by_environment | select | location, environment, cluster_version, subscription_id | 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. | |
get | select | location, cluster_version, subscription_id | Gets 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_environment | select | location, environment, subscription_id | Gets 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. | |
list | select | location, subscription_id | Gets 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.
| Name | Datatype | Description |
|---|---|---|
cluster_version | string | The cluster code version. Required. |
environment | string | The operating system of the cluster. The default means all. Known values are: "Windows" and "Linux". Required. |
location | string | The location name. Required. |
subscription_id | string |
SELECT examples
- get_by_environment
- get
- list_by_environment
- list
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
;
Gets information about a Service Fabric cluster code version available in the specified location. Gets information about an available Service Fabric cluster code version.
SELECT
id,
name,
codeVersion,
environment,
supportExpiryUtc,
type
FROM azure.service_fabric.cluster_versions
WHERE location = '{{ location }}' -- required
AND cluster_version = '{{ cluster_version }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Gets 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.
SELECT
id,
name,
codeVersion,
environment,
supportExpiryUtc,
type
FROM azure.service_fabric.cluster_versions
WHERE location = '{{ location }}' -- required
AND environment = '{{ environment }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Gets 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.
SELECT
id,
name,
codeVersion,
environment,
supportExpiryUtc,
type
FROM azure.service_fabric.cluster_versions
WHERE location = '{{ location }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;