Viewing docs for GitLab v9.10.0
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Viewing docs for GitLab v9.10.0
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
The gitlab.getProjectProtectedTag data source allows details of a protected tag to be retrieved by its name and the project it belongs to.
Upstream API: GitLab REST API docs
Using getProjectProtectedTag
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 getProjectProtectedTag(args: GetProjectProtectedTagArgs, opts?: InvokeOptions): Promise<GetProjectProtectedTagResult>
function getProjectProtectedTagOutput(args: GetProjectProtectedTagOutputArgs, opts?: InvokeOptions): Output<GetProjectProtectedTagResult>def get_project_protected_tag(project: Optional[str] = None,
tag: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetProjectProtectedTagResult
def get_project_protected_tag_output(project: Optional[pulumi.Input[str]] = None,
tag: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetProjectProtectedTagResult]func GetProjectProtectedTag(ctx *Context, args *GetProjectProtectedTagArgs, opts ...InvokeOption) (*GetProjectProtectedTagResult, error)
func GetProjectProtectedTagOutput(ctx *Context, args *GetProjectProtectedTagOutputArgs, opts ...InvokeOption) GetProjectProtectedTagResultOutput> Note: This function is named GetProjectProtectedTag in the Go SDK.
public static class GetProjectProtectedTag
{
public static Task<GetProjectProtectedTagResult> InvokeAsync(GetProjectProtectedTagArgs args, InvokeOptions? opts = null)
public static Output<GetProjectProtectedTagResult> Invoke(GetProjectProtectedTagInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetProjectProtectedTagResult> getProjectProtectedTag(GetProjectProtectedTagArgs args, InvokeOptions options)
public static Output<GetProjectProtectedTagResult> getProjectProtectedTag(GetProjectProtectedTagArgs args, InvokeOptions options)
fn::invoke:
function: gitlab:index/getProjectProtectedTag:getProjectProtectedTag
arguments:
# arguments dictionaryThe following arguments are supported:
getProjectProtectedTag Result
The following output properties are available:
- Create
Access List<Pulumi.Levels Git Lab. Outputs. Get Project Protected Tag Create Access Level> - Array of access levels/user(s)/group(s) allowed to create protected tags.
- Id string
- The ID of this resource. In the format of
<tag>. - Project string
- The integer or path with namespace that uniquely identifies the project.
- Tag string
- The name of the protected tag.
- Create
Access []GetLevels Project Protected Tag Create Access Level - Array of access levels/user(s)/group(s) allowed to create protected tags.
- Id string
- The ID of this resource. In the format of
<tag>. - Project string
- The integer or path with namespace that uniquely identifies the project.
- Tag string
- The name of the protected tag.
- create
Access List<GetLevels Project Protected Tag Create Access Level> - Array of access levels/user(s)/group(s) allowed to create protected tags.
- id String
- The ID of this resource. In the format of
<tag>. - project String
- The integer or path with namespace that uniquely identifies the project.
- tag String
- The name of the protected tag.
- create
Access GetLevels Project Protected Tag Create Access Level[] - Array of access levels/user(s)/group(s) allowed to create protected tags.
- id string
- The ID of this resource. In the format of
<tag>. - project string
- The integer or path with namespace that uniquely identifies the project.
- tag string
- The name of the protected tag.
- create_
access_ Sequence[Getlevels Project Protected Tag Create Access Level] - Array of access levels/user(s)/group(s) allowed to create protected tags.
- id str
- The ID of this resource. In the format of
<tag>. - project str
- The integer or path with namespace that uniquely identifies the project.
- tag str
- The name of the protected tag.
- create
Access List<Property Map>Levels - Array of access levels/user(s)/group(s) allowed to create protected tags.
- id String
- The ID of this resource. In the format of
<tag>. - project String
- The integer or path with namespace that uniquely identifies the project.
- tag String
- The name of the protected tag.
Supporting Types
GetProjectProtectedTagCreateAccessLevel
- Access
Level string - Access level allowed to create protected tags.
- Access
Level stringDescription - 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.
- Access
Level string - Access level allowed to create protected tags.
- Access
Level stringDescription - 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.
- access
Level String - Access level allowed to create protected tags.
- access
Level StringDescription - Readable description of access level.
- id Integer
- The ID of the create access level.
- group
Id Integer - The ID of a GitLab group allowed to perform the relevant action.
- user
Id Integer - The ID of a GitLab user allowed to perform the relevant action.
- access
Level string - Access level allowed to create protected tags.
- access
Level stringDescription - Readable description of access level.
- id number
- The ID of the create access level.
- group
Id number - The ID of a GitLab group allowed to perform the relevant action.
- user
Id 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_ strdescription - 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.
- access
Level String - Access level allowed to create protected tags.
- access
Level StringDescription - Readable description of access level.
- id Number
- The ID of the create access level.
- group
Id Number - The ID of a GitLab group allowed to perform the relevant action.
- user
Id 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
gitlabTerraform Provider.
Viewing docs for GitLab v9.10.0
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
