@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
82 lines (81 loc) • 2.12 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 contacts
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.cloud_monitor.getContacts({
* ids: [
* "17******516",
* "1712**********0",
* ],
* });
* ```
*/
export declare function getContacts(args: GetContactsArgs, opts?: pulumi.InvokeOptions): Promise<GetContactsResult>;
/**
* A collection of arguments for invoking getContacts.
*/
export interface GetContactsArgs {
/**
* A list of Contact IDs.
*/
ids: string[];
/**
* File name where to save data source results.
*/
outputFile?: string;
}
/**
* A collection of values returned by getContacts.
*/
export interface GetContactsResult {
/**
* The collection of query.
*/
readonly contacts: outputs.cloud_monitor.GetContactsContact[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly ids: string[];
readonly outputFile?: string;
/**
* The total count of query.
*/
readonly totalCount: number;
}
/**
* Use this data source to query detailed information of cloud monitor contacts
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.cloud_monitor.getContacts({
* ids: [
* "17******516",
* "1712**********0",
* ],
* });
* ```
*/
export declare function getContactsOutput(args: GetContactsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetContactsResult>;
/**
* A collection of arguments for invoking getContacts.
*/
export interface GetContactsOutputArgs {
/**
* A list of Contact IDs.
*/
ids: pulumi.Input<pulumi.Input<string>[]>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
}