@pulumi/wavefront
Version:
A Pulumi package for creating and managing wavefront cloud resources.
160 lines (159 loc) • 6.97 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Provides a Wavefront External Link Resource. This allows external links to be created, updated, and deleted.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as wavefront from "@pulumi/wavefront";
*
* const basic = new wavefront.ExternalLink("basic", {
* name: "External Link",
* description: "An external link description",
* template: "https://example.com/source={{{source}}}&startTime={{startEpochMillis}}",
* });
* ```
*
* ## Import
*
* Maintenance windows can be imported by using the `id`, e.g.:
*
* ```sh
* $ pulumi import wavefront:index/externalLink:ExternalLink basic fVj6fz6zYC4aBkID
* ```
*/
export declare class ExternalLink extends pulumi.CustomResource {
/**
* Get an existing ExternalLink resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ExternalLinkState, opts?: pulumi.CustomResourceOptions): ExternalLink;
/**
* Returns true if the given object is an instance of ExternalLink. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is ExternalLink;
/**
* Human-readable description for this link.
*/
readonly description: pulumi.Output<string>;
/**
* Whether this is a "Log Integration" subType of external link.
*/
readonly isLogIntegration: pulumi.Output<boolean | undefined>;
/**
* 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.
*/
readonly metricFilterRegex: pulumi.Output<string | undefined>;
/**
* The name of the external link.
*/
readonly name: pulumi.Output<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.
*/
readonly pointTagFilterRegexes: pulumi.Output<{
[key: string]: string;
} | undefined>;
/**
* 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.
*/
readonly sourceFilterRegex: pulumi.Output<string | undefined>;
/**
* The mustache template for this link. The template must expand to a full URL, including scheme, origin, etc.
*/
readonly template: pulumi.Output<string>;
/**
* Create a ExternalLink resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: ExternalLinkArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering ExternalLink resources.
*/
export interface ExternalLinkState {
/**
* Human-readable description for this link.
*/
description?: pulumi.Input<string>;
/**
* Whether this is a "Log Integration" subType of external link.
*/
isLogIntegration?: pulumi.Input<boolean>;
/**
* 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.
*/
metricFilterRegex?: pulumi.Input<string>;
/**
* The name of the external link.
*/
name?: pulumi.Input<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.
*/
pointTagFilterRegexes?: pulumi.Input<{
[key: string]: pulumi.Input<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.
*/
sourceFilterRegex?: pulumi.Input<string>;
/**
* The mustache template for this link. The template must expand to a full URL, including scheme, origin, etc.
*/
template?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a ExternalLink resource.
*/
export interface ExternalLinkArgs {
/**
* Human-readable description for this link.
*/
description: pulumi.Input<string>;
/**
* Whether this is a "Log Integration" subType of external link.
*/
isLogIntegration?: pulumi.Input<boolean>;
/**
* 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.
*/
metricFilterRegex?: pulumi.Input<string>;
/**
* The name of the external link.
*/
name?: pulumi.Input<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.
*/
pointTagFilterRegexes?: pulumi.Input<{
[key: string]: pulumi.Input<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.
*/
sourceFilterRegex?: pulumi.Input<string>;
/**
* The mustache template for this link. The template must expand to a full URL, including scheme, origin, etc.
*/
template: pulumi.Input<string>;
}