UNPKG

pulumi-fusionauth

Version:

A Pulumi package for managing FusionAuth instances.

112 lines (111 loc) 4.44 kB
import * as pulumi from "@pulumi/pulumi"; export declare class FusionAuthEntityTypePermission extends pulumi.CustomResource { /** * Get an existing FusionAuthEntityTypePermission 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?: FusionAuthEntityTypePermissionState, opts?: pulumi.CustomResourceOptions): FusionAuthEntityTypePermission; /** * Returns true if the given object is an instance of FusionAuthEntityTypePermission. 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 FusionAuthEntityTypePermission; /** * An object that can hold any information about the Permission that should be persisted. Must be a JSON string. */ readonly data: pulumi.Output<string | undefined>; /** * The description of the Permission. */ readonly description: pulumi.Output<string | undefined>; /** * The Id of the Entity Type. */ readonly entityTypeId: pulumi.Output<string>; /** * Whether or not the Permission is a default permission. A default permission is automatically granted to an entity of * this type if no permissions are provided in a grant request. */ readonly isDefault: pulumi.Output<boolean | undefined>; /** * The name of the Permission. */ readonly name: pulumi.Output<string>; /** * The Id to use for the new permission. If not specified a secure random UUID will be generated. */ readonly permissionId: pulumi.Output<string>; /** * Create a FusionAuthEntityTypePermission 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: FusionAuthEntityTypePermissionArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering FusionAuthEntityTypePermission resources. */ export interface FusionAuthEntityTypePermissionState { /** * An object that can hold any information about the Permission that should be persisted. Must be a JSON string. */ data?: pulumi.Input<string>; /** * The description of the Permission. */ description?: pulumi.Input<string>; /** * The Id of the Entity Type. */ entityTypeId?: pulumi.Input<string>; /** * Whether or not the Permission is a default permission. A default permission is automatically granted to an entity of * this type if no permissions are provided in a grant request. */ isDefault?: pulumi.Input<boolean>; /** * The name of the Permission. */ name?: pulumi.Input<string>; /** * The Id to use for the new permission. If not specified a secure random UUID will be generated. */ permissionId?: pulumi.Input<string>; } /** * The set of arguments for constructing a FusionAuthEntityTypePermission resource. */ export interface FusionAuthEntityTypePermissionArgs { /** * An object that can hold any information about the Permission that should be persisted. Must be a JSON string. */ data?: pulumi.Input<string>; /** * The description of the Permission. */ description?: pulumi.Input<string>; /** * The Id of the Entity Type. */ entityTypeId: pulumi.Input<string>; /** * Whether or not the Permission is a default permission. A default permission is automatically granted to an entity of * this type if no permissions are provided in a grant request. */ isDefault?: pulumi.Input<boolean>; /** * The name of the Permission. */ name?: pulumi.Input<string>; /** * The Id to use for the new permission. If not specified a secure random UUID will be generated. */ permissionId?: pulumi.Input<string>; }