你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmHybridContainerServiceModelFactory.AgentPoolProvisioningStatus 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 AgentPoolProvisioningStatus.
public static Azure.ResourceManager.HybridContainerService.Models.AgentPoolProvisioningStatus AgentPoolProvisioningStatus (Azure.ResourceManager.HybridContainerService.Models.HybridContainerServiceResourceProvisioningState? currentState = default, string errorMessage = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.HybridContainerService.Models.AgentPoolUpdateProfile> readyReplicas = default);
static member AgentPoolProvisioningStatus : Nullable<Azure.ResourceManager.HybridContainerService.Models.HybridContainerServiceResourceProvisioningState> * string * seq<Azure.ResourceManager.HybridContainerService.Models.AgentPoolUpdateProfile> -> Azure.ResourceManager.HybridContainerService.Models.AgentPoolProvisioningStatus
Public Shared Function AgentPoolProvisioningStatus (Optional currentState As Nullable(Of HybridContainerServiceResourceProvisioningState) = Nothing, Optional errorMessage As String = Nothing, Optional readyReplicas As IEnumerable(Of AgentPoolUpdateProfile) = Nothing) As AgentPoolProvisioningStatus
Parameters
- currentState
- Nullable<HybridContainerServiceResourceProvisioningState>
The current state of the agent pool.
- errorMessage
- String
Error messages during an agent pool operation or steady state.
- readyReplicas
- IEnumerable<AgentPoolUpdateProfile>
Returns
A new AgentPoolProvisioningStatus instance for mocking.