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

com.pulumi.azurenative.recoveryservices.kotlin.inputs.DPMProtectedItemExtendedInfoArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.recoveryservices.kotlin.inputs

import com.pulumi.azurenative.recoveryservices.inputs.DPMProtectedItemExtendedInfoArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Int
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
import kotlin.jvm.JvmName

/**
 * Additional information of DPM Protected item.
 * @property diskStorageUsedInBytes Used Disk storage in bytes.
 * @property isCollocated To check if backup item is collocated.
 * @property isPresentOnCloud To check if backup item is cloud protected.
 * @property lastBackupStatus Last backup status information on backup item.
 * @property lastRefreshedAt Last refresh time on backup item.
 * @property oldestRecoveryPoint Oldest cloud recovery point time.
 * @property onPremiseLatestRecoveryPoint latest disk recovery point time.
 * @property onPremiseOldestRecoveryPoint Oldest disk recovery point time.
 * @property onPremiseRecoveryPointCount disk recovery point count.
 * @property protectableObjectLoadPath Attribute to provide information on various DBs.
 * @property protected To check if backup item is disk protected.
 * @property protectionGroupName Protection group name of the backup item.
 * @property recoveryPointCount cloud recovery point count.
 * @property totalDiskStorageSizeInBytes total Disk storage in bytes.
 */
