Class: Azure::EventHub::Mgmt::V2017_04_01::Models::CaptureDescription
- Inherits:
-
Object
- Object
- Azure::EventHub::Mgmt::V2017_04_01::Models::CaptureDescription
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-04-01/generated/azure_mgmt_event_hub/models/capture_description.rb
Overview
Properties to configure capture description for eventhub
Instance Attribute Summary collapse
-
#destination ⇒ Destination
stored.
-
#enabled ⇒ Boolean
enabled.
-
#encoding ⇒ EncodingCaptureDescription
the encoding format of capture description.
-
#interval_in_seconds ⇒ Integer
which the capture to Azure Blobs will happen, value should between 60 to 900 seconds.
-
#size_limit_in_bytes ⇒ Integer
in your Event Hub before an capture operation, value should be between 10485760 to 524288000 bytes.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CaptureDescription class as Ruby Hash.
Instance Attribute Details
#destination ⇒ Destination
stored. (Storage Account, Blob Names)
37 38 39 |
# File 'lib/2017-04-01/generated/azure_mgmt_event_hub/models/capture_description.rb', line 37 def destination @destination end |
#enabled ⇒ Boolean
enabled.
17 18 19 |
# File 'lib/2017-04-01/generated/azure_mgmt_event_hub/models/capture_description.rb', line 17 def enabled @enabled end |
#encoding ⇒ EncodingCaptureDescription
the encoding format of capture description. Note: ‘AvroDeflate’ will be deprecated in New API Version. Possible values include: ‘Avro’, ‘AvroDeflate’
23 24 25 |
# File 'lib/2017-04-01/generated/azure_mgmt_event_hub/models/capture_description.rb', line 23 def encoding @encoding end |
#interval_in_seconds ⇒ Integer
which the capture to Azure Blobs will happen, value should between 60 to 900 seconds
28 29 30 |
# File 'lib/2017-04-01/generated/azure_mgmt_event_hub/models/capture_description.rb', line 28 def interval_in_seconds @interval_in_seconds end |
#size_limit_in_bytes ⇒ Integer
in your Event Hub before an capture operation, value should be between 10485760 to 524288000 bytes
33 34 35 |
# File 'lib/2017-04-01/generated/azure_mgmt_event_hub/models/capture_description.rb', line 33 def size_limit_in_bytes @size_limit_in_bytes end |
Class Method Details
.mapper ⇒ Object
Mapper for CaptureDescription 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 106 |
# File 'lib/2017-04-01/generated/azure_mgmt_event_hub/models/capture_description.rb', line 44 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'CaptureDescription', type: { name: 'Composite', class_name: 'CaptureDescription', model_properties: { enabled: { client_side_validation: true, required: false, serialized_name: 'enabled', type: { name: 'Boolean' } }, encoding: { client_side_validation: true, required: false, serialized_name: 'encoding', type: { name: 'Enum', module: 'EncodingCaptureDescription' } }, interval_in_seconds: { client_side_validation: true, required: false, serialized_name: 'intervalInSeconds', constraints: { InclusiveMaximum: 900, InclusiveMinimum: 60 }, type: { name: 'Number' } }, size_limit_in_bytes: { client_side_validation: true, required: false, serialized_name: 'sizeLimitInBytes', constraints: { InclusiveMaximum: 524288000, InclusiveMinimum: 10485760 }, type: { name: 'Number' } }, destination: { client_side_validation: true, required: false, serialized_name: 'destination', type: { name: 'Composite', class_name: 'Destination' } } } } } end |