Show / Hide Table of Contents

Class DataSource

Detailed information for a data source (DataSource resource).

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

Properties

CompartmentId

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

Compartment OCID of data source

Remarks

Required

DataSourceDetails

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

DataSourceDetectorMappingInfo

Declaration
[JsonProperty(PropertyName = "dataSourceDetectorMappingInfo")]
public List<DataSourceMappingInfo> DataSourceDetectorMappingInfo { get; set; }
Property Value
Type Description
List<DataSourceMappingInfo>

Information about the detector recipe and rule attached

DataSourceFeedProvider

Declaration
[Required(ErrorMessage = "DataSourceFeedProvider is required.")]
[JsonProperty(PropertyName = "dataSourceFeedProvider")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DataSourceFeedProvider? DataSourceFeedProvider { get; set; }
Property Value
Type Description
DataSourceFeedProvider?

Possible type of dataSourceFeed Provider(LoggingQuery)

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. Example: {"foo-namespace": {"bar-key": "value"}}

DisplayName

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

Display name of the data source

Remarks

Required

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"}Avoid entering confidential information.

Id

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

OCID for the data source

Remarks

Required

LifecycleState

Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public LifecycleState? LifecycleState { get; set; }
Property Value
Type Description
LifecycleState?

The current lifecycle state of the resource.

Locks

Declaration
[JsonProperty(PropertyName = "locks")]
public List<ResourceLock> Locks { get; set; }
Property Value
Type Description
List<ResourceLock>

Locks associated with this resource.

RegionStatusDetail

Declaration
[JsonProperty(PropertyName = "regionStatusDetail")]
public List<RegionStatusDetail> RegionStatusDetail { get; set; }
Property Value
Type Description
List<RegionStatusDetail>

Information about the region and status of query replication

Status

Declaration
[JsonProperty(PropertyName = "status")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DataSourceStatus? Status { get; set; }
Property Value
Type Description
DataSourceStatus?

Enablement status of the data source

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. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}

TimeCreated

Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

The date and time the Data source was created. Format defined by RFC3339.

TimeUpdated

Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type Description
DateTime?

The date and time the data source was updated. Format defined by RFC3339.

In this article
Back to top