import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
/**
 * Provides a Datadog On-Call schedule resource. This can be used to create and manage Datadog On-Call schedules.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as datadog from "@pulumi/datadog";
 *
 * const test = new datadog.OnCallSchedule("test", {
 *     name: "Team A On-Call",
 *     timeZone: "America/New_York",
 *     teams: ["00000000-aba2-0000-0000-000000000000"],
 *     layers: [
 *         {
 *             name: "Primary On-Call Layer",
 *             effectiveDate: "2025-01-01T00:00:00Z",
 *             endDate: "2026-01-01T00:00:00Z",
 *             rotationStart: "2025-01-01T00:00:00Z",
 *             interval: [{
 *                 days: 1,
 *                 seconds: 300,
 *             }],
 *             users: ["00000000-aba1-0000-0000-000000000000"],
 *             restrictions: [{
 *                 endDay: "monday",
 *                 endTime: "17:00:00",
 *                 startDay: "monday",
 *                 startTime: "09:00:00",
 *             }],
 *         },
 *         {
 *             name: "Asia-Pacific On-Call Layer",
 *             effectiveDate: "2025-01-01T00:00:00Z",
 *             rotationStart: "2025-01-01T00:00:00Z",
 *             timeZone: "Asia/Tokyo",
 *             interval: [{
 *                 days: 7,
 *             }],
 *             users: ["00000000-aba1-0000-0000-000000000001"],
 *         },
 *     ],
 * });
 * ```
 *
 * ## Import
 *
 * The `pulumi import` command can be used, for example:
 *
 * Import an existing onCallSchedule
 *
 * ```sh
 * $ pulumi import datadog:index/onCallSchedule:OnCallSchedule test "b03a07d5-49da-43e9-83b4-5d84969b588b"
 * ```
 */
export declare class OnCallSchedule extends pulumi.CustomResource {
    /**
     * Get an existing OnCallSchedule 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?: OnCallScheduleState, opts?: pulumi.CustomResourceOptions): OnCallSchedule;
    /**
     * Returns true if the given object is an instance of OnCallSchedule.  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 OnCallSchedule;
    /**
     * List of layers for the schedule.
     */
    readonly layers: pulumi.Output<outputs.OnCallScheduleLayer[]>;
    /**
     * A human-readable name for the new schedule.
     */
    readonly name: pulumi.Output<string>;
    /**
     * A list of team ids associated with the schedule.
     */
    readonly teams: pulumi.Output<string[]>;
    /**
     * The time zone in which the schedule is defined.
     */
    readonly timeZone: pulumi.Output<string>;
    /**
     * Create a OnCallSchedule 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: OnCallScheduleArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering OnCallSchedule resources.
 */
export interface OnCallScheduleState {
    /**
     * List of layers for the schedule.
     */
    layers?: pulumi.Input<pulumi.Input<inputs.OnCallScheduleLayer>[] | undefined>;
    /**
     * A human-readable name for the new schedule.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * A list of team ids associated with the schedule.
     */
    teams?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * The time zone in which the schedule is defined.
     */
    timeZone?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a OnCallSchedule resource.
 */
export interface OnCallScheduleArgs {
    /**
     * List of layers for the schedule.
     */
    layers: pulumi.Input<pulumi.Input<inputs.OnCallScheduleLayer>[]>;
    /**
     * A human-readable name for the new schedule.
     */
    name: pulumi.Input<string>;
    /**
     * A list of team ids associated with the schedule.
     */
    teams?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * The time zone in which the schedule is defined.
     */
    timeZone: pulumi.Input<string>;
}
//# sourceMappingURL=onCallSchedule.d.ts.map