onDemandResources.getPreservationPriority()

Type Function
Return value Number
Revision Release 2022.3683
Keywords on-demand resources, onDemandResources, getPreservationPriority
See also onDemandResources.request()
onDemandResources.setPreservationPriority()
onDemandResources.*

Overview

You can influence the system's eviction process via preservation priority. The system will evict resources with lower preservation priority first.

This function returns the preservation priority (number) for a specified tag in the range of 0.0 to 1.0 where 1.0 is the highest and the default preservation priority.

Syntax

onDemandResources.getPreservationPriority( tag )
tag (required)

String. Tag for which to retrieve the preservation priority.