Class MonitorProperties
java.lang.Object
com.azure.resourcemanager.workloads.fluent.models.MonitorProperties
Describes the properties of a SAP monitor.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the appLocation property: The SAP monitor resources will be deployed in the SAP monitoring region.errors()
Get the errors property: Defines the SAP monitor errors.Get the logAnalyticsWorkspaceArmId property: The ARM ID of the Log Analytics Workspace that is used for SAP monitoring.Get the managedResourceGroupConfiguration property: Managed resource group configuration.Get the monitorSubnet property: The subnet which the SAP monitor will be deployed in.msiArmId()
Get the msiArmId property: The ARM ID of the MSI used for SAP monitoring.Get the provisioningState property: State of provisioning of the SAP monitor.Get the routingPreference property: Sets the routing preference of the SAP monitor.void
validate()
Validates the instance.withAppLocation
(String appLocation) Set the appLocation property: The SAP monitor resources will be deployed in the SAP monitoring region.withLogAnalyticsWorkspaceArmId
(String logAnalyticsWorkspaceArmId) Set the logAnalyticsWorkspaceArmId property: The ARM ID of the Log Analytics Workspace that is used for SAP monitoring.withManagedResourceGroupConfiguration
(ManagedRGConfiguration managedResourceGroupConfiguration) Set the managedResourceGroupConfiguration property: Managed resource group configuration.withMonitorSubnet
(String monitorSubnet) Set the monitorSubnet property: The subnet which the SAP monitor will be deployed in.withRoutingPreference
(RoutingPreference routingPreference) Set the routingPreference property: Sets the routing preference of the SAP monitor.
-
Constructor Details
-
MonitorProperties
public MonitorProperties()
-
-
Method Details
-
provisioningState
Get the provisioningState property: State of provisioning of the SAP monitor.- Returns:
- the provisioningState value.
-
errors
Get the errors property: Defines the SAP monitor errors.- Returns:
- the errors value.
-
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
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
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
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
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
Get the logAnalyticsWorkspaceArmId property: The ARM ID of the Log Analytics Workspace that is used for SAP monitoring.- Returns:
- the logAnalyticsWorkspaceArmId value.
-
withLogAnalyticsWorkspaceArmId
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
Get the monitorSubnet property: The subnet which the SAP monitor will be deployed in.- Returns:
- the monitorSubnet value.
-
withMonitorSubnet
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
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.
-