ArmHybridNetworkModelFactory.KubernetesStatefulSet Method

Definition

Initializes a new instance of KubernetesStatefulSet.

public static Azure.ResourceManager.HybridNetwork.Models.KubernetesStatefulSet KubernetesStatefulSet (string name = default, string namespace = default, int? desiredNumberOfPods = default, int? readyNumberOfPods = default, DateTimeOffset? createdOn = default);
static member KubernetesStatefulSet : string * string * Nullable<int> * Nullable<int> * Nullable<DateTimeOffset> -> Azure.ResourceManager.HybridNetwork.Models.KubernetesStatefulSet
Public Shared Function KubernetesStatefulSet (Optional name As String = Nothing, Optional namespace As String = Nothing, Optional desiredNumberOfPods As Nullable(Of Integer) = Nothing, Optional readyNumberOfPods As Nullable(Of Integer) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing) As KubernetesStatefulSet

Parameters

name
String

The name of the statefulset.

namespace
String

The namespace of the statefulset.

desiredNumberOfPods
Nullable<Int32>

Desired number of pods.

readyNumberOfPods
Nullable<Int32>

Number of ready pods.

createdOn
Nullable<DateTimeOffset>

Creation Time of statefulset.

Returns

A new KubernetesStatefulSet instance for mocking.

Applies to