public class LogProfileResourcePatch extends Object
| Constructor and Description | 
|---|
LogProfileResourcePatch()  | 
| Modifier and Type | Method and Description | 
|---|---|
List<String> | 
categories()
Get the categories of the logs. 
 | 
List<String> | 
locations()
Get list of regions for which Activity Log events should be stored or streamed. 
 | 
RetentionPolicy | 
retentionPolicy()
Get the retention policy for the events in the log. 
 | 
String | 
serviceBusRuleId()
Get 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 resource id of the storage account to which you would like to send the Activity Log. 
 | 
Map<String,String> | 
tags()
Get resource tags. 
 | 
LogProfileResourcePatch | 
withCategories(List<String> categories)
Set the categories of the logs. 
 | 
LogProfileResourcePatch | 
withLocations(List<String> locations)
Set list of regions for which Activity Log events should be stored or streamed. 
 | 
LogProfileResourcePatch | 
withRetentionPolicy(RetentionPolicy retentionPolicy)
Set the retention policy for the events in the log. 
 | 
LogProfileResourcePatch | 
withServiceBusRuleId(String serviceBusRuleId)
Set 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 resource id of the storage account to which you would like to send the Activity Log. 
 | 
LogProfileResourcePatch | 
withTags(Map<String,String> tags)
Set resource tags. 
 | 
public LogProfileResourcePatch withTags(Map<String,String> tags)
tags - the tags value to setpublic String storageAccountId()
public LogProfileResourcePatch withStorageAccountId(String storageAccountId)
storageAccountId - the storageAccountId value to setpublic String serviceBusRuleId()
public LogProfileResourcePatch withServiceBusRuleId(String serviceBusRuleId)
serviceBusRuleId - the serviceBusRuleId value to setpublic List<String> locations()
public LogProfileResourcePatch withLocations(List<String> locations)
locations - the locations value to setpublic List<String> categories()
public LogProfileResourcePatch withCategories(List<String> categories)
categories - the categories value to setpublic RetentionPolicy retentionPolicy()
public LogProfileResourcePatch withRetentionPolicy(RetentionPolicy retentionPolicy)
retentionPolicy - the retentionPolicy value to setCopyright © 2019. All rights reserved.