次の方法で共有


Port Class

The port exposed on the container group.

All required parameters must be populated in order to send to Azure.

Constructor

Port(*, port: int, protocol: str | _models.ContainerGroupNetworkProtocol | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
protocol

The protocol associated with the port. Known values are: "TCP" and "UDP".

Default value: None
port
int

The port number. Required.

Variables

Name Description
protocol

The protocol associated with the port. Known values are: "TCP" and "UDP".

port
int

The port number. Required.