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.
104 lines (103 loc) • 3.97 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
export declare class MonitorGroup extends pulumi.CustomResource {
/**
* Get an existing MonitorGroup 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?: MonitorGroupState, opts?: pulumi.CustomResourceOptions): MonitorGroup;
/**
* Returns true if the given object is an instance of MonitorGroup. 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 MonitorGroup;
/**
* The time when this monitor group was created.
*/
readonly createdAt: pulumi.Output<string>;
/**
* A name of the group that you can see in the dashboard.
*/
readonly name: pulumi.Output<string>;
/**
* Set to true to pause monitoring for any existing monitors in the group - we won't notify you about downtime. Set to
* false to resume monitoring for any existing monitors in the group.
*/
readonly paused: pulumi.Output<boolean>;
/**
* Set sort_index to specify how to sort your monitor groups.
*/
readonly sortIndex: pulumi.Output<number>;
/**
* Used to specify the team the resource should be created in when using global tokens.
*/
readonly teamName: pulumi.Output<string | undefined>;
/**
* The time when this monitor group was updated.
*/
readonly updatedAt: pulumi.Output<string>;
/**
* Create a MonitorGroup 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?: MonitorGroupArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering MonitorGroup resources.
*/
export interface MonitorGroupState {
/**
* The time when this monitor group was created.
*/
createdAt?: pulumi.Input<string>;
/**
* A name of the group that you can see in the dashboard.
*/
name?: pulumi.Input<string>;
/**
* Set to true to pause monitoring for any existing monitors in the group - we won't notify you about downtime. Set to
* false to resume monitoring for any existing monitors in the group.
*/
paused?: pulumi.Input<boolean>;
/**
* Set sort_index to specify how to sort your monitor groups.
*/
sortIndex?: pulumi.Input<number>;
/**
* Used to specify the team the resource should be created in when using global tokens.
*/
teamName?: pulumi.Input<string>;
/**
* The time when this monitor group was updated.
*/
updatedAt?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a MonitorGroup resource.
*/
export interface MonitorGroupArgs {
/**
* A name of the group that you can see in the dashboard.
*/
name?: pulumi.Input<string>;
/**
* Set to true to pause monitoring for any existing monitors in the group - we won't notify you about downtime. Set to
* false to resume monitoring for any existing monitors in the group.
*/
paused?: pulumi.Input<boolean>;
/**
* Set sort_index to specify how to sort your monitor groups.
*/
sortIndex?: pulumi.Input<number>;
/**
* Used to specify the team the resource should be created in when using global tokens.
*/
teamName?: pulumi.Input<string>;
}