ServiceReferenceArgs

data class ServiceReferenceArgs(val name: Output<String>, val namespace: Output<String>, val path: Output<String>? = null, val port: Output<Int>? = null) : ConvertibleToJava<ServiceReferenceArgs>

ServiceReference holds a reference to Service.legacy.k8s.io

Constructors

Link copied to clipboard
constructor(name: Output<String>, namespace: Output<String>, path: Output<String>? = null, port: Output<Int>? = null)

Properties

Link copied to clipboard
val name: Output<String>

name is the name of the service. Required

Link copied to clipboard
val namespace: Output<String>

namespace is the namespace of the service. Required

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

path is an optional URL path which will be sent in any request to this service.

Link copied to clipboard
val port: Output<Int>? = null

If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. port should be a valid port number (1-65535, inclusive).

Functions

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