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
The operation completed successfully.
Name | Datatype | Description |
---|---|---|
id | string | The identification of the result |
name | string | The name of the result |
properties | object | The detail of the Service Fabric runtime version result |
type | string | The result resource type |
The operation completed successfully.
Name | Datatype | Description |
---|---|---|
id | string | The identification of the result |
name | string | The name of the result |
properties | object | The detail of the Service Fabric runtime version result |
type | string | The result resource type |
The operation completed successfully.
Name | Datatype | Description |
---|---|---|
id | string | The identification of the result |
name | string | The name of the result |
properties | object | The detail of the Service Fabric runtime version result |
type | string | The result resource type |
The operation completed successfully.
Name | Datatype | Description |
---|---|---|
id | string | The identification of the result |
name | string | The name of the result |
properties | object | The detail of the Service Fabric runtime version result |
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 , subscriptionId , clusterVersion | api-version | Gets information about an available Service Fabric cluster code version by environment. |
get | select | location , subscriptionId , clusterVersion | api-version | Gets information about an available Service Fabric cluster code version. |
list_by_environment | select | location , environment , subscriptionId | api-version | Gets all available code versions for Service Fabric cluster resources by environment. |
list | select | location , subscriptionId | api-version | 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 |
---|---|---|
clusterVersion | string | The cluster code version. |
environment | string | The operating system of the cluster. The default means all. |
location | string | The location for the cluster code versions. This is different from cluster location. |
subscriptionId | string | The customer subscription identifier. |
api-version | string | The 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
- get_by_environment
- get
- list_by_environment
- list
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 }}'
;
Gets information about an available Service Fabric cluster code version.
SELECT
id,
name,
properties,
type
FROM azure.service_fabric.cluster_versions
WHERE location = '{{ location }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND clusterVersion = '{{ clusterVersion }}' -- required
AND api-version = '{{ api-version }}'
;
Gets all available code versions for Service Fabric cluster resources 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 api-version = '{{ api-version }}'
;
Gets all available code versions for Service Fabric cluster resources by location.
SELECT
id,
name,
properties,
type
FROM azure.service_fabric.cluster_versions
WHERE location = '{{ location }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND api-version = '{{ api-version }}'
;