@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
98 lines (97 loc) • 3.65 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Provides a resource to manage cloud monitor contact group
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@volcengine/pulumi";
*
* const foo = new volcengine.cloud_monitor.ContactGroup("foo", {
* contactsIdLists: [
* "1737376113733353472",
* "1737375997680111616",
* ],
* description: "tftest",
* });
* ```
*
* ## Import
*
* CloudMonitorContactGroup can be imported using the id, e.g.
*
* ```sh
* $ pulumi import volcengine:cloud_monitor/contactGroup:ContactGroup default resource_id
* ```
*/
export declare class ContactGroup extends pulumi.CustomResource {
/**
* Get an existing ContactGroup 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?: ContactGroupState, opts?: pulumi.CustomResourceOptions): ContactGroup;
/**
* Returns true if the given object is an instance of ContactGroup. 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 ContactGroup;
/**
* When creating a contact group, contacts should be added with their contact ID. The maximum number of IDs allowed is 10, meaning that the maximum number of members in a single contact group is 10.
*/
readonly contactsIdLists: pulumi.Output<string[] | undefined>;
/**
* The description of the contact group.
*/
readonly description: pulumi.Output<string>;
/**
* The name of the contact group.
*/
readonly name: pulumi.Output<string>;
/**
* Create a ContactGroup 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?: ContactGroupArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering ContactGroup resources.
*/
export interface ContactGroupState {
/**
* When creating a contact group, contacts should be added with their contact ID. The maximum number of IDs allowed is 10, meaning that the maximum number of members in a single contact group is 10.
*/
contactsIdLists?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The description of the contact group.
*/
description?: pulumi.Input<string>;
/**
* The name of the contact group.
*/
name?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a ContactGroup resource.
*/
export interface ContactGroupArgs {
/**
* When creating a contact group, contacts should be added with their contact ID. The maximum number of IDs allowed is 10, meaning that the maximum number of members in a single contact group is 10.
*/
contactsIdLists?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The description of the contact group.
*/
description?: pulumi.Input<string>;
/**
* The name of the contact group.
*/
name?: pulumi.Input<string>;
}