ArmHybridNetworkModelFactory.KubernetesDeployment Method

Definition

Initializes a new instance of KubernetesDeployment.

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

Parameters

name
String

The name of the deployment.

namespace
String

The namespace of the deployment.

desiredNumberOfPods
Nullable<Int32>

Desired number of pods.

readyNumberOfPods
Nullable<Int32>

Number of ready pods.

upToDateNumberOfPods
Nullable<Int32>

Number of upto date pods.

availableNumberOfPods
Nullable<Int32>

Number of available pods.

createdOn
Nullable<DateTimeOffset>

Creation Time of deployment.

Returns

A new KubernetesDeployment instance for mocking.

Applies to