GitLab v8.10.0 published on Friday, Mar 21, 2025 by Pulumi
gitlab.getReleaseLink
Explore with Pulumi AI
The gitlab.ReleaseLink data source allows get details of a release link.
Upstream API: GitLab REST API docs
Using getReleaseLink
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 getReleaseLink(args: GetReleaseLinkArgs, opts?: InvokeOptions): Promise<GetReleaseLinkResult>
function getReleaseLinkOutput(args: GetReleaseLinkOutputArgs, opts?: InvokeOptions): Output<GetReleaseLinkResult>def get_release_link(link_id: Optional[int] = None,
                     project: Optional[str] = None,
                     tag_name: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetReleaseLinkResult
def get_release_link_output(link_id: Optional[pulumi.Input[int]] = None,
                     project: Optional[pulumi.Input[str]] = None,
                     tag_name: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetReleaseLinkResult]func LookupReleaseLink(ctx *Context, args *LookupReleaseLinkArgs, opts ...InvokeOption) (*LookupReleaseLinkResult, error)
func LookupReleaseLinkOutput(ctx *Context, args *LookupReleaseLinkOutputArgs, opts ...InvokeOption) LookupReleaseLinkResultOutput> Note: This function is named LookupReleaseLink in the Go SDK.
public static class GetReleaseLink 
{
    public static Task<GetReleaseLinkResult> InvokeAsync(GetReleaseLinkArgs args, InvokeOptions? opts = null)
    public static Output<GetReleaseLinkResult> Invoke(GetReleaseLinkInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetReleaseLinkResult> getReleaseLink(GetReleaseLinkArgs args, InvokeOptions options)
public static Output<GetReleaseLinkResult> getReleaseLink(GetReleaseLinkArgs args, InvokeOptions options)
fn::invoke:
  function: gitlab:index/getReleaseLink:getReleaseLink
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Link
Id int - The ID of the link.
 - Project string
 - The ID or URL-encoded path of the project.
 - Tag
Name string - The tag associated with the Release.
 
- Link
Id int - The ID of the link.
 - Project string
 - The ID or URL-encoded path of the project.
 - Tag
Name string - The tag associated with the Release.
 
- link
Id Integer - The ID of the link.
 - project String
 - The ID or URL-encoded path of the project.
 - tag
Name String - The tag associated with the Release.
 
- link
Id number - The ID of the link.
 - project string
 - The ID or URL-encoded path of the project.
 - tag
Name string - The tag associated with the Release.
 
- link_
id int - The ID of the link.
 - project str
 - The ID or URL-encoded path of the project.
 - tag_
name str - The tag associated with the Release.
 
- link
Id Number - The ID of the link.
 - project String
 - The ID or URL-encoded path of the project.
 - tag
Name String - The tag associated with the Release.
 
getReleaseLink Result
The following output properties are available:
- Direct
Asset stringUrl  - Full path for a Direct Asset link.
 - External bool
 - External or internal link.
 - Filepath string
 - Relative path for a Direct Asset link.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Link
Id int - The ID of the link.
 - Link
Type string - The type of the link. Valid values are 
other,runbook,image,package. Defaults to other. - Name string
 - The name of the link. Link names must be unique within the release.
 - Project string
 - The ID or URL-encoded path of the project.
 - Tag
Name string - The tag associated with the Release.
 - Url string
 - The URL of the link. Link URLs must be unique within the release.
 
- Direct
Asset stringUrl  - Full path for a Direct Asset link.
 - External bool
 - External or internal link.
 - Filepath string
 - Relative path for a Direct Asset link.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Link
Id int - The ID of the link.
 - Link
Type string - The type of the link. Valid values are 
other,runbook,image,package. Defaults to other. - Name string
 - The name of the link. Link names must be unique within the release.
 - Project string
 - The ID or URL-encoded path of the project.
 - Tag
Name string - The tag associated with the Release.
 - Url string
 - The URL of the link. Link URLs must be unique within the release.
 
- direct
Asset StringUrl  - Full path for a Direct Asset link.
 - external Boolean
 - External or internal link.
 - filepath String
 - Relative path for a Direct Asset link.
 - id String
 - The provider-assigned unique ID for this managed resource.
 - link
Id Integer - The ID of the link.
 - link
Type String - The type of the link. Valid values are 
other,runbook,image,package. Defaults to other. - name String
 - The name of the link. Link names must be unique within the release.
 - project String
 - The ID or URL-encoded path of the project.
 - tag
Name String - The tag associated with the Release.
 - url String
 - The URL of the link. Link URLs must be unique within the release.
 
- direct
Asset stringUrl  - Full path for a Direct Asset link.
 - external boolean
 - External or internal link.
 - filepath string
 - Relative path for a Direct Asset link.
 - id string
 - The provider-assigned unique ID for this managed resource.
 - link
Id number - The ID of the link.
 - link
Type string - The type of the link. Valid values are 
other,runbook,image,package. Defaults to other. - name string
 - The name of the link. Link names must be unique within the release.
 - project string
 - The ID or URL-encoded path of the project.
 - tag
Name string - The tag associated with the Release.
 - url string
 - The URL of the link. Link URLs must be unique within the release.
 
- direct_
asset_ strurl  - Full path for a Direct Asset link.
 - external bool
 - External or internal link.
 - filepath str
 - Relative path for a Direct Asset link.
 - id str
 - The provider-assigned unique ID for this managed resource.
 - link_
id int - The ID of the link.
 - link_
type str - The type of the link. Valid values are 
other,runbook,image,package. Defaults to other. - name str
 - The name of the link. Link names must be unique within the release.
 - project str
 - The ID or URL-encoded path of the project.
 - tag_
name str - The tag associated with the Release.
 - url str
 - The URL of the link. Link URLs must be unique within the release.
 
- direct
Asset StringUrl  - Full path for a Direct Asset link.
 - external Boolean
 - External or internal link.
 - filepath String
 - Relative path for a Direct Asset link.
 - id String
 - The provider-assigned unique ID for this managed resource.
 - link
Id Number - The ID of the link.
 - link
Type String - The type of the link. Valid values are 
other,runbook,image,package. Defaults to other. - name String
 - The name of the link. Link names must be unique within the release.
 - project String
 - The ID or URL-encoded path of the project.
 - tag
Name String - The tag associated with the Release.
 - url String
 - The URL of the link. Link URLs must be unique within the release.
 
Package Details
- Repository
 - GitLab pulumi/pulumi-gitlab
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
gitlabTerraform Provider.