public final class LogRules extends Object
Constructor and Description |
---|
LogRules() |
Modifier and Type | Method and Description |
---|---|
List<FilteringTag> |
filteringTags()
Get the filteringTags property: List of filtering tags to be used for capturing logs.
|
Boolean |
sendAadLogs()
Get the sendAadLogs property: Flag specifying if AAD logs should be sent for the Monitor resource.
|
Boolean |
sendActivityLogs()
Get the sendActivityLogs property: Flag specifying if activity logs from Azure resources should be sent for the
Monitor resource.
|
Boolean |
sendSubscriptionLogs()
Get the sendSubscriptionLogs property: Flag specifying if subscription logs should be sent for the Monitor
resource.
|
void |
validate()
Validates the instance.
|
LogRules |
withFilteringTags(List<FilteringTag> filteringTags)
Set the filteringTags property: List of filtering tags to be used for capturing logs.
|
LogRules |
withSendAadLogs(Boolean sendAadLogs)
Set the sendAadLogs property: Flag specifying if AAD logs should be sent for the Monitor resource.
|
LogRules |
withSendActivityLogs(Boolean sendActivityLogs)
Set the sendActivityLogs property: Flag specifying if activity logs from Azure resources should be sent for the
Monitor resource.
|
LogRules |
withSendSubscriptionLogs(Boolean sendSubscriptionLogs)
Set the sendSubscriptionLogs property: Flag specifying if subscription logs should be sent for the Monitor
resource.
|
public Boolean sendAadLogs()
public LogRules withSendAadLogs(Boolean sendAadLogs)
sendAadLogs
- the sendAadLogs value to set.public Boolean sendSubscriptionLogs()
public LogRules withSendSubscriptionLogs(Boolean sendSubscriptionLogs)
sendSubscriptionLogs
- the sendSubscriptionLogs value to set.public Boolean sendActivityLogs()
public LogRules withSendActivityLogs(Boolean sendActivityLogs)
sendActivityLogs
- the sendActivityLogs value to set.public List<FilteringTag> filteringTags()
public LogRules withFilteringTags(List<FilteringTag> filteringTags)
filteringTags
- the filteringTags value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.