Compartilhar via


ArmContainerInstanceModelFactory.InitContainerPropertiesDefinitionInstanceView Método

Definição

Inicializa uma nova instância de InitContainerPropertiesDefinitionInstanceView.

public static Azure.ResourceManager.ContainerInstance.Models.InitContainerPropertiesDefinitionInstanceView InitContainerPropertiesDefinitionInstanceView (int? restartCount = default, Azure.ResourceManager.ContainerInstance.Models.ContainerState currentState = default, Azure.ResourceManager.ContainerInstance.Models.ContainerState previousState = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerInstance.Models.ContainerEvent> events = default);
static member InitContainerPropertiesDefinitionInstanceView : Nullable<int> * Azure.ResourceManager.ContainerInstance.Models.ContainerState * Azure.ResourceManager.ContainerInstance.Models.ContainerState * seq<Azure.ResourceManager.ContainerInstance.Models.ContainerEvent> -> Azure.ResourceManager.ContainerInstance.Models.InitContainerPropertiesDefinitionInstanceView
Public Shared Function InitContainerPropertiesDefinitionInstanceView (Optional restartCount As Nullable(Of Integer) = Nothing, Optional currentState As ContainerState = Nothing, Optional previousState As ContainerState = Nothing, Optional events As IEnumerable(Of ContainerEvent) = Nothing) As InitContainerPropertiesDefinitionInstanceView

Parâmetros

restartCount
Nullable<Int32>

O número de vezes que o contêiner de inicialização foi reiniciado.

currentState
ContainerState

O estado atual do contêiner de inicialização.

previousState
ContainerState

O estado anterior do contêiner de inicialização.

events
IEnumerable<ContainerEvent>

Os eventos do contêiner de inicialização.

Retornos

Uma nova InitContainerPropertiesDefinitionInstanceView instância para zombar.

Aplica-se a