Instance Types
Get Instance Type
client.InstanceTypes.Get(ctx, region, name) (*InstanceType, error)
GET/v1/instance_types/{region}/{name}
List Instance Types
client.InstanceTypes.List(ctx, query) (*Cursor[InstanceType], error)
GET/v1/instance_types
ModelsExpand Collapse
type InstanceType struct{…}Instance type.
type InstanceType struct{…}
Instance type.
Available bool
Whether the region has room right now for a VM or NKS node of this Instance Type. Capacity changes as resources are created and deleted, so this is a hint: a create can still be refused for lack of resources.
Region RegionNameRegion the resource is in.
Region RegionName
Region the resource is in.
type InstanceTypeList struct{…}
type InstanceTypeList struct{…}
Items []InstanceType
Items []InstanceType
Available bool
Whether the region has room right now for a VM or NKS node of this Instance Type. Capacity changes as resources are created and deleted, so this is a hint: a create can still be refused for lack of resources.
Region RegionNameRegion the resource is in.
Region RegionName
Region the resource is in.
Pagination PaginationPagination response details.
Pagination Pagination
Pagination response details.