Class LogAnalyticsEntitySummary
Summary of a log analytics entity.
Inherited Members
Namespace: Oci.LoganalyticsService.Models
Assembly: OCI.DotNetSDK.Loganalytics.dll
Syntax
public class LogAnalyticsEntitySummary
Properties
AreLogsCollected
Declaration
[JsonProperty(PropertyName = "areLogsCollected")]
public bool? AreLogsCollected { get; set; }
Property Value
Type | Description |
---|---|
bool? | The Boolean flag to indicate if logs are collected for an entity for log analytics usage. |
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
CreationSource
Declaration
[JsonProperty(PropertyName = "creationSource")]
public CreationSource CreationSource { get; set; }
Property Value
Type | Description |
---|---|
CreationSource |
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"}} |
EntityTypeInternalName
Declaration
[Required(ErrorMessage = "EntityTypeInternalName is required.")]
[JsonProperty(PropertyName = "entityTypeInternalName")]
public string EntityTypeInternalName { get; set; }
Property Value
Type | Description |
---|---|
string | Internal name for the log analytics entity type. |
Remarks
Required
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"} |
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud. |
Remarks
Required
LifecycleDetails
Declaration
[Required(ErrorMessage = "LifecycleDetails is required.")]
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
Type | Description |
---|---|
string | lifecycleDetails has additional information regarding substeps such as management agent plugin deployment. |
Remarks
Required
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public EntityLifecycleStates? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
EntityLifecycleStates? | The current state of the log analytics entity. |
Remarks
Required
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 LogAnalyticsMetadataCollection Metadata { get; set; }
Property Value
Type | Description |
---|---|
LogAnalyticsMetadataCollection |
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
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. |
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the resource was created, in the format defined by RFC3339. |
Remarks
Required
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. |
TimeUpdated
Declaration
[Required(ErrorMessage = "TimeUpdated is required.")]
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the resource was last updated, in the format defined by RFC3339. |
Remarks
Required
TimezoneRegion
Declaration
[JsonProperty(PropertyName = "timezoneRegion")]
public string TimezoneRegion { get; set; }
Property Value
Type | Description |
---|---|
string | The timezone region of the log analytics entity. |