Class LogAnalyticsInputBase
java.lang.Object
com.azure.resourcemanager.compute.models.LogAnalyticsInputBase
- Direct Known Subclasses:
RequestRateByIntervalInput,ThrottledRequestsInput
Api input base class for LogAnalytics Api.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the blobContainerSasUri property: SAS Uri of the logging blob container to which LogAnalytics Api writes output logs to.fromTime()Get the fromTime property: From time of the query.Get the groupByClientApplicationId property: Group query result by Client Application ID.Get the groupByOperationName property: Group query result by Operation Name.Get the groupByResourceName property: Group query result by Resource Name.Get the groupByThrottlePolicy property: Group query result by Throttle Policy applied.Get the groupByUserAgent property: Group query result by User Agent.toTime()Get the toTime property: To time of the query.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.withToTime(OffsetDateTime toTime) Set the toTime property: To time of the query.
-
Constructor Details
-
LogAnalyticsInputBase
public LogAnalyticsInputBase()Creates an instance of LogAnalyticsInputBase class.
-
-
Method Details
-
blobContainerSasUri
Get the blobContainerSasUri property: SAS Uri of the logging blob container to which LogAnalytics Api writes output logs to.- Returns:
- the blobContainerSasUri value.
-
withBlobContainerSasUri
Set the blobContainerSasUri property: SAS Uri of the logging blob container to which LogAnalytics Api writes output logs to.- Parameters:
blobContainerSasUri- the blobContainerSasUri value to set.- Returns:
- the LogAnalyticsInputBase object itself.
-
fromTime
Get the fromTime property: From time of the query.- Returns:
- the fromTime value.
-
withFromTime
Set the fromTime property: From time of the query.- Parameters:
fromTime- the fromTime value to set.- Returns:
- the LogAnalyticsInputBase object itself.
-
toTime
Get the toTime property: To time of the query.- Returns:
- the toTime value.
-
withToTime
Set the toTime property: To time of the query.- Parameters:
toTime- the toTime value to set.- Returns:
- the LogAnalyticsInputBase object itself.
-
groupByThrottlePolicy
Get the groupByThrottlePolicy property: Group query result by Throttle Policy applied.- Returns:
- the groupByThrottlePolicy value.
-
withGroupByThrottlePolicy
Set the groupByThrottlePolicy property: Group query result by Throttle Policy applied.- Parameters:
groupByThrottlePolicy- the groupByThrottlePolicy value to set.- Returns:
- the LogAnalyticsInputBase object itself.
-
groupByOperationName
Get the groupByOperationName property: Group query result by Operation Name.- Returns:
- the groupByOperationName value.
-
withGroupByOperationName
Set the groupByOperationName property: Group query result by Operation Name.- Parameters:
groupByOperationName- the groupByOperationName value to set.- Returns:
- the LogAnalyticsInputBase object itself.
-
groupByResourceName
Get the groupByResourceName property: Group query result by Resource Name.- Returns:
- the groupByResourceName value.
-
withGroupByResourceName
Set the groupByResourceName property: Group query result by Resource Name.- Parameters:
groupByResourceName- the groupByResourceName value to set.- Returns:
- the LogAnalyticsInputBase object itself.
-
groupByClientApplicationId
Get the groupByClientApplicationId property: Group query result by Client Application ID.- Returns:
- the groupByClientApplicationId value.
-
withGroupByClientApplicationId
Set the groupByClientApplicationId property: Group query result by Client Application ID.- Parameters:
groupByClientApplicationId- the groupByClientApplicationId value to set.- Returns:
- the LogAnalyticsInputBase object itself.
-
groupByUserAgent
Get the groupByUserAgent property: Group query result by User Agent.- Returns:
- the groupByUserAgent value.
-
withGroupByUserAgent
Set the groupByUserAgent property: Group query result by User Agent.- Parameters:
groupByUserAgent- the groupByUserAgent value to set.- Returns:
- the LogAnalyticsInputBase object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-