A string that uniquely identifies a calendar. You can get information for multiple calendars by using a comma-separated list of ids or a wildcard expression. You can get information for all calendars by using _all or * or by omitting the calendar identifier.
Skips the specified number of calendars. This parameter is supported only when you omit the calendar identifier.
Specifies the maximum number of calendars to obtain. This parameter is supported only when you omit the calendar identifier.
GET _ml/calendars/planned-outages
resp = client.ml.get_calendars(
calendar_id="planned-outages",
)
const response = await client.ml.getCalendars({
calendar_id: "planned-outages",
});
response = client.ml.get_calendars(
calendar_id: "planned-outages"
)
$resp = $client->ml()->getCalendars([
"calendar_id" => "planned-outages",
]);
curl -X GET -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_ml/calendars/planned-outages"
client.ml().getCalendars(g -> g
.calendarId("planned-outages")
);