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

gitlab.getReleaseLink

Explore with Pulumi AI

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

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

    The following arguments are supported:

    LinkId int
    The ID of the link.
    Project string
    The ID or URL-encoded path of the project.
    TagName string
    The tag associated with the Release.
    LinkId int
    The ID of the link.
    Project string
    The ID or URL-encoded path of the project.
    TagName string
    The tag associated with the Release.
    linkId Integer
    The ID of the link.
    project String
    The ID or URL-encoded path of the project.
    tagName String
    The tag associated with the Release.
    linkId number
    The ID of the link.
    project string
    The ID or URL-encoded path of the project.
    tagName 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.
    linkId Number
    The ID of the link.
    project String
    The ID or URL-encoded path of the project.
    tagName String
    The tag associated with the Release.

    getReleaseLink Result

    The following output properties are available:

    DirectAssetUrl string
    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.
    LinkId int
    The ID of the link.
    LinkType 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.
    TagName string
    The tag associated with the Release.
    Url string
    The URL of the link. Link URLs must be unique within the release.
    DirectAssetUrl string
    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.
    LinkId int
    The ID of the link.
    LinkType 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.
    TagName string
    The tag associated with the Release.
    Url string
    The URL of the link. Link URLs must be unique within the release.
    directAssetUrl String
    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.
    linkId Integer
    The ID of the link.
    linkType 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.
    tagName String
    The tag associated with the Release.
    url String
    The URL of the link. Link URLs must be unique within the release.
    directAssetUrl string
    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.
    linkId number
    The ID of the link.
    linkType 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.
    tagName string
    The tag associated with the Release.
    url string
    The URL of the link. Link URLs must be unique within the release.
    direct_asset_url str
    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.
    directAssetUrl String
    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.
    linkId Number
    The ID of the link.
    linkType 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.
    tagName 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 gitlab Terraform Provider.
    gitlab logo
    GitLab v8.5.0 published on Friday, Oct 18, 2024 by Pulumi