diff --git a/azure-mgmt-eventhub/azure/mgmt/eventhub/models/capture_description.py b/azure-mgmt-eventhub/azure/mgmt/eventhub/models/capture_description.py index ef9a3305bb43..d49c3271e48d 100644 --- a/azure-mgmt-eventhub/azure/mgmt/eventhub/models/capture_description.py +++ b/azure-mgmt-eventhub/azure/mgmt/eventhub/models/capture_description.py @@ -34,6 +34,9 @@ class CaptureDescription(Model): :param destination: Properties of Destination where capture will be stored. (Storage Account, Blob Names) :type destination: ~azure.mgmt.eventhub.models.Destination + :param skip_empty_archives: A value that indicates whether to Skip Empty + Archives + :type skip_empty_archives: bool """ _validation = { @@ -47,6 +50,7 @@ class CaptureDescription(Model): 'interval_in_seconds': {'key': 'intervalInSeconds', 'type': 'int'}, 'size_limit_in_bytes': {'key': 'sizeLimitInBytes', 'type': 'int'}, 'destination': {'key': 'destination', 'type': 'Destination'}, + 'skip_empty_archives': {'key': 'skipEmptyArchives', 'type': 'bool'}, } def __init__(self, **kwargs): @@ -56,3 +60,4 @@ def __init__(self, **kwargs): self.interval_in_seconds = kwargs.get('interval_in_seconds', None) self.size_limit_in_bytes = kwargs.get('size_limit_in_bytes', None) self.destination = kwargs.get('destination', None) + self.skip_empty_archives = kwargs.get('skip_empty_archives', None) diff --git a/azure-mgmt-eventhub/azure/mgmt/eventhub/models/capture_description_py3.py b/azure-mgmt-eventhub/azure/mgmt/eventhub/models/capture_description_py3.py index 76bce1ca9218..c04c8fafea75 100644 --- a/azure-mgmt-eventhub/azure/mgmt/eventhub/models/capture_description_py3.py +++ b/azure-mgmt-eventhub/azure/mgmt/eventhub/models/capture_description_py3.py @@ -34,6 +34,9 @@ class CaptureDescription(Model): :param destination: Properties of Destination where capture will be stored. (Storage Account, Blob Names) :type destination: ~azure.mgmt.eventhub.models.Destination + :param skip_empty_archives: A value that indicates whether to Skip Empty + Archives + :type skip_empty_archives: bool """ _validation = { @@ -47,12 +50,14 @@ class CaptureDescription(Model): 'interval_in_seconds': {'key': 'intervalInSeconds', 'type': 'int'}, 'size_limit_in_bytes': {'key': 'sizeLimitInBytes', 'type': 'int'}, 'destination': {'key': 'destination', 'type': 'Destination'}, + 'skip_empty_archives': {'key': 'skipEmptyArchives', 'type': 'bool'}, } - def __init__(self, *, enabled: bool=None, encoding=None, interval_in_seconds: int=None, size_limit_in_bytes: int=None, destination=None, **kwargs) -> None: + def __init__(self, *, enabled: bool=None, encoding=None, interval_in_seconds: int=None, size_limit_in_bytes: int=None, destination=None, skip_empty_archives: bool=None, **kwargs) -> None: super(CaptureDescription, self).__init__(**kwargs) self.enabled = enabled self.encoding = encoding self.interval_in_seconds = interval_in_seconds self.size_limit_in_bytes = size_limit_in_bytes self.destination = destination + self.skip_empty_archives = skip_empty_archives