共用方式為


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