ContainerPort Class

Definition

The port exposed on the container instance.

public class ContainerPort
type ContainerPort = class
Public Class ContainerPort
Inheritance
ContainerPort

Constructors

ContainerPort()

Initializes a new instance of the ContainerPort class.

ContainerPort(Int32, String)

Initializes a new instance of the ContainerPort class.

Properties

Port

Gets or sets the port number exposed within the container group.

Protocol

Gets or sets the protocol associated with the port. Possible values include: 'TCP', 'UDP'

Methods

Validate()

Validate the object.

Applies to