@pulumi/pagerduty
Version:
A Pulumi package for creating and managing pagerduty cloud resources.
66 lines (65 loc) • 2.06 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* Use this data source to get information about the [standards](https://developer.pagerduty.com/api-reference/dbed9a0ff9355-list-standards) applicable to
* the PagerDuty account.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as pagerduty from "@pulumi/pagerduty";
*
* const standards = pagerduty.getStandards({});
* ```
*/
export declare function getStandards(args?: GetStandardsArgs, opts?: pulumi.InvokeOptions): Promise<GetStandardsResult>;
/**
* A collection of arguments for invoking getStandards.
*/
export interface GetStandardsArgs {
/**
* Filter by `resourceType` the received standards. Allowed values are `technicalService`.
*/
resourceType?: string;
}
/**
* A collection of values returned by getStandards.
*/
export interface GetStandardsResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* Specifies the type of resource to which the standard applies.
*/
readonly resourceType?: string;
/**
* The list of standards defined.
*/
readonly standards: outputs.GetStandardsStandard[];
}
/**
* Use this data source to get information about the [standards](https://developer.pagerduty.com/api-reference/dbed9a0ff9355-list-standards) applicable to
* the PagerDuty account.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as pagerduty from "@pulumi/pagerduty";
*
* const standards = pagerduty.getStandards({});
* ```
*/
export declare function getStandardsOutput(args?: GetStandardsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetStandardsResult>;
/**
* A collection of arguments for invoking getStandards.
*/
export interface GetStandardsOutputArgs {
/**
* Filter by `resourceType` the received standards. Allowed values are `technicalService`.
*/
resourceType?: pulumi.Input<string>;
}