Class: Azure::ServiceBus::Mgmt::V2017_04_01::Models::CaptureDescription
- Inherits:
-
Object
- Object
- Azure::ServiceBus::Mgmt::V2017_04_01::Models::CaptureDescription
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-04-01/generated/azure_mgmt_service_bus/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 and 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)
36 37 38 |
# File 'lib/2017-04-01/generated/azure_mgmt_service_bus/models/capture_description.rb', line 36 def destination @destination end |
#enabled ⇒ Boolean
enabled.
17 18 19 |
# File 'lib/2017-04-01/generated/azure_mgmt_service_bus/models/capture_description.rb', line 17 def enabled @enabled end |
#encoding ⇒ EncodingCaptureDescription
the encoding format of capture description. Possible values include: ‘Avro’, ‘AvroDeflate’
22 23 24 |
# File 'lib/2017-04-01/generated/azure_mgmt_service_bus/models/capture_description.rb', line 22 def encoding @encoding end |
#interval_in_seconds ⇒ Integer
which the capture to Azure Blobs will happen, value should between 60 to 900 seconds
27 28 29 |
# File 'lib/2017-04-01/generated/azure_mgmt_service_bus/models/capture_description.rb', line 27 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 and 524288000 bytes
32 33 34 |
# File 'lib/2017-04-01/generated/azure_mgmt_service_bus/models/capture_description.rb', line 32 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.
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 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/2017-04-01/generated/azure_mgmt_service_bus/models/capture_description.rb', line 43 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 |