UNPKG

@datadog/datadog-api-client

Version:

OpenAPI client for Datadog APIs

62 lines (61 loc) 2.11 kB
/** * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. * This product includes software developed at Datadog (https://www.datadoghq.com/). * Copyright 2020-Present Datadog, Inc. */ import { FleetScheduleRecurrenceRule } from "./FleetScheduleRecurrenceRule"; import { FleetScheduleStatus } from "./FleetScheduleStatus"; import { AttributeTypeMap } from "../../datadog-api-client-common/util"; /** * Attributes for creating a new schedule. */ export declare class FleetScheduleCreateAttributes { /** * Human-readable name for the schedule. */ "name": string; /** * Query used to filter and select target hosts for scheduled deployments. Uses the Datadog query syntax. */ "query": string; /** * Defines the recurrence pattern for the schedule. Specifies when deployments should be * automatically triggered based on maintenance windows. */ "rule": FleetScheduleRecurrenceRule; /** * The status of the schedule. * - `active`: The schedule is active and will create deployments according to its recurrence rule. * - `inactive`: The schedule is inactive and will not create any deployments. */ "status"?: FleetScheduleStatus; /** * Number of major versions behind the latest to target for upgrades. * - 0: Always upgrade to the latest version (default) * - 1: Upgrade to latest minus 1 major version * - 2: Upgrade to latest minus 2 major versions * Maximum value is 2. */ "versionToLatest"?: number; /** * A container for additional, undeclared properties. * This is a holder for any undeclared properties as specified with * the 'additionalProperties' keyword in the OAS document. */ "additionalProperties"?: { [key: string]: any; }; /** * @ignore */ "_unparsed"?: boolean; /** * @ignore */ static readonly attributeTypeMap: AttributeTypeMap; /** * @ignore */ static getAttributeTypeMap(): AttributeTypeMap; constructor(); }