Show / Hide Table of Contents

Class LogAnalyticsTemplate

A template object.

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

Properties

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

Content

Declaration
[JsonProperty(PropertyName = "content")]
public string Content { get; set; }
Property Value
Type Description
string

Base64 encoded template content.

ContentFormat

Declaration
[JsonProperty(PropertyName = "contentFormat")]
public string ContentFormat { get; set; }
Property Value
Type Description
string

Content format. For example - XML.

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

Description for this resource.

Facets

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

Facets of the template

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

IsSystem

Declaration
[JsonProperty(PropertyName = "isSystem")]
public bool? IsSystem { get; set; }
Property Value
Type Description
bool?

The system flag. A value of false denotes a custom, or user defined object. A value of true denotes a built in object.

LifecycleState

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

The current state of the template.

Remarks

Required

Name

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

The template name.

Remarks

Required

Parameters

Declaration
[JsonProperty(PropertyName = "parameters")]
public string Parameters { get; set; }
Property Value
Type Description
string

Base64 encoded template parameters.

ParametersFormat

Declaration
[JsonProperty(PropertyName = "parametersFormat")]
public string ParametersFormat { get; set; }
Property Value
Type Description
string

Parameters format. For example - NAME_VALUE_PAIR.

ParametersMetadata

Declaration
[JsonProperty(PropertyName = "parametersMetadata")]
public string ParametersMetadata { get; set; }
Property Value
Type Description
string

Base64 encoded parameters metadata definition.

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

TimeUpdated

Declaration
[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.

Type

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

The template type.

In this article
Back to top