EventHub.UpdateStages.WithCapture Interface

public static interface EventHub.UpdateStages.WithCapture

The stage of the event hub update allowing to configure data capture.

Method Summary

Modifier and Type Method and Description
abstract Update withDataCaptureDisabled()

Specifies that data capture should be disabled for the event hub.

abstract Update withDataCaptureEnabled()

Specifies that data capture should be enabled for the event hub.

abstract Update withDataCaptureFileNameFormat(String format)

Specifies the format of the file containing captured data.

abstract Update withDataCaptureSkipEmptyArchives(Boolean skipEmptyArchives)

Specified the capture whether to Skip Empty Archives.

abstract Update withDataCaptureWindowSizeInMB(int sizeInMB)

Specifies the capture window size in MB.

abstract Update withDataCaptureWindowSizeInSeconds(int sizeInSeconds)

Specifies the capture window size in seconds.

abstract Update withExistingStorageAccountForCapturedData(StorageAccount storageAccount, String containerName)

Specifies an existing storage account to store the captured data when data capturing is enabled.

abstract Update withExistingStorageAccountForCapturedData(String storageAccountId, String containerName)

Specifies an existing storage account to store the captured data when data capturing is enabled.

abstract Update withNewStorageAccountForCapturedData(Creatable<StorageAccount> storageAccountCreatable, String containerName)

Specifies a new storage account to store the captured data when data capturing is enabled.

Method Details

withDataCaptureDisabled

public abstract EventHub.Update withDataCaptureDisabled()

Specifies that data capture should be disabled for the event hub.

Returns:

next stage of the event hub update

withDataCaptureEnabled

public abstract EventHub.Update withDataCaptureEnabled()

Specifies that data capture should be enabled for the event hub.

Returns:

next stage of the event hub update

withDataCaptureFileNameFormat

public abstract 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

withDataCaptureSkipEmptyArchives

public abstract EventHub.Update withDataCaptureSkipEmptyArchives(Boolean skipEmptyArchives)

Specified the capture whether to Skip Empty Archives.

Parameters:

skipEmptyArchives - the skipEmptyArchives value to set

Returns:

next stage of the event hub update

withDataCaptureWindowSizeInMB

public abstract 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

withDataCaptureWindowSizeInSeconds

public abstract 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

withExistingStorageAccountForCapturedData

public abstract 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 account
containerName - an existing or new container to store the files containing captured data

Returns:

next stage of the event hub update

withExistingStorageAccountForCapturedData

public abstract 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 id
containerName - an existing or new container to store the files containing captured data

Returns:

next stage of the event hub update

withNewStorageAccountForCapturedData

public abstract EventHub.Update withNewStorageAccountForCapturedData(Creatable storageAccountCreatable, String containerName)

Specifies a new storage account to store the captured data when data capturing is enabled.

Parameters:

storageAccountCreatable - creatable storage account definition
containerName - container to store the files containing captured data

Returns:

next stage of the event hub update

Applies to