Class UpdateScheduleDetails
This is the data to update a schedule.
Inherited Members
Namespace: Oci.ResourceschedulerService.Models
Assembly: OCI.DotNetSDK.Resourcescheduler.dll
Syntax
public class UpdateScheduleDetails
Properties
Action
Declaration
[JsonProperty(PropertyName = "action")]
[JsonConverter(typeof(StringEnumConverter))]
public UpdateScheduleDetails.ActionEnum? Action { get; set; }
Property Value
Type | Description |
---|---|
UpdateScheduleDetails.ActionEnum? | This is the action that will be executed by the schedule. |
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | These are defined tags for this resource. Each key is predefined and scoped to a namespace.
For more information, see Resource Tags.
|
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | This is the description of the schedule. |
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | This is a user-friendly name for the schedule. It does not have to be unique, and it's changeable. |
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | These are free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
For more information, see Resource Tags.
|
RecurrenceDetails
Declaration
[JsonProperty(PropertyName = "recurrenceDetails")]
public string RecurrenceDetails { get; set; }
Property Value
Type | Description |
---|---|
string | This is the frequency of recurrence of a schedule. The frequency field can either conform to RFC-5545 formatting or UNIX cron formatting for recurrences, based on the value specified by the recurrenceType field. |
RecurrenceType
Declaration
[JsonProperty(PropertyName = "recurrenceType")]
[JsonConverter(typeof(StringEnumConverter))]
public UpdateScheduleDetails.RecurrenceTypeEnum? RecurrenceType { get; set; }
Property Value
Type | Description |
---|---|
UpdateScheduleDetails.RecurrenceTypeEnum? | Type of recurrence of a schedule |
ResourceFilters
Declaration
[JsonProperty(PropertyName = "resourceFilters")]
public List<ResourceFilter> ResourceFilters { get; set; }
Property Value
Type | Description |
---|---|
List<ResourceFilter> | This is a list of resources filters. The schedule will be applied to resources matching all of them. |
Resources
Declaration
[JsonProperty(PropertyName = "resources")]
public List<Resource> Resources { get; set; }
Property Value
Type | Description |
---|---|
List<Resource> | This is the list of resources to which the scheduled operation is applied. |
TimeEnds
Declaration
[JsonProperty(PropertyName = "timeEnds")]
public DateTime? TimeEnds { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | This is the date and time the schedule ends, in the format defined by RFC 3339
|
TimeStarts
Declaration
[JsonProperty(PropertyName = "timeStarts")]
public DateTime? TimeStarts { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | This is the date and time the schedule starts, in the format defined by RFC 3339
|