Show / Hide Table of Contents

Class AssociatedMonitoredResource

The information about monitored resource.

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

Properties

Association

Declaration
[JsonProperty(PropertyName = "association")]
public object Association { get; set; }
Property Value
Type Description
object

Association details of the resource.

CompartmentId

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

Compartment Identifier OCID.

DisplayName

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

Monitored resource display name.

ExternalId

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

External resource is any OCI resource identifier OCID which is not a Stack Monitoring service resource. Currently supports only following resource types - Container database, non-container database, pluggable database and OCI compute instance.

HostName

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

Monitored Resource Host Name.

Id

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

Monitored resource identifier OCID.

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 ResourceLifecycleState? LifecycleState { get; set; }
Property Value
Type Description
ResourceLifecycleState?

The current state of the monitored resource.

ManagementAgentId

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

Management Agent Identifier OCID.

Name

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

Monitored Resource Name.

ResourceCategory

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

Resource Category to indicate the kind of resource type.

SourceType

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

Source type to indicate if the resource is stack monitoring discovered, OCI native resource, etc.

Type

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

Monitored Resource Type.

In this article
Back to top