ports

@JvmName(name = "dcemlrngwtmpxdyo")
suspend fun ports(value: Output<List<GoogleCloudMlV1__ContainerPortArgs>>)
@JvmName(name = "mehbgexrrvxngvfb")
suspend fun ports(value: List<GoogleCloudMlV1__ContainerPortArgs>?)

Parameters

value

Immutable. List of ports to expose from the container. AI Platform Prediction sends any prediction requests that it receives to the first port on this list. AI Platform Prediction also sends /ai-platform/prediction/docs/custom-container-requirements#health to this port. If you do not specify this field, it defaults to following value: ``json [ { "containerPort": 8080 } ] `` AI Platform Prediction does not use ports other than the first one listed. This field corresponds to the ports field of the Kubernetes Containers v1 core API.


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


@JvmName(name = "pefltkurkebkvmld")
suspend fun ports(values: List<Output<GoogleCloudMlV1__ContainerPortArgs>>)
@JvmName(name = "wcxbgsbhmdkfstou")
suspend fun ports(vararg values: GoogleCloudMlV1__ContainerPortArgs)

Parameters

values

Immutable. List of ports to expose from the container. AI Platform Prediction sends any prediction requests that it receives to the first port on this list. AI Platform Prediction also sends /ai-platform/prediction/docs/custom-container-requirements#health to this port. If you do not specify this field, it defaults to following value: ``json [ { "containerPort": 8080 } ] `` AI Platform Prediction does not use ports other than the first one listed. This field corresponds to the ports field of the Kubernetes Containers v1 core API.


@JvmName(name = "jjxnekmrpqaorqdo")
suspend fun ports(argument: List<suspend GoogleCloudMlV1__ContainerPortArgsBuilder.() -> Unit>)
@JvmName(name = "ddjgyhhgmwqdrnxq")
suspend fun ports(vararg argument: suspend GoogleCloudMlV1__ContainerPortArgsBuilder.() -> Unit)
@JvmName(name = "txhtdfdnxqeuirbe")
suspend fun ports(argument: suspend GoogleCloudMlV1__ContainerPortArgsBuilder.() -> Unit)

Parameters

argument

Immutable. List of ports to expose from the container. AI Platform Prediction sends any prediction requests that it receives to the first port on this list. AI Platform Prediction also sends /ai-platform/prediction/docs/custom-container-requirements#health to this port. If you do not specify this field, it defaults to following value: ``json [ { "containerPort": 8080 } ] `` AI Platform Prediction does not use ports other than the first one listed. This field corresponds to the ports field of the Kubernetes Containers v1 core API.