import * as pulumi from "@pulumi/pulumi"; /** * ## Example Usage * * ## Import * * rootly.Role can be imported using the `import` command. * * ```sh * $ pulumi import rootly:index/role:Role primary a816421c-6ceb-481a-87c4-585e47451f24 * ``` * * You can also import by slug: * * ```sh * $ pulumi import rootly:index/role:Role primary my-role-slug * ``` * * Or using an `import` block. * * Locate the resource id by listing roles through the API (`GET /v1/roles`), as role IDs are 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 Role extends pulumi.CustomResource { /** * Get an existing Role 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?: RoleState, opts?: pulumi.CustomResourceOptions): Role; /** * Returns true if the given object is an instance of Role. 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 Role; /** * Value must be one of `create`, `read`. */ readonly alertsPermissions: pulumi.Output; /** * Value must be one of `create`, `read`, `update`, `delete`. */ readonly apiKeysPermissions: pulumi.Output; /** * Value must be one of `create`, `read`, `update`, `delete`. */ readonly auditsPermissions: pulumi.Output; /** * Value must be one of `create`, `read`, `update`, `delete`. */ readonly billingPermissions: pulumi.Output; /** * Value must be one of `create`, `read`, `update`, `delete`. */ readonly catalogsPermissions: pulumi.Output; /** * Value must be one of `create`, `read`, `update`, `delete`. */ readonly communicationPermissions: pulumi.Output; /** * Value must be one of `create`, `read`, `update`, `delete`. */ readonly edgeConnectorPermissions: pulumi.Output; /** * Value must be one of `create`, `read`, `update`, `delete`. */ readonly environmentsPermissions: pulumi.Output; /** * Value must be one of `create`, `read`, `update`, `delete`. */ readonly formFieldsPermissions: pulumi.Output; /** * Value must be one of `create`, `read`, `update`, `delete`. */ readonly functionalitiesPermissions: pulumi.Output; /** * Value must be one of `create`, `read`, `update`, `delete`. */ readonly groupsPermissions: pulumi.Output; /** * Value must be one of `create`, `read`, `update`, `delete`. */ readonly incidentCausesPermissions: pulumi.Output; /** * Value must be one of `create`, `read`, `update`, `delete`, `send`. */ readonly incidentCommunicationPermissions: pulumi.Output; /** * Value must be one of `create`, `read`, `update`, `delete`. */ readonly incidentFeedbacksPermissions: pulumi.Output; /** * Associated incident permissions set. */ readonly incidentPermissionSetId: pulumi.Output; /** * Value must be one of `create`, `read`, `update`, `delete`. */ readonly incidentRolesPermissions: pulumi.Output; /** * Value must be one of `create`, `read`, `update`, `delete`. */ readonly incidentTypesPermissions: pulumi.Output; /** * Value must be one of `create`, `read`, `update`, `delete`. */ readonly incidentsPermissions: pulumi.Output; /** * Value must be one of `create`, `read`, `update`, `delete`. */ readonly integrationsPermissions: pulumi.Output; /** * Value must be one of `create`, `read`, `update`, `delete`. */ readonly invitationsPermissions: pulumi.Output; /** * Whether the role can be deleted.. Value must be one of true or false */ readonly isDeletable: pulumi.Output; /** * Whether the role can be edited.. Value must be one of true or false */ readonly isEditable: pulumi.Output; /** * The role name. */ readonly name: pulumi.Output; /** * Value must be one of `create`, `read`, `update`, `delete`. */ readonly pagingPermissions: pulumi.Output; /** * Value must be one of `create`, `read`, `update`, `delete`. */ readonly playbooksPermissions: pulumi.Output; /** * Value must be one of `create`, `read`, `update`, `delete`. */ readonly privateIncidentsPermissions: pulumi.Output; /** * Value must be one of `create`, `update`, `read`. */ readonly pulsesPermissions: pulumi.Output; /** * Value must be one of `create`, `read`, `update`, `delete`. */ readonly retrospectivePermissions: pulumi.Output; /** * Value must be one of `create`, `read`, `update`, `delete`. */ readonly rolesPermissions: pulumi.Output; /** * Value must be one of `create`, `read`, `update`, `delete`. */ readonly secretsPermissions: pulumi.Output; /** * Value must be one of `create`, `read`, `update`, `delete`. */ readonly servicesPermissions: pulumi.Output; /** * Value must be one of `create`, `read`, `update`, `delete`. */ readonly severitiesPermissions: pulumi.Output; /** * Value must be one of `create`, `read`, `update`, `delete`. */ readonly slasPermissions: pulumi.Output; /** * The role slug. * * @deprecated Deprecated. Custom role slugs remain accepted temporarily. Stop setting `slug`; it will become read-only and be derived from `name` when this property is removed from the request schema in a future version. */ readonly slug: pulumi.Output; /** * Value must be one of `create`, `read`, `update`, `delete`. */ readonly statusPagesPermissions: pulumi.Output; /** * Value must be one of `create`, `read`, `update`, `delete`. */ readonly subStatusesPermissions: pulumi.Output; /** * Value must be one of `create`, `read`, `update`, `delete`. */ readonly webhooksPermissions: pulumi.Output; /** * Value must be one of `create`, `read`, `update`, `delete`. */ readonly workflowsPermissions: pulumi.Output; /** * Create a Role 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?: RoleArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Role resources. */ export interface RoleState { /** * Value must be one of `create`, `read`. */ alertsPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ apiKeysPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ auditsPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ billingPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ catalogsPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ communicationPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ edgeConnectorPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ environmentsPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ formFieldsPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ functionalitiesPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ groupsPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ incidentCausesPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`, `send`. */ incidentCommunicationPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ incidentFeedbacksPermissions?: pulumi.Input[] | undefined>; /** * Associated incident permissions set. */ incidentPermissionSetId?: pulumi.Input; /** * Value must be one of `create`, `read`, `update`, `delete`. */ incidentRolesPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ incidentTypesPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ incidentsPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ integrationsPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ invitationsPermissions?: pulumi.Input[] | undefined>; /** * Whether the role can be deleted.. Value must be one of true or false */ isDeletable?: pulumi.Input; /** * Whether the role can be edited.. Value must be one of true or false */ isEditable?: pulumi.Input; /** * The role name. */ name?: pulumi.Input; /** * Value must be one of `create`, `read`, `update`, `delete`. */ pagingPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ playbooksPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ privateIncidentsPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `update`, `read`. */ pulsesPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ retrospectivePermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ rolesPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ secretsPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ servicesPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ severitiesPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ slasPermissions?: pulumi.Input[] | undefined>; /** * The role slug. * * @deprecated Deprecated. Custom role slugs remain accepted temporarily. Stop setting `slug`; it will become read-only and be derived from `name` when this property is removed from the request schema in a future version. */ slug?: pulumi.Input; /** * Value must be one of `create`, `read`, `update`, `delete`. */ statusPagesPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ subStatusesPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ webhooksPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ workflowsPermissions?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a Role resource. */ export interface RoleArgs { /** * Value must be one of `create`, `read`. */ alertsPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ apiKeysPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ auditsPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ billingPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ catalogsPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ communicationPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ edgeConnectorPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ environmentsPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ formFieldsPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ functionalitiesPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ groupsPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ incidentCausesPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`, `send`. */ incidentCommunicationPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ incidentFeedbacksPermissions?: pulumi.Input[] | undefined>; /** * Associated incident permissions set. */ incidentPermissionSetId?: pulumi.Input; /** * Value must be one of `create`, `read`, `update`, `delete`. */ incidentRolesPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ incidentTypesPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ incidentsPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ integrationsPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ invitationsPermissions?: pulumi.Input[] | undefined>; /** * Whether the role can be deleted.. Value must be one of true or false */ isDeletable?: pulumi.Input; /** * Whether the role can be edited.. Value must be one of true or false */ isEditable?: pulumi.Input; /** * The role name. */ name?: pulumi.Input; /** * Value must be one of `create`, `read`, `update`, `delete`. */ pagingPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ playbooksPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ privateIncidentsPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `update`, `read`. */ pulsesPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ retrospectivePermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ rolesPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ secretsPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ servicesPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ severitiesPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ slasPermissions?: pulumi.Input[] | undefined>; /** * The role slug. * * @deprecated Deprecated. Custom role slugs remain accepted temporarily. Stop setting `slug`; it will become read-only and be derived from `name` when this property is removed from the request schema in a future version. */ slug?: pulumi.Input; /** * Value must be one of `create`, `read`, `update`, `delete`. */ statusPagesPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ subStatusesPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ webhooksPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ workflowsPermissions?: pulumi.Input[] | undefined>; } //# sourceMappingURL=role.d.ts.map