Cluster Versions - List

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.

GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/clusterVersions?api-version=2019-11-01-preview

URI Parameters

Name In Required Type Description
location
path True
  • string

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

subscriptionId
path True
  • string

The customer subscription identifier.

api-version
query True
  • string

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

Responses

Name Type Description
200 OK

The operation completed successfully.

Security

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

List cluster versions

Sample Request

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

Sample Response

{
  "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"
      }
    },
    {
      "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/environments/Linux/clusterVersions/6.1.187.1",
      "name": "6.1.187.1",
      "type": "Microsoft.ServiceFabric/locations/environments/clusterVersions",
      "properties": {
        "codeVersion": "6.1.187.1",
        "supportExpiryUtc": "2018-06-15T23:59:59.9999999",
        "environment": "Linux"
      }
    }
  ]
}

Definitions

ClusterCodeVersionsListResult

The list results of the Service Fabric runtime versions.

ClusterCodeVersionsResult

The result of the Service Fabric runtime versions

ClusterEnvironment

Cluster operating system, the default will be Windows

ClusterCodeVersionsListResult

The list results of the Service Fabric runtime versions.

Name Type Description
nextLink
  • string

The URL to use for getting the next set of results.

value

The result of the Service Fabric runtime versions

ClusterCodeVersionsResult

The result of the Service Fabric runtime versions

Name Type Description
id
  • string

The identification of the result

name
  • string

The name of the result

properties.codeVersion
  • string

The Service Fabric runtime version of the cluster.

properties.environment

Indicates if this version is for Windows or Linux operating system.

properties.supportExpiryUtc
  • string

The date of expiry of support of the version.

type
  • string

The result resource type

ClusterEnvironment

Cluster operating system, the default will be Windows

Name Type Description
Linux
  • string
Windows
  • string