Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace CreateMonitoredResourceTypeDetails

The information about new monitored resource type. The resource type name should be unique across tenancy. A set of resource types are created by the service by default. These resource types are available for all tenancies. Service provided resource types can not be duplicated or overwritten in any tenancy.

Properties

compartmentId

compartmentId: string

The OCID of the tenancy containing the resource type.

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 description

description: undefined | string

A friendly description.

Optional displayName

displayName: undefined | string

Monitored resource type display name.

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 metadata

metadata: model.SystemFormatResourceTypeMetadataDetails

Optional metricNamespace

metricNamespace: undefined | string

Metric namespace for resource type.

name

name: string

A unique monitored resource type name. The name must be unique across tenancy. Name can not be changed.

Optional resourceCategory

resourceCategory: model.ResourceCategory

Resource Category to indicate the kind of resource type.

Optional sourceType

sourceType: model.SourceType

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

Functions

getDeserializedJsonObj

getJsonObj