次の方法で共有


ApplicationInsightsComponentDataVolumeCap Class

  • java.lang.Object
    • com.azure.resourcemanager.applicationinsights.models.ApplicationInsightsComponentDataVolumeCap

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 ApplicationInsightsComponentDataVolumeCap class.

Method Summary

Modifier and Type Method and Description
Float cap()

Get the cap property: Daily data volume cap in GB.

static ApplicationInsightsComponentDataVolumeCap fromJson(JsonReader jsonReader)

Reads an instance of ApplicationInsightsComponentDataVolumeCap from the JsonReader.

Float maxHistoryCap()

Get the maxHistoryCap property: Maximum daily data volume cap that the user can set for this component.

Integer resetTime()

Get the resetTime property: Daily data volume cap UTC reset hour.

Boolean stopSendNotificationWhenHitCap()

Get the stopSendNotificationWhenHitCap property: Do not send a notification email when the daily data volume cap is met.

Boolean stopSendNotificationWhenHitThreshold()

Get the stopSendNotificationWhenHitThreshold property: Reserved, not used for now.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Integer warningThreshold()

Get the warningThreshold property: Reserved, not used for now.

ApplicationInsightsComponentDataVolumeCap withCap(Float cap)

Set the cap property: Daily data volume cap in GB.

ApplicationInsightsComponentDataVolumeCap withStopSendNotificationWhenHitCap(Boolean stopSendNotificationWhenHitCap)

Set the stopSendNotificationWhenHitCap property: Do not send a notification email when the daily data volume cap is met.

ApplicationInsightsComponentDataVolumeCap withStopSendNotificationWhenHitThreshold(Boolean stopSendNotificationWhenHitThreshold)

Set the stopSendNotificationWhenHitThreshold property: Reserved, not used for now.

ApplicationInsightsComponentDataVolumeCap withWarningThreshold(Integer warningThreshold)

Set the warningThreshold property: Reserved, not used for now.

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:

the cap value.

fromJson

public static ApplicationInsightsComponentDataVolumeCap fromJson(JsonReader jsonReader)

Reads an instance of ApplicationInsightsComponentDataVolumeCap from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ApplicationInsightsComponentDataVolumeCap if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ApplicationInsightsComponentDataVolumeCap.

maxHistoryCap

public Float maxHistoryCap()

Get the maxHistoryCap property: Maximum daily data volume cap that the user can set for this component.

Returns:

the maxHistoryCap value.

resetTime

public Integer resetTime()

Get the resetTime property: Daily data volume cap UTC reset hour.

Returns:

the resetTime value.

stopSendNotificationWhenHitCap

public Boolean stopSendNotificationWhenHitCap()

Get the stopSendNotificationWhenHitCap property: Do not send a notification email when the daily data volume cap is met.

Returns:

the stopSendNotificationWhenHitCap value.

stopSendNotificationWhenHitThreshold

public Boolean stopSendNotificationWhenHitThreshold()

Get the stopSendNotificationWhenHitThreshold property: Reserved, not used for now.

Returns:

the stopSendNotificationWhenHitThreshold value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

warningThreshold

public Integer warningThreshold()

Get the warningThreshold property: Reserved, not used for now.

Returns:

the warningThreshold value.

withCap

public ApplicationInsightsComponentDataVolumeCap withCap(Float cap)

Set the cap property: Daily data volume cap in GB.

Parameters:

cap - the cap value to set.

Returns:

the ApplicationInsightsComponentDataVolumeCap object itself.

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:

stopSendNotificationWhenHitCap - the stopSendNotificationWhenHitCap value to set.

Returns:

the ApplicationInsightsComponentDataVolumeCap object itself.

withStopSendNotificationWhenHitThreshold

public ApplicationInsightsComponentDataVolumeCap withStopSendNotificationWhenHitThreshold(Boolean stopSendNotificationWhenHitThreshold)

Set the stopSendNotificationWhenHitThreshold property: Reserved, not used for now.

Parameters:

stopSendNotificationWhenHitThreshold - the stopSendNotificationWhenHitThreshold value to set.

Returns:

the ApplicationInsightsComponentDataVolumeCap object itself.

withWarningThreshold

public ApplicationInsightsComponentDataVolumeCap withWarningThreshold(Integer warningThreshold)

Set the warningThreshold property: Reserved, not used for now.

Parameters:

warningThreshold - the warningThreshold value to set.

Returns:

the ApplicationInsightsComponentDataVolumeCap object itself.

Applies to