你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IPort Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.PortTypeConverter))]
public interface IPort : Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.PortTypeConverter))>]
type IPort = interface
    interface IJsonSerializable
Public Interface IPort
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

Port1

The port number.

Protocol

The protocol associated with the port.

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to