All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.eventhub.kotlin.outputs.EventHubCaptureDescriptionDestination.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.eventhub.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property archiveNameFormat The Blob naming convention for archiving. e.g. `{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}`. Here all the parameters (Namespace,EventHub .. etc) are mandatory irrespective of order
 * @property blobContainerName The name of the Container within the Blob Storage Account where messages should be archived.
 * @property name The Name of the Destination where the capture should take place. At this time the only supported value is `EventHubArchive.AzureBlockBlob`.
 * > At this time it's only possible to Capture EventHub messages to Blob Storage. There's [a Feature Request for the Azure SDK to add support for Capturing messages to Azure Data Lake here](https://github.com/Azure/azure-rest-api-specs/issues/2255).
 * @property storageAccountId The ID of the Blob Storage Account where messages should be archived.
 */
public data class EventHubCaptureDescriptionDestination(
    public val archiveNameFormat: String,
    public val blobContainerName: String,
    public val name: String,
    public val storageAccountId: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.eventhub.outputs.EventHubCaptureDescriptionDestination): EventHubCaptureDescriptionDestination = EventHubCaptureDescriptionDestination(
            archiveNameFormat = javaType.archiveNameFormat(),
            blobContainerName = javaType.blobContainerName(),
            name = javaType.name(),
            storageAccountId = javaType.storageAccountId(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy