1. Packages
  2. Wavefront Provider
  3. API Docs
  4. getExternalLink
Wavefront v3.1.6 published on Thursday, Oct 31, 2024 by Pulumi

wavefront.getExternalLink

Explore with Pulumi AI

wavefront logo
Wavefront v3.1.6 published on Thursday, Oct 31, 2024 by Pulumi

    Use this data source to get information about a Wavefront external link by its ID.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as wavefront from "@pulumi/wavefront";
    
    // Get the information about a specific external links.
    const example = wavefront.getExternalLink({
        id: "sample-external-link-id",
    });
    
    import pulumi
    import pulumi_wavefront as wavefront
    
    # Get the information about a specific external links.
    example = wavefront.get_external_link(id="sample-external-link-id")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-wavefront/sdk/v3/go/wavefront"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Get the information about a specific external links.
    		_, err := wavefront.LookupExternalLink(ctx, &wavefront.LookupExternalLinkArgs{
    			Id: "sample-external-link-id",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Wavefront = Pulumi.Wavefront;
    
    return await Deployment.RunAsync(() => 
    {
        // Get the information about a specific external links.
        var example = Wavefront.GetExternalLink.Invoke(new()
        {
            Id = "sample-external-link-id",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.wavefront.WavefrontFunctions;
    import com.pulumi.wavefront.inputs.GetExternalLinkArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            // Get the information about a specific external links.
            final var example = WavefrontFunctions.getExternalLink(GetExternalLinkArgs.builder()
                .id("sample-external-link-id")
                .build());
    
        }
    }
    
    variables:
      # Get the information about a specific external links.
      example:
        fn::invoke:
          Function: wavefront:getExternalLink
          Arguments:
            id: sample-external-link-id
    

    Using getExternalLink

    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 getExternalLink(args: GetExternalLinkArgs, opts?: InvokeOptions): Promise<GetExternalLinkResult>
    function getExternalLinkOutput(args: GetExternalLinkOutputArgs, opts?: InvokeOptions): Output<GetExternalLinkResult>
    def get_external_link(id: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetExternalLinkResult
    def get_external_link_output(id: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetExternalLinkResult]
    func LookupExternalLink(ctx *Context, args *LookupExternalLinkArgs, opts ...InvokeOption) (*LookupExternalLinkResult, error)
    func LookupExternalLinkOutput(ctx *Context, args *LookupExternalLinkOutputArgs, opts ...InvokeOption) LookupExternalLinkResultOutput

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

    public static class GetExternalLink 
    {
        public static Task<GetExternalLinkResult> InvokeAsync(GetExternalLinkArgs args, InvokeOptions? opts = null)
        public static Output<GetExternalLinkResult> Invoke(GetExternalLinkInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetExternalLinkResult> getExternalLink(GetExternalLinkArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: wavefront:index/getExternalLink:getExternalLink
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The ID of the external link.
    Id string
    The ID of the external link.
    id String
    The ID of the external link.
    id string
    The ID of the external link.
    id str
    The ID of the external link.
    id String
    The ID of the external link.

    getExternalLink Result

    The following output properties are available:

    CreatedEpochMillis int
    The timestamp in epoch milliseconds indicating when the external link is created.
    CreatorId string
    The ID of the user who created the external link.
    Description string
    Human-readable description of this link.
    Id string
    The ID of the external link.
    IsLogIntegration bool
    Whether this is a "Log Integration" subType of external link.
    MetricFilterRegex string
    Controls whether a link is displayed in the context menu of a highlighted series. If present, the metric name of the highlighted series must match this regular expression in order for the link to be displayed.
    Name string
    The name of the external link.
    PointTagFilterRegexes Dictionary<string, string>
    (Optional) Controls whether a link is displayed in the context menu of a highlighted series. This is a map from string to regular expression. The highlighted series must contain point tags whose keys are present in the keys of this map and whose values match the regular expressions associated with those keys in order for the link to be displayed.
    SourceFilterRegex string
    Controls whether a link is displayed in the context menu of a highlighted series. If present, the source name of the highlighted series must match this regular expression in order for the link to be displayed.
    Template string
    The mustache template for the link. The template must expand to a full URL, including scheme, origin, etc.
    UpdatedEpochMillis int
    The timestamp in epoch milliseconds indicating when the external link is updated.
    UpdaterId string
    The ID of the user who updated the external link.
    CreatedEpochMillis int
    The timestamp in epoch milliseconds indicating when the external link is created.
    CreatorId string
    The ID of the user who created the external link.
    Description string
    Human-readable description of this link.
    Id string
    The ID of the external link.
    IsLogIntegration bool
    Whether this is a "Log Integration" subType of external link.
    MetricFilterRegex string
    Controls whether a link is displayed in the context menu of a highlighted series. If present, the metric name of the highlighted series must match this regular expression in order for the link to be displayed.
    Name string
    The name of the external link.
    PointTagFilterRegexes map[string]string
    (Optional) Controls whether a link is displayed in the context menu of a highlighted series. This is a map from string to regular expression. The highlighted series must contain point tags whose keys are present in the keys of this map and whose values match the regular expressions associated with those keys in order for the link to be displayed.
    SourceFilterRegex string
    Controls whether a link is displayed in the context menu of a highlighted series. If present, the source name of the highlighted series must match this regular expression in order for the link to be displayed.
    Template string
    The mustache template for the link. The template must expand to a full URL, including scheme, origin, etc.
    UpdatedEpochMillis int
    The timestamp in epoch milliseconds indicating when the external link is updated.
    UpdaterId string
    The ID of the user who updated the external link.
    createdEpochMillis Integer
    The timestamp in epoch milliseconds indicating when the external link is created.
    creatorId String
    The ID of the user who created the external link.
    description String
    Human-readable description of this link.
    id String
    The ID of the external link.
    isLogIntegration Boolean
    Whether this is a "Log Integration" subType of external link.
    metricFilterRegex String
    Controls whether a link is displayed in the context menu of a highlighted series. If present, the metric name of the highlighted series must match this regular expression in order for the link to be displayed.
    name String
    The name of the external link.
    pointTagFilterRegexes Map<String,String>
    (Optional) Controls whether a link is displayed in the context menu of a highlighted series. This is a map from string to regular expression. The highlighted series must contain point tags whose keys are present in the keys of this map and whose values match the regular expressions associated with those keys in order for the link to be displayed.
    sourceFilterRegex String
    Controls whether a link is displayed in the context menu of a highlighted series. If present, the source name of the highlighted series must match this regular expression in order for the link to be displayed.
    template String
    The mustache template for the link. The template must expand to a full URL, including scheme, origin, etc.
    updatedEpochMillis Integer
    The timestamp in epoch milliseconds indicating when the external link is updated.
    updaterId String
    The ID of the user who updated the external link.
    createdEpochMillis number
    The timestamp in epoch milliseconds indicating when the external link is created.
    creatorId string
    The ID of the user who created the external link.
    description string
    Human-readable description of this link.
    id string
    The ID of the external link.
    isLogIntegration boolean
    Whether this is a "Log Integration" subType of external link.
    metricFilterRegex string
    Controls whether a link is displayed in the context menu of a highlighted series. If present, the metric name of the highlighted series must match this regular expression in order for the link to be displayed.
    name string
    The name of the external link.
    pointTagFilterRegexes {[key: string]: string}
    (Optional) Controls whether a link is displayed in the context menu of a highlighted series. This is a map from string to regular expression. The highlighted series must contain point tags whose keys are present in the keys of this map and whose values match the regular expressions associated with those keys in order for the link to be displayed.
    sourceFilterRegex string
    Controls whether a link is displayed in the context menu of a highlighted series. If present, the source name of the highlighted series must match this regular expression in order for the link to be displayed.
    template string
    The mustache template for the link. The template must expand to a full URL, including scheme, origin, etc.
    updatedEpochMillis number
    The timestamp in epoch milliseconds indicating when the external link is updated.
    updaterId string
    The ID of the user who updated the external link.
    created_epoch_millis int
    The timestamp in epoch milliseconds indicating when the external link is created.
    creator_id str
    The ID of the user who created the external link.
    description str
    Human-readable description of this link.
    id str
    The ID of the external link.
    is_log_integration bool
    Whether this is a "Log Integration" subType of external link.
    metric_filter_regex str
    Controls whether a link is displayed in the context menu of a highlighted series. If present, the metric name of the highlighted series must match this regular expression in order for the link to be displayed.
    name str
    The name of the external link.
    point_tag_filter_regexes Mapping[str, str]
    (Optional) Controls whether a link is displayed in the context menu of a highlighted series. This is a map from string to regular expression. The highlighted series must contain point tags whose keys are present in the keys of this map and whose values match the regular expressions associated with those keys in order for the link to be displayed.
    source_filter_regex str
    Controls whether a link is displayed in the context menu of a highlighted series. If present, the source name of the highlighted series must match this regular expression in order for the link to be displayed.
    template str
    The mustache template for the link. The template must expand to a full URL, including scheme, origin, etc.
    updated_epoch_millis int
    The timestamp in epoch milliseconds indicating when the external link is updated.
    updater_id str
    The ID of the user who updated the external link.
    createdEpochMillis Number
    The timestamp in epoch milliseconds indicating when the external link is created.
    creatorId String
    The ID of the user who created the external link.
    description String
    Human-readable description of this link.
    id String
    The ID of the external link.
    isLogIntegration Boolean
    Whether this is a "Log Integration" subType of external link.
    metricFilterRegex String
    Controls whether a link is displayed in the context menu of a highlighted series. If present, the metric name of the highlighted series must match this regular expression in order for the link to be displayed.
    name String
    The name of the external link.
    pointTagFilterRegexes Map<String>
    (Optional) Controls whether a link is displayed in the context menu of a highlighted series. This is a map from string to regular expression. The highlighted series must contain point tags whose keys are present in the keys of this map and whose values match the regular expressions associated with those keys in order for the link to be displayed.
    sourceFilterRegex String
    Controls whether a link is displayed in the context menu of a highlighted series. If present, the source name of the highlighted series must match this regular expression in order for the link to be displayed.
    template String
    The mustache template for the link. The template must expand to a full URL, including scheme, origin, etc.
    updatedEpochMillis Number
    The timestamp in epoch milliseconds indicating when the external link is updated.
    updaterId String
    The ID of the user who updated the external link.

    Package Details

    Repository
    Wavefront pulumi/pulumi-wavefront
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the wavefront Terraform Provider.
    wavefront logo
    Wavefront v3.1.6 published on Thursday, Oct 31, 2024 by Pulumi