@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
79 lines (78 loc) • 2.22 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",
* });
* ```
*/
export declare function getContactGroups(args?: GetContactGroupsArgs, opts?: pulumi.InvokeOptions): Promise<GetContactGroupsResult>;
/**
* A collection of arguments for invoking getContactGroups.
*/
export interface GetContactGroupsArgs {
/**
* 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 getContactGroups.
*/
export interface GetContactGroupsResult {
/**
* The collection of query.
*/
readonly groups: outputs.cloud_monitor.GetContactGroupsGroup[];
/**
* 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",
* });
* ```
*/
export declare function getContactGroupsOutput(args?: GetContactGroupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetContactGroupsResult>;
/**
* A collection of arguments for invoking getContactGroups.
*/
export interface GetContactGroupsOutputArgs {
/**
* 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>;
}