Class: Azure::MediaServices::Mgmt::V2020_05_01::Models::EdgeUsageDataCollectionPolicy
- Inherits:
-
Object
- Object
- Azure::MediaServices::Mgmt::V2020_05_01::Models::EdgeUsageDataCollectionPolicy
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-05-01/generated/azure_mgmt_media_services/models/edge_usage_data_collection_policy.rb
Overview
Model object.
Instance Attribute Summary collapse
-
#data_collection_frequency ⇒ String
format e.g.
-
#data_reporting_frequency ⇒ String
format e.g.
-
#event_hub_details ⇒ EdgeUsageDataEventHub
will be reported.
-
#max_allowed_unreported_usage_duration ⇒ String
will not be hampered for not reporting the usage data.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for EdgeUsageDataCollectionPolicy class as Ruby Hash.
Instance Attribute Details
#data_collection_frequency ⇒ String
format e.g. PT10M , PT5H.
18 19 20 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/edge_usage_data_collection_policy.rb', line 18 def data_collection_frequency @data_collection_frequency end |
#data_reporting_frequency ⇒ String
format e.g. PT10M , PT5H.
22 23 24 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/edge_usage_data_collection_policy.rb', line 22 def data_reporting_frequency @data_reporting_frequency end |
#event_hub_details ⇒ EdgeUsageDataEventHub
will be reported.
30 31 32 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/edge_usage_data_collection_policy.rb', line 30 def event_hub_details @event_hub_details end |
#max_allowed_unreported_usage_duration ⇒ String
will not be hampered for not reporting the usage data.
26 27 28 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/edge_usage_data_collection_policy.rb', line 26 def max_allowed_unreported_usage_duration @max_allowed_unreported_usage_duration end |
Class Method Details
.mapper ⇒ Object
Mapper for EdgeUsageDataCollectionPolicy class as Ruby Hash. This will be used for serialization/deserialization.
37 38 39 40 41 42 43 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 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/edge_usage_data_collection_policy.rb', line 37 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'EdgeUsageDataCollectionPolicy', type: { name: 'Composite', class_name: 'EdgeUsageDataCollectionPolicy', model_properties: { data_collection_frequency: { client_side_validation: true, required: false, serialized_name: 'dataCollectionFrequency', type: { name: 'String' } }, data_reporting_frequency: { client_side_validation: true, required: false, serialized_name: 'dataReportingFrequency', type: { name: 'String' } }, max_allowed_unreported_usage_duration: { client_side_validation: true, required: false, serialized_name: 'maxAllowedUnreportedUsageDuration', type: { name: 'String' } }, event_hub_details: { client_side_validation: true, required: false, serialized_name: 'eventHubDetails', type: { name: 'Composite', class_name: 'EdgeUsageDataEventHub' } } } } } end |