Interface ContainersApiListContainersRequest

Hierarchy

  • ContainersApiListContainersRequest

Properties

filterTags?: string

Comma-separated key:value tags. A container must match every tag. Each tag starts with a letter and contains only letters, digits, _, -, ., /, @, and :. Values match exactly and are case-sensitive (tags are usually lowercase). In a value, * matches any run of characters, including none. It can appear anywhere in the value and more than once, and it can't be escaped. For example, env:prod* matches env:prod and env:prod-eu, kube_namespace:*-web matches kube_namespace:shop-web, and container_id:a4cf* matches containers whose ID starts with a4cf. These return 400 Bad Request, with the reason in errors[0].detail: a * in a key or in a tag without : (kube_*:prod, *:prod, prod*), a ?, a leading - (negation), spaces (so OR and IN (...) can't be used), an empty value (env:), and more than 1024 characters in total. To match unrelated values of one key, make one request per value.

groupBy?: string

Comma-separated list of up to three tag keys to group containers by. Returns container_group objects with counts and tags. Grouped results ignore sort and do not support pagination. Containers with multiple values for a grouping tag can appear in multiple groups. Summing group counts can overcount distinct containers.

pageCursor?: string

String to query the next page of results. This key is provided with each valid response from the API in meta.pagination.next_cursor.

pageSize?: number

Maximum number of results returned. For grouped results, defaults to 100 with a maximum of 1000 groups.

sort?: string

Attribute to sort individual containers by: name, created_at, started_at, state, container_id, host, image_name, or image_digest. Defaults to started_at in ascending order. Prefix the attribute with - for descending order, such as -started_at. Ignored when group_by is specified.

Generated using TypeDoc