ArmComputeModelFactory.ProxyAgentSettings Method

Definition

public static Azure.ResourceManager.Compute.Models.ProxyAgentSettings ProxyAgentSettings(bool? enabled = default, Azure.ResourceManager.Compute.Models.Mode? mode = default, int? keyIncarnationId = default, Azure.ResourceManager.Compute.Models.HostEndpointSettings wireServer = default, Azure.ResourceManager.Compute.Models.HostEndpointSettings imds = default, bool? addProxyAgentExtension = default);
static member ProxyAgentSettings : Nullable<bool> * Nullable<Azure.ResourceManager.Compute.Models.Mode> * Nullable<int> * Azure.ResourceManager.Compute.Models.HostEndpointSettings * Azure.ResourceManager.Compute.Models.HostEndpointSettings * Nullable<bool> -> Azure.ResourceManager.Compute.Models.ProxyAgentSettings
Public Shared Function ProxyAgentSettings (Optional enabled As Nullable(Of Boolean) = Nothing, Optional mode As Nullable(Of Mode) = Nothing, Optional keyIncarnationId As Nullable(Of Integer) = Nothing, Optional wireServer As HostEndpointSettings = Nothing, Optional imds As HostEndpointSettings = Nothing, Optional addProxyAgentExtension As Nullable(Of Boolean) = Nothing) As ProxyAgentSettings

Parameters

enabled
Nullable<Boolean>

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

mode
Nullable<Mode>

Specifies the mode that ProxyAgent will execute on. Warning: this property has been deprecated, please specify 'mode' under particular hostendpoint setting.

keyIncarnationId
Nullable<Int32>

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

wireServer
HostEndpointSettings

Specifies the Wire Server endpoint settings while creating the virtual machine or virtual machine scale set. Minimum api-version: 2024-03-01.

imds
HostEndpointSettings

Specifies the IMDS endpoint settings while creating the virtual machine or virtual machine scale set. Minimum api-version: 2024-03-01.

addProxyAgentExtension
Nullable<Boolean>

Specify whether to implicitly install the ProxyAgent Extension. This option is currently applicable only for Linux Os.

Returns

A new ProxyAgentSettings instance for mocking.

Applies to