LogAnalyticsInputBase Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. LogAnalyticsInputBase
- com.
Implements
public class LogAnalyticsInputBase
implements JsonSerializable<LogAnalyticsInputBase>
Api input base class for LogAnalytics Api.
Constructor Summary
| Constructor | Description |
|---|---|
| LogAnalyticsInputBase() |
Creates an instance of Log |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
blobContainerSasUri()
Get the blob |
|
static
Log |
fromJson(JsonReader jsonReader)
Reads an instance of Log |
|
Offset |
fromTime()
Get the from |
| Boolean |
groupByClientApplicationId()
Get the group |
| Boolean |
groupByOperationName()
Get the group |
| Boolean |
groupByResourceName()
Get the group |
| Boolean |
groupByThrottlePolicy()
Get the group |
| Boolean |
groupByUserAgent()
Get the group |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Offset |
toTime()
Get the to |
| void |
validate()
Validates the instance. |
|
Log |
withBlobContainerSasUri(String blobContainerSasUri)
Set the blob |
|
Log |
withFromTime(OffsetDateTime fromTime)
Set the from |
|
Log |
withGroupByClientApplicationId(Boolean groupByClientApplicationId)
Set the group |
|
Log |
withGroupByOperationName(Boolean groupByOperationName)
Set the group |
|
Log |
withGroupByResourceName(Boolean groupByResourceName)
Set the group |
|
Log |
withGroupByThrottlePolicy(Boolean groupByThrottlePolicy)
Set the group |
|
Log |
withGroupByUserAgent(Boolean groupByUserAgent)
Set the group |
|
Log |
withToTime(OffsetDateTime toTime)
Set the to |
Methods inherited from java.lang.Object
Constructor Details
LogAnalyticsInputBase
public LogAnalyticsInputBase()
Creates an instance of LogAnalyticsInputBase class.
Method Details
blobContainerSasUri
public String blobContainerSasUri()
Get the blobContainerSasUri property: SAS Uri of the logging blob container to which LogAnalytics Api writes output logs to.
Returns:
fromJson
public static LogAnalyticsInputBase fromJson(JsonReader jsonReader)
Reads an instance of LogAnalyticsInputBase from the JsonReader.
Parameters:
Returns:
Throws:
fromTime
public OffsetDateTime fromTime()
Get the fromTime property: From time of the query.
Returns:
groupByClientApplicationId
public Boolean groupByClientApplicationId()
Get the groupByClientApplicationId property: Group query result by Client Application ID.
Returns:
groupByOperationName
public Boolean groupByOperationName()
Get the groupByOperationName property: Group query result by Operation Name.
Returns:
groupByResourceName
public Boolean groupByResourceName()
Get the groupByResourceName property: Group query result by Resource Name.
Returns:
groupByThrottlePolicy
public Boolean groupByThrottlePolicy()
Get the groupByThrottlePolicy property: Group query result by Throttle Policy applied.
Returns:
groupByUserAgent
public Boolean groupByUserAgent()
Get the groupByUserAgent property: Group query result by User Agent.
Returns:
toJson
toTime
public OffsetDateTime toTime()
Get the toTime property: To time of the query.
Returns:
validate
public void validate()
Validates the instance.
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:
Returns:
withFromTime
public LogAnalyticsInputBase withFromTime(OffsetDateTime fromTime)
Set the fromTime property: From time of the query.
Parameters:
Returns:
withGroupByClientApplicationId
public LogAnalyticsInputBase withGroupByClientApplicationId(Boolean groupByClientApplicationId)
Set the groupByClientApplicationId property: Group query result by Client Application ID.
Parameters:
Returns:
withGroupByOperationName
public LogAnalyticsInputBase withGroupByOperationName(Boolean groupByOperationName)
Set the groupByOperationName property: Group query result by Operation Name.
Parameters:
Returns:
withGroupByResourceName
public LogAnalyticsInputBase withGroupByResourceName(Boolean groupByResourceName)
Set the groupByResourceName property: Group query result by Resource Name.
Parameters:
Returns:
withGroupByThrottlePolicy
public LogAnalyticsInputBase withGroupByThrottlePolicy(Boolean groupByThrottlePolicy)
Set the groupByThrottlePolicy property: Group query result by Throttle Policy applied.
Parameters:
Returns:
withGroupByUserAgent
public LogAnalyticsInputBase withGroupByUserAgent(Boolean groupByUserAgent)
Set the groupByUserAgent property: Group query result by User Agent.
Parameters:
Returns:
withToTime
public LogAnalyticsInputBase withToTime(OffsetDateTime toTime)
Set the toTime property: To time of the query.
Parameters:
Returns: