ContainerPort Constructors
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.
Overloads
ContainerPort() |
Initializes a new instance of the ContainerPort class. |
ContainerPort(Int32, String) |
Initializes a new instance of the ContainerPort class. |
ContainerPort()
Initializes a new instance of the ContainerPort class.
public ContainerPort ();
Public Sub New ()
Applies to
ContainerPort(Int32, String)
Initializes a new instance of the ContainerPort class.
public ContainerPort (int port, string protocol = default);
new Microsoft.Azure.Management.ContainerInstance.Models.ContainerPort : int * string -> Microsoft.Azure.Management.ContainerInstance.Models.ContainerPort
Public Sub New (port As Integer, Optional protocol As String = Nothing)
Parameters
- port
- Int32
The port number exposed within the container group.
- protocol
- String
The protocol associated with the port. Possible values include: 'TCP', 'UDP'
Applies to
Azure SDK for .NET
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla