ClusterVersions interface

Interface representing a ClusterVersions.

Methods

get(string, string, ClusterVersionsGetOptionalParams)

Gets information about an available Service Fabric cluster code version.

getByEnvironment(string, string, string, ClusterVersionsGetByEnvironmentOptionalParams)

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

list(string, ClusterVersionsListOptionalParams)

Gets all available code versions for Service Fabric cluster resources by location.

listByEnvironment(string, string, ClusterVersionsListByEnvironmentOptionalParams)

Gets all available code versions for Service Fabric cluster resources by environment.

Method Details

get(string, string, ClusterVersionsGetOptionalParams)

Gets information about an available Service Fabric cluster code version.

function get(location: string, clusterVersion: string, options?: ClusterVersionsGetOptionalParams): Promise<ClusterCodeVersionsListResult>

Parameters

location

string

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

clusterVersion

string

The cluster code version.

options
ClusterVersionsGetOptionalParams

The options parameters.

Returns

getByEnvironment(string, string, string, ClusterVersionsGetByEnvironmentOptionalParams)

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

function getByEnvironment(location: string, environment: string, clusterVersion: string, options?: ClusterVersionsGetByEnvironmentOptionalParams): Promise<ClusterCodeVersionsListResult>

Parameters

location

string

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

environment

string

The operating system of the cluster. The default means all.

clusterVersion

string

The cluster code version.

options
ClusterVersionsGetByEnvironmentOptionalParams

The options parameters.

Returns

list(string, ClusterVersionsListOptionalParams)

Gets all available code versions for Service Fabric cluster resources by location.

function list(location: string, options?: ClusterVersionsListOptionalParams): Promise<ClusterCodeVersionsListResult>

Parameters

location

string

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

options
ClusterVersionsListOptionalParams

The options parameters.

Returns

listByEnvironment(string, string, ClusterVersionsListByEnvironmentOptionalParams)

Gets all available code versions for Service Fabric cluster resources by environment.

function listByEnvironment(location: string, environment: string, options?: ClusterVersionsListByEnvironmentOptionalParams): Promise<ClusterCodeVersionsListResult>

Parameters

location

string

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

environment

string

The operating system of the cluster. The default means all.

options
ClusterVersionsListByEnvironmentOptionalParams

The options parameters.

Returns