@pulumiverse/grafana
Version:
A Pulumi package for creating and managing grafana.
55 lines (54 loc) • 1.55 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/user_groups/)
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as grafana from "@pulumi/grafana";
*
* const exampleUserGroup = grafana.onCall.getUserGroup({
* slackHandle: "example_slack_handle",
* });
* ```
*/
export declare function getUserGroup(args: GetUserGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetUserGroupResult>;
/**
* A collection of arguments for invoking getUserGroup.
*/
export interface GetUserGroupArgs {
slackHandle: string;
}
/**
* A collection of values returned by getUserGroup.
*/
export interface GetUserGroupResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly slackHandle: string;
readonly slackId: string;
}
/**
* * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/user_groups/)
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as grafana from "@pulumi/grafana";
*
* const exampleUserGroup = grafana.onCall.getUserGroup({
* slackHandle: "example_slack_handle",
* });
* ```
*/
export declare function getUserGroupOutput(args: GetUserGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetUserGroupResult>;
/**
* A collection of arguments for invoking getUserGroup.
*/
export interface GetUserGroupOutputArgs {
slackHandle: pulumi.Input<string>;
}