Class LogProfileResourcePatch
java.lang.Object
com.microsoft.azure.management.monitor.LogProfileResourcePatch
The log profile resource for patch operations.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGet the categories of the logs.Get list of regions for which Activity Log events should be stored or streamed.Get the retention policy for the events in the log.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.Get the resource id of the storage account to which you would like to send the Activity Log.tags()Get resource tags.withCategories(List<String> categories) Set the categories of the logs.withLocations(List<String> locations) Set list of regions for which Activity Log events should be stored or streamed.withRetentionPolicy(RetentionPolicy retentionPolicy) Set the retention policy for the events in the log.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.withStorageAccountId(String storageAccountId) Set the resource id of the storage account to which you would like to send the Activity Log.Set resource tags.
- 
Constructor Details- 
LogProfileResourcePatchpublic LogProfileResourcePatch()
 
- 
- 
Method Details- 
tagsGet resource tags.- Returns:
- the tags value
 
- 
withTagsSet resource tags.- Parameters:
- tags- the tags value to set
- Returns:
- the LogProfileResourcePatch object itself.
 
- 
storageAccountIdGet the resource id of the storage account to which you would like to send the Activity Log.- Returns:
- the storageAccountId value
 
- 
withStorageAccountIdSet the resource id of the storage account to which you would like to send the Activity Log.- Parameters:
- storageAccountId- the storageAccountId value to set
- Returns:
- the LogProfileResourcePatch object itself.
 
- 
serviceBusRuleIdGet 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. The rule ID is of the format: '{service bus resource ID}/authorizationrules/{key name}'.- Returns:
- the serviceBusRuleId value
 
- 
withServiceBusRuleIdSet 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. The rule ID is of the format: '{service bus resource ID}/authorizationrules/{key name}'.- Parameters:
- serviceBusRuleId- the serviceBusRuleId value to set
- Returns:
- the LogProfileResourcePatch object itself.
 
- 
locationsGet list of regions for which Activity Log events should be stored or streamed. It is a comma separated list of valid ARM locations including the 'global' location.- Returns:
- the locations value
 
- 
withLocationsSet list of regions for which Activity Log events should be stored or streamed. It is a comma separated list of valid ARM locations including the 'global' location.- Parameters:
- locations- the locations value to set
- Returns:
- the LogProfileResourcePatch object itself.
 
- 
categoriesGet the categories of the logs. These categories are created as is convenient to the user. Some values are: 'Write', 'Delete', and/or 'Action.'.- Returns:
- the categories value
 
- 
withCategoriesSet the categories of the logs. These categories are created as is convenient to the user. Some values are: 'Write', 'Delete', and/or 'Action.'.- Parameters:
- categories- the categories value to set
- Returns:
- the LogProfileResourcePatch object itself.
 
- 
retentionPolicyGet the retention policy for the events in the log.- Returns:
- the retentionPolicy value
 
- 
withRetentionPolicySet the retention policy for the events in the log.- Parameters:
- retentionPolicy- the retentionPolicy value to set
- Returns:
- the LogProfileResourcePatch object itself.
 
 
-