@pulumi/signalfx
Version:
A Pulumi package for creating and managing SignalFx resources.
63 lines (62 loc) • 1.76 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Use this data source to fetch the PagerDuty integration details.
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as signalfx from "@pulumi/signalfx";
*
* const pdIntegration = signalfx.pagerduty.getIntegration({
* name: "PD-Integration",
* });
* ```
*/
export declare function getIntegration(args: GetIntegrationArgs, opts?: pulumi.InvokeOptions): Promise<GetIntegrationResult>;
/**
* A collection of arguments for invoking getIntegration.
*/
export interface GetIntegrationArgs {
/**
* This is the configured name of the PagerDuty integration.
*/
name: string;
}
/**
* A collection of values returned by getIntegration.
*/
export interface GetIntegrationResult {
/**
* Whether the integration is currently enabled.
*/
readonly enabled: boolean;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* This is the configured name of the PagerDuty integration.
*/
readonly name: string;
}
/**
* Use this data source to fetch the PagerDuty integration details.
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as signalfx from "@pulumi/signalfx";
*
* const pdIntegration = signalfx.pagerduty.getIntegration({
* name: "PD-Integration",
* });
* ```
*/
export declare function getIntegrationOutput(args: GetIntegrationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIntegrationResult>;
/**
* A collection of arguments for invoking getIntegration.
*/
export interface GetIntegrationOutputArgs {
/**
* This is the configured name of the PagerDuty integration.
*/
name: pulumi.Input<string>;
}