Skip to main content

devops_adoption_enabled_namespaces

Gets or lists a devops_adoption_enabled_namespaces resource.

Overview​

Namedevops_adoption_enabled_namespaces
TypeResource
Idgitlab.analytics.devops_adoption_enabled_namespaces

Fields​

The following fields are returned by SELECT queries:

GraphQL response envelope

NameDatatypeDescription
idstringID of the enabled namespace.
namespaceobjectNamespace identity (id, full_path, name)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselecthostdisplay_namespace_idGet 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.

NameDatatypeDescription
hoststringGitLab 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_idstringFilter by display namespace.

SELECT examples​

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 }}'
;