Class MonitorProperties

java.lang.Object
com.azure.resourcemanager.workloads.fluent.models.MonitorProperties

public final class MonitorProperties extends Object
Describes the properties of a SAP monitor.
  • Constructor Details

    • MonitorProperties

      public MonitorProperties()
  • Method Details

    • provisioningState

      public WorkloadMonitorProvisioningState provisioningState()
      Get the provisioningState property: State of provisioning of the SAP monitor.
      Returns:
      the provisioningState value.
    • errors

      public MonitorPropertiesErrors errors()
      Get the errors property: Defines the SAP monitor errors.
      Returns:
      the errors value.
    • appLocation

      public String appLocation()
      Get the appLocation property: The SAP monitor resources will be deployed in the SAP monitoring region. The subnet region should be same as the SAP monitoring region.
      Returns:
      the appLocation value.
    • withAppLocation

      public MonitorProperties withAppLocation(String appLocation)
      Set the appLocation property: The SAP monitor resources will be deployed in the SAP monitoring region. The subnet region should be same as the SAP monitoring region.
      Parameters:
      appLocation - the appLocation value to set.
      Returns:
      the MonitorProperties object itself.
    • routingPreference

      public RoutingPreference routingPreference()
      Get the routingPreference property: Sets the routing preference of the SAP monitor. By default only RFC1918 traffic is routed to the customer VNET.
      Returns:
      the routingPreference value.
    • withRoutingPreference

      public MonitorProperties withRoutingPreference(RoutingPreference routingPreference)
      Set the routingPreference property: Sets the routing preference of the SAP monitor. By default only RFC1918 traffic is routed to the customer VNET.
      Parameters:
      routingPreference - the routingPreference value to set.
      Returns:
      the MonitorProperties object itself.
    • managedResourceGroupConfiguration

      public ManagedRGConfiguration managedResourceGroupConfiguration()
      Get the managedResourceGroupConfiguration property: Managed resource group configuration.
      Returns:
      the managedResourceGroupConfiguration value.
    • withManagedResourceGroupConfiguration

      public MonitorProperties withManagedResourceGroupConfiguration(ManagedRGConfiguration managedResourceGroupConfiguration)
      Set the managedResourceGroupConfiguration property: Managed resource group configuration.
      Parameters:
      managedResourceGroupConfiguration - the managedResourceGroupConfiguration value to set.
      Returns:
      the MonitorProperties object itself.
    • logAnalyticsWorkspaceArmId

      public String logAnalyticsWorkspaceArmId()
      Get the logAnalyticsWorkspaceArmId property: The ARM ID of the Log Analytics Workspace that is used for SAP monitoring.
      Returns:
      the logAnalyticsWorkspaceArmId value.
    • withLogAnalyticsWorkspaceArmId

      public MonitorProperties withLogAnalyticsWorkspaceArmId(String logAnalyticsWorkspaceArmId)
      Set the logAnalyticsWorkspaceArmId property: The ARM ID of the Log Analytics Workspace that is used for SAP monitoring.
      Parameters:
      logAnalyticsWorkspaceArmId - the logAnalyticsWorkspaceArmId value to set.
      Returns:
      the MonitorProperties object itself.
    • monitorSubnet

      public String monitorSubnet()
      Get the monitorSubnet property: The subnet which the SAP monitor will be deployed in.
      Returns:
      the monitorSubnet value.
    • withMonitorSubnet

      public MonitorProperties withMonitorSubnet(String monitorSubnet)
      Set the monitorSubnet property: The subnet which the SAP monitor will be deployed in.
      Parameters:
      monitorSubnet - the monitorSubnet value to set.
      Returns:
      the MonitorProperties object itself.
    • msiArmId

      public String msiArmId()
      Get the msiArmId property: The ARM ID of the MSI used for SAP monitoring.
      Returns:
      the msiArmId value.
    • validate

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