Share via


ProxyAgentSettings Class

Definition

Specifies ProxyAgent settings while creating the virtual machine.

public class ProxyAgentSettings : System.ClientModel.Primitives.IJsonModel<Azure.Compute.Batch.ProxyAgentSettings>, System.ClientModel.Primitives.IPersistableModel<Azure.Compute.Batch.ProxyAgentSettings>
type ProxyAgentSettings = class
    interface IJsonModel<ProxyAgentSettings>
    interface IPersistableModel<ProxyAgentSettings>
Public Class ProxyAgentSettings
Implements IJsonModel(Of ProxyAgentSettings), IPersistableModel(Of ProxyAgentSettings)
Inheritance
ProxyAgentSettings
Implements

Constructors

Name Description
ProxyAgentSettings()

Initializes a new instance of ProxyAgentSettings.

Properties

Name Description
Enabled

Specifies whether Metadata Security Protocol feature should be enabled on the virtual machine or virtual machine scale set. Default is False.

Imds

Settings for the IMDS endpoint.

WireServer

Settings for the WireServer endpoint.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<ProxyAgentSettings>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ProxyAgentSettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ProxyAgentSettings>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ProxyAgentSettings>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ProxyAgentSettings>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to