Share via


Port Class

Definition

The port exposed on the container group.

public class Port
type Port = class
Public Class Port
Inheritance
Port

Constructors

Port()

Initializes a new instance of the Port class.

Port(Int32, String)

Initializes a new instance of the Port class.

Properties

PortProperty

Gets or sets the port number.

Protocol

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

Methods

Validate()

Validate the object.

Applies to