UNPKG

@lbrlabs/pulumi-grafana

Version:

A Pulumi package for creating and managing grafana.

104 lines (103 loc) 3.9 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * A holiday describes time periods where a time series is expected to behave differently to normal. * * To use a holiday in a job, use its id in the `holidays` attribute of a `grafana.MachineLearningJob`: */ export declare class MachineLearningHoliday extends pulumi.CustomResource { /** * Get an existing MachineLearningHoliday 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?: MachineLearningHolidayState, opts?: pulumi.CustomResourceOptions): MachineLearningHoliday; /** * Returns true if the given object is an instance of MachineLearningHoliday. 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 MachineLearningHoliday; /** * A list of custom periods for the holiday. */ readonly customPeriods: pulumi.Output<outputs.MachineLearningHolidayCustomPeriod[] | undefined>; /** * A description of the holiday. */ readonly description: pulumi.Output<string | undefined>; /** * The timezone to use for events in the iCal file pointed to by ical_url. */ readonly icalTimezone: pulumi.Output<string | undefined>; /** * A URL to an iCal file containing all occurrences of the holiday. */ readonly icalUrl: pulumi.Output<string | undefined>; /** * The name of the custom period. */ readonly name: pulumi.Output<string>; /** * Create a MachineLearningHoliday 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?: MachineLearningHolidayArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering MachineLearningHoliday resources. */ export interface MachineLearningHolidayState { /** * A list of custom periods for the holiday. */ customPeriods?: pulumi.Input<pulumi.Input<inputs.MachineLearningHolidayCustomPeriod>[]>; /** * A description of the holiday. */ description?: pulumi.Input<string>; /** * The timezone to use for events in the iCal file pointed to by ical_url. */ icalTimezone?: pulumi.Input<string>; /** * A URL to an iCal file containing all occurrences of the holiday. */ icalUrl?: pulumi.Input<string>; /** * The name of the custom period. */ name?: pulumi.Input<string>; } /** * The set of arguments for constructing a MachineLearningHoliday resource. */ export interface MachineLearningHolidayArgs { /** * A list of custom periods for the holiday. */ customPeriods?: pulumi.Input<pulumi.Input<inputs.MachineLearningHolidayCustomPeriod>[]>; /** * A description of the holiday. */ description?: pulumi.Input<string>; /** * The timezone to use for events in the iCal file pointed to by ical_url. */ icalTimezone?: pulumi.Input<string>; /** * A URL to an iCal file containing all occurrences of the holiday. */ icalUrl?: pulumi.Input<string>; /** * The name of the custom period. */ name?: pulumi.Input<string>; }