Show / Hide Table of Contents

Class CreateScheduleDetails

The saved schedule.

Inheritance
object
CreateScheduleDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.UsageapiService.Models
Assembly: OCI.DotNetSDK.Usageapi.dll
Syntax
public class CreateScheduleDetails

Properties

CompartmentId

Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

The customer tenancy.

Remarks

Required

DefinedTags

Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace": {"bar-key": "value"}}

Description

Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type Description
string

The description of the schedule.

FreeformTags

Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}

Name

Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type Description
string

The unique name of the user-created schedule.

Remarks

Required

OutputFileFormat

Declaration
[JsonProperty(PropertyName = "outputFileFormat")]
[JsonConverter(typeof(StringEnumConverter))]
public CreateScheduleDetails.OutputFileFormatEnum? OutputFileFormat { get; set; }
Property Value
Type Description
CreateScheduleDetails.OutputFileFormatEnum?

Specifies the supported output file format.

QueryProperties

Declaration
[JsonProperty(PropertyName = "queryProperties")]
public QueryProperties QueryProperties { get; set; }
Property Value
Type Description
QueryProperties

ResultLocation

Declaration
[Required(ErrorMessage = "ResultLocation is required.")]
[JsonProperty(PropertyName = "resultLocation")]
public ResultLocation ResultLocation { get; set; }
Property Value
Type Description
ResultLocation
Remarks

Required

SavedReportId

Declaration
[JsonProperty(PropertyName = "savedReportId")]
public string SavedReportId { get; set; }
Property Value
Type Description
string

The saved report ID which can also be used to generate a query.

ScheduleRecurrences

Declaration
[Required(ErrorMessage = "ScheduleRecurrences is required.")]
[JsonProperty(PropertyName = "scheduleRecurrences")]
public string ScheduleRecurrences { get; set; }
Property Value
Type Description
string

Specifies the frequency according to when the schedule will be run, in the x-obmcs-recurring-time format described in RFC 5545 section 3.3.10. Supported values are : ONE_TIME, DAILY, WEEKLY and MONTHLY.

Remarks

Required

TimeScheduled

Declaration
[Required(ErrorMessage = "TimeScheduled is required.")]
[JsonProperty(PropertyName = "timeScheduled")]
public DateTime? TimeScheduled { get; set; }
Property Value
Type Description
DateTime?

The date and time of the first time job execution.

Remarks

Required

In this article
Back to top