ArmHybridNetworkModelFactory.ComponentKubernetesResources 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 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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.