ArmHybridNetworkModelFactory.KubernetesReplicaSet Method

Definition

Initializes a new instance of KubernetesReplicaSet.

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

Parameters

name
String

The name of the replicaSet.

namespace
String

The namespace of the replicaSet.

desiredNumberOfPods
Nullable<Int32>

Desired number of pods.

readyNumberOfPods
Nullable<Int32>

Number of ready pods.

currentNumberOfPods
Nullable<Int32>

Number of current pods.

createdOn
Nullable<DateTimeOffset>

Creation Time of replicaSet.

Returns

A new KubernetesReplicaSet instance for mocking.

Applies to