@pulumiverse/grafana
Version:
A Pulumi package for creating and managing grafana.
73 lines (72 loc) • 1.95 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.onCall.getUser({
* username: "alex",
* });
* ```
*/
/** @deprecated grafana.index/getoncalluser.getOncallUser has been deprecated in favor of grafana.oncall/getuser.getUser */
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 ID of the user.
*/
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.onCall.getUser({
* username: "alex",
* });
* ```
*/
/** @deprecated grafana.index/getoncalluser.getOncallUser has been deprecated in favor of grafana.oncall/getuser.getUser */
export declare function getOncallUserOutput(args: GetOncallUserOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOncallUserResult>;
/**
* A collection of arguments for invoking getOncallUser.
*/
export interface GetOncallUserOutputArgs {
/**
* The username of the user.
*/
username: pulumi.Input<string>;
}