Class LogAnalyticsInputBase
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.LogAnalyticsInputBase
-
- Direct Known Subclasses:
RequestRateByIntervalInput,ThrottledRequestsInput
public class LogAnalyticsInputBase extends Object
Api input base class for LogAnalytics Api.
-
-
Constructor Summary
Constructors Constructor Description LogAnalyticsInputBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringblobContainerSasUri()Get the blobContainerSasUri property: SAS Uri of the logging blob container to which LogAnalytics Api writes output logs to.OffsetDateTimefromTime()Get the fromTime property: From time of the query.BooleangroupByClientApplicationId()Get the groupByClientApplicationId property: Group query result by Client Application ID.BooleangroupByOperationName()Get the groupByOperationName property: Group query result by Operation Name.BooleangroupByResourceName()Get the groupByResourceName property: Group query result by Resource Name.BooleangroupByThrottlePolicy()Get the groupByThrottlePolicy property: Group query result by Throttle Policy applied.BooleangroupByUserAgent()Get the groupByUserAgent property: Group query result by User Agent.OffsetDateTimetoTime()Get the toTime property: To time of the query.voidvalidate()Validates the instance.LogAnalyticsInputBasewithBlobContainerSasUri(String blobContainerSasUri)Set the blobContainerSasUri property: SAS Uri of the logging blob container to which LogAnalytics Api writes output logs to.LogAnalyticsInputBasewithFromTime(OffsetDateTime fromTime)Set the fromTime property: From time of the query.LogAnalyticsInputBasewithGroupByClientApplicationId(Boolean groupByClientApplicationId)Set the groupByClientApplicationId property: Group query result by Client Application ID.LogAnalyticsInputBasewithGroupByOperationName(Boolean groupByOperationName)Set the groupByOperationName property: Group query result by Operation Name.LogAnalyticsInputBasewithGroupByResourceName(Boolean groupByResourceName)Set the groupByResourceName property: Group query result by Resource Name.LogAnalyticsInputBasewithGroupByThrottlePolicy(Boolean groupByThrottlePolicy)Set the groupByThrottlePolicy property: Group query result by Throttle Policy applied.LogAnalyticsInputBasewithGroupByUserAgent(Boolean groupByUserAgent)Set the groupByUserAgent property: Group query result by User Agent.LogAnalyticsInputBasewithToTime(OffsetDateTime toTime)Set the toTime property: To time of the query.
-
-
-
Method Detail
-
blobContainerSasUri
public String 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
public LogAnalyticsInputBase withBlobContainerSasUri(String blobContainerSasUri)
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
public OffsetDateTime fromTime()
Get the fromTime property: From time of the query.- Returns:
- the fromTime value.
-
withFromTime
public LogAnalyticsInputBase withFromTime(OffsetDateTime fromTime)
Set the fromTime property: From time of the query.- Parameters:
fromTime- the fromTime value to set.- Returns:
- the LogAnalyticsInputBase object itself.
-
toTime
public OffsetDateTime toTime()
Get the toTime property: To time of the query.- Returns:
- the toTime value.
-
withToTime
public LogAnalyticsInputBase withToTime(OffsetDateTime toTime)
Set the toTime property: To time of the query.- Parameters:
toTime- the toTime value to set.- Returns:
- the LogAnalyticsInputBase object itself.
-
groupByThrottlePolicy
public Boolean groupByThrottlePolicy()
Get the groupByThrottlePolicy property: Group query result by Throttle Policy applied.- Returns:
- the groupByThrottlePolicy value.
-
withGroupByThrottlePolicy
public LogAnalyticsInputBase withGroupByThrottlePolicy(Boolean groupByThrottlePolicy)
Set the groupByThrottlePolicy property: Group query result by Throttle Policy applied.- Parameters:
groupByThrottlePolicy- the groupByThrottlePolicy value to set.- Returns:
- the LogAnalyticsInputBase object itself.
-
groupByOperationName
public Boolean groupByOperationName()
Get the groupByOperationName property: Group query result by Operation Name.- Returns:
- the groupByOperationName value.
-
withGroupByOperationName
public LogAnalyticsInputBase withGroupByOperationName(Boolean groupByOperationName)
Set the groupByOperationName property: Group query result by Operation Name.- Parameters:
groupByOperationName- the groupByOperationName value to set.- Returns:
- the LogAnalyticsInputBase object itself.
-
groupByResourceName
public Boolean groupByResourceName()
Get the groupByResourceName property: Group query result by Resource Name.- Returns:
- the groupByResourceName value.
-
withGroupByResourceName
public LogAnalyticsInputBase withGroupByResourceName(Boolean groupByResourceName)
Set the groupByResourceName property: Group query result by Resource Name.- Parameters:
groupByResourceName- the groupByResourceName value to set.- Returns:
- the LogAnalyticsInputBase object itself.
-
groupByClientApplicationId
public Boolean groupByClientApplicationId()
Get the groupByClientApplicationId property: Group query result by Client Application ID.- Returns:
- the groupByClientApplicationId value.
-
withGroupByClientApplicationId
public LogAnalyticsInputBase withGroupByClientApplicationId(Boolean groupByClientApplicationId)
Set the groupByClientApplicationId property: Group query result by Client Application ID.- Parameters:
groupByClientApplicationId- the groupByClientApplicationId value to set.- Returns:
- the LogAnalyticsInputBase object itself.
-
groupByUserAgent
public Boolean groupByUserAgent()
Get the groupByUserAgent property: Group query result by User Agent.- Returns:
- the groupByUserAgent value.
-
withGroupByUserAgent
public LogAnalyticsInputBase withGroupByUserAgent(Boolean groupByUserAgent)
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.
-
-