@pulumiverse/grafana
Version:
A Pulumi package for creating and managing grafana.
97 lines (96 loc) • 3.42 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Manages the membership of a user in an organization.
*
* ## Import
*
* ```sh
* $ pulumi import grafana:index/cloudOrgMember:CloudOrgMember name "{{ orgSlugOrID }}:{{ usernameOrID }}"
* ```
*
* @deprecated grafana.index/cloudorgmember.CloudOrgMember has been deprecated in favor of grafana.cloud/orgmember.OrgMember
*/
export declare class CloudOrgMember extends pulumi.CustomResource {
/**
* Get an existing CloudOrgMember 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?: CloudOrgMemberState, opts?: pulumi.CustomResourceOptions): CloudOrgMember;
/**
* Returns true if the given object is an instance of CloudOrgMember. 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 CloudOrgMember;
/**
* The slug or ID of the organization.
*/
readonly org: pulumi.Output<string>;
/**
* Whether the user should receive billing emails.
*/
readonly receiveBillingEmails: pulumi.Output<boolean>;
/**
* The role to assign to the user in the organization.
*/
readonly role: pulumi.Output<string>;
/**
* Username or ID of the user to add to the org's members.
*/
readonly user: pulumi.Output<string>;
/**
* Create a CloudOrgMember 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.
*/
/** @deprecated grafana.index/cloudorgmember.CloudOrgMember has been deprecated in favor of grafana.cloud/orgmember.OrgMember */
constructor(name: string, args: CloudOrgMemberArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering CloudOrgMember resources.
*/
export interface CloudOrgMemberState {
/**
* The slug or ID of the organization.
*/
org?: pulumi.Input<string>;
/**
* Whether the user should receive billing emails.
*/
receiveBillingEmails?: pulumi.Input<boolean>;
/**
* The role to assign to the user in the organization.
*/
role?: pulumi.Input<string>;
/**
* Username or ID of the user to add to the org's members.
*/
user?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a CloudOrgMember resource.
*/
export interface CloudOrgMemberArgs {
/**
* The slug or ID of the organization.
*/
org: pulumi.Input<string>;
/**
* Whether the user should receive billing emails.
*/
receiveBillingEmails?: pulumi.Input<boolean>;
/**
* The role to assign to the user in the organization.
*/
role: pulumi.Input<string>;
/**
* Username or ID of the user to add to the org's members.
*/
user: pulumi.Input<string>;
}