1. Packages
  2. Gitlab Provider
  3. API Docs
  4. getProjectProtectedTags
GitLab v8.4.1 published on Tuesday, Sep 24, 2024 by Pulumi

gitlab.getProjectProtectedTags

Explore with Pulumi AI

gitlab logo
GitLab v8.4.1 published on Tuesday, Sep 24, 2024 by Pulumi

    The gitlab.getProjectProtectedTags data source allows details of the protected tags of a given project.

    Upstream API: GitLab REST API docs

    Using getProjectProtectedTags

    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 getProjectProtectedTags(args: GetProjectProtectedTagsArgs, opts?: InvokeOptions): Promise<GetProjectProtectedTagsResult>
    function getProjectProtectedTagsOutput(args: GetProjectProtectedTagsOutputArgs, opts?: InvokeOptions): Output<GetProjectProtectedTagsResult>
    def get_project_protected_tags(project: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetProjectProtectedTagsResult
    def get_project_protected_tags_output(project: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetProjectProtectedTagsResult]
    func GetProjectProtectedTags(ctx *Context, args *GetProjectProtectedTagsArgs, opts ...InvokeOption) (*GetProjectProtectedTagsResult, error)
    func GetProjectProtectedTagsOutput(ctx *Context, args *GetProjectProtectedTagsOutputArgs, opts ...InvokeOption) GetProjectProtectedTagsResultOutput

    > Note: This function is named GetProjectProtectedTags in the Go SDK.

    public static class GetProjectProtectedTags 
    {
        public static Task<GetProjectProtectedTagsResult> InvokeAsync(GetProjectProtectedTagsArgs args, InvokeOptions? opts = null)
        public static Output<GetProjectProtectedTagsResult> Invoke(GetProjectProtectedTagsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetProjectProtectedTagsResult> getProjectProtectedTags(GetProjectProtectedTagsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: gitlab:index/getProjectProtectedTags:getProjectProtectedTags
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Project string
    The integer or path with namespace that uniquely identifies the project.
    Project string
    The integer or path with namespace that uniquely identifies the project.
    project String
    The integer or path with namespace that uniquely identifies the project.
    project string
    The integer or path with namespace that uniquely identifies the project.
    project str
    The integer or path with namespace that uniquely identifies the project.
    project String
    The integer or path with namespace that uniquely identifies the project.

    getProjectProtectedTags Result

    The following output properties are available:

    Id string
    The ID of this resource.
    Project string
    The integer or path with namespace that uniquely identifies the project.
    ProtectedTags List<Pulumi.GitLab.Outputs.GetProjectProtectedTagsProtectedTag>
    A list of protected tags, as defined below.
    Id string
    The ID of this resource.
    Project string
    The integer or path with namespace that uniquely identifies the project.
    ProtectedTags []GetProjectProtectedTagsProtectedTag
    A list of protected tags, as defined below.
    id String
    The ID of this resource.
    project String
    The integer or path with namespace that uniquely identifies the project.
    protectedTags List<GetProjectProtectedTagsProtectedTag>
    A list of protected tags, as defined below.
    id string
    The ID of this resource.
    project string
    The integer or path with namespace that uniquely identifies the project.
    protectedTags GetProjectProtectedTagsProtectedTag[]
    A list of protected tags, as defined below.
    id str
    The ID of this resource.
    project str
    The integer or path with namespace that uniquely identifies the project.
    protected_tags Sequence[GetProjectProtectedTagsProtectedTag]
    A list of protected tags, as defined below.
    id String
    The ID of this resource.
    project String
    The integer or path with namespace that uniquely identifies the project.
    protectedTags List<Property Map>
    A list of protected tags, as defined below.

    Supporting Types

    GetProjectProtectedTagsProtectedTag

    CreateAccessLevels List<Pulumi.GitLab.Inputs.GetProjectProtectedTagsProtectedTagCreateAccessLevel>
    Array of access levels/user(s)/group(s) allowed to create protected tags.
    Tag string
    The name of the protected tag.
    CreateAccessLevels []GetProjectProtectedTagsProtectedTagCreateAccessLevel
    Array of access levels/user(s)/group(s) allowed to create protected tags.
    Tag string
    The name of the protected tag.
    createAccessLevels List<GetProjectProtectedTagsProtectedTagCreateAccessLevel>
    Array of access levels/user(s)/group(s) allowed to create protected tags.
    tag String
    The name of the protected tag.
    createAccessLevels GetProjectProtectedTagsProtectedTagCreateAccessLevel[]
    Array of access levels/user(s)/group(s) allowed to create protected tags.
    tag string
    The name of the protected tag.
    create_access_levels Sequence[GetProjectProtectedTagsProtectedTagCreateAccessLevel]
    Array of access levels/user(s)/group(s) allowed to create protected tags.
    tag str
    The name of the protected tag.
    createAccessLevels List<Property Map>
    Array of access levels/user(s)/group(s) allowed to create protected tags.
    tag String
    The name of the protected tag.

    GetProjectProtectedTagsProtectedTagCreateAccessLevel

    AccessLevel string
    Access level allowed to create protected tags.
    AccessLevelDescription string
    Readable description of access level.
    Id int
    The ID of the create access level.
    GroupId int
    The ID of a GitLab group allowed to perform the relevant action.
    UserId int
    The ID of a GitLab user allowed to perform the relevant action.
    AccessLevel string
    Access level allowed to create protected tags.
    AccessLevelDescription string
    Readable description of access level.
    Id int
    The ID of the create access level.
    GroupId int
    The ID of a GitLab group allowed to perform the relevant action.
    UserId int
    The ID of a GitLab user allowed to perform the relevant action.
    accessLevel String
    Access level allowed to create protected tags.
    accessLevelDescription String
    Readable description of access level.
    id Integer
    The ID of the create access level.
    groupId Integer
    The ID of a GitLab group allowed to perform the relevant action.
    userId Integer
    The ID of a GitLab user allowed to perform the relevant action.
    accessLevel string
    Access level allowed to create protected tags.
    accessLevelDescription string
    Readable description of access level.
    id number
    The ID of the create access level.
    groupId number
    The ID of a GitLab group allowed to perform the relevant action.
    userId number
    The ID of a GitLab user allowed to perform the relevant action.
    access_level str
    Access level allowed to create protected tags.
    access_level_description str
    Readable description of access level.
    id int
    The ID of the create access level.
    group_id int
    The ID of a GitLab group allowed to perform the relevant action.
    user_id int
    The ID of a GitLab user allowed to perform the relevant action.
    accessLevel String
    Access level allowed to create protected tags.
    accessLevelDescription String
    Readable description of access level.
    id Number
    The ID of the create access level.
    groupId Number
    The ID of a GitLab group allowed to perform the relevant action.
    userId Number
    The ID of a GitLab user allowed to perform the relevant action.

    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.4.1 published on Tuesday, Sep 24, 2024 by Pulumi