@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
84 lines (83 loc) • 2.33 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",
* ],
* });
* ```
*/
/** @deprecated volcengine.cloud_monitor.Contacts has been deprecated in favor of volcengine.cloud_monitor.getContacts */
export declare function contacts(args: ContactsArgs, opts?: pulumi.InvokeOptions): Promise<ContactsResult>;
/**
* A collection of arguments for invoking Contacts.
*/
export interface ContactsArgs {
/**
* A list of Contact IDs.
*/
ids: string[];
/**
* File name where to save data source results.
*/
outputFile?: string;
}
/**
* A collection of values returned by Contacts.
*/
export interface ContactsResult {
/**
* The collection of query.
*/
readonly contacts: outputs.cloud_monitor.ContactsContact[];
/**
* 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",
* ],
* });
* ```
*/
/** @deprecated volcengine.cloud_monitor.Contacts has been deprecated in favor of volcengine.cloud_monitor.getContacts */
export declare function contactsOutput(args: ContactsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<ContactsResult>;
/**
* A collection of arguments for invoking Contacts.
*/
export interface ContactsOutputArgs {
/**
* A list of Contact IDs.
*/
ids: pulumi.Input<pulumi.Input<string>[]>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
}