Show / Hide Table of Contents

Class AdhocQueryResultSummary

Adhoc query result resource from running on a resource.

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

Properties

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"}}

ErrorMessage

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

Optional error message

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.

HostId

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

Resource this result belongs to

Remarks

Required

Region

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

The region this adhoc work request is running in, needed for tracking when work request is synced to reporting region

Remarks

Required

Result

Declaration
[JsonProperty(PropertyName = "result")]
public List<Dictionary<string, string>> Result { get; set; }
Property Value
Type Description
List<Dictionary<string, string>>

Result of the adhoc query this result resource is associated with

ResultCount

Declaration
[JsonProperty(PropertyName = "resultCount")]
public long? ResultCount { get; set; }
Property Value
Type Description
long?

Number of records returned for the query results on this host

State

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

Status of the query

Remarks

Required

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"}}

TimeSubmitted

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

The time the adhoc result was submitted. An RFC3339 formatted datetime string

In this article
Back to top