Class UpdateNewsReportDetails
The information about the news report to be updated.
Inheritance
UpdateNewsReportDetails
Assembly: OCI.DotNetSDK.Opsi.dll
Syntax
public class UpdateNewsReportDetails
Properties
AreChildCompartmentsIncluded
Declaration
[JsonProperty(PropertyName = "areChildCompartmentsIncluded")]
public bool? AreChildCompartmentsIncluded { get; set; }
Property Value
Type |
Description |
bool? |
A flag to consider the resources within a given compartment and all sub-compartments.
|
ContentTypes
Declaration
[JsonProperty(PropertyName = "contentTypes")]
public NewsContentTypes ContentTypes { get; set; }
Property Value
DayOfWeek
Declaration
[JsonProperty(PropertyName = "dayOfWeek")]
[JsonConverter(typeof(StringEnumConverter))]
public DayOfWeek? DayOfWeek { get; set; }
Property Value
Type |
Description |
DayOfWeek? |
Day of the week in which the news report will be sent if the frequency is set to WEEKLY.
|
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.
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 news report.
|
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.
Example: {"bar-key": "value"}
|
Locale
Declaration
[JsonProperty(PropertyName = "locale")]
[JsonConverter(typeof(StringEnumConverter))]
public NewsLocale? Locale { get; set; }
Property Value
Type |
Description |
NewsLocale? |
Language of the news report.
|
MatchRule
Declaration
[JsonProperty(PropertyName = "matchRule")]
[JsonConverter(typeof(StringEnumConverter))]
public MatchRule? MatchRule { get; set; }
Property Value
Type |
Description |
MatchRule? |
Match rule used for tag filters.
|
Name
Declaration
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type |
Description |
string |
The news report name.
|
NewsFrequency
Declaration
[JsonProperty(PropertyName = "newsFrequency")]
[JsonConverter(typeof(StringEnumConverter))]
public NewsFrequency? NewsFrequency { get; set; }
Property Value
OnsTopicId
Declaration
[JsonProperty(PropertyName = "onsTopicId")]
public string OnsTopicId { get; set; }
Property Value
Type |
Description |
string |
The OCID of the ONS topic.
|
Status
Declaration
[JsonProperty(PropertyName = "status")]
[JsonConverter(typeof(StringEnumConverter))]
public ResourceStatus? Status { get; set; }
Property Value
Type |
Description |
ResourceStatus? |
Defines if the news report will be enabled or disabled.
|
TagFilters
Declaration
[JsonProperty(PropertyName = "tagFilters")]
public List<string> TagFilters { get; set; }
Property Value