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

ContainerPropertiesInstanceView 构造函数

定义

重载

ContainerPropertiesInstanceView()

初始化 ContainerPropertiesInstanceView 类的新实例。

ContainerPropertiesInstanceView(Nullable<Int32>, ContainerState, ContainerState, IList<EventModel>)

初始化 ContainerPropertiesInstanceView 类的新实例。

ContainerPropertiesInstanceView()

初始化 ContainerPropertiesInstanceView 类的新实例。

public ContainerPropertiesInstanceView();
Public Sub New ()

适用于

ContainerPropertiesInstanceView(Nullable<Int32>, ContainerState, ContainerState, IList<EventModel>)

初始化 ContainerPropertiesInstanceView 类的新实例。

public ContainerPropertiesInstanceView(int? restartCount = default, Microsoft.Azure.Management.ContainerInstance.Fluent.Models.ContainerState currentState = default, Microsoft.Azure.Management.ContainerInstance.Fluent.Models.ContainerState previousState = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerInstance.Fluent.Models.EventModel> events = default);
new Microsoft.Azure.Management.ContainerInstance.Fluent.Models.ContainerPropertiesInstanceView : Nullable<int> * Microsoft.Azure.Management.ContainerInstance.Fluent.Models.ContainerState * Microsoft.Azure.Management.ContainerInstance.Fluent.Models.ContainerState * System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerInstance.Fluent.Models.EventModel> -> Microsoft.Azure.Management.ContainerInstance.Fluent.Models.ContainerPropertiesInstanceView
Public Sub New (Optional restartCount As Nullable(Of Integer) = Nothing, Optional currentState As ContainerState = Nothing, Optional previousState As ContainerState = Nothing, Optional events As IList(Of EventModel) = Nothing)

参数

restartCount
Nullable<Int32>

重启容器实例的次数。

currentState
ContainerState

当前容器实例状态。

previousState
ContainerState

以前的容器实例状态。

events
IList<EventModel>

容器实例的事件。

适用于