Schedule Sample¶
This page is generated from the checked-in sample manifest at config/samples/usageapi_v1beta1_schedule.yaml.
| Field | Value |
|---|---|
| Resource | usageapi/Schedule |
| API Version | usageapi.oracle.com/v1beta1 |
| Source Path | config/samples/usageapi_v1beta1_schedule.yaml |
#
# Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
#
#
# Replace the OCI identifiers and Object Storage values below before running e2e.
# Update spec.description, spec.outputFileFormat, spec.resultLocation, or tags to
# exercise supported in-place updates on an existing Schedule.
# Changing spec.name, spec.compartmentId, spec.scheduleRecurrences, spec.timeScheduled,
# spec.savedReportId, or spec.queryProperties requires recreation and is rejected on
# an already bound Schedule.
#
apiVersion: usageapi.oracle.com/v1beta1
kind: Schedule
metadata:
name: schedule-sample
spec:
name: schedule-sample
compartmentId: ocid1.compartment.oc1..exampleuniqueID
resultLocation:
locationType: OBJECT_STORAGE
region: us-ashburn-1
namespace: example-namespace
bucketName: usage-reports
scheduleRecurrences: "FREQ=DAILY;INTERVAL=1"
timeScheduled: "2026-01-15T15:00:00Z"
description: "Daily usage export"
outputFileFormat: CSV
savedReportId: ocid1.savedreport.oc1..exampleuniqueID
freeformTags:
workload: finops