ClusterVersions interface
Interface representing a ClusterVersions.
Methods
get(string, string, Cluster |
Gets information about an available Service Fabric cluster code version. |
get |
Gets information about an available Service Fabric cluster code version by environment. |
list(string, Cluster |
Gets all available code versions for Service Fabric cluster resources by location. |
list |
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
Promise<ClusterCodeVersionsListResult>
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.
The options parameters.
Returns
Promise<ClusterCodeVersionsListResult>
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.
The options parameters.
Returns
Promise<ClusterCodeVersionsListResult>
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.
The options parameters.
Returns
Promise<ClusterCodeVersionsListResult>