Compartilhar via


ArmHybridNetworkModelFactory.KubernetesPod Método

Definição

Inicializa uma nova instância do KubernetesPod.

public static Azure.ResourceManager.HybridNetwork.Models.KubernetesPod KubernetesPod (string name = default, string namespace = default, int? desiredNumberOfContainers = default, int? readyNumberOfContainers = default, Azure.ResourceManager.HybridNetwork.Models.PodStatus? status = default, DateTimeOffset? createdOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.HybridNetwork.Models.PodEvent> events = default);
static member KubernetesPod : string * string * Nullable<int> * Nullable<int> * Nullable<Azure.ResourceManager.HybridNetwork.Models.PodStatus> * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.HybridNetwork.Models.PodEvent> -> Azure.ResourceManager.HybridNetwork.Models.KubernetesPod
Public Shared Function KubernetesPod (Optional name As String = Nothing, Optional namespace As String = Nothing, Optional desiredNumberOfContainers As Nullable(Of Integer) = Nothing, Optional readyNumberOfContainers As Nullable(Of Integer) = Nothing, Optional status As Nullable(Of PodStatus) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional events As IEnumerable(Of PodEvent) = Nothing) As KubernetesPod

Parâmetros

name
String

O nome do Pod.

namespace
String

O namespace do Pod.

desiredNumberOfContainers
Nullable<Int32>

Número desejado de contêineres.

readyNumberOfContainers
Nullable<Int32>

Número de contêineres prontos.

status
Nullable<PodStatus>

O status de um pod.

createdOn
Nullable<DateTimeOffset>

Hora de Criação do Pod.

events
IEnumerable<PodEvent>

Últimos 5 eventos pod.

Retornos

Uma nova KubernetesPod instância para simulação.

Aplica-se a