ExampleResource.Status
¶
Describes the current state of the Resource
data class Status(
val state: ExampleResource.State,
val value: Int,
val resolvedSupport: ResolvedSupport<Product, ExampleResourceSupport>?,
val resolvedProduct: Product?,
)
The contents of this field depends almost entirely on the specific Resource
that this field is managing. Typically,
this will contain information such as:
A state value. For example, a compute
Job
might beRUNNING
Key metrics about the resource.
Related resources. For example, certain
Resource
s are bound to anotherResource
in a mutually exclusive way, this should be listed in thestatus
section.
Properties
state
: ExampleResource.State
ExampleResource.State
value
: Int
Int
resolvedSupport
: ResolvedSupport<Product, ExampleResourceSupport>?
ResolvedSupport<Product, ExampleResourceSupport>?
resolvedProduct
: Product?
The resolved product referenced by `product`.
Product?
This attribute is not included by default unless includeProduct
is specified.