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
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 |
HostIP
What host IP to bind the external port to. +optional
Declaration
[JsonProperty("hostIP")]
public virtual string HostIP { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
HostPort
Declaration
[JsonProperty("hostPort")]
public virtual int? HostPort { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
Name
If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services. +optional
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Protocol
Protocol for port. Must be UDP or TCP. Defaults to "TCP". +optional
Declaration
[JsonProperty("protocol")]
public virtual string Protocol { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |