Show / Hide Table of Contents

Class DiscoveryJob

The DiscoveryJob details.

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

Properties

CompartmentId

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

The OCID of the Compartment

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

DiscoveryClient

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

Client who submits discovery job.

DiscoveryDetails

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

DiscoveryType

Declaration
[JsonProperty(PropertyName = "discoveryType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DiscoveryJob.DiscoveryTypeEnum? DiscoveryType { get; set; }
Property Value
Type Description
DiscoveryJob.DiscoveryTypeEnum?

Add option submits new discovery Job. Add with retry option to re-submit failed discovery job. Refresh option refreshes the existing discovered resources.

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 OCID of Discovery job

Remarks

Required

LifecycleState

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

The current state of the DiscoveryJob Resource.

Status

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

Specifies the status of the discovery job

StatusMessage

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

The short summary of the status of the discovery job

SystemTags

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

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}}

TenantId

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

The OCID of Tenant

TimeUpdated

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

The time the discovery Job was updated.

UserId

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

The OCID of user in which the job is submitted

In this article
Back to top