Skip to content

Commit

Permalink
sync: patch spec with 2023-12-13 spec
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 13, 2023
1 parent ab78089 commit 084182c
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
properties:
level:
type: string
available_servers: integer
type: object
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ properties:
type: string
name:
type: string
redundancy:
description: Updating from 'redundant' to 'primary' will remove a secondary port,
while updating from 'primary' to 'redundant' will add one.
type: string
tags:
items:
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ properties:
type: boolean
default: false
description: True if the Virtual Circuit is being billed. Currently, only Virtual Circuits of Fabric VCs (Metal Billed) will be billed. Usage will start the first time the Virtual Circuit becomes active, and will not stop until it is deleted from Metal.
bill_type:
type: string
nullable: true
description: Fabric Billed if the Virtual Circuit is billed by Fabric. Metal Billed if the Virtual Circuit is billed by Metal. Legacy Virtual Circuits will have a value of nil.
enum:
- metal_billed
- fabric_billed
description:
type: string
id:
Expand Down
6 changes: 6 additions & 0 deletions spec/services/metalv1/oas3.patched/paths/capacity/metros.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,24 @@ get:
am:
"c2.medium.x86":
level: "string"
available_servers: 25
"m2.xlarge.x86":
level: "string"
available_servers: 15
da:
"c2.medium.x86":
level: "string"
available_servers: 26
"m2.xlarge.x86":
level: "string"
available_servers: 11
dc:
"c2.medium.x86":
level: "string"
available_servers: 14
"m2.xlarge.x86":
level: "string"
available_servers: 10
description: ok
"401":
content:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ get:
name: has_termination_time
schema:
type: boolean
- description: Filter by MAC address
in: query
name: mac_address
schema:
type: string
- $ref: '../../../components/parameters/Include.yaml'
- $ref: '../../../components/parameters/Exclude.yaml'
- $ref: '../../../components/parameters/Page.yaml'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ get:
name: has_termination_time
schema:
type: boolean
- description: Filter by MAC address
in: query
name: mac_address
schema:
type: string
- $ref: '../../../components/parameters/Include.yaml'
- $ref: '../../../components/parameters/Exclude.yaml'
- $ref: '../../../components/parameters/Page.yaml'
Expand Down

0 comments on commit 084182c

Please sign in to comment.