import * as pulumi from "@pulumi/pulumi"; /** * ## Import * * rootly.Authorization can be imported using the `import` command. * * ```sh * $ pulumi import rootly:index/authorization:Authorization primary a816421c-6ceb-481a-87c4-585e47451f24 * ``` * * Or using an `import` block. * * Locate the resource id in the web app, or retrieve it by listing resources through the API if it's not visible in the web app. * * HCL can be generated from the import block using the `-generate-config-out` flag. * * ```sh * pulumi preview -generate-config-out=generated.tf * ``` */ export declare class Authorization extends pulumi.CustomResource { /** * Get an existing Authorization 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, state?: AuthorizationState, opts?: pulumi.CustomResourceOptions): Authorization; /** * Returns true if the given object is an instance of Authorization. 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 Authorization; /** * The id of the resource being accessed. */ readonly authorizableId: pulumi.Output; /** * The type of resource being accessed.. Value must be one of `Dashboard`. */ readonly authorizableType: pulumi.Output; /** * The resource id granted access. */ readonly granteeId: pulumi.Output; /** * The type of resource granted access.. Value must be one of `User`, `Team`. */ readonly granteeType: pulumi.Output; /** * Value must be one of `read`, `update`, `authorize`, `destroy`. */ readonly permissions: pulumi.Output; /** * Create a Authorization 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: AuthorizationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Authorization resources. */ export interface AuthorizationState { /** * The id of the resource being accessed. */ authorizableId?: pulumi.Input; /** * The type of resource being accessed.. Value must be one of `Dashboard`. */ authorizableType?: pulumi.Input; /** * The resource id granted access. */ granteeId?: pulumi.Input; /** * The type of resource granted access.. Value must be one of `User`, `Team`. */ granteeType?: pulumi.Input; /** * Value must be one of `read`, `update`, `authorize`, `destroy`. */ permissions?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a Authorization resource. */ export interface AuthorizationArgs { /** * The id of the resource being accessed. */ authorizableId: pulumi.Input; /** * The type of resource being accessed.. Value must be one of `Dashboard`. */ authorizableType?: pulumi.Input; /** * The resource id granted access. */ granteeId: pulumi.Input; /** * The type of resource granted access.. Value must be one of `User`, `Team`. */ granteeType?: pulumi.Input; /** * Value must be one of `read`, `update`, `authorize`, `destroy`. */ permissions: pulumi.Input[]>; } //# sourceMappingURL=authorization.d.ts.map