Class: Azure::ARM::Insights::Models::LogProfileProperties
- Inherits:
-
Object
- Object
- Azure::ARM::Insights::Models::LogProfileProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_insights/models/log_profile_properties.rb
Overview
The log profile properties.
Instance Attribute Summary collapse
-
#categories ⇒ Array<String>
are created as is convenient to the user.
-
#locations ⇒ Array<String>
should be stored or streamed.
-
#retention_policy ⇒ RetentionPolicy
log.
-
#service_bus_rule_id ⇒ String
in which you would like to have Event Hubs created for streaming the Activity Log.
-
#storage_account_id ⇒ String
would like to send the Activity Log.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for LogProfileProperties class as Ruby Hash.
Instance Attribute Details
#categories ⇒ Array<String>
are created as is convenient to the user. Some values are: ‘Write’, ‘Delete’, and/or ‘Action.’
33 34 35 |
# File 'lib/generated/azure_mgmt_insights/models/log_profile_properties.rb', line 33 def categories @categories end |
#locations ⇒ Array<String>
should be stored or streamed. It is a comma separated list of valid ARM locations including the ‘global’ location.
28 29 30 |
# File 'lib/generated/azure_mgmt_insights/models/log_profile_properties.rb', line 28 def locations @locations end |
#retention_policy ⇒ RetentionPolicy
log.
37 38 39 |
# File 'lib/generated/azure_mgmt_insights/models/log_profile_properties.rb', line 37 def retention_policy @retention_policy end |
#service_bus_rule_id ⇒ String
in which you would like to have Event Hubs created for streaming the Activity Log. The rule ID is of the format: ‘bus resource ID/authorizationrules/name’.
23 24 25 |
# File 'lib/generated/azure_mgmt_insights/models/log_profile_properties.rb', line 23 def service_bus_rule_id @service_bus_rule_id end |
#storage_account_id ⇒ String
would like to send the Activity Log.
17 18 19 |
# File 'lib/generated/azure_mgmt_insights/models/log_profile_properties.rb', line 17 def storage_account_id @storage_account_id end |
Class Method Details
.mapper ⇒ Object
Mapper for LogProfileProperties class as Ruby Hash. This will be used for serialization/deserialization.
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 |
# File 'lib/generated/azure_mgmt_insights/models/log_profile_properties.rb', line 44 def self.mapper() { required: false, serialized_name: 'LogProfileProperties', type: { name: 'Composite', class_name: 'LogProfileProperties', model_properties: { storage_account_id: { required: true, serialized_name: 'storageAccountId', type: { name: 'String' } }, service_bus_rule_id: { required: false, serialized_name: 'serviceBusRuleId', type: { name: 'String' } }, locations: { required: true, serialized_name: 'locations', type: { name: 'Sequence', element: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, categories: { required: false, serialized_name: 'categories', type: { name: 'Sequence', element: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, retention_policy: { required: false, serialized_name: 'retentionPolicy', type: { name: 'Composite', class_name: 'RetentionPolicy' } } } } } end |