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

com.pulumi.azure.eventgrid.kotlin.outputs.GetTopicResult.kt Maven / Gradle / Ivy

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

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

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

/**
 * A collection of values returned by getTopic.
 * @property endpoint The Endpoint associated with the EventGrid Topic.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property location
 * @property name
 * @property primaryAccessKey The Primary Shared Access Key associated with the EventGrid Topic.
 * @property resourceGroupName
 * @property secondaryAccessKey The Secondary Shared Access Key associated with the EventGrid Topic.
 * @property tags
 */
public data class GetTopicResult(
    public val endpoint: String,
    public val id: String,
    public val location: String,
    public val name: String,
    public val primaryAccessKey: String,
    public val resourceGroupName: String,
    public val secondaryAccessKey: String,
    public val tags: Map,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.eventgrid.outputs.GetTopicResult): GetTopicResult =
            GetTopicResult(
                endpoint = javaType.endpoint(),
                id = javaType.id(),
                location = javaType.location(),
                name = javaType.name(),
                primaryAccessKey = javaType.primaryAccessKey(),
                resourceGroupName = javaType.resourceGroupName(),
                secondaryAccessKey = javaType.secondaryAccessKey(),
                tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy