Megosztás a következőn keresztül:


ArmDynatraceModelFactory.DynatraceMonitorVmInfo Method

Definition

Initializes a new instance of DynatraceMonitorVmInfo.

public static Azure.ResourceManager.Dynatrace.Models.DynatraceMonitorVmInfo DynatraceMonitorVmInfo (Azure.Core.ResourceIdentifier resourceId = default, string version = default, Azure.ResourceManager.Dynatrace.Models.DynatraceOneAgentMonitoringType? monitoringType = default, Azure.ResourceManager.Dynatrace.Models.DynatraceOneAgentAutoUpdateSetting? autoUpdateSetting = default, Azure.ResourceManager.Dynatrace.Models.DynatraceOneAgentUpdateStatus? updateStatus = default, Azure.ResourceManager.Dynatrace.Models.DynatraceOneAgentAvailabilityState? availabilityState = default, Azure.ResourceManager.Dynatrace.Models.DynatraceLogModuleState? logModule = default, string hostGroup = default, string hostName = default);
static member DynatraceMonitorVmInfo : Azure.Core.ResourceIdentifier * string * Nullable<Azure.ResourceManager.Dynatrace.Models.DynatraceOneAgentMonitoringType> * Nullable<Azure.ResourceManager.Dynatrace.Models.DynatraceOneAgentAutoUpdateSetting> * Nullable<Azure.ResourceManager.Dynatrace.Models.DynatraceOneAgentUpdateStatus> * Nullable<Azure.ResourceManager.Dynatrace.Models.DynatraceOneAgentAvailabilityState> * Nullable<Azure.ResourceManager.Dynatrace.Models.DynatraceLogModuleState> * string * string -> Azure.ResourceManager.Dynatrace.Models.DynatraceMonitorVmInfo
Public Shared Function DynatraceMonitorVmInfo (Optional resourceId As ResourceIdentifier = Nothing, Optional version As String = Nothing, Optional monitoringType As Nullable(Of DynatraceOneAgentMonitoringType) = Nothing, Optional autoUpdateSetting As Nullable(Of DynatraceOneAgentAutoUpdateSetting) = Nothing, Optional updateStatus As Nullable(Of DynatraceOneAgentUpdateStatus) = Nothing, Optional availabilityState As Nullable(Of DynatraceOneAgentAvailabilityState) = Nothing, Optional logModule As Nullable(Of DynatraceLogModuleState) = Nothing, Optional hostGroup As String = Nothing, Optional hostName As String = Nothing) As DynatraceMonitorVmInfo

Parameters

resourceId
ResourceIdentifier

Azure VM resource ID.

version
String

Version of the Dynatrace agent installed on the VM.

monitoringType
Nullable<DynatraceOneAgentMonitoringType>

The monitoring mode of OneAgent.

autoUpdateSetting
Nullable<DynatraceOneAgentAutoUpdateSetting>

Update settings of OneAgent.

updateStatus
Nullable<DynatraceOneAgentUpdateStatus>

The current update status of OneAgent.

availabilityState
Nullable<DynatraceOneAgentAvailabilityState>

The availability state of OneAgent.

logModule
Nullable<DynatraceLogModuleState>

Tells whether log modules are enabled or not.

hostGroup
String

The name of the host group.

hostName
String

The name of the host.

Returns

A new DynatraceMonitorVmInfo instance for mocking.

Applies to