/** * The Config model module. * @module Ntnx/Config * @version 4.3.1 * @class Config * @extends ExternalizableAbstractModel */ export default class Config extends ExternalizableAbstractModel { /** * Returns The URL of the LCM repository from which update metadata and images are fetched. For connected-site deployments, this is typically the Nutanix portal URL. For dark-site deployments, this points to a local web server hosting the LCM artifacts. * @return {string} */ getUrl(): string; /** * Sets The URL of the LCM repository from which update metadata and images are fetched. For connected-site deployments, this is typically the Nutanix portal URL. For dark-site deployments, this points to a local web server hosting the LCM artifacts. * @param {string} url The URL of the LCM repository from which update metadata and images are fetched. For connected-site deployments, this is typically the Nutanix portal URL. For dark-site deployments, this points to a local web server hosting the LCM artifacts. */ setUrl(url: string): void; url: string; /** * Returns Controls whether LCM automatically runs a periodic inventory operation. When set to true, LCM will execute inventory at the time specified by autoInventorySchedule. The default value is false. * @return {boolean} */ getIsAutoInventoryEnabled(): boolean; /** * Sets Controls whether LCM automatically runs a periodic inventory operation. When set to true, LCM will execute inventory at the time specified by autoInventorySchedule. The default value is false. * @param {boolean} isAutoInventoryEnabled Controls whether LCM automatically runs a periodic inventory operation. When set to true, LCM will execute inventory at the time specified by autoInventorySchedule. The default value is false. */ setIsAutoInventoryEnabled(isAutoInventoryEnabled: boolean): void; isAutoInventoryEnabled: boolean; /** * Returns The scheduled time for automatic inventory execution in 24-hour \"%H:%M\" format (e.g. \"03:00\" for 3:00 AM). This field is only relevant when isAutoInventoryEnabled is set to true. The default schedule is 03:00. * @return {string} */ getAutoInventorySchedule(): string; /** * Sets The scheduled time for automatic inventory execution in 24-hour \"%H:%M\" format (e.g. \"03:00\" for 3:00 AM). This field is only relevant when isAutoInventoryEnabled is set to true. The default schedule is 03:00. * @param {string} autoInventorySchedule The scheduled time for automatic inventory execution in 24-hour \"%H:%M\" format (e.g. \"03:00\" for 3:00 AM). This field is only relevant when isAutoInventoryEnabled is set to true. The default schedule is 03:00. */ setAutoInventorySchedule(autoInventorySchedule: string): void; autoInventorySchedule: string; /** * Returns The full build version string of the LCM framework installed on the cluster (e.g. \"3.1.45678\"). This is a read-only field. * @return {string} */ getVersion(): string; /** * Sets The full build version string of the LCM framework installed on the cluster (e.g. \"3.1.45678\"). This is a read-only field. * @param {string} version The full build version string of the LCM framework installed on the cluster (e.g. \"3.1.45678\"). This is a read-only field. */ setVersion(version: string): void; version: string; /** * Returns A user-friendly display version of the LCM framework (e.g. \"3.1\"), suitable for presentation in dashboards and reports. This is a read-only field. * @return {string} */ getDisplayVersion(): string; /** * Sets A user-friendly display version of the LCM framework (e.g. \"3.1\"), suitable for presentation in dashboards and reports. This is a read-only field. * @param {string} displayVersion A user-friendly display version of the LCM framework (e.g. \"3.1\"), suitable for presentation in dashboards and reports. This is a read-only field. */ setDisplayVersion(displayVersion: string): void; displayVersion: string; /** * @return {ConnectivityType} */ getConnectivityType(): ConnectivityType; /** * @param {ConnectivityType} connectivityType */ setConnectivityType(connectivityType: ConnectivityType): void; connectivityType: string; /** * Returns Controls whether HTTPS is enforced for communication with the LCM repository URL. The default value is true. Set to false only if the repository does not support HTTPS. * @return {boolean} */ getIsHttpsEnabled(): boolean; /** * Sets Controls whether HTTPS is enforced for communication with the LCM repository URL. The default value is true. Set to false only if the repository does not support HTTPS. * @param {boolean} isHttpsEnabled Controls whether HTTPS is enforced for communication with the LCM repository URL. The default value is true. Set to false only if the repository does not support HTTPS. */ setIsHttpsEnabled(isHttpsEnabled: boolean): void; isHttpsEnabled: boolean; /** * Returns Read-only list of software entity names for which One-Click upgrades are supported on this cluster. * @return {string[]} */ getSupportedSoftwareEntities(): string[]; /** * Sets Read-only list of software entity names for which One-Click upgrades are supported on this cluster. * @param {string[]} supportedSoftwareEntities Read-only list of software entity names for which One-Click upgrades are supported on this cluster. */ setSupportedSoftwareEntities(supportedSoftwareEntities: string[]): void; supportedSoftwareEntities: string[]; /** * Returns Read-only list of software entity names for which One-Click upgrades are no longer available on this cluster. * @return {string[]} */ getDeprecatedSoftwareEntities(): string[]; /** * Sets Read-only list of software entity names for which One-Click upgrades are no longer available on this cluster. * @param {string[]} deprecatedSoftwareEntities Read-only list of software entity names for which One-Click upgrades are no longer available on this cluster. */ setDeprecatedSoftwareEntities(deprecatedSoftwareEntities: string[]): void; deprecatedSoftwareEntities: string[]; /** * Returns Indicates whether an LCM framework bundle has been uploaded to the cluster. This is a read-only field relevant for dark-site deployments. * @return {boolean} */ getIsFrameworkBundleUploaded(): boolean; /** * Sets Indicates whether an LCM framework bundle has been uploaded to the cluster. This is a read-only field relevant for dark-site deployments. * @param {boolean} isFrameworkBundleUploaded Indicates whether an LCM framework bundle has been uploaded to the cluster. This is a read-only field relevant for dark-site deployments. */ setIsFrameworkBundleUploaded(isFrameworkBundleUploaded: boolean): void; isFrameworkBundleUploaded: boolean; /** * Returns Controls whether LCM is allowed to automatically upgrade products when updates are available. The default value is false. * @return {boolean} */ getHasModuleAutoUpgradeEnabled(): boolean; /** * Sets Controls whether LCM is allowed to automatically upgrade products when updates are available. The default value is false. * @param {boolean} hasModuleAutoUpgradeEnabled Controls whether LCM is allowed to automatically upgrade products when updates are available. The default value is false. */ setHasModuleAutoUpgradeEnabled(hasModuleAutoUpgradeEnabled: boolean): void; hasModuleAutoUpgradeEnabled: boolean; #private; } import ExternalizableAbstractModel from "../../../common/v1/response/ExternalizableAbstractModel"; import ConnectivityType from "./ConnectivityType";