@datadog/datadog-api-client
Version:
OpenAPI client for Datadog APIs
78 lines (77 loc) • 2.55 kB
TypeScript
/**
* 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 of a schedule in the response.
*/
export declare class FleetScheduleAttributes {
/**
* Unix timestamp (seconds since epoch) when the schedule was created.
*/
"createdAtUnix"?: number;
/**
* User handle of the person who created the schedule.
*/
"createdBy"?: string;
/**
* 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;
/**
* Unix timestamp (seconds since epoch) when the schedule was last updated.
*/
"updatedAtUnix"?: number;
/**
* User handle of the person who last updated the schedule.
*/
"updatedBy"?: string;
/**
* Number of major versions behind the latest to target for upgrades.
* - 0: Always upgrade to the latest version
* - 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();
}