Class ContainerPort
ContainerPort represents a network port in a single container.
Inheritance
System.Object
ContainerPort
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudRun.v1alpha1.Data
Assembly: Google.Apis.CloudRun.v1alpha1.dll
Syntax
public class ContainerPort : IDirectResponseSchema
Properties
ContainerPortValue
(Optional) Port number the container listens on. This must be a valid port number, 0 < x < 65536.
Declaration
[JsonProperty("containerPort")]
public virtual int? ContainerPortValue { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
(Optional) If specified, used to specify which protocol to use. Allowed values are "http1" and "h2c".
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Protocol
(Optional) Protocol for port. Must be "TCP". Defaults to "TCP".
Declaration
[JsonProperty("protocol")]
public virtual string Protocol { get; set; }
Property Value
Type | Description |
---|---|
System.String |