Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace MonitoredResource

The response object for create monitored resource and get monitored resource operations. This contains information about the monitored resource. Credentials and credential aliases attributes will be returned as null due to security reasons.

Properties

Optional aliases

aliases: model.MonitoredResourceAliasCredential

compartmentId

compartmentId: string

Compartment Identifier OCID.

Optional credentials

Optional databaseConnectionDetails

databaseConnectionDetails: model.ConnectionDetails

Optional definedTags

definedTags: undefined | object

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {@code {"foo-namespace": {"bar-key": "value"}}}

Optional displayName

displayName: undefined | string

Monitored resource display name.

Optional externalId

externalId: undefined | string

The external resource identifier OCID. External resource is any OCI resource 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.

Optional freeformTags

freeformTags: undefined | object

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {@code {"bar-key": "value"}}

Optional hostName

hostName: undefined | string

Monitored resource host name.

id

id: string

Monitored resource identifier OCID.

Optional license

license: model.LicenseType

License edition of the monitored resource.

Optional lifecycleState

lifecycleState: model.ResourceLifecycleState

Lifecycle state of the monitored resource.

Optional managementAgentId

managementAgentId: undefined | string

Management Agent Identifier OCID.

name

name: string

Monitored resource name.

Optional properties

List of monitored resource properties.

Optional resourceCategory

resourceCategory: model.ResourceCategory

Resource Category to indicate the kind of resource type.

Optional resourceTimeZone

resourceTimeZone: undefined | string

Time zone in the form of tz database canonical zone ID.

Optional sourceType

sourceType: model.SourceType

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

Optional systemTags

systemTags: undefined | object

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

tenantId

tenantId: string

Tenancy Identifier OCID.

Optional timeCreated

timeCreated: Date

The date and time when the monitored resource was created, expressed in RFC 3339 timestamp format.

Optional timeUpdated

timeUpdated: Date

The date and time when the monitored resource was last updated, expressed in RFC 3339 timestamp format.

type

type: string

Monitored Resource Type.

Functions

getDeserializedJsonObj

getJsonObj