onDemandResources.getPreservationPriority()

Type Function
Return value Number
Revision 2018.3333
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.