AppParameterValue.Peer

API: Experimental/Alpha

A reference to a separate UCloud Job

data class Peer(
    val hostname: String,
    val jobId: String,
    val type: String /* "peer" */,
)
  • Compatible with: ApplicationParameter.Peer

  • Mountable as a resource: ✅ Yes

  • Expands to: The hostname

  • Side effects: Configures the firewall to allow bidirectional communication between this Job and the peering Job

Properties
hostname: String
jobId: String
type: String /* "peer" */ The type discriminator

API: Stable