Interface EventHub.UpdateStages.WithCapture
-
- All Known Subinterfaces:
EventHub.Update
- Enclosing interface:
- EventHub.UpdateStages
@Beta(V1_7_0) public static interface EventHub.UpdateStages.WithCaptureThe stage of the event hub update allowing to configure data capture.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EventHub.UpdatewithDataCaptureDisabled()Specifies that data capture should be disabled for the event hub.EventHub.UpdatewithDataCaptureEnabled()Specifies that data capture should be enabled for the event hub.EventHub.UpdatewithDataCaptureFileNameFormat(String format)Specifies the format of the file containing captured data.EventHub.UpdatewithDataCaptureWindowSizeInMB(int sizeInMB)Specifies the capture window size in MB.EventHub.UpdatewithDataCaptureWindowSizeInSeconds(int sizeInSeconds)Specifies the capture window size in seconds.EventHub.UpdatewithExistingStorageAccountForCapturedData(com.microsoft.azure.management.storage.StorageAccount storageAccount, String containerName)Specifies an existing storage account to store the captured data when data capturing is enabled.EventHub.UpdatewithExistingStorageAccountForCapturedData(String storageAccountId, String containerName)Specifies an existing storage account to store the captured data when data capturing is enabled.EventHub.UpdatewithNewStorageAccountForCapturedData(com.microsoft.azure.management.resources.fluentcore.model.Creatable<com.microsoft.azure.management.storage.StorageAccount> storageAccountCreatable, String containerName)Specifies a new storage account to store the captured data when data capturing is enabled.
-
-
-
Method Detail
-
withNewStorageAccountForCapturedData
@Beta(V1_7_0) EventHub.Update withNewStorageAccountForCapturedData(com.microsoft.azure.management.resources.fluentcore.model.Creatable<com.microsoft.azure.management.storage.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(com.microsoft.azure.management.storage.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
@Beta(V1_7_0) EventHub.Update withDataCaptureEnabled()
Specifies that data capture should be enabled for the event hub.- Returns:
- next stage of the event hub update
-
withDataCaptureDisabled
@Beta(V1_7_0) EventHub.Update withDataCaptureDisabled()
Specifies that data capture should be disabled for the event hub.- Returns:
- next stage of the event hub update
-
withDataCaptureWindowSizeInSeconds
@Beta(V1_7_0) EventHub.Update withDataCaptureWindowSizeInSeconds(int sizeInSeconds)
Specifies the capture window size in seconds.- Parameters:
sizeInSeconds- window size in seconds- Returns:
- next stage of the event hub update
-
withDataCaptureWindowSizeInMB
@Beta(V1_7_0) EventHub.Update withDataCaptureWindowSizeInMB(int sizeInMB)
Specifies the capture window size in MB.- Parameters:
sizeInMB- window size in MB- Returns:
- next stage of the event hub update
-
withDataCaptureFileNameFormat
@Beta(V1_7_0) EventHub.Update withDataCaptureFileNameFormat(String format)
Specifies the format of the file containing captured data.- Parameters:
format- the file name format- Returns:
- next stage of the event hub update
-
-