ComputeBatchModelFactory.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.
Specifies ProxyAgent settings while creating the virtual machine.
public static Azure.Compute.Batch.ProxyAgentSettings ProxyAgentSettings(bool? enabled = default, Azure.Compute.Batch.HostEndpointSettings imds = default, Azure.Compute.Batch.HostEndpointSettings wireServer = default);
static member ProxyAgentSettings : Nullable<bool> * Azure.Compute.Batch.HostEndpointSettings * Azure.Compute.Batch.HostEndpointSettings -> Azure.Compute.Batch.ProxyAgentSettings
Public Shared Function ProxyAgentSettings (Optional enabled As Nullable(Of Boolean) = Nothing, Optional imds As HostEndpointSettings = Nothing, Optional wireServer As HostEndpointSettings = Nothing) As ProxyAgentSettings
Parameters
Specifies whether Metadata Security Protocol feature should be enabled on the virtual machine or virtual machine scale set. Default is False.
- imds
- HostEndpointSettings
Settings for the IMDS endpoint.
- wireServer
- HostEndpointSettings
Settings for the WireServer endpoint.
Returns
A new ProxyAgentSettings instance for mocking.