Class ThrottledRequestsInput
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.LogAnalyticsInputBase
-
- com.azure.resourcemanager.compute.models.ThrottledRequestsInput
-
public final class ThrottledRequestsInput extends LogAnalyticsInputBase
Api request input for LogAnalytics getThrottledRequests Api.
-
-
Constructor Summary
Constructors Constructor Description ThrottledRequestsInput()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidate()Validates the instance.ThrottledRequestsInputwithBlobContainerSasUri(String blobContainerSasUri)Set the blobContainerSasUri property: SAS Uri of the logging blob container to which LogAnalytics Api writes output logs to.ThrottledRequestsInputwithFromTime(OffsetDateTime fromTime)Set the fromTime property: From time of the query.ThrottledRequestsInputwithGroupByClientApplicationId(Boolean groupByClientApplicationId)Set the groupByClientApplicationId property: Group query result by Client Application ID.ThrottledRequestsInputwithGroupByOperationName(Boolean groupByOperationName)Set the groupByOperationName property: Group query result by Operation Name.ThrottledRequestsInputwithGroupByResourceName(Boolean groupByResourceName)Set the groupByResourceName property: Group query result by Resource Name.ThrottledRequestsInputwithGroupByThrottlePolicy(Boolean groupByThrottlePolicy)Set the groupByThrottlePolicy property: Group query result by Throttle Policy applied.ThrottledRequestsInputwithGroupByUserAgent(Boolean groupByUserAgent)Set the groupByUserAgent property: Group query result by User Agent.ThrottledRequestsInputwithToTime(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
-
withBlobContainerSasUri
public ThrottledRequestsInput 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 ThrottledRequestsInput 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 ThrottledRequestsInput 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 ThrottledRequestsInput 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 ThrottledRequestsInput 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 ThrottledRequestsInput 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 ThrottledRequestsInput 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 ThrottledRequestsInput 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.
-
-