CounterSetPatchArgs

data class CounterSetPatchArgs(val counters: Output<Map<String, CounterArgs>>? = null, val name: Output<String>? = null) : ConvertibleToJava<CounterSetPatchArgs>

CounterSet defines a named set of counters that are available to be used by devices defined in the ResourceSlice. The counters are not allocatable by themselves, but can be referenced by devices. When a device is allocated, the portion of counters it uses will no longer be available for use by other devices.

Constructors

Link copied to clipboard
constructor(counters: Output<Map<String, CounterArgs>>? = null, name: Output<String>? = null)

Properties

Link copied to clipboard
val counters: Output<Map<String, CounterArgs>>? = null

Counters defines the set of counters for this CounterSet The name of each counter must be unique in that set and must be a DNS label. The maximum number of counters in all sets is 32.

Link copied to clipboard
val name: Output<String>? = null

Name defines the name of the counter set. It must be a DNS label.

Functions

Link copied to clipboard
open override fun toJava(): CounterSetPatchArgs