ArmHybridNetworkModelFactory.ComponentKubernetesResources Method

Definition

Initializes a new instance of ComponentKubernetesResources.

public static Azure.ResourceManager.HybridNetwork.Models.ComponentKubernetesResources ComponentKubernetesResources (System.Collections.Generic.IEnumerable<Azure.ResourceManager.HybridNetwork.Models.KubernetesDeployment> deployments = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.HybridNetwork.Models.KubernetesPod> pods = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.HybridNetwork.Models.KubernetesReplicaSet> replicaSets = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.HybridNetwork.Models.KubernetesStatefulSet> statefulSets = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.HybridNetwork.Models.KubernetesDaemonSet> daemonSets = default);
static member ComponentKubernetesResources : seq<Azure.ResourceManager.HybridNetwork.Models.KubernetesDeployment> * seq<Azure.ResourceManager.HybridNetwork.Models.KubernetesPod> * seq<Azure.ResourceManager.HybridNetwork.Models.KubernetesReplicaSet> * seq<Azure.ResourceManager.HybridNetwork.Models.KubernetesStatefulSet> * seq<Azure.ResourceManager.HybridNetwork.Models.KubernetesDaemonSet> -> Azure.ResourceManager.HybridNetwork.Models.ComponentKubernetesResources
Public Shared Function ComponentKubernetesResources (Optional deployments As IEnumerable(Of KubernetesDeployment) = Nothing, Optional pods As IEnumerable(Of KubernetesPod) = Nothing, Optional replicaSets As IEnumerable(Of KubernetesReplicaSet) = Nothing, Optional statefulSets As IEnumerable(Of KubernetesStatefulSet) = Nothing, Optional daemonSets As IEnumerable(Of KubernetesDaemonSet) = Nothing) As ComponentKubernetesResources

Parameters

deployments
IEnumerable<KubernetesDeployment>

Deployments that are related to component resource.

pods
IEnumerable<KubernetesPod>

Pods related to component resource.

replicaSets
IEnumerable<KubernetesReplicaSet>

Replica sets related to component resource.

statefulSets
IEnumerable<KubernetesStatefulSet>

Stateful sets related to component resource.

daemonSets
IEnumerable<KubernetesDaemonSet>

Daemonsets related to component resource.

Returns

A new ComponentKubernetesResources instance for mocking.

Applies to