class Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResourcePatch
The log profile resource for patch operations.
Attributes
@return [Array<String>] the categories of the logs. These categories are created as is convenient to the user. Some values are: 'Write', 'Delete', and/or 'Action.'
@return [Array<String>] 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.
@return [RetentionPolicy] the retention policy for the events in the log.
@return [String] 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}'.
@return [String] the resource id of the storage account to which you would like to send the Activity Log.
Private Class Methods
Mapper for LogProfileResourcePatch
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2016-03-01/generated/azure_mgmt_monitor/models/log_profile_resource_patch.rb, line 47 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'LogProfileResourcePatch', type: { name: 'Composite', class_name: 'LogProfileResourcePatch', model_properties: { tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, storage_account_id: { client_side_validation: true, required: false, serialized_name: 'properties.storageAccountId', type: { name: 'String' } }, service_bus_rule_id: { client_side_validation: true, required: false, serialized_name: 'properties.serviceBusRuleId', type: { name: 'String' } }, locations: { client_side_validation: true, required: true, serialized_name: 'properties.locations', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, categories: { client_side_validation: true, required: true, serialized_name: 'properties.categories', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, retention_policy: { client_side_validation: true, required: true, serialized_name: 'properties.retentionPolicy', type: { name: 'Composite', class_name: 'RetentionPolicy' } } } } } end