ArmMonitorModelFactory.MonitorAgentSetting Method
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.
A setting used to control an agent behavior on a host machine.
public static Azure.ResourceManager.Monitor.Models.MonitorAgentSetting MonitorAgentSetting(Azure.ResourceManager.Monitor.Models.KnownMonitorAgentSettingName? name = default, string value = default);
static member MonitorAgentSetting : Nullable<Azure.ResourceManager.Monitor.Models.KnownMonitorAgentSettingName> * string -> Azure.ResourceManager.Monitor.Models.MonitorAgentSetting
Public Shared Function MonitorAgentSetting (Optional name As Nullable(Of KnownMonitorAgentSettingName) = Nothing, Optional value As String = Nothing) As MonitorAgentSetting
Parameters
The name of the setting. Must be part of the list of supported settings
- value
- String
The value of the setting.
Returns
A new MonitorAgentSetting instance for mocking.