GitLab v8.10.0 published on Friday, Mar 21, 2025 by Pulumi
gitlab.getProjectTags
Explore with Pulumi AI
The gitlab.getProjectTags
data source allows details of project tags to be retrieved by some search criteria.
Upstream API: GitLab REST API docs
Using getProjectTags
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getProjectTags(args: GetProjectTagsArgs, opts?: InvokeOptions): Promise<GetProjectTagsResult>
function getProjectTagsOutput(args: GetProjectTagsOutputArgs, opts?: InvokeOptions): Output<GetProjectTagsResult>
def get_project_tags(order_by: Optional[str] = None,
project: Optional[str] = None,
search: Optional[str] = None,
sort: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetProjectTagsResult
def get_project_tags_output(order_by: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
search: Optional[pulumi.Input[str]] = None,
sort: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetProjectTagsResult]
func GetProjectTags(ctx *Context, args *GetProjectTagsArgs, opts ...InvokeOption) (*GetProjectTagsResult, error)
func GetProjectTagsOutput(ctx *Context, args *GetProjectTagsOutputArgs, opts ...InvokeOption) GetProjectTagsResultOutput
> Note: This function is named GetProjectTags
in the Go SDK.
public static class GetProjectTags
{
public static Task<GetProjectTagsResult> InvokeAsync(GetProjectTagsArgs args, InvokeOptions? opts = null)
public static Output<GetProjectTagsResult> Invoke(GetProjectTagsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetProjectTagsResult> getProjectTags(GetProjectTagsArgs args, InvokeOptions options)
public static Output<GetProjectTagsResult> getProjectTags(GetProjectTagsArgs args, InvokeOptions options)
fn::invoke:
function: gitlab:index/getProjectTags:getProjectTags
arguments:
# arguments dictionary
The following arguments are supported:
- Project
This property is required. string - The ID or URL-encoded path of the project owned by the authenticated user.
- Order
By string - Return tags ordered by
name
orupdated
fields. Default isupdated
. - Search string
- Return list of tags matching the search criteria. You can use
^term
andterm$
to find tags that begin and end withterm
respectively. No other regular expressions are supported. - Sort string
- Return tags sorted in
asc
ordesc
order. Default isdesc
.
- Project
This property is required. string - The ID or URL-encoded path of the project owned by the authenticated user.
- Order
By string - Return tags ordered by
name
orupdated
fields. Default isupdated
. - Search string
- Return list of tags matching the search criteria. You can use
^term
andterm$
to find tags that begin and end withterm
respectively. No other regular expressions are supported. - Sort string
- Return tags sorted in
asc
ordesc
order. Default isdesc
.
- project
This property is required. String - The ID or URL-encoded path of the project owned by the authenticated user.
- order
By String - Return tags ordered by
name
orupdated
fields. Default isupdated
. - search String
- Return list of tags matching the search criteria. You can use
^term
andterm$
to find tags that begin and end withterm
respectively. No other regular expressions are supported. - sort String
- Return tags sorted in
asc
ordesc
order. Default isdesc
.
- project
This property is required. string - The ID or URL-encoded path of the project owned by the authenticated user.
- order
By string - Return tags ordered by
name
orupdated
fields. Default isupdated
. - search string
- Return list of tags matching the search criteria. You can use
^term
andterm$
to find tags that begin and end withterm
respectively. No other regular expressions are supported. - sort string
- Return tags sorted in
asc
ordesc
order. Default isdesc
.
- project
This property is required. str - The ID or URL-encoded path of the project owned by the authenticated user.
- order_
by str - Return tags ordered by
name
orupdated
fields. Default isupdated
. - search str
- Return list of tags matching the search criteria. You can use
^term
andterm$
to find tags that begin and end withterm
respectively. No other regular expressions are supported. - sort str
- Return tags sorted in
asc
ordesc
order. Default isdesc
.
- project
This property is required. String - The ID or URL-encoded path of the project owned by the authenticated user.
- order
By String - Return tags ordered by
name
orupdated
fields. Default isupdated
. - search String
- Return list of tags matching the search criteria. You can use
^term
andterm$
to find tags that begin and end withterm
respectively. No other regular expressions are supported. - sort String
- Return tags sorted in
asc
ordesc
order. Default isdesc
.
getProjectTags Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Project string
- The ID or URL-encoded path of the project owned by the authenticated user.
- List<Pulumi.
Git Lab. Outputs. Get Project Tags Tag> - List of repository tags from a project.
- Order
By string - Return tags ordered by
name
orupdated
fields. Default isupdated
. - Search string
- Return list of tags matching the search criteria. You can use
^term
andterm$
to find tags that begin and end withterm
respectively. No other regular expressions are supported. - Sort string
- Return tags sorted in
asc
ordesc
order. Default isdesc
.
- Id string
- The provider-assigned unique ID for this managed resource.
- Project string
- The ID or URL-encoded path of the project owned by the authenticated user.
- []Get
Project Tags Tag - List of repository tags from a project.
- Order
By string - Return tags ordered by
name
orupdated
fields. Default isupdated
. - Search string
- Return list of tags matching the search criteria. You can use
^term
andterm$
to find tags that begin and end withterm
respectively. No other regular expressions are supported. - Sort string
- Return tags sorted in
asc
ordesc
order. Default isdesc
.
- id String
- The provider-assigned unique ID for this managed resource.
- project String
- The ID or URL-encoded path of the project owned by the authenticated user.
- List<Get
Project Tags Tag> - List of repository tags from a project.
- order
By String - Return tags ordered by
name
orupdated
fields. Default isupdated
. - search String
- Return list of tags matching the search criteria. You can use
^term
andterm$
to find tags that begin and end withterm
respectively. No other regular expressions are supported. - sort String
- Return tags sorted in
asc
ordesc
order. Default isdesc
.
- id string
- The provider-assigned unique ID for this managed resource.
- project string
- The ID or URL-encoded path of the project owned by the authenticated user.
- Get
Project Tags Tag[] - List of repository tags from a project.
- order
By string - Return tags ordered by
name
orupdated
fields. Default isupdated
. - search string
- Return list of tags matching the search criteria. You can use
^term
andterm$
to find tags that begin and end withterm
respectively. No other regular expressions are supported. - sort string
- Return tags sorted in
asc
ordesc
order. Default isdesc
.
- id str
- The provider-assigned unique ID for this managed resource.
- project str
- The ID or URL-encoded path of the project owned by the authenticated user.
- Sequence[Get
Project Tags Tag] - List of repository tags from a project.
- order_
by str - Return tags ordered by
name
orupdated
fields. Default isupdated
. - search str
- Return list of tags matching the search criteria. You can use
^term
andterm$
to find tags that begin and end withterm
respectively. No other regular expressions are supported. - sort str
- Return tags sorted in
asc
ordesc
order. Default isdesc
.
- id String
- The provider-assigned unique ID for this managed resource.
- project String
- The ID or URL-encoded path of the project owned by the authenticated user.
- List<Property Map>
- List of repository tags from a project.
- order
By String - Return tags ordered by
name
orupdated
fields. Default isupdated
. - search String
- Return list of tags matching the search criteria. You can use
^term
andterm$
to find tags that begin and end withterm
respectively. No other regular expressions are supported. - sort String
- Return tags sorted in
asc
ordesc
order. Default isdesc
.
Supporting Types
GetProjectTagsTag
- Commits
This property is required. List<Pulumi.Git Lab. Inputs. Get Project Tags Tag Commit> - The commit associated with the tag.
- Message
This property is required. string - The message of the annotated tag.
- Name
This property is required. string - The name of a tag.
- Protected
This property is required. bool - Bool, true if tag has tag protection.
- Releases
This property is required. List<Pulumi.Git Lab. Inputs. Get Project Tags Tag Release> - The release associated with the tag.
- Target
This property is required. string - The unique id assigned to the commit by Gitlab.
- Commits
This property is required. []GetProject Tags Tag Commit - The commit associated with the tag.
- Message
This property is required. string - The message of the annotated tag.
- Name
This property is required. string - The name of a tag.
- Protected
This property is required. bool - Bool, true if tag has tag protection.
- Releases
This property is required. []GetProject Tags Tag Release - The release associated with the tag.
- Target
This property is required. string - The unique id assigned to the commit by Gitlab.
- commits
This property is required. List<GetProject Tags Tag Commit> - The commit associated with the tag.
- message
This property is required. String - The message of the annotated tag.
- name
This property is required. String - The name of a tag.
- protected_
This property is required. Boolean - Bool, true if tag has tag protection.
- releases
This property is required. List<GetProject Tags Tag Release> - The release associated with the tag.
- target
This property is required. String - The unique id assigned to the commit by Gitlab.
- commits
This property is required. GetProject Tags Tag Commit[] - The commit associated with the tag.
- message
This property is required. string - The message of the annotated tag.
- name
This property is required. string - The name of a tag.
- protected
This property is required. boolean - Bool, true if tag has tag protection.
- releases
This property is required. GetProject Tags Tag Release[] - The release associated with the tag.
- target
This property is required. string - The unique id assigned to the commit by Gitlab.
- commits
This property is required. Sequence[GetProject Tags Tag Commit] - The commit associated with the tag.
- message
This property is required. str - The message of the annotated tag.
- name
This property is required. str - The name of a tag.
- protected
This property is required. bool - Bool, true if tag has tag protection.
- releases
This property is required. Sequence[GetProject Tags Tag Release] - The release associated with the tag.
- target
This property is required. str - The unique id assigned to the commit by Gitlab.
- commits
This property is required. List<Property Map> - The commit associated with the tag.
- message
This property is required. String - The message of the annotated tag.
- name
This property is required. String - The name of a tag.
- protected
This property is required. Boolean - Bool, true if tag has tag protection.
- releases
This property is required. List<Property Map> - The release associated with the tag.
- target
This property is required. String - The unique id assigned to the commit by Gitlab.
GetProjectTagsTagCommit
This property is required. string- The email of the author.
This property is required. string- The name of the author.
This property is required. string- The date which the commit was authored (format: yyyy-MM-ddTHH:mm:ssZ).
- Committed
Date This property is required. string - The date at which the commit was pushed (format: yyyy-MM-ddTHH:mm:ssZ).
- Committer
Email This property is required. string - The email of the user that committed.
- Committer
Name This property is required. string - The name of the user that committed.
- Id
This property is required. string - The unique id assigned to the commit by Gitlab.
- Message
This property is required. string - The commit message
- Parent
Ids This property is required. List<string> - The id of the parents of the commit
- Short
Id This property is required. string - The short id assigned to the commit by Gitlab.
- Title
This property is required. string - The title of the commit
This property is required. string- The email of the author.
This property is required. string- The name of the author.
This property is required. string- The date which the commit was authored (format: yyyy-MM-ddTHH:mm:ssZ).
- Committed
Date This property is required. string - The date at which the commit was pushed (format: yyyy-MM-ddTHH:mm:ssZ).
- Committer
Email This property is required. string - The email of the user that committed.
- Committer
Name This property is required. string - The name of the user that committed.
- Id
This property is required. string - The unique id assigned to the commit by Gitlab.
- Message
This property is required. string - The commit message
- Parent
Ids This property is required. []string - The id of the parents of the commit
- Short
Id This property is required. string - The short id assigned to the commit by Gitlab.
- Title
This property is required. string - The title of the commit
This property is required. String- The email of the author.
This property is required. String- The name of the author.
This property is required. String- The date which the commit was authored (format: yyyy-MM-ddTHH:mm:ssZ).
- committed
Date This property is required. String - The date at which the commit was pushed (format: yyyy-MM-ddTHH:mm:ssZ).
- committer
Email This property is required. String - The email of the user that committed.
- committer
Name This property is required. String - The name of the user that committed.
- id
This property is required. String - The unique id assigned to the commit by Gitlab.
- message
This property is required. String - The commit message
- parent
Ids This property is required. List<String> - The id of the parents of the commit
- short
Id This property is required. String - The short id assigned to the commit by Gitlab.
- title
This property is required. String - The title of the commit
This property is required. string- The email of the author.
This property is required. string- The name of the author.
This property is required. string- The date which the commit was authored (format: yyyy-MM-ddTHH:mm:ssZ).
- committed
Date This property is required. string - The date at which the commit was pushed (format: yyyy-MM-ddTHH:mm:ssZ).
- committer
Email This property is required. string - The email of the user that committed.
- committer
Name This property is required. string - The name of the user that committed.
- id
This property is required. string - The unique id assigned to the commit by Gitlab.
- message
This property is required. string - The commit message
- parent
Ids This property is required. string[] - The id of the parents of the commit
- short
Id This property is required. string - The short id assigned to the commit by Gitlab.
- title
This property is required. string - The title of the commit
This property is required. str- The email of the author.
This property is required. str- The name of the author.
This property is required. str- The date which the commit was authored (format: yyyy-MM-ddTHH:mm:ssZ).
- committed_
date This property is required. str - The date at which the commit was pushed (format: yyyy-MM-ddTHH:mm:ssZ).
- committer_
email This property is required. str - The email of the user that committed.
- committer_
name This property is required. str - The name of the user that committed.
- id
This property is required. str - The unique id assigned to the commit by Gitlab.
- message
This property is required. str - The commit message
- parent_
ids This property is required. Sequence[str] - The id of the parents of the commit
- short_
id This property is required. str - The short id assigned to the commit by Gitlab.
- title
This property is required. str - The title of the commit
This property is required. String- The email of the author.
This property is required. String- The name of the author.
This property is required. String- The date which the commit was authored (format: yyyy-MM-ddTHH:mm:ssZ).
- committed
Date This property is required. String - The date at which the commit was pushed (format: yyyy-MM-ddTHH:mm:ssZ).
- committer
Email This property is required. String - The email of the user that committed.
- committer
Name This property is required. String - The name of the user that committed.
- id
This property is required. String - The unique id assigned to the commit by Gitlab.
- message
This property is required. String - The commit message
- parent
Ids This property is required. List<String> - The id of the parents of the commit
- short
Id This property is required. String - The short id assigned to the commit by Gitlab.
- title
This property is required. String - The title of the commit
GetProjectTagsTagRelease
- Description
This property is required. string - The description of release.
- Tag
Name This property is required. string - The name of the tag.
- Description
This property is required. string - The description of release.
- Tag
Name This property is required. string - The name of the tag.
- description
This property is required. String - The description of release.
- tag
Name This property is required. String - The name of the tag.
- description
This property is required. string - The description of release.
- tag
Name This property is required. string - The name of the tag.
- description
This property is required. str - The description of release.
- tag_
name This property is required. str - The name of the tag.
- description
This property is required. String - The description of release.
- tag
Name This property is required. String - The name of the tag.
Package Details
- Repository
- GitLab pulumi/pulumi-gitlab
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
gitlab
Terraform Provider.