ArmComputeFleetModelFactory.ComputeFleetProxyAgentSettings Method

Definition

public static Azure.ResourceManager.ComputeFleet.Models.ComputeFleetProxyAgentSettings ComputeFleetProxyAgentSettings(bool? isEnabled = default, Azure.ResourceManager.ComputeFleet.Models.ProxyAgentExecuteMode? mode = default, int? keyIncarnationId = default);
static member ComputeFleetProxyAgentSettings : Nullable<bool> * Nullable<Azure.ResourceManager.ComputeFleet.Models.ProxyAgentExecuteMode> * Nullable<int> -> Azure.ResourceManager.ComputeFleet.Models.ComputeFleetProxyAgentSettings
Public Shared Function ComputeFleetProxyAgentSettings (Optional isEnabled As Nullable(Of Boolean) = Nothing, Optional mode As Nullable(Of ProxyAgentExecuteMode) = Nothing, Optional keyIncarnationId As Nullable(Of Integer) = Nothing) As ComputeFleetProxyAgentSettings

Parameters

isEnabled
Nullable<Boolean>

Specifies whether ProxyAgent feature should be enabled on the virtual machine or virtual machine scale set.

mode
Nullable<ProxyAgentExecuteMode>

Specifies the mode that ProxyAgent will execute on if the feature is enabled. ProxyAgent will start to audit or monitor but not enforce access control over requests to host endpoints in Audit mode, while in Enforce mode it will enforce access control. The default value is Enforce mode.

keyIncarnationId
Nullable<Int32>

Increase the value of this property allows user to reset the key used for securing communication channel between guest and host.

Returns

A new ComputeFleetProxyAgentSettings instance for mocking.

Applies to