ArmKubernetesModelFactory.ArcAgentProfile Method

Definition

Defines the Arc Agent properties for the clusters.

public static Azure.ResourceManager.Kubernetes.Models.ArcAgentProfile ArcAgentProfile(string desiredAgentVersion = default, Azure.ResourceManager.Kubernetes.Models.AutoUpgradeOptions? agentAutoUpgrade = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Kubernetes.Models.SystemComponent> systemComponents = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Kubernetes.Models.AgentError> agentErrors = default, string agentState = default);
static member ArcAgentProfile : string * Nullable<Azure.ResourceManager.Kubernetes.Models.AutoUpgradeOptions> * seq<Azure.ResourceManager.Kubernetes.Models.SystemComponent> * seq<Azure.ResourceManager.Kubernetes.Models.AgentError> * string -> Azure.ResourceManager.Kubernetes.Models.ArcAgentProfile
Public Shared Function ArcAgentProfile (Optional desiredAgentVersion As String = Nothing, Optional agentAutoUpgrade As Nullable(Of AutoUpgradeOptions) = Nothing, Optional systemComponents As IEnumerable(Of SystemComponent) = Nothing, Optional agentErrors As IEnumerable(Of AgentError) = Nothing, Optional agentState As String = Nothing) As ArcAgentProfile

Parameters

desiredAgentVersion
String

Version of the Arc agents to be installed on the cluster resource.

agentAutoUpgrade
Nullable<AutoUpgradeOptions>

Indicates whether the Arc agents on the be upgraded automatically to the latest version. Defaults to Enabled.

systemComponents
IEnumerable<SystemComponent>

List of system extensions that are installed on the cluster resource.

agentErrors
IEnumerable<AgentError>

List of arc agentry and system components errors on the cluster resource.

agentState
String

Represents the current state of the Arc agentry and its dependent components.

Returns

A new ArcAgentProfile instance for mocking.

Applies to