你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmContainerInstanceModelFactory.ContainerGroupInstanceView 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 ContainerGroupInstanceView 的新实例。
public static Azure.ResourceManager.ContainerInstance.Models.ContainerGroupInstanceView ContainerGroupInstanceView (System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerInstance.Models.ContainerEvent> events = default, string state = default);
static member ContainerGroupInstanceView : seq<Azure.ResourceManager.ContainerInstance.Models.ContainerEvent> * string -> Azure.ResourceManager.ContainerInstance.Models.ContainerGroupInstanceView
Public Shared Function ContainerGroupInstanceView (Optional events As IEnumerable(Of ContainerEvent) = Nothing, Optional state As String = Nothing) As ContainerGroupInstanceView
参数
- events
- IEnumerable<ContainerEvent>
此容器组的事件。
- state
- String
容器组的状态。 仅在响应中有效。
返回
用于模拟的新 ContainerGroupInstanceView 实例。