ArmComputeModelFactory.ProxyAgentSettings 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.
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
Specifies whether ProxyAgent feature should be enabled on the virtual machine or virtual machine scale set.
Specifies the mode that ProxyAgent will execute on. Warning: this property has been deprecated, please specify 'mode' under particular hostendpoint setting.
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.
Specify whether to implicitly install the ProxyAgent Extension. This option is currently applicable only for Linux Os.
Returns
A new ProxyAgentSettings instance for mocking.