ProxyAgentSettings Class

Definition

Specifies ProxyAgent settings while creating the virtual machine. Minimum api-version: 2023-09-01.

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

Constructors

ProxyAgentSettings()

Initializes a new instance of ProxyAgentSettings.

Properties

Enabled

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

KeyIncarnationId

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

Mode

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.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

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