/** * Status service. * @version 4.3.1 * @class StatusApi */ export class StatusApi { /** * Make the default {@link ApiClient} class available for developers to be able to extend it and bring * their own fetch methods into the SDK */ static get ApiClient(): typeof ApiClient; /** * Constructs a new StatusApi. * @alias module:api/StatusApi * @class * @param {module:ApiClient} [apiClient] Optional API client implementation to use, * default to {@link module:ApiClient#instance} if unspecified. */ constructor(apiClient?: any); apiClient: any; /** * Retrieve the current LCM framework status for a cluster. * Retrieve the current operational status of the LCM framework on a cluster. The response includes the installed framework version, whether a framework update is available, any in-progress operation (inventory, prechecks, upgrade, or upload) with its task identifier, the cancel-intent flag, URL accessibility, connectivity type (connected-site or dark-site), and restricted-mode information. Always check this endpoint before starting a new operation (POST /$actions/inventory, POST /$actions/prechecks, or POST /$actions/upgrade) to confirm no conflicting operation is already running. When operating from Prism Central, supply the X-Cluster-Id header to target a specific Prism Element cluster; if omitted, the operation targets the Prism Central cluster itself. * @param {Object} opts Optional parameters defined for the operation * @param { String } opts.xClusterId The cluster UUID on which the resource is present or the operation is being performed. * @param {Object} args Additional Arguments * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link GetStatusApiResponse } and HTTP response */ getStatus(opts: { xClusterId: string; }, ...args: any): Promise; #private; } import GetStatusApiResponse from "../models/lifecycle/v4/resources/GetStatusApiResponse"; import { ApiClient } from "../ApiClient";