pulumi-better-uptime
Version:
A Pulumi provider for managing Better Uptime monitoring, alerting, and incident management resources, dynamically bridged from the Terraform Better Uptime provider with support for monitors, heartbeats, integrations, status pages, and policies.
148 lines (147 loc) • 5.37 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
export declare class Metadata extends pulumi.CustomResource {
/**
* Get an existing Metadata 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?: MetadataState, opts?: pulumi.CustomResourceOptions): Metadata;
/**
* Returns true if the given object is an instance of Metadata. 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 Metadata;
/**
* The time when this metadata was created.
*/
readonly createdAt: pulumi.Output<string>;
/**
* The key of this Metadata.
*/
readonly key: pulumi.Output<string>;
/**
* An array of typed metadata values of this Metadata.
*/
readonly metadataValues: pulumi.Output<outputs.MetadataMetadataValue[] | undefined>;
/**
* The ID of the owner of this Metadata.
*/
readonly ownerId: pulumi.Output<string>;
/**
* The type of the owner of this Metadata. Valid values: `Monitor`, `Heartbeat`, `Incident`, `WebhookIntegration`,
* `EmailIntegration`, `IncomingWebhook`, `CallRouting`
*/
readonly ownerType: pulumi.Output<string>;
/**
* Used to specify the team the resource should be created in when using global tokens. This field is deprecated, team name
* doesn't have to be specified for this resource anymore.
*
* @deprecated Deprecated
*/
readonly teamName: pulumi.Output<string | undefined>;
/**
* The time when this metadata was updated.
*/
readonly updatedAt: pulumi.Output<string>;
/**
* The value of this Metadata. This field is deprecated, use repeatable block metadata_value to define values with types
* instead.
*
* @deprecated Deprecated
*/
readonly value: pulumi.Output<string | undefined>;
/**
* Create a Metadata 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: MetadataArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering Metadata resources.
*/
export interface MetadataState {
/**
* The time when this metadata was created.
*/
createdAt?: pulumi.Input<string>;
/**
* The key of this Metadata.
*/
key?: pulumi.Input<string>;
/**
* An array of typed metadata values of this Metadata.
*/
metadataValues?: pulumi.Input<pulumi.Input<inputs.MetadataMetadataValue>[]>;
/**
* The ID of the owner of this Metadata.
*/
ownerId?: pulumi.Input<string>;
/**
* The type of the owner of this Metadata. Valid values: `Monitor`, `Heartbeat`, `Incident`, `WebhookIntegration`,
* `EmailIntegration`, `IncomingWebhook`, `CallRouting`
*/
ownerType?: pulumi.Input<string>;
/**
* Used to specify the team the resource should be created in when using global tokens. This field is deprecated, team name
* doesn't have to be specified for this resource anymore.
*
* @deprecated Deprecated
*/
teamName?: pulumi.Input<string>;
/**
* The time when this metadata was updated.
*/
updatedAt?: pulumi.Input<string>;
/**
* The value of this Metadata. This field is deprecated, use repeatable block metadata_value to define values with types
* instead.
*
* @deprecated Deprecated
*/
value?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a Metadata resource.
*/
export interface MetadataArgs {
/**
* The key of this Metadata.
*/
key: pulumi.Input<string>;
/**
* An array of typed metadata values of this Metadata.
*/
metadataValues?: pulumi.Input<pulumi.Input<inputs.MetadataMetadataValue>[]>;
/**
* The ID of the owner of this Metadata.
*/
ownerId: pulumi.Input<string>;
/**
* The type of the owner of this Metadata. Valid values: `Monitor`, `Heartbeat`, `Incident`, `WebhookIntegration`,
* `EmailIntegration`, `IncomingWebhook`, `CallRouting`
*/
ownerType: pulumi.Input<string>;
/**
* Used to specify the team the resource should be created in when using global tokens. This field is deprecated, team name
* doesn't have to be specified for this resource anymore.
*
* @deprecated Deprecated
*/
teamName?: pulumi.Input<string>;
/**
* The value of this Metadata. This field is deprecated, use repeatable block metadata_value to define values with types
* instead.
*
* @deprecated Deprecated
*/
value?: pulumi.Input<string>;
}