ArmHybridNetworkModelFactory.KubernetesPod Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of 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
Parameters
- name
- String
The name of the Pod.
- namespace
- String
The namespace of the Pod.
- createdOn
- Nullable<DateTimeOffset>
Creation Time of Pod.
- events
- IEnumerable<PodEvent>
Last 5 Pod events.
Returns
A new KubernetesPod instance for mocking.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET