Show / Hide Table of Contents

Class CreateDataSourceDetails

Parameters for creating a data source (DataSource resource).

Inheritance
object
CreateDataSourceDetails
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 CreateDataSourceDetails

Properties

CompartmentId

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

Compartment OCID of the data source

Remarks

Required

DataSourceDetails

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

DataSourceFeedProvider

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

Type of data source feed 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

Data source display name

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.

Status

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

Enablement status of data source.

In this article
Back to top