instance_affinity_group_list

List affinity groups containing instance
get/v1/instances/{instance}/affinity-groups

Path Parameters

instance

Name or ID of the instance

Query Parameters

limit

Maximum number of items returned by a single call

page_token

Token returned by previous call to retrieve the subsequent page

project

Name or ID of the project

sort_by

Supported set of sort modes for scanning by name or id

Responses

Object
items

list of items on this page of results

View of an Affinity Group

Object
description

human-readable free-form text about a resource

failure_domain

Describes the scope of affinity for the purposes of co-location.

id

unique, immutable, system-controlled identifier for each resource

name

unique, mutable, user-controlled identifier for each resource

Names must begin with a lower case ASCII letter, be composed exclusively of lowercase ASCII, uppercase ASCII, numbers, and '-', and may not end with a '-'. Names cannot be a UUID, but they may contain a UUID. They can be at most 63 characters long.

policy

Affinity policy used to describe "what to do when a request cannot be satisfied"

Used for both Affinity and Anti-Affinity Groups

project_id
time_created

timestamp when this resource was created

time_modified

timestamp when this resource was last modified

next_page

token used to fetch the next page of results (if any)