import * as pulumi from "@pulumi/pulumi"; /** * ## Example Usage * * ## Import * * rootly.OnCallRole can be imported using the `import` command. * * ```sh * $ pulumi import rootly:index/onCallRole:OnCallRole primary a816421c-6ceb-481a-87c4-585e47451f24 * ``` * * You can also import by slug: * * ```sh * $ pulumi import rootly:index/onCallRole:OnCallRole primary my-oncall-role-slug * ``` * * Or using an `import` block. * * Locate the resource id by listing on-call roles through the API (`GET /v1/on_call_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 OnCallRole extends pulumi.CustomResource { /** * Get an existing OnCallRole 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?: OnCallRoleState, opts?: pulumi.CustomResourceOptions): OnCallRole; /** * Returns true if the given object is an instance of OnCallRole. 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 OnCallRole; /** * Value must be one of `create`, `read`, `update`, `delete`. */ readonly alertFieldsPermissions: pulumi.Output; /** * Value must be one of `create`, `read`, `update`, `delete`. */ readonly alertGroupsPermissions: pulumi.Output; /** * Value must be one of `create`, `read`, `update`, `delete`. */ readonly alertRoutingRulesPermissions: pulumi.Output; /** * Value must be one of `create`, `read`, `update`, `delete`. */ readonly alertSourcesPermissions: pulumi.Output; /** * Value must be one of `create`, `read`, `update`, `delete`. */ readonly alertUrgencyPermissions: pulumi.Output; /** * Value must be one of `create`, `update`, `read`, `delete`. */ 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 `read`. */ readonly contactsPermissions: pulumi.Output; /** * Value must be one of `create`, `read`, `update`, `delete`. */ readonly escalationPoliciesPermissions: 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 heartbeatsPermissions: 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; /** * Value must be one of `create`, `read`, `update`, `delete`. */ readonly liveCallRoutingPermissions: pulumi.Output; /** * The role name. */ readonly name: pulumi.Output; /** * Value must be one of `create`, `read`, `update`, `delete`. */ readonly onCallReadinessReportPermissions: pulumi.Output; /** * Value must be one of `create`, `read`, `update`, `delete`. */ readonly onCallRolesPermissions: pulumi.Output; /** * Value must be one of `create`, `update`. */ readonly scheduleOverridePermissions: pulumi.Output; /** * Value must be one of `create`, `read`, `update`, `delete`. */ readonly schedulesPermissions: pulumi.Output; /** * Value must be one of `create`, `read`, `update`, `delete`. */ readonly servicesPermissions: pulumi.Output; /** * [DEPRECATED] The role slug. Derived from `name`; any configured value is ignored. * * @deprecated `slug` is derived from `name` and any configured value is ignored. It will become read-only in the next major version; remove it from your configuration. */ readonly slug: pulumi.Output; /** * The kind of role */ readonly systemRole: 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 OnCallRole 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?: OnCallRoleArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering OnCallRole resources. */ export interface OnCallRoleState { /** * Value must be one of `create`, `read`, `update`, `delete`. */ alertFieldsPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ alertGroupsPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ alertRoutingRulesPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ alertSourcesPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ alertUrgencyPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `update`, `read`, `delete`. */ 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 `read`. */ contactsPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ escalationPoliciesPermissions?: 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`. */ heartbeatsPermissions?: 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>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ liveCallRoutingPermissions?: pulumi.Input[] | undefined>; /** * The role name. */ name?: pulumi.Input; /** * Value must be one of `create`, `read`, `update`, `delete`. */ onCallReadinessReportPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ onCallRolesPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `update`. */ scheduleOverridePermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ schedulesPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ servicesPermissions?: pulumi.Input[] | undefined>; /** * [DEPRECATED] The role slug. Derived from `name`; any configured value is ignored. * * @deprecated `slug` is derived from `name` and any configured value is ignored. It will become read-only in the next major version; remove it from your configuration. */ slug?: pulumi.Input; /** * The kind of role */ systemRole?: pulumi.Input; /** * 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 OnCallRole resource. */ export interface OnCallRoleArgs { /** * Value must be one of `create`, `read`, `update`, `delete`. */ alertFieldsPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ alertGroupsPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ alertRoutingRulesPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ alertSourcesPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ alertUrgencyPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `update`, `read`, `delete`. */ 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 `read`. */ contactsPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ escalationPoliciesPermissions?: 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`. */ heartbeatsPermissions?: 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>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ liveCallRoutingPermissions?: pulumi.Input[] | undefined>; /** * The role name. */ name?: pulumi.Input; /** * Value must be one of `create`, `read`, `update`, `delete`. */ onCallReadinessReportPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ onCallRolesPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `update`. */ scheduleOverridePermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ schedulesPermissions?: pulumi.Input[] | undefined>; /** * Value must be one of `create`, `read`, `update`, `delete`. */ servicesPermissions?: pulumi.Input[] | undefined>; /** * [DEPRECATED] The role slug. Derived from `name`; any configured value is ignored. * * @deprecated `slug` is derived from `name` and any configured value is ignored. It will become read-only in the next major version; remove it from your configuration. */ slug?: pulumi.Input; /** * The kind of role */ systemRole?: pulumi.Input; /** * 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=onCallRole.d.ts.map