Class MonitoredResourceSummary
The information about monitored resource.
Inherited Members
Namespace: Oci.StackmonitoringService.Models
Assembly: OCI.DotNetSDK.Stackmonitoring.dll
Syntax
public class MonitoredResourceSummary
Properties
CompartmentId
Declaration
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | Compartment Identifier OCID. |
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"}} |
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. |
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"} |
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
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | Monitored Resource Name. |
Remarks
Required
Properties
Declaration
[JsonProperty(PropertyName = "properties")]
public List<MonitoredResourceProperty> Properties { get; set; }
Property Value
Type | Description |
---|---|
List<MonitoredResourceProperty> | List of monitored resource properties. |
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. |
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"}} |
TimeCreated
Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Monitored resource creation time. An RFC3339 formatted datetime string. |
TimeUpdated
Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Monitored resource update time. An RFC3339 formatted datetime string. |
Type
Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
public string Type { get; set; }
Property Value
Type | Description |
---|---|
string | Monitored Resource Type. |
Remarks
Required