ContainerPort Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET