你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmHybridContainerServiceModelFactory.HybridContainerServiceAgentPoolData 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 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
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).
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.
- 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.