Class DiscoveryJobSummary
The Summary of DiscoveryJob details.
Inherited Members
Namespace: Oci.StackmonitoringService.Models
Assembly: OCI.DotNetSDK.Stackmonitoring.dll
Syntax
public class DiscoveryJobSummary
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"}} |
DiscoveryType
Declaration
[JsonProperty(PropertyName = "discoveryType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DiscoveryJobSummary.DiscoveryTypeEnum? DiscoveryType { get; set; }
Property Value
Type | Description |
---|---|
DiscoveryJobSummary.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
License
Declaration
[JsonProperty(PropertyName = "license")]
[JsonConverter(typeof(ResponseEnumConverter))]
public LicenseType? License { get; set; }
Property Value
Type | Description |
---|---|
LicenseType? | License edition of the monitored resource. |
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. |
ResourceName
Declaration
[JsonProperty(PropertyName = "resourceName")]
public string ResourceName { get; set; }
Property Value
Type | Description |
---|---|
string | The name of resource type |
ResourceType
Declaration
[JsonProperty(PropertyName = "resourceType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DiscoveryJobSummary.ResourceTypeEnum? ResourceType { get; set; }
Property Value
Type | Description |
---|---|
DiscoveryJobSummary.ResourceTypeEnum? | Resource Type |
Status
Declaration
[JsonProperty(PropertyName = "status")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DiscoveryJobSummary.StatusEnum? Status { get; set; }
Property Value
Type | Description |
---|---|
DiscoveryJobSummary.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 |