8.0 KiB
ComputeGpuView
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Id | Pointer to string | ID is the card's address: its host machine's id, "#", and the card's ordinal within that machine ("gpu-1#0"). Stable for as long as the machine is, and the only id a single accelerator has — providers do not name cards. | [optional] |
| Location | Pointer to string | Location is where the card physically sits, which for every source today is the same value Region carries — the console renders it in its own column. | [optional] |
| Machine | Pointer to string | Machine is the id of the machine holding this card, addressable as-is on /v1/compute/machines/:id. | [optional] |
| Memory | Pointer to string | Memory is the card's VRAM as its own tooling reported it ("122880 MiB") — a display string in the reporter's units, not a byte count. BYO cards carry it (nvidia-smi); Visor's machine object states no VRAM, so a rented card leaves it empty and the console renders "—" rather than a fabricated 0. | [optional] |
| Model | Pointer to string | Model is the accelerator: the model token read out of the size slug for a Visor GPU droplet ("H100", "MI300X"), or the name nvidia-smi reported for a BYO card ("NVIDIA GB10"). | [optional] |
| Name | Pointer to string | Name is the HOST MACHINE's display name, not the card's — every card in a gpu-h100x8 node repeats it. Model is what says which accelerator this is. | [optional] |
| Provider | Pointer to string | Provider distinguishes a BYO accelerator ("byo") from a Visor-provisioned one (the host machine's real provider). It is what tells a card the org owns from a card the org rents. | [optional] |
| Region | Pointer to string | Region is the host machine's provider region slug; "on-prem" for a BYO card. | [optional] |
| Status | Pointer to string | Status is the HOST MACHINE's lifecycle state, because nothing upstream reports a card's own health. A card reads running because its machine does. | [optional] |
Methods
NewComputeGpuView
func NewComputeGpuView() *ComputeGpuView
NewComputeGpuView instantiates a new ComputeGpuView object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
NewComputeGpuViewWithDefaults
func NewComputeGpuViewWithDefaults() *ComputeGpuView
NewComputeGpuViewWithDefaults instantiates a new ComputeGpuView object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
GetId
func (o *ComputeGpuView) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
GetIdOk
func (o *ComputeGpuView) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetId
func (o *ComputeGpuView) SetId(v string)
SetId sets Id field to given value.
HasId
func (o *ComputeGpuView) HasId() bool
HasId returns a boolean if a field has been set.
GetLocation
func (o *ComputeGpuView) GetLocation() string
GetLocation returns the Location field if non-nil, zero value otherwise.
GetLocationOk
func (o *ComputeGpuView) GetLocationOk() (*string, bool)
GetLocationOk returns a tuple with the Location field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetLocation
func (o *ComputeGpuView) SetLocation(v string)
SetLocation sets Location field to given value.
HasLocation
func (o *ComputeGpuView) HasLocation() bool
HasLocation returns a boolean if a field has been set.
GetMachine
func (o *ComputeGpuView) GetMachine() string
GetMachine returns the Machine field if non-nil, zero value otherwise.
GetMachineOk
func (o *ComputeGpuView) GetMachineOk() (*string, bool)
GetMachineOk returns a tuple with the Machine field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMachine
func (o *ComputeGpuView) SetMachine(v string)
SetMachine sets Machine field to given value.
HasMachine
func (o *ComputeGpuView) HasMachine() bool
HasMachine returns a boolean if a field has been set.
GetMemory
func (o *ComputeGpuView) GetMemory() string
GetMemory returns the Memory field if non-nil, zero value otherwise.
GetMemoryOk
func (o *ComputeGpuView) GetMemoryOk() (*string, bool)
GetMemoryOk returns a tuple with the Memory field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMemory
func (o *ComputeGpuView) SetMemory(v string)
SetMemory sets Memory field to given value.
HasMemory
func (o *ComputeGpuView) HasMemory() bool
HasMemory returns a boolean if a field has been set.
GetModel
func (o *ComputeGpuView) GetModel() string
GetModel returns the Model field if non-nil, zero value otherwise.
GetModelOk
func (o *ComputeGpuView) GetModelOk() (*string, bool)
GetModelOk returns a tuple with the Model field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetModel
func (o *ComputeGpuView) SetModel(v string)
SetModel sets Model field to given value.
HasModel
func (o *ComputeGpuView) HasModel() bool
HasModel returns a boolean if a field has been set.
GetName
func (o *ComputeGpuView) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
GetNameOk
func (o *ComputeGpuView) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetName
func (o *ComputeGpuView) SetName(v string)
SetName sets Name field to given value.
HasName
func (o *ComputeGpuView) HasName() bool
HasName returns a boolean if a field has been set.
GetProvider
func (o *ComputeGpuView) GetProvider() string
GetProvider returns the Provider field if non-nil, zero value otherwise.
GetProviderOk
func (o *ComputeGpuView) GetProviderOk() (*string, bool)
GetProviderOk returns a tuple with the Provider field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetProvider
func (o *ComputeGpuView) SetProvider(v string)
SetProvider sets Provider field to given value.
HasProvider
func (o *ComputeGpuView) HasProvider() bool
HasProvider returns a boolean if a field has been set.
GetRegion
func (o *ComputeGpuView) GetRegion() string
GetRegion returns the Region field if non-nil, zero value otherwise.
GetRegionOk
func (o *ComputeGpuView) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRegion
func (o *ComputeGpuView) SetRegion(v string)
SetRegion sets Region field to given value.
HasRegion
func (o *ComputeGpuView) HasRegion() bool
HasRegion returns a boolean if a field has been set.
GetStatus
func (o *ComputeGpuView) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
GetStatusOk
func (o *ComputeGpuView) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetStatus
func (o *ComputeGpuView) SetStatus(v string)
SetStatus sets Status field to given value.
HasStatus
func (o *ComputeGpuView) HasStatus() bool
HasStatus returns a boolean if a field has been set.