/** * Assisted Migration Agent API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { Datastore } from './Datastore.js'; import type { Network } from './Network.js'; import type { Host } from './Host.js'; /** * * @export * @interface Infra */ export interface Infra { /** * * @type {number} * @memberof Infra */ totalHosts: number; /** * * @type {number} * @memberof Infra */ totalDatacenters?: number; /** * * @type {number} * @memberof Infra * @deprecated */ totalClusters?: number; /** * * @type {Array} * @memberof Infra */ clustersPerDatacenter?: Array; /** * CPU Overcommitment Ratio. Calculated as total Allocated vCPUs / Total Physical Cores * @type {number} * @memberof Infra */ cpuOverCommitment?: number; /** * RAM memory Overcommitment Ratio. Calculated as total Allocated memory / Total memory available * @type {number} * @memberof Infra */ memoryOverCommitment?: number; /** * * @type {Array} * @memberof Infra */ hosts?: Array; /** * * @type {Array} * @memberof Infra * @deprecated */ hostsPerCluster?: Array; /** * * @type {Array} * @memberof Infra * @deprecated */ vmsPerCluster?: Array; /** * * @type {{ [key: string]: number; }} * @memberof Infra */ hostPowerStates: { [key: string]: number; }; /** * * @type {Array} * @memberof Infra */ networks: Array; /** * * @type {Array} * @memberof Infra */ datastores: Array; } /** * Check if a given object implements the Infra interface. */ export declare function instanceOfInfra(value: object): value is Infra; export declare function InfraFromJSON(json: any): Infra; export declare function InfraFromJSONTyped(json: any, ignoreDiscriminator: boolean): Infra; export declare function InfraToJSON(json: any): Infra; export declare function InfraToJSONTyped(value?: Infra | null, ignoreDiscriminator?: boolean): any;