Class CreateLogAnalyticsEntityDetails
Details for new log analytics entity to be added.
Inherited Members
Namespace: Oci.LoganalyticsService.Models
Assembly: OCI.DotNetSDK.Loganalytics.dll
Syntax
public class CreateLogAnalyticsEntityDetails
Properties
CloudResourceId
Declaration
[JsonProperty(PropertyName = "cloudResourceId")]
public string CloudResourceId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the Cloud resource which this entity is a representation of. This may be blank when the entity represents a non-cloud resource that the customer may have on their premises. |
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). |
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"}} |
EntityTypeName
Declaration
[Required(ErrorMessage = "EntityTypeName is required.")]
[JsonProperty(PropertyName = "entityTypeName")]
public string EntityTypeName { get; set; }
Property Value
Type | Description |
---|---|
string | Log analytics entity type 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"} |
Hostname
Declaration
[JsonProperty(PropertyName = "hostname")]
public string Hostname { get; set; }
Property Value
Type | Description |
---|---|
string | The hostname where the entity represented here is actually present. This would be the output one would get if
they run |
ManagementAgentId
Declaration
[JsonProperty(PropertyName = "managementAgentId")]
public string ManagementAgentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the Management Agent. |
Metadata
Declaration
[JsonProperty(PropertyName = "metadata")]
public LogAnalyticsMetadataDetails Metadata { get; set; }
Property Value
Type | Description |
---|---|
LogAnalyticsMetadataDetails |
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | Log analytics entity name. |
Remarks
Required
Properties
Declaration
[JsonProperty(PropertyName = "properties")]
public Dictionary<string, string> Properties { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | The name/value pairs for parameter values to be used in file patterns specified in log sources. |
SourceId
Declaration
[JsonProperty(PropertyName = "sourceId")]
public string SourceId { get; set; }
Property Value
Type | Description |
---|---|
string | This indicates the type of source. It is primarily for Enterprise Manager Repository ID. |
TimeLastDiscovered
Declaration
[JsonProperty(PropertyName = "timeLastDiscovered")]
public DateTime? TimeLastDiscovered { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the resource was last discovered, in the format defined by RFC3339. |
TimezoneRegion
Declaration
[JsonProperty(PropertyName = "timezoneRegion")]
public string TimezoneRegion { get; set; }
Property Value
Type | Description |
---|---|
string | The timezone region of the log analytics entity. |