Share via


IContainerPort Interface

Definition

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

Properties

Port

The port number exposed within the container group.

Protocol

The protocol associated with the port.

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to