Class RequestRateByIntervalInput
java.lang.Object
com.azure.resourcemanager.compute.models.LogAnalyticsInputBase
com.azure.resourcemanager.compute.models.RequestRateByIntervalInput
Api request input for LogAnalytics getRequestRateByInterval Api.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the intervalLength property: Interval value in minutes used to create LogAnalytics call rate logs.voidvalidate()Validates the instance.withBlobContainerSasUri(String blobContainerSasUri) Set the blobContainerSasUri property: SAS Uri of the logging blob container to which LogAnalytics Api writes output logs to.withFromTime(OffsetDateTime fromTime) Set the fromTime property: From time of the query.withGroupByClientApplicationId(Boolean groupByClientApplicationId) Set the groupByClientApplicationId property: Group query result by Client Application ID.withGroupByOperationName(Boolean groupByOperationName) Set the groupByOperationName property: Group query result by Operation Name.withGroupByResourceName(Boolean groupByResourceName) Set the groupByResourceName property: Group query result by Resource Name.withGroupByThrottlePolicy(Boolean groupByThrottlePolicy) Set the groupByThrottlePolicy property: Group query result by Throttle Policy applied.withGroupByUserAgent(Boolean groupByUserAgent) Set the groupByUserAgent property: Group query result by User Agent.withIntervalLength(IntervalInMins intervalLength) Set the intervalLength property: Interval value in minutes used to create LogAnalytics call rate logs.withToTime(OffsetDateTime toTime) Set the toTime property: To time of the query.Methods inherited from class com.azure.resourcemanager.compute.models.LogAnalyticsInputBase
blobContainerSasUri, fromTime, groupByClientApplicationId, groupByOperationName, groupByResourceName, groupByThrottlePolicy, groupByUserAgent, toTime
-
Constructor Details
-
RequestRateByIntervalInput
public RequestRateByIntervalInput()
-
-
Method Details
-
intervalLength
Get the intervalLength property: Interval value in minutes used to create LogAnalytics call rate logs.- Returns:
- the intervalLength value.
-
withIntervalLength
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.
-
withBlobContainerSasUri
Set the blobContainerSasUri property: SAS Uri of the logging blob container to which LogAnalytics Api writes output logs to.- Overrides:
withBlobContainerSasUriin classLogAnalyticsInputBase- Parameters:
blobContainerSasUri- the blobContainerSasUri value to set.- Returns:
- the LogAnalyticsInputBase object itself.
-
withFromTime
Set the fromTime property: From time of the query.- Overrides:
withFromTimein classLogAnalyticsInputBase- Parameters:
fromTime- the fromTime value to set.- Returns:
- the LogAnalyticsInputBase object itself.
-
withToTime
Set the toTime property: To time of the query.- Overrides:
withToTimein classLogAnalyticsInputBase- Parameters:
toTime- the toTime value to set.- Returns:
- the LogAnalyticsInputBase object itself.
-
withGroupByThrottlePolicy
Set the groupByThrottlePolicy property: Group query result by Throttle Policy applied.- Overrides:
withGroupByThrottlePolicyin classLogAnalyticsInputBase- Parameters:
groupByThrottlePolicy- the groupByThrottlePolicy value to set.- Returns:
- the LogAnalyticsInputBase object itself.
-
withGroupByOperationName
Set the groupByOperationName property: Group query result by Operation Name.- Overrides:
withGroupByOperationNamein classLogAnalyticsInputBase- Parameters:
groupByOperationName- the groupByOperationName value to set.- Returns:
- the LogAnalyticsInputBase object itself.
-
withGroupByResourceName
Set the groupByResourceName property: Group query result by Resource Name.- Overrides:
withGroupByResourceNamein classLogAnalyticsInputBase- Parameters:
groupByResourceName- the groupByResourceName value to set.- Returns:
- the LogAnalyticsInputBase object itself.
-
withGroupByClientApplicationId
public RequestRateByIntervalInput withGroupByClientApplicationId(Boolean groupByClientApplicationId) Set the groupByClientApplicationId property: Group query result by Client Application ID.- Overrides:
withGroupByClientApplicationIdin classLogAnalyticsInputBase- Parameters:
groupByClientApplicationId- the groupByClientApplicationId value to set.- Returns:
- the LogAnalyticsInputBase object itself.
-
withGroupByUserAgent
Set the groupByUserAgent property: Group query result by User Agent.- Overrides:
withGroupByUserAgentin classLogAnalyticsInputBase- Parameters:
groupByUserAgent- the groupByUserAgent value to set.- Returns:
- the LogAnalyticsInputBase object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classLogAnalyticsInputBase- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-