Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace ResourceActionSummary

The metadata associated with the resource action summary.

Properties

action

action: Action

categoryId

categoryId: string

The unique OCID associated with the category.

compartmentId

compartmentId: string

The OCID of the compartment.

compartmentName

compartmentName: string

The name associated with the compartment.

estimatedCostSaving

estimatedCostSaving: number

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

Optional extendedMetadata

extendedMetadata: undefined | object

Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the {@code metadata} object.

They are distinguished from {@code metadata} fields in that these can be nested JSON objects (whereas {@code metadata} fields are string/string maps only).

For example:

{@code {\"CurrentShape\": {\"name\":\"VM.Standard2.16\"}, \"RecommendedShape\": {\"name\":\"VM.Standard2.8\"}}}

id

id: string

The unique OCID associated with the resource action.

lifecycleState

lifecycleState: LifecycleState

The resource action's current state.

Optional metadata

metadata: undefined | object

Custom metadata key/value pairs for the resource action.

*Metadata Example**

\"metadata\" : { \"cpuRecommendedShape\": \"VM.Standard1.1\", \"computeMemoryUtilization\": \"26.05734124418388\", \"currentShape\": \"VM.Standard1.2\", \"instanceRecommendedShape\": \"VM.Standard1.1\", \"computeCpuUtilization\": \"7.930035319720132\", \"memoryRecommendedShape\": \"None\" }

name

name: string

The name assigned to the resource.

recommendationId

recommendationId: string

The unique OCID associated with the recommendation.

resourceId

resourceId: string

The unique OCID associated with the resource.

resourceType

resourceType: string

The kind of resource.

status

status: Status

The current status of the resource action.

Optional timeCreated

timeCreated: Date

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

timeStatusBegin

timeStatusBegin: Date

The date and time that the resource action entered its current status. The format is defined by RFC3339.

For example, \"The status of the resource action changed from {@code pending} to {@code current(ignored)} on this date and time.\"

Optional timeStatusEnd

timeStatusEnd: Date

The date and time the current status will change. The format is defined by RFC3339.

For example, \"The current {@code postponed} status of the resource action will end and change to {@code pending} on this date and time.\"

Optional timeUpdated

timeUpdated: Date

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

Functions

getDeserializedJsonObj

getJsonObj