你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ContainerNetworkProtocol Struct
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 protocol associated with the port.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Support.ContainerNetworkProtocolTypeConverter))]
public struct ContainerNetworkProtocol : IEquatable<Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Support.ContainerNetworkProtocol>, System.Management.Automation.IArgumentCompleter
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Support.ContainerNetworkProtocolTypeConverter))>]
type ContainerNetworkProtocol = struct
interface IArgumentCompleter
Public Structure ContainerNetworkProtocol
Implements IArgumentCompleter, IEquatable(Of ContainerNetworkProtocol)
- Inheritance
-
ContainerNetworkProtocol
- Attributes
- Implements
Fields
Tcp | |
Udp |
Methods
CompleteArgument(String, String, String, CommandAst, IDictionary) |
Implementations of this function are called by PowerShell to complete arguments. |
Equals(ContainerNetworkProtocol) |
Compares values of enum type ContainerNetworkProtocol |
Equals(Object) |
Compares values of enum type ContainerNetworkProtocol (override for Object) |
GetHashCode() |
Returns hashCode for enum ContainerNetworkProtocol |
ToString() |
Returns string representation for ContainerNetworkProtocol |
Operators
Equality(ContainerNetworkProtocol, ContainerNetworkProtocol) |
Overriding == operator for enum ContainerNetworkProtocol |
Implicit(ContainerNetworkProtocol to String) |
Implicit operator to convert ContainerNetworkProtocol to string |
Implicit(String to ContainerNetworkProtocol) |
Implicit operator to convert string to ContainerNetworkProtocol |
Inequality(ContainerNetworkProtocol, ContainerNetworkProtocol) |
Overriding != operator for enum ContainerNetworkProtocol |