-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Placement groups API documentation #932
Placement groups API documentation #932
Conversation
Release 4.176.0 (merge main into development)
Co-authored-by: Matthew Wildman <[email protected]>
openapi.yaml
Outdated
- list | ||
- ls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could this action become groups-list
and groups-ls
to align with the POST request?
openapi.yaml
Outdated
description: | | ||
View a specific placement group by ID. | ||
operationId: getPlacementGroup | ||
x-linode-cli-action: view |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could this action become group-view
to align with the POST request command?
openapi.yaml
Outdated
description: | | ||
Change the `label` for a specific placement group. This is the only value you can update. However, you can [add](#placement-group-add-linode) more compute instances or [remove](#placement-group-remove-linode) existing ones. | ||
operationId: updatePlacementGroup | ||
x-linode-cli-action: update |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could this action become group-update
to align with the POST request command?
openapi.yaml
Outdated
- delete | ||
- rm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could these actions become group-delete
and group-rm
to align with the POST request command?
openapi.yaml
Outdated
example: us-mia | ||
affinity_type: | ||
type: string | ||
x-linode-filterable: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it make sense to add an x-linode-cli-display: 1
here to make sure the affinity type is displayed by default in the CLI output?
a998495
to
26cb82c
Compare
Added
New endpoints in support of the Placement Groups service launch (Limited Availability):
Changed
Updated endpoints in support of the Placement Groups service launch (Limited Availability):
placement_group
object to show the placement group the Linode belongs to.placement_group
object to show the placement group the Linode belongs to.placement_group
parameter to include a new Linode in an existing placement group.placement_group
parameter to include the cloned Linode in an existing placement group.placement_group
parameter to include the migrated Linode in an existing placement group.Placement Group
in thecapabilities
array for accounts with access to the service.Fixed
Minor edits for formatting and compatibility.