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

com.pulumi.azurenative.security.kotlin.outputs.MalwareScanningPropertiesResponse.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.security.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * Properties of Malware Scanning.
 * @property onUpload Properties of On Upload malware scanning.
 * @property operationStatus Upon failure or partial success. Additional data describing Malware Scanning enable/disable operation.
 * @property scanResultsEventGridTopicResourceId Optional. Resource id of an Event Grid Topic to send scan results to.
 */
public data class MalwareScanningPropertiesResponse(
    public val onUpload: OnUploadPropertiesResponse? = null,
    public val operationStatus: OperationStatusResponse,
    public val scanResultsEventGridTopicResourceId: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.security.outputs.MalwareScanningPropertiesResponse): MalwareScanningPropertiesResponse = MalwareScanningPropertiesResponse(
            onUpload = javaType.onUpload().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azurenative.security.kotlin.outputs.OnUploadPropertiesResponse.Companion.toKotlin(args0)
                })
            }).orElse(null),
            operationStatus = javaType.operationStatus().let({ args0 ->
                com.pulumi.azurenative.security.kotlin.outputs.OperationStatusResponse.Companion.toKotlin(args0)
            }),
            scanResultsEventGridTopicResourceId = javaType.scanResultsEventGridTopicResourceId().map({ args0 ->
                args0
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy