import * as pulumi from "@pulumi/pulumi"; /** * ## Example Usage * * ## Import * * rootly.OnCallShadow can be imported using the `import` command. * * ```sh * $ pulumi import rootly:index/onCallShadow:OnCallShadow 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 OnCallShadow extends pulumi.CustomResource { /** * Get an existing OnCallShadow 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?: OnCallShadowState, opts?: pulumi.CustomResourceOptions): OnCallShadow; /** * Returns true if the given object is an instance of OnCallShadow. 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 OnCallShadow; /** * End datetime for shadow shift */ readonly endsAt: pulumi.Output; /** * ID of schedule the shadow shift belongs to */ readonly scheduleId: pulumi.Output; /** * Which user the shadow shift belongs to. */ readonly shadowUserId: pulumi.Output; /** * ID of schedule or user the shadow user is shadowing */ readonly shadowableId: pulumi.Output; /** * Value must be one of `User`, `Schedule`. */ readonly shadowableType: pulumi.Output; /** * Start datetime of shadow shift */ readonly startsAt: pulumi.Output; /** * Create a OnCallShadow 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: OnCallShadowArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering OnCallShadow resources. */ export interface OnCallShadowState { /** * End datetime for shadow shift */ endsAt?: pulumi.Input; /** * ID of schedule the shadow shift belongs to */ scheduleId?: pulumi.Input; /** * Which user the shadow shift belongs to. */ shadowUserId?: pulumi.Input; /** * ID of schedule or user the shadow user is shadowing */ shadowableId?: pulumi.Input; /** * Value must be one of `User`, `Schedule`. */ shadowableType?: pulumi.Input; /** * Start datetime of shadow shift */ startsAt?: pulumi.Input; } /** * The set of arguments for constructing a OnCallShadow resource. */ export interface OnCallShadowArgs { /** * End datetime for shadow shift */ endsAt: pulumi.Input; /** * ID of schedule the shadow shift belongs to */ scheduleId: pulumi.Input; /** * Which user the shadow shift belongs to. */ shadowUserId: pulumi.Input; /** * ID of schedule or user the shadow user is shadowing */ shadowableId: pulumi.Input; /** * Value must be one of `User`, `Schedule`. */ shadowableType?: pulumi.Input; /** * Start datetime of shadow shift */ startsAt: pulumi.Input; } //# sourceMappingURL=onCallShadow.d.ts.map