AgentConfiguration Class
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.
Configurable properties that the user can set locally via the azcmagent config command, or remotely via ARM.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.AgentConfigurationTypeConverter))]
public class AgentConfiguration : Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentConfiguration
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.AgentConfigurationTypeConverter))>]
type AgentConfiguration = class
interface IAgentConfiguration
interface IJsonSerializable
Public Class AgentConfiguration
Implements IAgentConfiguration
- Inheritance
-
AgentConfiguration
- Attributes
- Implements
Constructors
AgentConfiguration() |
Creates an new AgentConfiguration instance. |
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. |
IncomingConnectionsPort |
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. |
ProxyUrl |
Specifies the URL of the proxy to be used. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of AgentConfiguration. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of AgentConfiguration. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentConfiguration. |
FromJsonString(String) |
Creates a new instance of AgentConfiguration, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of AgentConfiguration into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |