Interface EventHub.DefinitionStages.WithCaptureProviderOrCreate

All Superinterfaces:
Creatable<EventHub>, EventHub.DefinitionStages.WithAuthorizationRule, EventHub.DefinitionStages.WithConsumerGroup, EventHub.DefinitionStages.WithCreate, EventHub.DefinitionStages.WithPartitionCount, EventHub.DefinitionStages.WithRetentionPeriod, HasName, Indexable
All Known Subinterfaces:
EventHub.Definition
Enclosing interface:
EventHub.DefinitionStages

@Beta(V1_7_0) public static interface EventHub.DefinitionStages.WithCaptureProviderOrCreate extends EventHub.DefinitionStages.WithCreate
The stage of the event hub definition allowing to specify provider to store captured data when data capturing is enabled.
  • Method Details

    • withNewStorageAccountForCapturedData

      @Beta(V1_7_0) EventHub.DefinitionStages.WithCaptureEnabledDisabled 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 definition
      containerName - container to store the files containing captured data
      Returns:
      next stage of the event hub definition
    • withExistingStorageAccountForCapturedData

      @Beta(V1_7_0) EventHub.DefinitionStages.WithCaptureEnabledDisabled 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 definition
    • withExistingStorageAccountForCapturedData

      @Beta(V1_7_0) EventHub.DefinitionStages.WithCaptureEnabledDisabled 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 definition