Partager via


ArmHybridContainerServiceModelFactory.HybridContainerServiceAgentPoolData Method

Definition

Initializes a new instance of HybridContainerServiceAgentPoolData.

public static Azure.ResourceManager.HybridContainerService.HybridContainerServiceAgentPoolData HybridContainerServiceAgentPoolData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ResourceManager.HybridContainerService.Models.HybridContainerServiceExtendedLocation extendedLocation = default, Azure.ResourceManager.HybridContainerService.Models.HybridContainerServiceOSType? osType = default, Azure.ResourceManager.HybridContainerService.Models.HybridContainerServiceOSSku? osSku = default, System.Collections.Generic.IDictionary<string,string> nodeLabels = default, System.Collections.Generic.IEnumerable<string> nodeTaints = default, int? maxCount = default, int? minCount = default, bool? enableAutoScaling = default, int? maxPods = default, int? count = default, string vmSize = default, string kubernetesVersion = default, Azure.ResourceManager.HybridContainerService.Models.HybridContainerServiceResourceProvisioningState? provisioningState = default, Azure.ResourceManager.HybridContainerService.Models.AgentPoolProvisioningStatus status = default);
static member HybridContainerServiceAgentPoolData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.HybridContainerService.Models.HybridContainerServiceExtendedLocation * Nullable<Azure.ResourceManager.HybridContainerService.Models.HybridContainerServiceOSType> * Nullable<Azure.ResourceManager.HybridContainerService.Models.HybridContainerServiceOSSku> * System.Collections.Generic.IDictionary<string, string> * seq<string> * Nullable<int> * Nullable<int> * Nullable<bool> * Nullable<int> * Nullable<int> * string * string * Nullable<Azure.ResourceManager.HybridContainerService.Models.HybridContainerServiceResourceProvisioningState> * Azure.ResourceManager.HybridContainerService.Models.AgentPoolProvisioningStatus -> Azure.ResourceManager.HybridContainerService.HybridContainerServiceAgentPoolData
Public Shared Function HybridContainerServiceAgentPoolData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional extendedLocation As HybridContainerServiceExtendedLocation = Nothing, Optional osType As Nullable(Of HybridContainerServiceOSType) = Nothing, Optional osSku As Nullable(Of HybridContainerServiceOSSku) = Nothing, Optional nodeLabels As IDictionary(Of String, String) = Nothing, Optional nodeTaints As IEnumerable(Of String) = Nothing, Optional maxCount As Nullable(Of Integer) = Nothing, Optional minCount As Nullable(Of Integer) = Nothing, Optional enableAutoScaling As Nullable(Of Boolean) = Nothing, Optional maxPods As Nullable(Of Integer) = Nothing, Optional count As Nullable(Of Integer) = Nothing, Optional vmSize As String = Nothing, Optional kubernetesVersion As String = Nothing, Optional provisioningState As Nullable(Of HybridContainerServiceResourceProvisioningState) = Nothing, Optional status As AgentPoolProvisioningStatus = Nothing) As HybridContainerServiceAgentPoolData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

Resource tags.

extendedLocation
HybridContainerServiceExtendedLocation

Extended location pointing to the underlying infrastructure.

osType
Nullable<HybridContainerServiceOSType>

The particular KubernetesVersion Image OS Type (Linux, Windows).

osSku
Nullable<HybridContainerServiceOSSku>

Specifies the OS SKU used by the agent pool. The default is CBLMariner if OSType is Linux. The default is Windows2019 when OSType is Windows.

nodeLabels
IDictionary<String,String>

The node labels to be persisted across all nodes in agent pool.

nodeTaints
IEnumerable<String>

Taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.

maxCount
Nullable<Int32>

The maximum number of nodes for auto-scaling.

minCount
Nullable<Int32>

The minimum number of nodes for auto-scaling.

enableAutoScaling
Nullable<Boolean>

Whether to enable auto-scaler. Default value is false.

maxPods
Nullable<Int32>

The maximum number of pods that can run on a node.

count
Nullable<Int32>

Number of nodes in the agent pool. The default value is 1.

vmSize
String

The VM sku size of the agent pool node VMs.

kubernetesVersion
String

Version of Kubernetes in use by the agent pool. This is inherited from the kubernetesVersion of the provisioned cluster.

provisioningState
Nullable<HybridContainerServiceResourceProvisioningState>

The status of the latest long running operation for the agent pool.

status
AgentPoolProvisioningStatus

The observed status of the agent pool.

Returns

A new HybridContainerServiceAgentPoolData instance for mocking.

Applies to