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

wavefront.getExternalLinks

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 all Wavefront external links.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as wavefront from "@pulumi/wavefront";
    
    // Get the information about all external links.
    const example = wavefront.getExternalLinks({
        limit: 10,
        offset: 0,
    });
    
    import pulumi
    import pulumi_wavefront as wavefront
    
    # Get the information about all external links.
    example = wavefront.get_external_links(limit=10,
        offset=0)
    
    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 all external links.
    		_, err := wavefront.GetExternalLinks(ctx, &wavefront.GetExternalLinksArgs{
    			Limit:  pulumi.IntRef(10),
    			Offset: pulumi.IntRef(0),
    		}, 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 all external links.
        var example = Wavefront.GetExternalLinks.Invoke(new()
        {
            Limit = 10,
            Offset = 0,
        });
    
    });
    
    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.GetExternalLinksArgs;
    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 all external links.
            final var example = WavefrontFunctions.getExternalLinks(GetExternalLinksArgs.builder()
                .limit(10)
                .offset(0)
                .build());
    
        }
    }
    
    variables:
      # Get the information about all external links.
      example:
        fn::invoke:
          Function: wavefront:getExternalLinks
          Arguments:
            limit: 10
            offset: 0
    

    Using getExternalLinks

    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 getExternalLinks(args: GetExternalLinksArgs, opts?: InvokeOptions): Promise<GetExternalLinksResult>
    function getExternalLinksOutput(args: GetExternalLinksOutputArgs, opts?: InvokeOptions): Output<GetExternalLinksResult>
    def get_external_links(limit: Optional[int] = None,
                           offset: Optional[int] = None,
                           opts: Optional[InvokeOptions] = None) -> GetExternalLinksResult
    def get_external_links_output(limit: Optional[pulumi.Input[int]] = None,
                           offset: Optional[pulumi.Input[int]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetExternalLinksResult]
    func GetExternalLinks(ctx *Context, args *GetExternalLinksArgs, opts ...InvokeOption) (*GetExternalLinksResult, error)
    func GetExternalLinksOutput(ctx *Context, args *GetExternalLinksOutputArgs, opts ...InvokeOption) GetExternalLinksResultOutput

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

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

    The following arguments are supported:

    Limit int
    Limit is the maximum number of results to be returned. Defaults to 100.
    Offset int
    Offset is the offset from the first result to be returned. Defaults to 0.
    Limit int
    Limit is the maximum number of results to be returned. Defaults to 100.
    Offset int
    Offset is the offset from the first result to be returned. Defaults to 0.
    limit Integer
    Limit is the maximum number of results to be returned. Defaults to 100.
    offset Integer
    Offset is the offset from the first result to be returned. Defaults to 0.
    limit number
    Limit is the maximum number of results to be returned. Defaults to 100.
    offset number
    Offset is the offset from the first result to be returned. Defaults to 0.
    limit int
    Limit is the maximum number of results to be returned. Defaults to 100.
    offset int
    Offset is the offset from the first result to be returned. Defaults to 0.
    limit Number
    Limit is the maximum number of results to be returned. Defaults to 100.
    offset Number
    Offset is the offset from the first result to be returned. Defaults to 0.

    getExternalLinks Result

    The following output properties are available:

    ExternalLinks List<GetExternalLinksExternalLink>
    List of all external links in Wavefront. For each external link you will see a list of attributes.
    Id string
    The provider-assigned unique ID for this managed resource.
    Limit int
    Offset int
    ExternalLinks []GetExternalLinksExternalLink
    List of all external links in Wavefront. For each external link you will see a list of attributes.
    Id string
    The provider-assigned unique ID for this managed resource.
    Limit int
    Offset int
    externalLinks List<GetExternalLinksExternalLink>
    List of all external links in Wavefront. For each external link you will see a list of attributes.
    id String
    The provider-assigned unique ID for this managed resource.
    limit Integer
    offset Integer
    externalLinks GetExternalLinksExternalLink[]
    List of all external links in Wavefront. For each external link you will see a list of attributes.
    id string
    The provider-assigned unique ID for this managed resource.
    limit number
    offset number
    external_links Sequence[GetExternalLinksExternalLink]
    List of all external links in Wavefront. For each external link you will see a list of attributes.
    id str
    The provider-assigned unique ID for this managed resource.
    limit int
    offset int
    externalLinks List<Property Map>
    List of all external links in Wavefront. For each external link you will see a list of attributes.
    id String
    The provider-assigned unique ID for this managed resource.
    limit Number
    offset Number

    Supporting Types

    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 the 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 the 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 the 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 the 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 the 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 the 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