UNPKG

pulumi-statuspage

Version:

A Pulumi package for creating and managing statuspage cloud resources.

107 lines (106 loc) 3.4 kB
import * as pulumi from "@pulumi/pulumi"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as statuspage from "pulumi-statuspage"; * * const myGroup = new statuspage.ComponentGroup("myGroup", { * components: [statuspage_component.my_component.id], * description: "Created by terraform", * pageId: "pageid", * }); * ``` * * ## Import * * `statuspage_component_group` can be imported using the ID of the component group, e.g. * * ```sh * $ pulumi import statuspage:index/componentGroup:ComponentGroup my_group my-page-id/my-component-group-id * ``` */ export declare class ComponentGroup extends pulumi.CustomResource { /** * Get an existing ComponentGroup 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?: ComponentGroupState, opts?: pulumi.CustomResourceOptions): ComponentGroup; /** * Returns true if the given object is an instance of ComponentGroup. 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 ComponentGroup; /** * List of component IDs */ readonly components: pulumi.Output<string[]>; /** * description of the component group */ readonly description: pulumi.Output<string | undefined>; /** * name of the component group */ readonly name: pulumi.Output<string>; /** * the id of the page this component belongs to */ readonly pageId: pulumi.Output<string>; /** * Create a ComponentGroup 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: ComponentGroupArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ComponentGroup resources. */ export interface ComponentGroupState { /** * List of component IDs */ components?: pulumi.Input<pulumi.Input<string>[]>; /** * description of the component group */ description?: pulumi.Input<string>; /** * name of the component group */ name?: pulumi.Input<string>; /** * the id of the page this component belongs to */ pageId?: pulumi.Input<string>; } /** * The set of arguments for constructing a ComponentGroup resource. */ export interface ComponentGroupArgs { /** * List of component IDs */ components: pulumi.Input<pulumi.Input<string>[]>; /** * description of the component group */ description?: pulumi.Input<string>; /** * name of the component group */ name?: pulumi.Input<string>; /** * the id of the page this component belongs to */ pageId: pulumi.Input<string>; }