
com.pulumi.azurenative.dataprotection.kotlin.inputs.KubernetesClusterBackupDatasourceParametersArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.dataprotection.kotlin.inputs
import com.pulumi.azurenative.dataprotection.inputs.KubernetesClusterBackupDatasourceParametersArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Parameters for Kubernetes Cluster Backup Datasource
* @property excludedNamespaces Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during restore.
* @property excludedResourceTypes Gets or sets the exclude resource types property. This property sets the resource types to be excluded during restore.
* @property includeClusterScopeResources Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during restore.
* @property includedNamespaces Gets or sets the include namespaces property. This property sets the namespaces to be included during restore.
* @property includedResourceTypes Gets or sets the include resource types property. This property sets the resource types to be included during restore.
* @property labelSelectors Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during restore.
* @property objectType Type of the specific object - used for deserializing
* Expected value is 'KubernetesClusterBackupDatasourceParameters'.
* @property snapshotVolumes Gets or sets the volume snapshot property. This property if enabled will take volume snapshots during restore.
*/
public data class KubernetesClusterBackupDatasourceParametersArgs(
public val excludedNamespaces: Output>? = null,
public val excludedResourceTypes: Output>? = null,
public val includeClusterScopeResources: Output,
public val includedNamespaces: Output>? = null,
public val includedResourceTypes: Output>? = null,
public val labelSelectors: Output>? = null,
public val objectType: Output,
public val snapshotVolumes: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.dataprotection.inputs.KubernetesClusterBackupDatasourceParametersArgs =
com.pulumi.azurenative.dataprotection.inputs.KubernetesClusterBackupDatasourceParametersArgs.builder()
.excludedNamespaces(excludedNamespaces?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.excludedResourceTypes(excludedResourceTypes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.includeClusterScopeResources(includeClusterScopeResources.applyValue({ args0 -> args0 }))
.includedNamespaces(includedNamespaces?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.includedResourceTypes(includedResourceTypes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.labelSelectors(labelSelectors?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.objectType(objectType.applyValue({ args0 -> args0 }))
.snapshotVolumes(snapshotVolumes.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [KubernetesClusterBackupDatasourceParametersArgs].
*/
@PulumiTagMarker
public class KubernetesClusterBackupDatasourceParametersArgsBuilder internal constructor() {
private var excludedNamespaces: Output>? = null
private var excludedResourceTypes: Output>? = null
private var includeClusterScopeResources: Output? = null
private var includedNamespaces: Output>? = null
private var includedResourceTypes: Output>? = null
private var labelSelectors: Output>? = null
private var objectType: Output? = null
private var snapshotVolumes: Output? = null
/**
* @param value Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during restore.
*/
@JvmName("lrlnkhhsgaagcerh")
public suspend fun excludedNamespaces(`value`: Output>) {
this.excludedNamespaces = value
}
@JvmName("wbgnmwflqlmqtuqd")
public suspend fun excludedNamespaces(vararg values: Output) {
this.excludedNamespaces = Output.all(values.asList())
}
/**
* @param values Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during restore.
*/
@JvmName("nyvbspvnipxigwpj")
public suspend fun excludedNamespaces(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy