Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ properties:
description:
type: string
description: A description of the server.
drivers:
description: A list of drivers supported by the server.
type:
- "array"
- "null"
items:
type: string
specs:
$ref: ProviderServerModelSpec.yml
provider:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,14 @@ title: ProviderServerModelProviderSpec
type: object
description: Higher level information about a providers server.
required:
- identifier
- vendor
- category
- model
- locations
properties:
vendor:
type: string
description: The infrastructure vendor for the provider.
identifier:
type: string
description: A provider identifier.
integration_id:
anyOf:
- $ref: "../../../ID.yml"
Expand All @@ -23,6 +20,14 @@ properties:
class:
type: string
description: A class for the server.
parent_model_id:
description: >-
Set when this model is a variant of another model. Variants share the
same server object as their parent and are excluded from the default
models list; fetch them by parent when a variant group is expanded.
anyOf:
- $ref: "../../../ID.yml"
- type: "null"
model:
type: string
description: The model of the server.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,9 @@ title: "ServerModelProvider"
type: object
description: "Identifies the provider details, including the category, class, model ID, parent model ID, available locations, availability zones, and stock for a server, plan, or model."
required:
- name
- category
- model_id
properties:
name:
type: string
description: The name of the server model.
category:
type: string
description: "The category of the server model."
Expand All @@ -24,7 +20,7 @@ properties:
type:
- "string"
- "null"
description: "The ID of the parent server model, if this model is derived from another."
description: "The ID of the parent server model, if this model is derived from another. Variants share the same server object as their parent and are excluded from the default models list; fetch them by parent when a variant group is expanded. Null for standalone and parent models."
locations:
type:
- "array"
Expand Down
Loading