class Azure::ServiceBus::Mgmt::V2017_04_01::Models::CaptureDescription
Properties to configure capture description for eventhub
Attributes
@return [Destination] Properties of Destination
where capture will be stored. (Storage Account, Blob Names)
@return [Boolean] A value that indicates whether capture description is enabled.
@return [EncodingCaptureDescription] Enumerates the possible values for the encoding format of capture description. Possible values include: 'Avro', 'AvroDeflate'
@return [Integer] The time window allows you to set the frequency with which the capture to Azure
Blobs will happen, value should between 60 to 900 seconds
@return [Integer] The size window defines the amount of data built up in your Event Hub before an capture operation, value should be between 10485760 and 524288000 bytes
Private Class Methods
Mapper for CaptureDescription
class as Ruby Hash. This will be used for serialization/deserialization.
# 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