-
Notifications
You must be signed in to change notification settings - Fork 319
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9c3cf57
commit 3a945b3
Showing
17 changed files
with
475 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "gitlab_group_provisioned_users Data Source - terraform-provider-gitlab" | ||
subcategory: "" | ||
description: |- | ||
The gitlab_group_provisioned_users data source allows details of the provisioned users of a given group. | ||
Upstream API: GitLab REST API docs https://docs.gitlab.com/ee/api/groups.html#list-provisioned-users | ||
--- | ||
|
||
# gitlab_group_provisioned_users (Data Source) | ||
|
||
The `gitlab_group_provisioned_users` data source allows details of the provisioned users of a given group. | ||
|
||
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/groups.html#list-provisioned-users) | ||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `id` (String) The ID or URL-encoded path of the group. | ||
|
||
### Optional | ||
|
||
- `active` (Boolean) Return only active provisioned users. | ||
- `blocked` (Boolean) Return only blocked provisioned users. | ||
- `created_after` (String) Return only provisioned users created on or after the specified date. Expected in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ). | ||
- `created_before` (String) Return only provisioned users created on or before the specified date. Expected in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ). | ||
- `search` (String) The search query to filter the provisioned users. | ||
- `username` (String) The username of the provisioned user. | ||
|
||
### Read-Only | ||
|
||
- `provisioned_users` (Block List) The list of provisioned users. (see [below for nested schema](#nestedblock--provisioned_users)) | ||
|
||
<a id="nestedblock--provisioned_users"></a> | ||
### Nested Schema for `provisioned_users` | ||
|
||
Read-Only: | ||
|
||
- `avatar_url` (String) The avatar URL of the provisioned user. | ||
- `bio` (String) The bio of the provisioned user. | ||
- `bot` (Boolean) Whether the provisioned user is a bot. | ||
- `confirmed_at` (String) The confirmation date of the provisioned user. | ||
- `created_at` (String) The creation date of the provisioned user. | ||
- `email` (String) The email of the provisioned user. | ||
- `external` (Boolean) Whether the provisioned user is external. | ||
- `id` (String) The ID of the provisioned user. | ||
- `job_title` (String) The job title of the provisioned user. | ||
- `last_activity_on` (String) The last activity date of the provisioned user. | ||
- `last_sign_in_at` (String) The last sign-in date of the provisioned user. | ||
- `linkedin` (String) The LinkedIn ID of the provisioned user. | ||
- `location` (String) The location of the provisioned user. | ||
- `name` (String) The name of the provisioned user. | ||
- `organization` (String) The organization of the provisioned user. | ||
- `private_profile` (Boolean) Whether the provisioned user has a private profile. | ||
- `pronouns` (String) The pronouns of the provisioned user. | ||
- `public_email` (String) The public email of the provisioned user. | ||
- `skype` (String) The Skype ID of the provisioned user. | ||
- `state` (String) The state of the provisioned user. | ||
- `twitter` (String) The Twitter ID of the provisioned user. | ||
- `two_factor_enabled` (Boolean) Whether two-factor authentication is enabled for the provisioned user. | ||
- `username` (String) The username of the provisioned user. | ||
- `web_url` (String) The web URL of the provisioned user. | ||
- `website_url` (String) The website URL of the provisioned user. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "gitlab_group_service_account Data Source - terraform-provider-gitlab" | ||
subcategory: "" | ||
description: |- | ||
The gitlab_group_service_account data source retrieves information about a gitlab service account for a group. | ||
Upstream API: GitLab REST API docs https://docs.gitlab.com/ee/api/group_service_accounts.html#list-service-account-users | ||
--- | ||
|
||
# gitlab_group_service_account (Data Source) | ||
|
||
The `gitlab_group_service_account` data source retrieves information about a gitlab service account for a group. | ||
|
||
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/group_service_accounts.html#list-service-account-users) | ||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `group` (String) The ID or URL-encoded path of the target group. Must be a top-level group. | ||
- `service_account_id` (String) The service account id. | ||
|
||
### Optional | ||
|
||
- `name` (String) The name of the user. If not specified, the default Service account user name is used. | ||
- `username` (String) The username of the user. If not specified, it's automatically generated. | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The ID of this Terraform resource. In the format of `<group>:<service_account_id>`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "gitlab_project_merge_request Data Source - terraform-provider-gitlab" | ||
subcategory: "" | ||
description: |- | ||
The gitlab_project_merge_request data source retrieves | ||
information about a single merge request related to a specific project. | ||
Upstream API: GitLab REST API docs https://docs.gitlab.com/ee/api/merge_requests.html#get-single-mr | ||
--- | ||
|
||
# gitlab_project_merge_request (Data Source) | ||
|
||
The `gitlab_project_merge_request` data source retrieves | ||
information about a single merge request related to a specific project. | ||
|
||
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/merge_requests.html#get-single-mr) | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "gitlab_project_merge_request" "by_project_id" { | ||
project = "123" | ||
iid = 456 | ||
} | ||
data "gitlab_project_merge_request" "by_project_name" { | ||
project = "company/group/project1" | ||
iid = 3 | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `iid` (Number) The unique project level ID of the merge request. | ||
- `project` (String) The ID or path of the project. | ||
|
||
### Read-Only | ||
|
||
- `assignee` (Attributes) First assignee of the merge request. (see [below for nested schema](#nestedatt--assignee)) | ||
- `assignees` (Attributes List) Assignees of the merge request. (see [below for nested schema](#nestedatt--assignees)) | ||
- `author` (Attributes) User who created this merge request. (see [below for nested schema](#nestedatt--author)) | ||
- `blocking_discussions_resolved` (Boolean) Indicates if all discussions are resolved only if all are | ||
required before merge request can be merged. | ||
- `changes_count` (String) Number of changes made on the merge request. Empty when the | ||
merge request is created, and populates asynchronously. | ||
- `closed_at` (String) Timestamp of when the merge request was closed. | ||
- `closed_by` (Attributes) User who closed this merge request. (see [below for nested schema](#nestedatt--closed_by)) | ||
- `created_at` (String) Timestamp of when the merge request was created. | ||
- `id` (Number) The unique instance level ID of the merge request. | ||
|
||
<a id="nestedatt--assignee"></a> | ||
### Nested Schema for `assignee` | ||
|
||
Read-Only: | ||
|
||
- `avatar_url` (String) A link to the user's avatar image. | ||
- `id` (Number) The internal ID number of the user. | ||
- `name` (String) The name of the user. | ||
- `state` (String) The state of the user account. | ||
- `username` (String) The username of the user. | ||
- `web_url` (String) A link to the user's profile page. | ||
|
||
|
||
<a id="nestedatt--assignees"></a> | ||
### Nested Schema for `assignees` | ||
|
||
Read-Only: | ||
|
||
- `avatar_url` (String) A link to the user's avatar image. | ||
- `id` (Number) The internal ID number of the user. | ||
- `name` (String) The name of the user. | ||
- `state` (String) The state of the user account. | ||
- `username` (String) The username of the user. | ||
- `web_url` (String) A link to the user's profile page. | ||
|
||
|
||
<a id="nestedatt--author"></a> | ||
### Nested Schema for `author` | ||
|
||
Read-Only: | ||
|
||
- `avatar_url` (String) A link to the user's avatar image. | ||
- `id` (Number) The internal ID number of the user. | ||
- `name` (String) The name of the user. | ||
- `state` (String) The state of the user account. | ||
- `username` (String) The username of the user. | ||
- `web_url` (String) A link to the user's profile page. | ||
|
||
|
||
<a id="nestedatt--closed_by"></a> | ||
### Nested Schema for `closed_by` | ||
|
||
Read-Only: | ||
|
||
- `avatar_url` (String) A link to the user's avatar image. | ||
- `id` (Number) The internal ID number of the user. | ||
- `name` (String) The name of the user. | ||
- `state` (String) The state of the user account. | ||
- `username` (String) The username of the user. | ||
- `web_url` (String) A link to the user's profile page. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.