@pulumiverse/grafana
Version:
A Pulumi package for creating and managing grafana.
71 lines (70 loc) • 1.83 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/integrations/)
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as grafana from "@pulumiverse/grafana";
*
* const exampleIntegration = grafana.onCall.getIntegration({
* id: "CEXAMPLEID123",
* });
* ```
*/
export declare function getIntegration(args: GetIntegrationArgs, opts?: pulumi.InvokeOptions): Promise<GetIntegrationResult>;
/**
* A collection of arguments for invoking getIntegration.
*/
export interface GetIntegrationArgs {
/**
* The integration ID.
*/
id: string;
}
/**
* A collection of values returned by getIntegration.
*/
export interface GetIntegrationResult {
/**
* The integration ID.
*/
readonly id: string;
/**
* The inbound email for the integration. Only available for integration type `inboundEmail`.
*/
readonly inboundEmail: string;
/**
* The link for the integration.
*/
readonly link: string;
/**
* The integration name.
*/
readonly name: string;
}
/**
* * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/integrations/)
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as grafana from "@pulumiverse/grafana";
*
* const exampleIntegration = grafana.onCall.getIntegration({
* id: "CEXAMPLEID123",
* });
* ```
*/
export declare function getIntegrationOutput(args: GetIntegrationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIntegrationResult>;
/**
* A collection of arguments for invoking getIntegration.
*/
export interface GetIntegrationOutputArgs {
/**
* The integration ID.
*/
id: pulumi.Input<string>;
}