ports

@JvmName(name = "wqfrotgwmjtqwoqt")
suspend fun ports(value: Output<List<EndpointPortArgs>>)
@JvmName(name = "jchughiqyvabuxhh")
suspend fun ports(value: List<EndpointPortArgs>?)

Parameters

value

ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. Each slice may include a maximum of 100 ports. Services always have at least 1 port, so EndpointSlices generated by the EndpointSlice controller will likewise always have at least 1 port. EndpointSlices used for other purposes may have an empty ports list.


@JvmName(name = "piplhedbtadvictd")
suspend fun ports(vararg values: Output<EndpointPortArgs>)


@JvmName(name = "duogqufwbwucufvq")
suspend fun ports(values: List<Output<EndpointPortArgs>>)
@JvmName(name = "wpgiebvaidexotue")
suspend fun ports(vararg values: EndpointPortArgs)

Parameters

values

ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. Each slice may include a maximum of 100 ports. Services always have at least 1 port, so EndpointSlices generated by the EndpointSlice controller will likewise always have at least 1 port. EndpointSlices used for other purposes may have an empty ports list.


@JvmName(name = "njtxcmpimflohusd")
suspend fun ports(argument: List<suspend EndpointPortArgsBuilder.() -> Unit>)
@JvmName(name = "pmytasmdctrrldus")
suspend fun ports(vararg argument: suspend EndpointPortArgsBuilder.() -> Unit)
@JvmName(name = "movybsrfskfpufxt")
suspend fun ports(argument: suspend EndpointPortArgsBuilder.() -> Unit)

Parameters

argument

ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. Each slice may include a maximum of 100 ports. Services always have at least 1 port, so EndpointSlices generated by the EndpointSlice controller will likewise always have at least 1 port. EndpointSlices used for other purposes may have an empty ports list.