ApplicationInsightsComponentDataVolumeCap Class
- java.
lang. Object - com.
azure. resourcemanager. applicationinsights. models. ApplicationInsightsComponentDataVolumeCap
- com.
Implements
public final class ApplicationInsightsComponentDataVolumeCap
implements JsonSerializable<ApplicationInsightsComponentDataVolumeCap>
An Application Insights component daily data volume cap.
Constructor Summary
| Constructor | Description |
|---|---|
| ApplicationInsightsComponentDataVolumeCap() |
Creates an instance of Application |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Float |
cap()
Get the cap property: Daily data volume cap in GB. |
|
static
Application |
fromJson(JsonReader jsonReader)
Reads an instance of Application |
| Float |
maxHistoryCap()
Get the max |
| Integer |
resetTime()
Get the reset |
| Boolean |
stopSendNotificationWhenHitCap()
Get the stop |
| Boolean |
stopSendNotificationWhenHitThreshold()
Get the stop |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| Integer |
warningThreshold()
Get the warning |
|
Application |
withCap(Float cap)
Set the cap property: Daily data volume cap in GB. |
|
Application |
withStopSendNotificationWhenHitCap(Boolean stopSendNotificationWhenHitCap)
Set the stop |
|
Application |
withStopSendNotificationWhenHitThreshold(Boolean stopSendNotificationWhenHitThreshold)
Set the stop |
|
Application |
withWarningThreshold(Integer warningThreshold)
Set the warning |
Methods inherited from java.lang.Object
Constructor Details
ApplicationInsightsComponentDataVolumeCap
public ApplicationInsightsComponentDataVolumeCap()
Creates an instance of ApplicationInsightsComponentDataVolumeCap class.
Method Details
cap
public Float cap()
Get the cap property: Daily data volume cap in GB.
Returns:
fromJson
public static ApplicationInsightsComponentDataVolumeCap fromJson(JsonReader jsonReader)
Reads an instance of ApplicationInsightsComponentDataVolumeCap from the JsonReader.
Parameters:
Returns:
Throws:
maxHistoryCap
public Float maxHistoryCap()
Get the maxHistoryCap property: Maximum daily data volume cap that the user can set for this component.
Returns:
resetTime
public Integer resetTime()
Get the resetTime property: Daily data volume cap UTC reset hour.
Returns:
stopSendNotificationWhenHitCap
public Boolean stopSendNotificationWhenHitCap()
Get the stopSendNotificationWhenHitCap property: Do not send a notification email when the daily data volume cap is met.
Returns:
stopSendNotificationWhenHitThreshold
public Boolean stopSendNotificationWhenHitThreshold()
Get the stopSendNotificationWhenHitThreshold property: Reserved, not used for now.
Returns:
toJson
validate
public void validate()
Validates the instance.
warningThreshold
public Integer warningThreshold()
Get the warningThreshold property: Reserved, not used for now.
Returns:
withCap
public ApplicationInsightsComponentDataVolumeCap withCap(Float cap)
Set the cap property: Daily data volume cap in GB.
Parameters:
Returns:
withStopSendNotificationWhenHitCap
public ApplicationInsightsComponentDataVolumeCap withStopSendNotificationWhenHitCap(Boolean stopSendNotificationWhenHitCap)
Set the stopSendNotificationWhenHitCap property: Do not send a notification email when the daily data volume cap is met.
Parameters:
Returns:
withStopSendNotificationWhenHitThreshold
public ApplicationInsightsComponentDataVolumeCap withStopSendNotificationWhenHitThreshold(Boolean stopSendNotificationWhenHitThreshold)
Set the stopSendNotificationWhenHitThreshold property: Reserved, not used for now.
Parameters:
Returns:
withWarningThreshold
public ApplicationInsightsComponentDataVolumeCap withWarningThreshold(Integer warningThreshold)
Set the warningThreshold property: Reserved, not used for now.
Parameters:
Returns: