ArmKubernetesModelFactory.AgentError 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.
Agent Errors if any during agent or system component upgrade.
public static Azure.ResourceManager.Kubernetes.Models.AgentError AgentError(string message = default, string severity = default, string component = default, DateTimeOffset? time = default);
static member AgentError : string * string * string * Nullable<DateTimeOffset> -> Azure.ResourceManager.Kubernetes.Models.AgentError
Public Shared Function AgentError (Optional message As String = Nothing, Optional severity As String = Nothing, Optional component As String = Nothing, Optional time As Nullable(Of DateTimeOffset) = Nothing) As AgentError
Parameters
- message
- String
Agent error message.
- severity
- String
Severity of the error message.
- component
- String
Agent component where error message occured.
- time
- Nullable<DateTimeOffset>
The timestamp of error occured (UTC).
Returns
A new AgentError instance for mocking.