Udostępnij za pośrednictwem


AgentConfiguration Class

Definition

Configurable properties that the user can set locally via the azcmagent config command, or remotely via ARM.

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

Properties

ConfigMode

Name of configuration mode to use. Modes are pre-defined configurations of security controls, extension allowlists and guest configuration, maintained by Microsoft.

ExtensionsAllowList

Array of extensions that are allowed to be installed or updated.

ExtensionsBlockList

Array of extensions that are blocked (cannot be installed or updated).

ExtensionsEnabled

Specifies whether the extension service is enabled or disabled.

GuestConfigurationEnabled

Specified whether the guest configuration service is enabled or disabled.

IncomingConnectionsPorts

Specifies the list of ports that the agent will be able to listen on.

ProxyBypass

List of service names which should not use the specified proxy server.

ProxyUri

Specifies the URL of the proxy to be used.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AgentConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AgentConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AgentConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AgentConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AgentConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to