Get nformation about Service Cluster codes

Gets information about a Service Fabric cluster code version available in the specified location.

Gets information about an available Service Fabric cluster code version.

Request

Method Request URI
GET /subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/clusterVersions/{clusterVersion}?api-version=2018-02-01

Parameters

Name Type Required Location
location string Yes Path
subscriptionId string Yes Path
clusterVersion string Yes Path
api-version string Yes Query

location

Type: string
Required: Yes

The location for the cluster code versions. This is different from cluster location.


subscriptionId

Type: string
Required: Yes

The customer subscription identifier.


clusterVersion

Type: string
Required: Yes

The cluster code version.


api-version

Type: string
Required: Yes
Default: 2018-02-01

The version of the Service Fabric resource provider API. This is a required parameter and it's value must be "2018-02-01" for this specification.

Responses

HTTP Status Code Description Response Schema
200 (OK) The operation completed successfully.
ClusterCodeVersionsListResult

Examples

Get cluster version

Request

GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/clusterVersions/6.1.480.9494?api-version=2018-02-01

200 Response

Body
{
  "value": [
    {
      "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/environments/Windows/clusterVersions/6.1.480.9494",
      "name": "6.1.480.9494",
      "type": "Microsoft.ServiceFabric/locations/environments/clusterVersions",
      "properties": {
        "codeVersion": "6.1.480.9494",
        "supportExpiryUtc": "2018-06-15T23:59:59.9999999",
        "environment": "Windows"
      }
    }
  ]
}