@lbrlabs/pulumi-grafana
Version:
A Pulumi package for creating and managing grafana.
85 lines (84 loc) • 2.73 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Use the `teamSync` attribute of the `grafana.Team` resource instead.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as grafana from "@lbrlabs/pulumi-grafana";
*
* const test_team_group = new grafana.TeamExternalGroup("test-team-group", {
* groups: [
* "test-group-1",
* "test-group-2",
* ],
* teamId: "1",
* });
* ```
*
* ## Import
*
* ```sh
* $ pulumi import grafana:index/teamExternalGroup:TeamExternalGroup main {{team_id}}
* ```
*/
export declare class TeamExternalGroup extends pulumi.CustomResource {
/**
* Get an existing TeamExternalGroup resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TeamExternalGroupState, opts?: pulumi.CustomResourceOptions): TeamExternalGroup;
/**
* Returns true if the given object is an instance of TeamExternalGroup. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is TeamExternalGroup;
/**
* The team external groups list
*/
readonly groups: pulumi.Output<string[]>;
/**
* The Team ID
*/
readonly teamId: pulumi.Output<string>;
/**
* Create a TeamExternalGroup resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: TeamExternalGroupArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering TeamExternalGroup resources.
*/
export interface TeamExternalGroupState {
/**
* The team external groups list
*/
groups?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The Team ID
*/
teamId?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a TeamExternalGroup resource.
*/
export interface TeamExternalGroupArgs {
/**
* The team external groups list
*/
groups: pulumi.Input<pulumi.Input<string>[]>;
/**
* The Team ID
*/
teamId: pulumi.Input<string>;
}