Created
December 7, 2024 12:09
-
-
Save Avaray/9cd43c3ec5cedde117730afc14b32021 to your computer and use it in GitHub Desktop.
VASTAI TypeScript Machine Interface - created automatically with AI based on received objects
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export interface Machine { | |
| ask_contract_id: number; | |
| bundle_id: number; | |
| bundled_results: null | any; // Specify type if known | |
| bw_nvlink: number; | |
| compute_cap: number; | |
| cpu_arch: string; | |
| cpu_cores: number; | |
| cpu_cores_effective: number; | |
| cpu_ghz: number; | |
| cpu_name: string; | |
| cpu_ram: number; | |
| credit_discount_max: number; | |
| cuda_max_good: number; | |
| direct_port_count: number; | |
| discount_rate: number; | |
| discounted_dph_total: number; | |
| discounted_hourly: number; | |
| disk_bw: number; | |
| disk_name: string; | |
| disk_space: number; | |
| dlperf: number; | |
| dlperf_per_dphtotal: number; | |
| dph_base: number; | |
| dph_total: number; | |
| dph_total_adj: number; | |
| driver_vers?: any; // Specify type if known | |
| driver_version?: string; // Specify type if known | |
| duration: number; | |
| end_date: number; // Timestamp | |
| external?: any; // Specify type if known | |
| flops_per_dphtotal: number; | |
| geolocation: string; | |
| geolocode: number; | |
| gpu_arch: string; | |
| gpu_display_active: boolean; | |
| gpu_frac: number; | |
| gpu_ids: number[]; | |
| gpu_lanes: number; | |
| gpu_max_power: number; | |
| gpu_max_temp: number; | |
| gpu_mem_bw: number; | |
| gpu_name: string; | |
| gpu_ram: number; | |
| gpu_total_ram: number; | |
| has_avx?: boolean; // Optional if not always present | |
| host_id?: any; // Specify type based on context | |
| hosting_type?: any; // Specify type based on context | |
| hostname?: string | null; // Optional if not always present | |
| id?: any; // Specify type based on context | |
| inet_down?: any; // Specify type based on context | |
| inet_down_cost?: any; // Specify type based on context | |
| inet_up?: any; // Specify type based on context | |
| inet_up_cost?: any; // Specify type based on context | |
| instance?: { | |
| discountTotalHour: number; | |
| discountedTotalPerHour: number; | |
| diskHour: number; | |
| gpuCostPerHour: number; | |
| totalHour: number; | |
| }; | |
| internet_down_cost_per_tb?: any; // Optional if not always present | |
| internet_up_cost_per_tb?: any; // Optional if not always present | |
| is_bid?: boolean; | |
| logo?: string | null; // Optional if not always present | |
| machine_id?: any; // Specify type based on context | |
| min_bid?: any; // Specify type based on context | |
| mobo_name?: string | null; // Optional if not always present | |
| num_gpus?: any; // Specify type based on context | |
| os_version?: string | null; // Optional if not always present | |
| pci_gen?: any; // Specify type based on context | |
| pcie_bw?: any; // Specify type based on context | |
| public_ipaddr?: string | null; // Optional if not always present | |
| reliability?: any; // Specify type based on context | |
| reliability2?: any; // Specify type based on context | |
| reliability_mult?: any; // Specify type based on context | |
| rentable?: boolean; | |
| rented?: boolean; | |
| rn?: any; // Specify type based on context | |
| score?: any; // Specify type based on context | |
| search?: { | |
| discountTotalHour: number; | |
| discountedTotalPerHour: number; | |
| diskHour: number; | |
| gpuCostPerHour: number; | |
| totalHour: number; | |
| }; | |
| start_date?: number; // Timestamp | |
| static_ip?: boolean | null; | |
| storage_cost?: number; | |
| storage_total_cost?: number | null; // Optional if not always present | |
| time_remaining?: string | null; | |
| time_remaining_isbid?: string | null; | |
| total_flops?: number | null; | |
| vericode?: any | null; | |
| verification?: string | null; | |
| vms_enabled?: boolean; | |
| vram_costperhour?: number; | |
| webpage?: string | null; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment