![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.storage.kotlin.outputs.ObjectReplicationRule.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.storage.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property copyBlobsCreatedAfter The time after which the Block Blobs created will be copies to the destination. Possible values are `OnlyNewObjects`, `Everything` and time in RFC3339 format: `2006-01-02T15:04:00Z`. Defaults to `OnlyNewObjects`.
* @property destinationContainerName The destination storage container name. Changing this forces a new Storage Object Replication to be created.
* @property filterOutBlobsWithPrefixes Specifies a list of filters prefixes, the blobs whose names begin with which will be replicated.
* @property name
* @property sourceContainerName The source storage container name. Changing this forces a new Storage Object Replication to be created.
*/
public data class ObjectReplicationRule(
public val copyBlobsCreatedAfter: String? = null,
public val destinationContainerName: String,
public val filterOutBlobsWithPrefixes: List? = null,
public val name: String? = null,
public val sourceContainerName: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.storage.outputs.ObjectReplicationRule): ObjectReplicationRule = ObjectReplicationRule(
copyBlobsCreatedAfter = javaType.copyBlobsCreatedAfter().map({ args0 -> args0 }).orElse(null),
destinationContainerName = javaType.destinationContainerName(),
filterOutBlobsWithPrefixes = javaType.filterOutBlobsWithPrefixes().map({ args0 -> args0 }),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
sourceContainerName = javaType.sourceContainerName(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy