1. Packages
  2. Gitlab Provider
  3. API Docs
  4. getProjectTags
GitLab v8.5.0 published on Friday, Oct 18, 2024 by Pulumi

gitlab.getProjectTags

Explore with Pulumi AI

gitlab logo
GitLab v8.5.0 published on Friday, Oct 18, 2024 by Pulumi

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: gitlab:index/getProjectTags:getProjectTags
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Project string
    The ID or URL-encoded path of the project owned by the authenticated user.
    OrderBy string
    Return tags ordered by name or updated fields. Default is updated.
    Search string
    Return list of tags matching the search criteria. You can use ^term and term$ to find tags that begin and end with term respectively. No other regular expressions are supported.
    Sort string
    Return tags sorted in asc or desc order. Default is desc.
    Project string
    The ID or URL-encoded path of the project owned by the authenticated user.
    OrderBy string
    Return tags ordered by name or updated fields. Default is updated.
    Search string
    Return list of tags matching the search criteria. You can use ^term and term$ to find tags that begin and end with term respectively. No other regular expressions are supported.
    Sort string
    Return tags sorted in asc or desc order. Default is desc.
    project String
    The ID or URL-encoded path of the project owned by the authenticated user.
    orderBy String
    Return tags ordered by name or updated fields. Default is updated.
    search String
    Return list of tags matching the search criteria. You can use ^term and term$ to find tags that begin and end with term respectively. No other regular expressions are supported.
    sort String
    Return tags sorted in asc or desc order. Default is desc.
    project string
    The ID or URL-encoded path of the project owned by the authenticated user.
    orderBy string
    Return tags ordered by name or updated fields. Default is updated.
    search string
    Return list of tags matching the search criteria. You can use ^term and term$ to find tags that begin and end with term respectively. No other regular expressions are supported.
    sort string
    Return tags sorted in asc or desc order. Default is desc.
    project str
    The ID or URL-encoded path of the project owned by the authenticated user.
    order_by str
    Return tags ordered by name or updated fields. Default is updated.
    search str
    Return list of tags matching the search criteria. You can use ^term and term$ to find tags that begin and end with term respectively. No other regular expressions are supported.
    sort str
    Return tags sorted in asc or desc order. Default is desc.
    project String
    The ID or URL-encoded path of the project owned by the authenticated user.
    orderBy String
    Return tags ordered by name or updated fields. Default is updated.
    search String
    Return list of tags matching the search criteria. You can use ^term and term$ to find tags that begin and end with term respectively. No other regular expressions are supported.
    sort String
    Return tags sorted in asc or desc order. Default is desc.

    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.
    Tags List<Pulumi.GitLab.Outputs.GetProjectTagsTag>
    List of repository tags from a project.
    OrderBy string
    Return tags ordered by name or updated fields. Default is updated.
    Search string
    Return list of tags matching the search criteria. You can use ^term and term$ to find tags that begin and end with term respectively. No other regular expressions are supported.
    Sort string
    Return tags sorted in asc or desc order. Default is desc.
    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.
    Tags []GetProjectTagsTag
    List of repository tags from a project.
    OrderBy string
    Return tags ordered by name or updated fields. Default is updated.
    Search string
    Return list of tags matching the search criteria. You can use ^term and term$ to find tags that begin and end with term respectively. No other regular expressions are supported.
    Sort string
    Return tags sorted in asc or desc order. Default is desc.
    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.
    tags List<GetProjectTagsTag>
    List of repository tags from a project.
    orderBy String
    Return tags ordered by name or updated fields. Default is updated.
    search String
    Return list of tags matching the search criteria. You can use ^term and term$ to find tags that begin and end with term respectively. No other regular expressions are supported.
    sort String
    Return tags sorted in asc or desc order. Default is desc.
    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.
    tags GetProjectTagsTag[]
    List of repository tags from a project.
    orderBy string
    Return tags ordered by name or updated fields. Default is updated.
    search string
    Return list of tags matching the search criteria. You can use ^term and term$ to find tags that begin and end with term respectively. No other regular expressions are supported.
    sort string
    Return tags sorted in asc or desc order. Default is desc.
    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.
    tags Sequence[GetProjectTagsTag]
    List of repository tags from a project.
    order_by str
    Return tags ordered by name or updated fields. Default is updated.
    search str
    Return list of tags matching the search criteria. You can use ^term and term$ to find tags that begin and end with term respectively. No other regular expressions are supported.
    sort str
    Return tags sorted in asc or desc order. Default is desc.
    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.
    tags List<Property Map>
    List of repository tags from a project.
    orderBy String
    Return tags ordered by name or updated fields. Default is updated.
    search String
    Return list of tags matching the search criteria. You can use ^term and term$ to find tags that begin and end with term respectively. No other regular expressions are supported.
    sort String
    Return tags sorted in asc or desc order. Default is desc.

    Supporting Types

    GetProjectTagsTag

    Commits List<Pulumi.GitLab.Inputs.GetProjectTagsTagCommit>
    The commit associated with the tag.
    Message string
    The message of the annotated tag.
    Name string
    The name of a tag.
    Protected bool
    Bool, true if tag has tag protection.
    Releases List<Pulumi.GitLab.Inputs.GetProjectTagsTagRelease>
    The release associated with the tag.
    Target string
    The unique id assigned to the commit by Gitlab.
    Commits []GetProjectTagsTagCommit
    The commit associated with the tag.
    Message string
    The message of the annotated tag.
    Name string
    The name of a tag.
    Protected bool
    Bool, true if tag has tag protection.
    Releases []GetProjectTagsTagRelease
    The release associated with the tag.
    Target string
    The unique id assigned to the commit by Gitlab.
    commits List<GetProjectTagsTagCommit>
    The commit associated with the tag.
    message String
    The message of the annotated tag.
    name String
    The name of a tag.
    protected_ Boolean
    Bool, true if tag has tag protection.
    releases List<GetProjectTagsTagRelease>
    The release associated with the tag.
    target String
    The unique id assigned to the commit by Gitlab.
    commits GetProjectTagsTagCommit[]
    The commit associated with the tag.
    message string
    The message of the annotated tag.
    name string
    The name of a tag.
    protected boolean
    Bool, true if tag has tag protection.
    releases GetProjectTagsTagRelease[]
    The release associated with the tag.
    target string
    The unique id assigned to the commit by Gitlab.
    commits Sequence[GetProjectTagsTagCommit]
    The commit associated with the tag.
    message str
    The message of the annotated tag.
    name str
    The name of a tag.
    protected bool
    Bool, true if tag has tag protection.
    releases Sequence[GetProjectTagsTagRelease]
    The release associated with the tag.
    target str
    The unique id assigned to the commit by Gitlab.
    commits List<Property Map>
    The commit associated with the tag.
    message String
    The message of the annotated tag.
    name String
    The name of a tag.
    protected Boolean
    Bool, true if tag has tag protection.
    releases List<Property Map>
    The release associated with the tag.
    target String
    The unique id assigned to the commit by Gitlab.

    GetProjectTagsTagCommit

    AuthorEmail string
    The email of the author.
    AuthorName string
    The name of the author.
    AuthoredDate string
    The date which the commit was authored (format: yyyy-MM-ddTHH:mm:ssZ).
    CommittedDate string
    The date at which the commit was pushed (format: yyyy-MM-ddTHH:mm:ssZ).
    CommitterEmail string
    The email of the user that committed.
    CommitterName string
    The name of the user that committed.
    Id string
    The unique id assigned to the commit by Gitlab.
    Message string
    The commit message
    ParentIds List<string>
    The id of the parents of the commit
    ShortId string
    The short id assigned to the commit by Gitlab.
    Title string
    The title of the commit
    AuthorEmail string
    The email of the author.
    AuthorName string
    The name of the author.
    AuthoredDate string
    The date which the commit was authored (format: yyyy-MM-ddTHH:mm:ssZ).
    CommittedDate string
    The date at which the commit was pushed (format: yyyy-MM-ddTHH:mm:ssZ).
    CommitterEmail string
    The email of the user that committed.
    CommitterName string
    The name of the user that committed.
    Id string
    The unique id assigned to the commit by Gitlab.
    Message string
    The commit message
    ParentIds []string
    The id of the parents of the commit
    ShortId string
    The short id assigned to the commit by Gitlab.
    Title string
    The title of the commit
    authorEmail String
    The email of the author.
    authorName String
    The name of the author.
    authoredDate String
    The date which the commit was authored (format: yyyy-MM-ddTHH:mm:ssZ).
    committedDate String
    The date at which the commit was pushed (format: yyyy-MM-ddTHH:mm:ssZ).
    committerEmail String
    The email of the user that committed.
    committerName String
    The name of the user that committed.
    id String
    The unique id assigned to the commit by Gitlab.
    message String
    The commit message
    parentIds List<String>
    The id of the parents of the commit
    shortId String
    The short id assigned to the commit by Gitlab.
    title String
    The title of the commit
    authorEmail string
    The email of the author.
    authorName string
    The name of the author.
    authoredDate string
    The date which the commit was authored (format: yyyy-MM-ddTHH:mm:ssZ).
    committedDate string
    The date at which the commit was pushed (format: yyyy-MM-ddTHH:mm:ssZ).
    committerEmail string
    The email of the user that committed.
    committerName string
    The name of the user that committed.
    id string
    The unique id assigned to the commit by Gitlab.
    message string
    The commit message
    parentIds string[]
    The id of the parents of the commit
    shortId string
    The short id assigned to the commit by Gitlab.
    title string
    The title of the commit
    author_email str
    The email of the author.
    author_name str
    The name of the author.
    authored_date str
    The date which the commit was authored (format: yyyy-MM-ddTHH:mm:ssZ).
    committed_date str
    The date at which the commit was pushed (format: yyyy-MM-ddTHH:mm:ssZ).
    committer_email str
    The email of the user that committed.
    committer_name str
    The name of the user that committed.
    id str
    The unique id assigned to the commit by Gitlab.
    message str
    The commit message
    parent_ids Sequence[str]
    The id of the parents of the commit
    short_id str
    The short id assigned to the commit by Gitlab.
    title str
    The title of the commit
    authorEmail String
    The email of the author.
    authorName String
    The name of the author.
    authoredDate String
    The date which the commit was authored (format: yyyy-MM-ddTHH:mm:ssZ).
    committedDate String
    The date at which the commit was pushed (format: yyyy-MM-ddTHH:mm:ssZ).
    committerEmail String
    The email of the user that committed.
    committerName String
    The name of the user that committed.
    id String
    The unique id assigned to the commit by Gitlab.
    message String
    The commit message
    parentIds List<String>
    The id of the parents of the commit
    shortId String
    The short id assigned to the commit by Gitlab.
    title String
    The title of the commit

    GetProjectTagsTagRelease

    Description string
    The description of release.
    TagName string
    The name of the tag.
    Description string
    The description of release.
    TagName string
    The name of the tag.
    description String
    The description of release.
    tagName String
    The name of the tag.
    description string
    The description of release.
    tagName string
    The name of the tag.
    description str
    The description of release.
    tag_name str
    The name of the tag.
    description String
    The description of release.
    tagName 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.
    gitlab logo
    GitLab v8.5.0 published on Friday, Oct 18, 2024 by Pulumi