Interface EventHub.UpdateStages.WithCapture
- All Known Subinterfaces:
EventHub.Update
- Enclosing interface:
- EventHub.UpdateStages
@Beta(V1_7_0)
public static interface EventHub.UpdateStages.WithCapture
The stage of the event hub update allowing to configure data capture.
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies that data capture should be disabled for the event hub.Specifies that data capture should be enabled for the event hub.withDataCaptureFileNameFormat
(String format) Specifies the format of the file containing captured data.withDataCaptureSkipEmptyArchives
(Boolean skipEmptyArchives) Specified the capture whether to Skip Empty Archives.withDataCaptureWindowSizeInMB
(int sizeInMB) Specifies the capture window size in MB.withDataCaptureWindowSizeInSeconds
(int sizeInSeconds) Specifies the capture window size in seconds.withExistingStorageAccountForCapturedData
(StorageAccount storageAccount, String containerName) Specifies an existing storage account to store the captured data when data capturing is enabled.withExistingStorageAccountForCapturedData
(String storageAccountId, String containerName) Specifies an existing storage account to store the captured data when data capturing is enabled.withNewStorageAccountForCapturedData
(Creatable<StorageAccount> storageAccountCreatable, String containerName) Specifies a new storage account to store the captured data when data capturing is enabled.
-
Method Details
-
withNewStorageAccountForCapturedData
@Beta(V1_7_0) EventHub.Update withNewStorageAccountForCapturedData(Creatable<StorageAccount> storageAccountCreatable, String containerName) Specifies a new storage account to store the captured data when data capturing is enabled.- Parameters:
storageAccountCreatable
- creatable storage account definitioncontainerName
- container to store the files containing captured data- Returns:
- next stage of the event hub update
-
withExistingStorageAccountForCapturedData
@Beta(V1_7_0) EventHub.Update withExistingStorageAccountForCapturedData(StorageAccount storageAccount, String containerName) Specifies an existing storage account to store the captured data when data capturing is enabled.- Parameters:
storageAccount
- storage accountcontainerName
- an existing or new container to store the files containing captured data- Returns:
- next stage of the event hub update
-
withExistingStorageAccountForCapturedData
@Beta(V1_7_0) EventHub.Update withExistingStorageAccountForCapturedData(String storageAccountId, String containerName) Specifies an existing storage account to store the captured data when data capturing is enabled.- Parameters:
storageAccountId
- storage account arm idcontainerName
- an existing or new container to store the files containing captured data- Returns:
- next stage of the event hub update
-
withDataCaptureEnabled
Specifies that data capture should be enabled for the event hub.- Returns:
- next stage of the event hub update
-
withDataCaptureDisabled
Specifies that data capture should be disabled for the event hub.- Returns:
- next stage of the event hub update
-
withDataCaptureWindowSizeInSeconds
Specifies the capture window size in seconds.- Parameters:
sizeInSeconds
- window size in seconds- Returns:
- next stage of the event hub update
-
withDataCaptureSkipEmptyArchives
Specified the capture whether to Skip Empty Archives.- Parameters:
skipEmptyArchives
- the skipEmptyArchives value to set- Returns:
- next stage of the event hub update
-
withDataCaptureWindowSizeInMB
Specifies the capture window size in MB.- Parameters:
sizeInMB
- window size in MB- Returns:
- next stage of the event hub update
-
withDataCaptureFileNameFormat
Specifies the format of the file containing captured data.- Parameters:
format
- the file name format- Returns:
- next stage of the event hub update
-