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

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

package com.pulumi.azure.eventgrid.kotlin.outputs

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

/**
 * A collection of values returned by getSystemTopic.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property identities An `identity` block as defined below, which contains the Managed Service Identity information for this Event Grid System Topic.
 * @property location
 * @property metricArmResourceId The Metric ARM Resource ID of the Event Grid System Topic.
 * @property name
 * @property resourceGroupName
 * @property sourceArmResourceId The ID of the Event Grid System Topic ARM Source.
 * @property tags A mapping of tags which are assigned to the Event Grid System Topic.
 * @property topicType The Topic Type of the Event Grid System Topic.
 */
public data class GetSystemTopicResult(
    public val id: String,
    public val identities: List,
    public val location: String,
    public val metricArmResourceId: String,
    public val name: String,
    public val resourceGroupName: String,
    public val sourceArmResourceId: String,
    public val tags: Map,
    public val topicType: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.eventgrid.outputs.GetSystemTopicResult): GetSystemTopicResult = GetSystemTopicResult(
            id = javaType.id(),
            identities = javaType.identities().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.eventgrid.kotlin.outputs.GetSystemTopicIdentity.Companion.toKotlin(args0)
                })
            }),
            location = javaType.location(),
            metricArmResourceId = javaType.metricArmResourceId(),
            name = javaType.name(),
            resourceGroupName = javaType.resourceGroupName(),
            sourceArmResourceId = javaType.sourceArmResourceId(),
            tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            topicType = javaType.topicType(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy