RequestRateByIntervalInput Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. LogAnalyticsInputBase - com.
azure. resourcemanager. compute. models. RequestRateByIntervalInput
- com.
- com.
public final class RequestRateByIntervalInput
extends LogAnalyticsInputBase
Api request input for LogAnalytics getRequestRateByInterval Api.
Constructor Summary
| Constructor | Description |
|---|---|
| RequestRateByIntervalInput() |
Creates an instance of Request |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Request |
fromJson(JsonReader jsonReader)
Reads an instance of Request |
|
Interval |
intervalLength()
Get the interval |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Request |
withBlobContainerSasUri(String blobContainerSasUri)
Set the blob |
|
Request |
withFromTime(OffsetDateTime fromTime)
Set the from |
|
Request |
withGroupByClientApplicationId(Boolean groupByClientApplicationId)
Set the group |
|
Request |
withGroupByOperationName(Boolean groupByOperationName)
Set the group |
|
Request |
withGroupByResourceName(Boolean groupByResourceName)
Set the group |
|
Request |
withGroupByThrottlePolicy(Boolean groupByThrottlePolicy)
Set the group |
|
Request |
withGroupByUserAgent(Boolean groupByUserAgent)
Set the group |
|
Request |
withIntervalLength(IntervalInMins intervalLength)
Set the interval |
|
Request |
withToTime(OffsetDateTime toTime)
Set the to |
Methods inherited from LogAnalyticsInputBase
Methods inherited from java.lang.Object
Constructor Details
RequestRateByIntervalInput
public RequestRateByIntervalInput()
Creates an instance of RequestRateByIntervalInput class.
Method Details
fromJson
public static RequestRateByIntervalInput fromJson(JsonReader jsonReader)
Reads an instance of RequestRateByIntervalInput from the JsonReader.
Parameters:
Returns:
Throws:
intervalLength
public IntervalInMins intervalLength()
Get the intervalLength property: Interval value in minutes used to create LogAnalytics call rate logs.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
RequestRateByIntervalInput.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
RequestRateByIntervalInput.validate()withBlobContainerSasUri
public RequestRateByIntervalInput withBlobContainerSasUri(String blobContainerSasUri)
Set the blobContainerSasUri property: SAS Uri of the logging blob container to which LogAnalytics Api writes output logs to.
Overrides:
RequestRateByIntervalInput.withBlobContainerSasUri(String blobContainerSasUri)Parameters:
withFromTime
public RequestRateByIntervalInput withFromTime(OffsetDateTime fromTime)
Set the fromTime property: From time of the query.
Overrides:
RequestRateByIntervalInput.withFromTime(OffsetDateTime fromTime)Parameters:
withGroupByClientApplicationId
public RequestRateByIntervalInput withGroupByClientApplicationId(Boolean groupByClientApplicationId)
Set the groupByClientApplicationId property: Group query result by Client Application ID.
Overrides:
RequestRateByIntervalInput.withGroupByClientApplicationId(Boolean groupByClientApplicationId)Parameters:
withGroupByOperationName
public RequestRateByIntervalInput withGroupByOperationName(Boolean groupByOperationName)
Set the groupByOperationName property: Group query result by Operation Name.
Overrides:
RequestRateByIntervalInput.withGroupByOperationName(Boolean groupByOperationName)Parameters:
withGroupByResourceName
public RequestRateByIntervalInput withGroupByResourceName(Boolean groupByResourceName)
Set the groupByResourceName property: Group query result by Resource Name.
Overrides:
RequestRateByIntervalInput.withGroupByResourceName(Boolean groupByResourceName)Parameters:
withGroupByThrottlePolicy
public RequestRateByIntervalInput withGroupByThrottlePolicy(Boolean groupByThrottlePolicy)
Set the groupByThrottlePolicy property: Group query result by Throttle Policy applied.
Overrides:
RequestRateByIntervalInput.withGroupByThrottlePolicy(Boolean groupByThrottlePolicy)Parameters:
withGroupByUserAgent
public RequestRateByIntervalInput withGroupByUserAgent(Boolean groupByUserAgent)
Set the groupByUserAgent property: Group query result by User Agent.
Overrides:
RequestRateByIntervalInput.withGroupByUserAgent(Boolean groupByUserAgent)Parameters:
withIntervalLength
public RequestRateByIntervalInput withIntervalLength(IntervalInMins intervalLength)
Set the intervalLength property: Interval value in minutes used to create LogAnalytics call rate logs.
Parameters:
Returns:
withToTime
public RequestRateByIntervalInput withToTime(OffsetDateTime toTime)
Set the toTime property: To time of the query.
Overrides:
RequestRateByIntervalInput.withToTime(OffsetDateTime toTime)Parameters: