@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
95 lines (94 loc) • 2.83 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Provides a resource to manage cloud monitor contact
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@volcengine/pulumi";
*
* const _default = new volcengine.cloud_monitor.Contact("default", {
* email: "192*****72@****.com",
* phone: "180****27812",
* });
* ```
*
* ## Import
*
* CloudMonitor Contact can be imported using the id, e.g.
*
* ```sh
* $ pulumi import volcengine:cloud_monitor/contact:Contact default 145258255725730****
* ```
*/
export declare class Contact extends pulumi.CustomResource {
/**
* Get an existing Contact 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?: ContactState, opts?: pulumi.CustomResourceOptions): Contact;
/**
* Returns true if the given object is an instance of Contact. 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 Contact;
/**
* The email of contact.
*/
readonly email: pulumi.Output<string>;
/**
* The name of contact.
*/
readonly name: pulumi.Output<string>;
/**
* The phone of contact.
*/
readonly phone: pulumi.Output<string | undefined>;
/**
* Create a Contact 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: ContactArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering Contact resources.
*/
export interface ContactState {
/**
* The email of contact.
*/
email?: pulumi.Input<string>;
/**
* The name of contact.
*/
name?: pulumi.Input<string>;
/**
* The phone of contact.
*/
phone?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a Contact resource.
*/
export interface ContactArgs {
/**
* The email of contact.
*/
email: pulumi.Input<string>;
/**
* The name of contact.
*/
name?: pulumi.Input<string>;
/**
* The phone of contact.
*/
phone?: pulumi.Input<string>;
}