Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace CreateMonitoredResourceDetails

The information about new monitored resource to be created. The combination of monitored resource name and type should be unique across tenancy.

Properties

Optional additionalAliases

List of MonitoredResourceAliasCredentials. This property complements the existing "aliases" property by allowing user to specify more than one credential alias. If both "aliases" and "additionalAliases" are specified, union of the values is used as list of aliases applicable for this resource. If any duplicate found in the combined list of "alias" and "additionalAliases", an error will be thrown.

Optional additionalCredentials

additionalCredentials: Array<MonitoredResourceCredential>

List of MonitoredResourceCredentials. This property complements the existing "credentials" property by allowing user to specify more than one credential. If both "credential" and "additionalCredentials" are specified, union of the values is used as list of credentials applicable for this resource. If any duplicate found in the combined list of "credentials" and "additionalCredentials", an error will be thrown.

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

External resource is any OCI resource identifier OCID which is not a Stack Monitoring service resource. Currently supports only 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

Host name of the monitored resource.

Optional license

license: model.LicenseType

License edition of the monitored resource. If not provided the default license type for the compartment will be used.

Optional managementAgentId

managementAgentId: undefined | string

Management Agent Identifier OCID.

name

name: string

Monitored Resource Name.

Optional properties

List of monitored resource properties.

Optional resourceTimeZone

resourceTimeZone: undefined | string

Time zone in the form of tz database canonical zone ID. Specifies the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles

type

type: string

Monitored Resource Type.

Functions

getDeserializedJsonObj

getJsonObj