@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
81 lines (80 loc) • 2.44 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Use this data source to query detailed information of cloud monitor contact groups
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.cloud_monitor.getContactGroups({
* name: "tftest",
* });
* ```
*/
/** @deprecated volcengine.cloud_monitor.ContactGroups has been deprecated in favor of volcengine.cloud_monitor.getContactGroups */
export declare function contactGroups(args?: ContactGroupsArgs, opts?: pulumi.InvokeOptions): Promise<ContactGroupsResult>;
/**
* A collection of arguments for invoking ContactGroups.
*/
export interface ContactGroupsArgs {
/**
* Search for keywords in contact group names, supports fuzzy search.
*/
name?: string;
/**
* File name where to save data source results.
*/
outputFile?: string;
}
/**
* A collection of values returned by ContactGroups.
*/
export interface ContactGroupsResult {
/**
* The collection of query.
*/
readonly groups: outputs.cloud_monitor.ContactGroupsGroup[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The name of the contact group.
*/
readonly name?: string;
readonly outputFile?: string;
/**
* The total count of query.
*/
readonly totalCount: number;
}
/**
* Use this data source to query detailed information of cloud monitor contact groups
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.cloud_monitor.getContactGroups({
* name: "tftest",
* });
* ```
*/
/** @deprecated volcengine.cloud_monitor.ContactGroups has been deprecated in favor of volcengine.cloud_monitor.getContactGroups */
export declare function contactGroupsOutput(args?: ContactGroupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<ContactGroupsResult>;
/**
* A collection of arguments for invoking ContactGroups.
*/
export interface ContactGroupsOutputArgs {
/**
* Search for keywords in contact group names, supports fuzzy search.
*/
name?: pulumi.Input<string>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
}