Class RequestRateByIntervalInput
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.LogAnalyticsInputBase
-
- com.azure.resourcemanager.compute.models.RequestRateByIntervalInput
-
public final class RequestRateByIntervalInput extends LogAnalyticsInputBase
Api request input for LogAnalytics getRequestRateByInterval Api.
-
-
Constructor Summary
Constructors Constructor Description RequestRateByIntervalInput()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntervalInMinsintervalLength()Get the intervalLength property: Interval value in minutes used to create LogAnalytics call rate logs.voidvalidate()Validates the instance.RequestRateByIntervalInputwithBlobContainerSasUri(String blobContainerSasUri)Set the blobContainerSasUri property: SAS Uri of the logging blob container to which LogAnalytics Api writes output logs to.RequestRateByIntervalInputwithFromTime(OffsetDateTime fromTime)Set the fromTime property: From time of the query.RequestRateByIntervalInputwithGroupByClientApplicationId(Boolean groupByClientApplicationId)Set the groupByClientApplicationId property: Group query result by Client Application ID.RequestRateByIntervalInputwithGroupByOperationName(Boolean groupByOperationName)Set the groupByOperationName property: Group query result by Operation Name.RequestRateByIntervalInputwithGroupByResourceName(Boolean groupByResourceName)Set the groupByResourceName property: Group query result by Resource Name.RequestRateByIntervalInputwithGroupByThrottlePolicy(Boolean groupByThrottlePolicy)Set the groupByThrottlePolicy property: Group query result by Throttle Policy applied.RequestRateByIntervalInputwithGroupByUserAgent(Boolean groupByUserAgent)Set the groupByUserAgent property: Group query result by User Agent.RequestRateByIntervalInputwithIntervalLength(IntervalInMins intervalLength)Set the intervalLength property: Interval value in minutes used to create LogAnalytics call rate logs.RequestRateByIntervalInputwithToTime(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
-
-
-
-
Method Detail
-
intervalLength
public IntervalInMins intervalLength()
Get the intervalLength property: Interval value in minutes used to create LogAnalytics call rate logs.- Returns:
- the intervalLength value.
-
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.
-
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:
withBlobContainerSasUriin classLogAnalyticsInputBase- Parameters:
blobContainerSasUri- the blobContainerSasUri value to set.- Returns:
- the LogAnalyticsInputBase object itself.
-
withFromTime
public RequestRateByIntervalInput withFromTime(OffsetDateTime fromTime)
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
public RequestRateByIntervalInput withToTime(OffsetDateTime toTime)
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
public RequestRateByIntervalInput withGroupByThrottlePolicy(Boolean groupByThrottlePolicy)
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
public RequestRateByIntervalInput withGroupByOperationName(Boolean groupByOperationName)
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
public RequestRateByIntervalInput withGroupByResourceName(Boolean groupByResourceName)
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
public RequestRateByIntervalInput withGroupByUserAgent(Boolean groupByUserAgent)
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.
-
-