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

com.pulumi.azure.monitoring.kotlin.outputs.GetLogProfileResult.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.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.monitoring.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * A collection of values returned by getLogProfile.
 * @property categories List of categories of the logs.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property locations List of regions for which Activity Log events are stored or streamed.
 * @property name
 * @property retentionPolicies a `retention_policy` block as documented below.
 * @property servicebusRuleId The service bus (or event hub) rule ID of the service bus (or event hub) namespace in which the Activity Log is streamed to.
 * @property storageAccountId The resource id of the storage account in which the Activity Log is stored.
 */
public data class GetLogProfileResult(
    public val categories: List,
    public val id: String,
    public val locations: List,
    public val name: String,
    public val retentionPolicies: List,
    public val servicebusRuleId: String,
    public val storageAccountId: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.monitoring.outputs.GetLogProfileResult):
            GetLogProfileResult = GetLogProfileResult(
            categories = javaType.categories().map({ args0 -> args0 }),
            id = javaType.id(),
            locations = javaType.locations().map({ args0 -> args0 }),
            name = javaType.name(),
            retentionPolicies = javaType.retentionPolicies().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.monitoring.kotlin.outputs.GetLogProfileRetentionPolicy.Companion.toKotlin(args0)
                })
            }),
            servicebusRuleId = javaType.servicebusRuleId(),
            storageAccountId = javaType.storageAccountId(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy