Condividi tramite


RequestRateByIntervalInput Class

public final class RequestRateByIntervalInput
extends LogAnalyticsInputBase

Api request input for LogAnalytics getRequestRateByInterval Api.

Constructor Summary

Constructor Description
RequestRateByIntervalInput()

Creates an instance of RequestRateByIntervalInput class.

Method Summary

Modifier and Type Method and Description
static RequestRateByIntervalInput fromJson(JsonReader jsonReader)

Reads an instance of RequestRateByIntervalInput from the JsonReader.

IntervalInMins intervalLength()

Get the intervalLength property: Interval value in minutes used to create LogAnalytics call rate logs.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

RequestRateByIntervalInput withBlobContainerSasUri(String blobContainerSasUri)

Set the blobContainerSasUri property: SAS Uri of the logging blob container to which LogAnalytics Api writes output logs to.

RequestRateByIntervalInput withFromTime(OffsetDateTime fromTime)

Set the fromTime property: From time of the query.

RequestRateByIntervalInput withGroupByClientApplicationId(Boolean groupByClientApplicationId)

Set the groupByClientApplicationId property: Group query result by Client Application ID.

RequestRateByIntervalInput withGroupByOperationName(Boolean groupByOperationName)

Set the groupByOperationName property: Group query result by Operation Name.

RequestRateByIntervalInput withGroupByResourceName(Boolean groupByResourceName)

Set the groupByResourceName property: Group query result by Resource Name.

RequestRateByIntervalInput withGroupByThrottlePolicy(Boolean groupByThrottlePolicy)

Set the groupByThrottlePolicy property: Group query result by Throttle Policy applied.

RequestRateByIntervalInput withGroupByUserAgent(Boolean groupByUserAgent)

Set the groupByUserAgent property: Group query result by User Agent.

RequestRateByIntervalInput withIntervalLength(IntervalInMins intervalLength)

Set the intervalLength property: Interval value in minutes used to create LogAnalytics call rate logs.

RequestRateByIntervalInput withToTime(OffsetDateTime toTime)

Set the toTime property: To time of the query.

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:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

intervalLength

public IntervalInMins intervalLength()

Get the intervalLength property: Interval value in minutes used to create LogAnalytics call rate logs.

Returns:

the intervalLength value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

RequestRateByIntervalInput.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

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:

blobContainerSasUri

withFromTime

public RequestRateByIntervalInput withFromTime(OffsetDateTime fromTime)

Set the fromTime property: From time of the query.

Overrides:

RequestRateByIntervalInput.withFromTime(OffsetDateTime fromTime)

Parameters:

fromTime

withGroupByClientApplicationId

public RequestRateByIntervalInput withGroupByClientApplicationId(Boolean groupByClientApplicationId)

Set the groupByClientApplicationId property: Group query result by Client Application ID.

Overrides:

RequestRateByIntervalInput.withGroupByClientApplicationId(Boolean groupByClientApplicationId)

Parameters:

groupByClientApplicationId

withGroupByOperationName

public RequestRateByIntervalInput withGroupByOperationName(Boolean groupByOperationName)

Set the groupByOperationName property: Group query result by Operation Name.

Overrides:

RequestRateByIntervalInput.withGroupByOperationName(Boolean groupByOperationName)

Parameters:

groupByOperationName

withGroupByResourceName

public RequestRateByIntervalInput withGroupByResourceName(Boolean groupByResourceName)

Set the groupByResourceName property: Group query result by Resource Name.

Overrides:

RequestRateByIntervalInput.withGroupByResourceName(Boolean groupByResourceName)

Parameters:

groupByResourceName

withGroupByThrottlePolicy

public RequestRateByIntervalInput withGroupByThrottlePolicy(Boolean groupByThrottlePolicy)

Set the groupByThrottlePolicy property: Group query result by Throttle Policy applied.

Overrides:

RequestRateByIntervalInput.withGroupByThrottlePolicy(Boolean groupByThrottlePolicy)

Parameters:

groupByThrottlePolicy

withGroupByUserAgent

public RequestRateByIntervalInput withGroupByUserAgent(Boolean groupByUserAgent)

Set the groupByUserAgent property: Group query result by User Agent.

Overrides:

RequestRateByIntervalInput.withGroupByUserAgent(Boolean groupByUserAgent)

Parameters:

groupByUserAgent

withIntervalLength

public RequestRateByIntervalInput withIntervalLength(IntervalInMins intervalLength)

Set the intervalLength property: Interval value in minutes used to create LogAnalytics call rate logs.

Parameters:

intervalLength - the intervalLength value to set.

Returns:

the RequestRateByIntervalInput object itself.

withToTime

public RequestRateByIntervalInput withToTime(OffsetDateTime toTime)

Set the toTime property: To time of the query.

Overrides:

RequestRateByIntervalInput.withToTime(OffsetDateTime toTime)

Parameters:

toTime

Applies to