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

IWithFirstContainerInstance 接口

定义

允许指定第一个所需容器实例的容器组定义的阶段。

public interface IWithFirstContainerInstance
type IWithFirstContainerInstance = interface
Public Interface IWithFirstContainerInstance
派生

方法

DefineContainerInstance(String)

开始容器实例的定义。

WithContainerInstance(String)

为指定映像定义一个容器实例,该映像具有 1 个 CPU 计数和 1.5 GB 内存,TCP 端口 80 在外部打开。

WithContainerInstance(String, Int32)

为指定映像定义一个容器实例,该映像具有 1 个 CPU 计数和 1.5 GB 内存,并在外部打开了自定义 TCP 端口。

适用于