CaptureDescription Class

Properties to configure capture description for eventhub.

Inheritance
CaptureDescription

Constructor

CaptureDescription(*, enabled: Optional[bool] = None, encoding: Optional[Union[str, azure.mgmt.servicebus.v2017_04_01.models._service_bus_management_client_enums.EncodingCaptureDescription]] = None, interval_in_seconds: Optional[int] = None, size_limit_in_bytes: Optional[int] = None, destination: Optional[azure.mgmt.servicebus.v2017_04_01.models._models_py3.Destination] = None, **kwargs)

Parameters

enabled
bool
Required

A value that indicates whether capture description is enabled.

encoding
str or EncodingCaptureDescription
Required

Enumerates the possible values for the encoding format of capture description. Possible values include: "Avro", "AvroDeflate".

interval_in_seconds
int
Required

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.

size_limit_in_bytes
int
Required

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.

destination
Destination
Required

Properties of Destination where capture will be stored. (Storage Account, Blob Names).