/** * The VendorManagementCredential model module. * @module Ntnx/VendorManagementCredential * @version 4.3.1 * @class VendorManagementCredential * @param { IntersightCredential | VcenterCredential } credentialSpec Credentials to be provided by the user for LCM operations that require authentication with external systems such as vCenter or Intersight. * */ export default class VendorManagementCredential { /** * Constructs a VendorManagementCredential from a plain JavaScript object, optionally creating a new instance. * Copies all relevant properties from data to obj if supplied or a new instance if not. * @param {Object} data The plain JavaScript object bearing properties of interest. * @param {module:Ntnx/VendorManagementCredential} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/VendorManagementCredential} The populated VendorManagementCredential instance. */ static constructFromObject(data: any, obj?: any, callFromChild?: boolean): any; /** * Converts a given snake_case string to camelCase. * @param {string} snakeStr - The input string in snake_case format. * @returns {string} - The converted string in camelCase format. */ static snakeToCamel(snakeStr: string): string; /** * Constructs a new VendorManagementCredential. * Credentials for third-party vendor management platforms (e.g. vCenter, Intersight, UCS) required during inventory to discover firmware entities managed by those platforms. * @alias module:Ntnx/VendorManagementCredential * @param { IntersightCredential | VcenterCredential } credentialSpec Credentials to be provided by the user for LCM operations that require authentication with external systems such as vCenter or Intersight. * */ constructor(credentialSpec: IntersightCredential | VcenterCredential); credentialSpec: IntersightCredential | VcenterCredential; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * Returns Credentials to be provided by the user for LCM operations that require authentication with external systems such as vCenter or Intersight. * @return {IntersightCredential | VcenterCredential} */ getCredentialSpec(): IntersightCredential | VcenterCredential; /** * Sets Credentials to be provided by the user for LCM operations that require authentication with external systems such as vCenter or Intersight. * @param {IntersightCredential | VcenterCredential} credentialSpec Credentials to be provided by the user for LCM operations that require authentication with external systems such as vCenter or Intersight. */ setCredentialSpec(credentialSpec: IntersightCredential | VcenterCredential): void; get$Reserved(): any; get$ObjectType(): string; get$UnknownFields(): any; toJson(forMutation: any): any; validate(scope: any, properties: any, ...args: any[]): Promise; validateProperty(scope: any, property: any): ValidationError; #private; } import IntersightCredential from "../../../security/v4/config/IntersightCredential"; import VcenterCredential from "../../../security/v4/config/VcenterCredential"; import ValidationError from "../../../validation/ValidationError";