public data class DPMProtectedItemExtendedInfoArgs(
    public val diskStorageUsedInBytes: Output? = null,
    public val isCollocated: Output? = null,
    public val isPresentOnCloud: Output? = null,
    public val lastBackupStatus: Output? = null,
    public val lastRefreshedAt: Output? = null,
    public val oldestRecoveryPoint: Output? = null,
    public val onPremiseLatestRecoveryPoint: Output? = null,
    public val onPremiseOldestRecoveryPoint: Output? = null,
    public val onPremiseRecoveryPointCount: Output? = null,
    public val protectableObjectLoadPath: Output>? = null,
    public val `protected`: Output? = null,
    public val protectionGroupName: Output? = null,
    public val recoveryPointCount: Output? = null,
    public val totalDiskStorageSizeInBytes: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.recoveryservices.inputs.DPMProtectedItemExtendedInfoArgs =
        com.pulumi.azurenative.recoveryservices.inputs.DPMProtectedItemExtendedInfoArgs.builder()
            .diskStorageUsedInBytes(diskStorageUsedInBytes?.applyValue({ args0 -> args0 }))
            .isCollocated(isCollocated?.applyValue({ args0 -> args0 }))
            .isPresentOnCloud(isPresentOnCloud?.applyValue({ args0 -> args0 }))
            .lastBackupStatus(lastBackupStatus?.applyValue({ args0 -> args0 }))
            .lastRefreshedAt(lastRefreshedAt?.applyValue({ args0 -> args0 }))
            .oldestRecoveryPoint(oldestRecoveryPoint?.applyValue({ args0 -> args0 }))
            .onPremiseLatestRecoveryPoint(onPremiseLatestRecoveryPoint?.applyValue({ args0 -> args0 }))
            .onPremiseOldestRecoveryPoint(onPremiseOldestRecoveryPoint?.applyValue({ args0 -> args0 }))
            .onPremiseRecoveryPointCount(onPremiseRecoveryPointCount?.applyValue({ args0 -> args0 }))
            .protectableObjectLoadPath(
                protectableObjectLoadPath?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            )
            .protected_(`protected`?.applyValue({ args0 -> args0 }))
            .protectionGroupName(protectionGroupName?.applyValue({ args0 -> args0 }))
            .recoveryPointCount(recoveryPointCount?.applyValue({ args0 -> args0 }))
            .totalDiskStorageSizeInBytes(totalDiskStorageSizeInBytes?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DPMProtectedItemExtendedInfoArgs].
 */
@PulumiTagMarker
public class DPMProtectedItemExtendedInfoArgsBuilder internal constructor() {
    private var diskStorageUsedInBytes: Output? = null

    private var isCollocated: Output? = null

    private var isPresentOnCloud: Output? = null

    private var lastBackupStatus: Output? = null

    private var lastRefreshedAt: Output? = null

    private var oldestRecoveryPoint: Output? = null

    private var onPremiseLatestRecoveryPoint: Output? = null

    private var onPremiseOldestRecoveryPoint: Output? = null

    private var onPremiseRecoveryPointCount: Output? = null

    private var protectableObjectLoadPath: Output>? = null

    private var `protected`: Output? = null

    private var protectionGroupName: Output? = null

    private var recoveryPointCount: Output? = null

    private var totalDiskStorageSizeInBytes: Output? = null

    /**
     * @param value Used Disk storage in bytes.
     */
    @JvmName("rbryxtgvuuqpbrsw")
    public suspend fun diskStorageUsedInBytes(`value`: Output) {
        this.diskStorageUsedInBytes = value
    }

    /**
     * @param value To check if backup item is collocated.
     */
    @JvmName("jvbbuxmtauwqipvw")
    public suspend fun isCollocated(`value`: Output) {
        this.isCollocated = value
    }

    /**
     * @param value To check if backup item is cloud protected.
     */
    @JvmName("eyotshvwsamhjlmm")
    public suspend fun isPresentOnCloud(`value`: Output) {
        this.isPresentOnCloud = value
    }

    /**
     * @param value Last backup status information on backup item.
     */
    @JvmName("bjobwelyfwvcbrqk")
    public suspend fun lastBackupStatus(`value`: Output) {
        this.lastBackupStatus = value
    }

    /**
     * @param value Last refresh time on backup item.
     */
    @JvmName("aymkvkyhaevcspqk")
    public suspend fun lastRefreshedAt(`value`: Output) {
        this.lastRefreshedAt = value
    }

    /**
     * @param value Oldest cloud recovery point time.
     */
    @JvmName("jlpepqadjrghcmoh")
    public suspend fun oldestRecoveryPoint(`value`: Output) {
        this.oldestRecoveryPoint = value
    }

    /**
     * @param value latest disk recovery point time.
     */
    @JvmName("srsoqwgkeyvcovux")
    public suspend fun onPremiseLatestRecoveryPoint(`value`: Output) {
        this.onPremiseLatestRecoveryPoint = value
    }

    /**
     * @param value Oldest disk recovery point time.
     */
    @JvmName("cqaqnhjvberuaejb")
    public suspend fun onPremiseOldestRecoveryPoint(`value`: Output) {
        this.onPremiseOldestRecoveryPoint = value
    }

    /**
     * @param value disk recovery point count.
     */
    @JvmName("iuncrcbtuutwxkal")
    public suspend fun onPremiseRecoveryPointCount(`value`: Output) {
        this.onPremiseRecoveryPointCount = value
    }

    /**
     * @param value Attribute to provide information on various DBs.
     */
    @JvmName("prkpnnsoqpyrckef")
    public suspend fun protectableObjectLoadPath(`value`: Output>) {
        this.protectableObjectLoadPath = value
    }

    /**
     * @param value To check if backup item is disk protected.
     */
    @JvmName("jvgbfuwjyumwmwpc")
    public suspend fun `protected`(`value`: Output) {
        this.`protected` = value
    }

    /**
     * @param value Protection group name of the backup item.
     */
    @JvmName("blnpbfklmmagqvtv")
    public suspend fun protectionGroupName(`value`: Output) {
        this.protectionGroupName = value
    }

    /**
     * @param value cloud recovery point count.
     */
    @JvmName("psjlibcaratjsnsc")
    public suspend fun recoveryPointCount(`value`: Output) {
        this.recoveryPointCount = value
    }

    /**
     * @param value total Disk storage in bytes.
     */
    @JvmName("chkpngtyekqoqeaq")
    public suspend fun totalDiskStorageSizeInBytes(`value`: Output) {
        this.totalDiskStorageSizeInBytes = value
    }

    /**
     * @param value Used Disk storage in bytes.
     */
    @JvmName("wwwiyvwqytcyesgr")
    public suspend fun diskStorageUsedInBytes(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.diskStorageUsedInBytes = mapped
    }

    /**
     * @param value To check if backup item is collocated.
     */
    @JvmName("gtupfrhngaumyhpt")
    public suspend fun isCollocated(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.isCollocated = mapped
    }

    /**
     * @param value To check if backup item is cloud protected.
     */
    @JvmName("qwiapifuwdcmsqix")
    public suspend fun isPresentOnCloud(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.isPresentOnCloud = mapped
    }

    /**
     * @param value Last backup status information on backup item.
     */
    @JvmName("gitacebguqpcjvwf")
    public suspend fun lastBackupStatus(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.lastBackupStatus = mapped
    }

    /**
     * @param value Last refresh time on backup item.
     */
    @JvmName("xeoahmvwgocjywgu")
    public suspend fun lastRefreshedAt(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.lastRefreshedAt = mapped
    }

    /**
     * @param value Oldest cloud recovery point time.
     */
    @JvmName("aeuepipeytmxbref")
    public suspend fun oldestRecoveryPoint(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.oldestRecoveryPoint = mapped
    }

    /**
     * @param value latest disk recovery point time.
     */
    @JvmName("wjnpvwrweeovtfir")
    public suspend fun onPremiseLatestRecoveryPoint(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.onPremiseLatestRecoveryPoint = mapped
    }

    /**
     * @param value Oldest disk recovery point time.
     */
    @JvmName("lfdvjlywcvhuevni")
    public suspend fun onPremiseOldestRecoveryPoint(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.onPremiseOldestRecoveryPoint = mapped
    }

    /**
     * @param value disk recovery point count.
     */
    @JvmName("orptumfctgfdmfcy")
    public suspend fun onPremiseRecoveryPointCount(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.onPremiseRecoveryPointCount = mapped
    }

    /**
     * @param value Attribute to provide information on various DBs.
     */
    @JvmName("gbvtereeamtsixfu")
    public suspend fun protectableObjectLoadPath(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.protectableObjectLoadPath = mapped
    }

    /**
     * @param values Attribute to provide information on various DBs.
     */
    @JvmName("umjamnxjtbbnuplq")
    public fun protectableObjectLoadPath(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.protectableObjectLoadPath = mapped
    }

    /**
     * @param value To check if backup item is disk protected.
     */
    @JvmName("nhciaveudlioltdl")
    public suspend fun `protected`(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.`protected` = mapped
    }

    /**
     * @param value Protection group name of the backup item.
     */
    @JvmName("jctoemjqeahxsisi")
    public suspend fun protectionGroupName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.protectionGroupName = mapped
    }

    /**
     * @param value cloud recovery point count.
     */
    @JvmName("ntteqvgcbjsnadgo")
    public suspend fun recoveryPointCount(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.recoveryPointCount = mapped
    }

    /**
     * @param value total Disk storage in bytes.
     */
    @JvmName("wphfifbocnupotbq")
    public suspend fun totalDiskStorageSizeInBytes(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.totalDiskStorageSizeInBytes = mapped
    }

    internal fun build(): DPMProtectedItemExtendedInfoArgs = DPMProtectedItemExtendedInfoArgs(
        diskStorageUsedInBytes = diskStorageUsedInBytes,
        isCollocated = isCollocated,
        isPresentOnCloud = isPresentOnCloud,
        lastBackupStatus = lastBackupStatus,
        lastRefreshedAt = lastRefreshedAt,
        oldestRecoveryPoint = oldestRecoveryPoint,
        onPremiseLatestRecoveryPoint = onPremiseLatestRecoveryPoint,
        onPremiseOldestRecoveryPoint = onPremiseOldestRecoveryPoint,
        onPremiseRecoveryPointCount = onPremiseRecoveryPointCount,
        protectableObjectLoadPath = protectableObjectLoadPath,
        `protected` = `protected`,
        protectionGroupName = protectionGroupName,
        recoveryPointCount = recoveryPointCount,
        totalDiskStorageSizeInBytes = totalDiskStorageSizeInBytes,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy