Cloud AI Platform v1 API - Class Port (2.27.0)

public sealed class Port : IMessage<Port>, IEquatable<Port>, IDeepCloneable<Port>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1 API class Port.

Represents a network port in a container.

Inheritance

object > Port

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

Port()

public Port()

Port(Port)

public Port(Port other)
Parameter
Name Description
other Port

Properties

ContainerPort

public int ContainerPort { get; set; }

The number of the port to expose on the pod's IP address. Must be a valid port number, between 1 and 65535 inclusive.

Property Value
Type Description
int