class Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResource
The log profile resource.
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 LogProfileResource
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2016-03-01/generated/azure_mgmt_monitor/models/log_profile_resource.rb, line 44 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'LogProfileResource', type: { name: 'Composite', class_name: 'LogProfileResource', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, location: { client_side_validation: true, required: true, serialized_name: 'location', type: { name: 'String' } }, 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