@lbrlabs/pulumi-grafana
Version:
A Pulumi package for creating and managing grafana.
71 lines (70 loc) • 1.73 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/users/)
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as grafana from "@pulumi/grafana";
*
* const alex = grafana.getOncallUser({
* username: "alex",
* });
* ```
*/
export declare function getOncallUser(args: GetOncallUserArgs, opts?: pulumi.InvokeOptions): Promise<GetOncallUserResult>;
/**
* A collection of arguments for invoking getOncallUser.
*/
export interface GetOncallUserArgs {
/**
* The username of the user.
*/
username: string;
}
/**
* A collection of values returned by getOncallUser.
*/
export interface GetOncallUserResult {
/**
* The email of the user.
*/
readonly email: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The role of the user.
*/
readonly role: string;
/**
* The username of the user.
*/
readonly username: string;
}
/**
* * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/users/)
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as grafana from "@pulumi/grafana";
*
* const alex = grafana.getOncallUser({
* username: "alex",
* });
* ```
*/
export declare function getOncallUserOutput(args: GetOncallUserOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOncallUserResult>;
/**
* A collection of arguments for invoking getOncallUser.
*/
export interface GetOncallUserOutputArgs {
/**
* The username of the user.
*/
username: pulumi.Input<string>;
}