Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Category

The metadata associated with the category.

Properties

compartmentId

compartmentId: string

The OCID of the tenancy. The tenancy is the root compartment.

compartmentName

compartmentName: string

The name associated with the compartment.

description

description: string

Text describing the category.

estimatedCostSaving

estimatedCostSaving: number

The estimated cost savings, in dollars, for the category. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional extendedMetadata

extendedMetadata: undefined | object

Additional metadata key/value pairs for the category.

For example:

{@code {\"EstimatedSaving\": \"200\"}}

id

id: string

The unique OCID of the category.

lifecycleState

lifecycleState: LifecycleState

The category's current state.

name

name: string

The name assigned to the category.

recommendationCounts

recommendationCounts: Array<RecommendationCount>

An array of {@code RecommendationCount} objects grouped by the level of importance assigned to the recommendation.

resourceCounts

resourceCounts: Array<ResourceCount>

An array of {@code ResourceCount} objects grouped by the status of the recommendation.

timeCreated

timeCreated: Date

The date and time the category details were created, in the format defined by RFC3339.

timeUpdated

timeUpdated: Date

The date and time the category details were last updated, in the format defined by RFC3339.

Functions

getDeserializedJsonObj

  • getDeserializedJsonObj(obj: Category): object

getJsonObj