java.lang.Object
com.azure.resourcemanager.dynatrace.fluent.models.VMInfoInner

public final class VMInfoInner extends Object
Details of VM Resource having Dynatrace OneAgent installed.
  • Constructor Details

    • VMInfoInner

      public VMInfoInner()
  • Method Details

    • resourceId

      public String resourceId()
      Get the resourceId property: Azure VM resource ID.
      Returns:
      the resourceId value.
    • withResourceId

      public VMInfoInner withResourceId(String resourceId)
      Set the resourceId property: Azure VM resource ID.
      Parameters:
      resourceId - the resourceId value to set.
      Returns:
      the VMInfoInner object itself.
    • version

      public String version()
      Get the version property: Version of the Dynatrace agent installed on the VM.
      Returns:
      the version value.
    • withVersion

      public VMInfoInner withVersion(String version)
      Set the version property: Version of the Dynatrace agent installed on the VM.
      Parameters:
      version - the version value to set.
      Returns:
      the VMInfoInner object itself.
    • monitoringType

      public MonitoringType monitoringType()
      Get the monitoringType property: The monitoring mode of OneAgent.
      Returns:
      the monitoringType value.
    • withMonitoringType

      public VMInfoInner withMonitoringType(MonitoringType monitoringType)
      Set the monitoringType property: The monitoring mode of OneAgent.
      Parameters:
      monitoringType - the monitoringType value to set.
      Returns:
      the VMInfoInner object itself.
    • autoUpdateSetting

      public AutoUpdateSetting autoUpdateSetting()
      Get the autoUpdateSetting property: Update settings of OneAgent.
      Returns:
      the autoUpdateSetting value.
    • withAutoUpdateSetting

      public VMInfoInner withAutoUpdateSetting(AutoUpdateSetting autoUpdateSetting)
      Set the autoUpdateSetting property: Update settings of OneAgent.
      Parameters:
      autoUpdateSetting - the autoUpdateSetting value to set.
      Returns:
      the VMInfoInner object itself.
    • updateStatus

      public UpdateStatus updateStatus()
      Get the updateStatus property: The current update status of OneAgent.
      Returns:
      the updateStatus value.
    • withUpdateStatus

      public VMInfoInner withUpdateStatus(UpdateStatus updateStatus)
      Set the updateStatus property: The current update status of OneAgent.
      Parameters:
      updateStatus - the updateStatus value to set.
      Returns:
      the VMInfoInner object itself.
    • availabilityState

      public AvailabilityState availabilityState()
      Get the availabilityState property: The availability state of OneAgent.
      Returns:
      the availabilityState value.
    • withAvailabilityState

      public VMInfoInner withAvailabilityState(AvailabilityState availabilityState)
      Set the availabilityState property: The availability state of OneAgent.
      Parameters:
      availabilityState - the availabilityState value to set.
      Returns:
      the VMInfoInner object itself.
    • logModule

      public LogModule logModule()
      Get the logModule property: Tells whether log modules are enabled or not.
      Returns:
      the logModule value.
    • withLogModule

      public VMInfoInner withLogModule(LogModule logModule)
      Set the logModule property: Tells whether log modules are enabled or not.
      Parameters:
      logModule - the logModule value to set.
      Returns:
      the VMInfoInner object itself.
    • hostGroup

      public String hostGroup()
      Get the hostGroup property: The name of the host group.
      Returns:
      the hostGroup value.
    • withHostGroup

      public VMInfoInner withHostGroup(String hostGroup)
      Set the hostGroup property: The name of the host group.
      Parameters:
      hostGroup - the hostGroup value to set.
      Returns:
      the VMInfoInner object itself.
    • hostname

      public String hostname()
      Get the hostname property: The name of the host.
      Returns:
      the hostname value.
    • withHostname

      public VMInfoInner withHostname(String hostname)
      Set the hostname property: The name of the host.
      Parameters:
      hostname - the hostname value to set.
      Returns:
      the VMInfoInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.