CustomResourceSubresourcesArgs

data class CustomResourceSubresourcesArgs(val scale: Output<CustomResourceSubresourceScaleArgs>? = null, val status: Output<JsonElement>? = null) : ConvertibleToJava<CustomResourceSubresourcesArgs>

CustomResourceSubresources defines the status and scale subresources for CustomResources.

Constructors

Link copied to clipboard
constructor(scale: Output<CustomResourceSubresourceScaleArgs>? = null, status: Output<JsonElement>? = null)

Properties

Link copied to clipboard

scale indicates the custom resource should serve a /scale subresource that returns an autoscaling/v1 Scale object.

Link copied to clipboard
val status: Output<JsonElement>? = null

status indicates the custom resource should serve a /status subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the status stanza of the object. 2. requests to the custom resource /status subresource ignore changes to anything other than the status stanza of the object.

Functions

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