Condividi tramite


ComputeFleetProxyAgentSettings Class

Definition

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

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

Constructors

ComputeFleetProxyAgentSettings()

Initializes a new instance of ComputeFleetProxyAgentSettings.

Properties

IsEnabled

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<ComputeFleetProxyAgentSettings>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ComputeFleetProxyAgentSettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ComputeFleetProxyAgentSettings>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ComputeFleetProxyAgentSettings>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ComputeFleetProxyAgentSettings>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to