devops_adoption_enabled_namespaces
Gets or lists a devops_adoption_enabled_namespaces resource.
Overview​
| Name | devops_adoption_enabled_namespaces |
| Type | Resource |
| Id | gitlab.analytics.devops_adoption_enabled_namespaces |
Fields​
The following fields are returned by SELECT queries:
- list
GraphQL response envelope
| Name | Datatype | Description |
|---|---|---|
id | string | ID of the enabled namespace. |
namespace | object | Namespace identity (id, full_path, name) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | host | display_namespace_id | Get configured DevOps adoption namespaces. Status: Beta. This endpoint is subject to change without notice. Generated from the GitLab GraphQL schema field Query.devopsAdoptionEnabledNamespaces (connection of DevopsAdoptionEnabledNamespace nodes). |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
host | string | GitLab host, with an optional port (default gitlab.com). Resolved from the GITLAB_HOST environment variable when it is set (x-stackQL-envVar); a WHERE host value always takes precedence. Self-managed instances: the provider is generated from the gitlab.com schema, so older instances may reject fields they do not serve. (default: gitlab.com, x-stackQL-envVar: GITLAB_HOST) |
display_namespace_id | string | Filter by display namespace. |
SELECT examples​
- list
Get configured DevOps adoption namespaces. Status: Beta. This endpoint is subject to change without notice. Generated from the GitLab GraphQL schema field Query.devopsAdoptionEnabledNamespaces (connection of DevopsAdoptionEnabledNamespace nodes).
SELECT
id,
namespace
FROM gitlab.analytics.devops_adoption_enabled_namespaces
WHERE host = '{{ host }}' -- required (defaults to gitlab.com; or set GITLAB_HOST)
AND display_namespace_id = '{{ display_namespace_id }}'
;