From aaef9a03291af1a7396fdd4f0d88b5a0b57704ae Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Fri, 20 Nov 2026 20:39:14 +0000 Subject: [PATCH] Regenerate client from commit 9c85765 of spec repo --- .generator/schemas/v1/openapi.yaml | 13 +++++++++---- src/datadog_api_client/v1/api/hosts_api.py | 13 +++++++++---- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 5157c5c491..6686beebfa 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -33542,15 +33542,20 @@ paths: A host must match every term. Prefix a term with `!` to exclude matching hosts. Term types: - - ``: Partial, case-insensitive match against host name, alias, AWS ID and name, tags, apps, and - agent metadata. Text of fewer than 3 characters only matches a field whose value is exactly that text. + - ``: Partial, case-insensitive match against hostname, alias, AWS ID, AWS name, tags, apps, and + Agent metadata. Text of fewer than 3 characters only matches only a field whose value is exactly that text. - `tag::`: Exact match on a tag, for example `tag:env:prod`. - `field:apps:`: Exact match on an app name, for example `field:apps:nginx`. - `field:metadata_agent_version:`, `field:metadata_machine:`, `field:metadata_platform:`, `field:metadata_processor:`: Exact match on that metadata field. - `exists:tag:` or `exists:field:`: Match hosts that have the tag key or a non-empty value for the field, for example `exists:tag:env` or `exists:field:metadata_platform`. - - `exact:`: Whole-value, case-sensitive match. + - `exact:`: Whole-value, case-sensitive match. The entire value of at least one of these fields + must equal ``: host name (`host_name`, `name`), `aliases`, `aws_id`, `aws_name`, `apps`, `tags`, + and the agent metadata fields (`agent_version`, `machine`, `platform`, `processor`). Use it instead of + plain text when you need a full name rather than a partial match, for example `exact:web-01` matches + `web-01` but not `web-010` or `web-01-canary`. If `` contains a colon, such as + `exact:env:prod`, it is matched against tags only. Boolean operators (`AND`, `OR`, `NOT`) and `*` wildcards are not supported. in: query @@ -33560,7 +33565,7 @@ paths: type: string - description: |- Sort hosts by this field. Options include `name`, `aws_id`, `aws_name`, `up`, `apps`, `cpu`, - `iowait`, and `load`. Unrecognized values default to `cpu`.. + `iowait`, and `load`. Unrecognized values default to `cpu`. in: query name: sort_field required: false diff --git a/src/datadog_api_client/v1/api/hosts_api.py b/src/datadog_api_client/v1/api/hosts_api.py index bcaebfb31c..69e23e1877 100644 --- a/src/datadog_api_client/v1/api/hosts_api.py +++ b/src/datadog_api_client/v1/api/hosts_api.py @@ -201,20 +201,25 @@ def list_hosts( Term types: - * ```` : Partial, case-insensitive match against host name, alias, AWS ID and name, tags, apps, and - agent metadata. Text of fewer than 3 characters only matches a field whose value is exactly that text. + * ```` : Partial, case-insensitive match against hostname, alias, AWS ID, AWS name, tags, apps, and + Agent metadata. Text of fewer than 3 characters only matches only a field whose value is exactly that text. * `tag::`: Exact match on a tag, for example `tag:env:prod`. * `field:apps:`: Exact match on an app name, for example `field:apps:nginx`. * ``field:metadata_agent_version:`` , ``field:metadata_machine:`` , ``field:metadata_platform:`` , ``field:metadata_processor:`` : Exact match on that metadata field. * ``exists:tag:`` or ``exists:field:`` : Match hosts that have the tag key or a non-empty value for the field, for example ``exists:tag:env`` or ``exists:field:metadata_platform``. - * ``exact:`` : Whole-value, case-sensitive match. + * ``exact:`` : Whole-value, case-sensitive match. The entire value of at least one of these fields + must equal ```` : host name ( ``host_name`` , ``name`` ), ``aliases`` , ``aws_id`` , ``aws_name`` , ``apps`` , ``tags`` , + and the agent metadata fields ( ``agent_version`` , ``machine`` , ``platform`` , ``processor`` ). Use it instead of + plain text when you need a full name rather than a partial match, for example ``exact:web-01`` matches + ``web-01`` but not ``web-010`` or ``web-01-canary``. If ```` contains a colon, such as + ``exact:env:prod`` , it is matched against tags only. Boolean operators ( ``AND`` , ``OR`` , ``NOT`` ) and ``*`` wildcards are not supported. :type filter: str, optional :param sort_field: Sort hosts by this field. Options include ``name`` , ``aws_id`` , ``aws_name`` , ``up`` , ``apps`` , ``cpu`` , - ``iowait`` , and ``load``. Unrecognized values default to ``cpu``.. + ``iowait`` , and ``load``. Unrecognized values default to ``cpu``. :type sort_field: str, optional :param sort_dir: Direction of sort. Options include ``asc`` and ``desc``. :type sort_dir: str, optional