ExternalLink

Provides a Wavefront External Link Resource. This allows external links to be created, updated, and deleted.

Example Usage

using Pulumi;
using Wavefront = Pulumi.Wavefront;

class MyStack : Stack
{
    public MyStack()
    {
        var basic = new Wavefront.ExternalLink("basic", new Wavefront.ExternalLinkArgs
        {
            Description = "An external link description",
            Template = "https://example.com/source={{{source}}}&startTime={{startEpochMillis}}",
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-wavefront/sdk/go/wavefront"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := wavefront.NewExternalLink(ctx, "basic", &wavefront.ExternalLinkArgs{
			Description: pulumi.String("An external link description"),
			Template:    pulumi.String("https://example.com/source={{{source}}}&startTime={{startEpochMillis}}"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
import pulumi
import pulumi_wavefront as wavefront

basic = wavefront.ExternalLink("basic",
    description="An external link description",
    template="https://example.com/source={{{source}}}&startTime={{startEpochMillis}}")
import * as pulumi from "@pulumi/pulumi";
import * as wavefront from "@pulumi/wavefront";

const basic = new wavefront.ExternalLink("basic", {
    description: "An external link description",
    template: "https://example.com/source={{{source}}}&startTime={{startEpochMillis}}",
});

Create a ExternalLink Resource

new ExternalLink(name: string, args: ExternalLinkArgs, opts?: CustomResourceOptions);
@overload
def ExternalLink(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 description: Optional[str] = None,
                 is_log_integration: Optional[bool] = None,
                 metric_filter_regex: Optional[str] = None,
                 name: Optional[str] = None,
                 point_tag_filter_regexes: Optional[Mapping[str, str]] = None,
                 source_filter_regex: Optional[str] = None,
                 template: Optional[str] = None)
@overload
def ExternalLink(resource_name: str,
                 args: ExternalLinkArgs,
                 opts: Optional[ResourceOptions] = None)
func NewExternalLink(ctx *Context, name string, args ExternalLinkArgs, opts ...ResourceOption) (*ExternalLink, error)
public ExternalLink(string name, ExternalLinkArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args ExternalLinkArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args ExternalLinkArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ExternalLinkArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ExternalLinkArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

ExternalLink Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The ExternalLink resource accepts the following input properties:

Description string
Human-readable description for this link
Template string
The mustache template for this link. The template must expand to a full URL, including scheme, origin, etc.
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>
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.
Description string
Human-readable description for this link
Template string
The mustache template for this link. The template must expand to a full URL, including scheme, origin, etc.
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
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.
description string
Human-readable description for this link
template string
The mustache template for this link. The template must expand to a full URL, including scheme, origin, etc.
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}
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.
description str
Human-readable description for this link
template str
The mustache template for this link. The template must expand to a full URL, including scheme, origin, etc.
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]
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.

Outputs

All input properties are implicitly available as output properties. Additionally, the ExternalLink resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing ExternalLink Resource

Get an existing ExternalLink resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ExternalLinkState, opts?: CustomResourceOptions): ExternalLink
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        description: Optional[str] = None,
        is_log_integration: Optional[bool] = None,
        metric_filter_regex: Optional[str] = None,
        name: Optional[str] = None,
        point_tag_filter_regexes: Optional[Mapping[str, str]] = None,
        source_filter_regex: Optional[str] = None,
        template: Optional[str] = None) -> ExternalLink
func GetExternalLink(ctx *Context, name string, id IDInput, state *ExternalLinkState, opts ...ResourceOption) (*ExternalLink, error)
public static ExternalLink Get(string name, Input<string> id, ExternalLinkState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

Description string
Human-readable description for this 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>
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 this link. The template must expand to a full URL, including scheme, origin, etc.
Description string
Human-readable description for this 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
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 this link. The template must expand to a full URL, including scheme, origin, etc.
description string
Human-readable description for this 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}
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 this link. The template must expand to a full URL, including scheme, origin, etc.
description str
Human-readable description for this 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]
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 this link. The template must expand to a full URL, including scheme, origin, etc.

Import

Maintenance windows can be imported using the id, e.g.

 $ pulumi import wavefront:index/externalLink:ExternalLink basic fVj6fz6zYC4aBkID

Package Details

Repository
https://github.com/pulumi/pulumi-wavefront
License
Apache-2.0
Notes
This Pulumi package is based on the wavefront Terraform Provider.