Class NewsReport
News report resource.
Inherited Members
Namespace: Oci.OpsiService.Models
Assembly: OCI.DotNetSDK.Opsi.dll
Syntax
public class NewsReportProperties
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. | 
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The OCID of the compartment. | 
Remarks
Required
ContentTypes
Declaration
[Required(ErrorMessage = "ContentTypes is required.")]
[JsonProperty(PropertyName = "contentTypes")]
public NewsContentTypes ContentTypes { get; set; }Property Value
| Type | Description | 
|---|---|
| NewsContentTypes | 
Remarks
Required
DayOfWeek
Declaration
[JsonProperty(PropertyName = "dayOfWeek")]
[JsonConverter(typeof(ResponseEnumConverter))]
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. | 
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. 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. | 
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. Example: {"bar-key": "value"} | 
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The OCID of the news report resource. | 
Remarks
Required
LifecycleDetails
Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }Property Value
| Type | Description | 
|---|---|
| string | A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. | 
LifecycleState
Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public LifecycleState? LifecycleState { get; set; }Property Value
| Type | Description | 
|---|---|
| LifecycleState? | The current state of the news report. | 
Locale
Declaration
[JsonProperty(PropertyName = "locale")]
[JsonConverter(typeof(ResponseEnumConverter))]
public NewsLocale? Locale { get; set; }Property Value
| Type | Description | 
|---|---|
| NewsLocale? | Language of the news report. | 
MatchRule
Declaration
[JsonProperty(PropertyName = "matchRule")]
[JsonConverter(typeof(ResponseEnumConverter))]
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
[Required(ErrorMessage = "NewsFrequency is required.")]
[JsonProperty(PropertyName = "newsFrequency")]
[JsonConverter(typeof(ResponseEnumConverter))]
public NewsFrequency? NewsFrequency { get; set; }Property Value
| Type | Description | 
|---|---|
| NewsFrequency? | News report frequency. | 
Remarks
Required
OnsTopicId
Declaration
[Required(ErrorMessage = "OnsTopicId is required.")]
[JsonProperty(PropertyName = "onsTopicId")]
public string OnsTopicId { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The OCID of the ONS topic. | 
Remarks
Required
Status
Declaration
[JsonProperty(PropertyName = "status")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ResourceStatus? Status { get; set; }Property Value
| Type | Description | 
|---|---|
| ResourceStatus? | Indicates the status of a news report in Ops Insights. | 
SystemTags
Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }Property Value
| Type | Description | 
|---|---|
| Dictionary<string, Dictionary<string, object>> | System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud": {"free-tier-retained": "true"}} | 
TagFilters
Declaration
[JsonProperty(PropertyName = "tagFilters")]
public List<string> TagFilters { get; set; }Property Value
| Type | Description | 
|---|---|
| List<string> | 
TimeCreated
Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }Property Value
| Type | Description | 
|---|---|
| DateTime? | The time the the news report was first enabled. An RFC3339 formatted datetime string. | 
TimeUpdated
Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }Property Value
| Type | Description | 
|---|---|
| DateTime? | The time the news report was updated. An RFC3339 formatted datetime string. |