public class LogProfileResourcePatch extends Object
| Constructor and Description |
|---|
LogProfileResourcePatch() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
categories()
Get the categories property: the categories of the logs.
|
List<String> |
locations()
Get the locations property: List of regions for which Activity Log events should be stored or streamed.
|
RetentionPolicy |
retentionPolicy()
Get the retentionPolicy property: the retention policy for the events in the log.
|
String |
serviceBusRuleId()
Get the serviceBusRuleId property: The service bus rule ID of the service bus namespace in which you would like
to have Event Hubs created for streaming the Activity Log.
|
String |
storageAccountId()
Get the storageAccountId property: the resource id of the storage account to which you would like to send the
Activity Log.
|
Map<String,String> |
tags()
Get the tags property: Resource tags.
|
void |
validate()
Validates the instance.
|
LogProfileResourcePatch |
withCategories(List<String> categories)
Set the categories property: the categories of the logs.
|
LogProfileResourcePatch |
withLocations(List<String> locations)
Set the locations property: List of regions for which Activity Log events should be stored or streamed.
|
LogProfileResourcePatch |
withRetentionPolicy(RetentionPolicy retentionPolicy)
Set the retentionPolicy property: the retention policy for the events in the log.
|
LogProfileResourcePatch |
withServiceBusRuleId(String serviceBusRuleId)
Set the serviceBusRuleId property: The service bus rule ID of the service bus namespace in which you would like
to have Event Hubs created for streaming the Activity Log.
|
LogProfileResourcePatch |
withStorageAccountId(String storageAccountId)
Set the storageAccountId property: the resource id of the storage account to which you would like to send the
Activity Log.
|
LogProfileResourcePatch |
withTags(Map<String,String> tags)
Set the tags property: Resource tags.
|
public Map<String,String> tags()
public LogProfileResourcePatch withTags(Map<String,String> tags)
tags - the tags value to set.public String storageAccountId()
public LogProfileResourcePatch withStorageAccountId(String storageAccountId)
storageAccountId - the storageAccountId value to set.public String serviceBusRuleId()
public LogProfileResourcePatch withServiceBusRuleId(String serviceBusRuleId)
serviceBusRuleId - the serviceBusRuleId value to set.public List<String> locations()
public LogProfileResourcePatch withLocations(List<String> locations)
locations - the locations value to set.public List<String> categories()
public LogProfileResourcePatch withCategories(List<String> categories)
categories - the categories value to set.public RetentionPolicy retentionPolicy()
public LogProfileResourcePatch withRetentionPolicy(RetentionPolicy retentionPolicy)
retentionPolicy - the retentionPolicy value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.