GitLab v8.5.0 published on Friday, Oct 18, 2024 by Pulumi
gitlab.getProjectProtectedTags
Explore with Pulumi AI
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.
- List<Pulumi.
Git Lab. Outputs. Get Project Protected Tags Protected Tag> - 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.
- []Get
Project Protected Tags Protected Tag - 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.
- List<Get
Project Protected Tags Protected Tag> - 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.
- Get
Project Protected Tags Protected Tag[] - 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.
- Sequence[Get
Project Protected Tags Protected Tag] - 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.
- List<Property Map>
- A list of protected tags, as defined below.
Supporting Types
GetProjectProtectedTagsProtectedTag
- Create
Access List<Pulumi.Levels Git Lab. Inputs. Get Project Protected Tags Protected Tag Create Access Level> - Array of access levels/user(s)/group(s) allowed to create protected tags.
- Tag string
- The name of the protected tag.
- Create
Access []GetLevels Project Protected Tags Protected Tag Create Access Level - Array of access levels/user(s)/group(s) allowed to create protected tags.
- Tag string
- The name of the protected tag.
- create
Access List<GetLevels Project Protected Tags Protected Tag Create Access Level> - Array of access levels/user(s)/group(s) allowed to create protected tags.
- tag String
- The name of the protected tag.
- create
Access GetLevels Project Protected Tags Protected Tag Create Access Level[] - Array of access levels/user(s)/group(s) allowed to create protected tags.
- tag string
- The name of the protected tag.
- create_
access_ Sequence[Getlevels Project Protected Tags Protected Tag Create Access Level] - Array of access levels/user(s)/group(s) allowed to create protected tags.
- 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.
- tag String
- The name of the protected tag.
GetProjectProtectedTagsProtectedTagCreateAccessLevel
- 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
gitlab
Terraform Provider.