com.pulumi.azure.appinsights.kotlin.outputs.GetInsightsResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.appinsights.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
/**
* A collection of values returned by getInsights.
* @property appId The App ID associated with this Application Insights component.
* @property applicationType The type of the component.
* @property connectionString The connection string of the Application Insights component. (Sensitive)
* @property id The provider-assigned unique ID for this managed resource.
* @property instrumentationKey The instrumentation key of the Application Insights component.
* @property location The Azure location where the component exists.
* @property name
* @property resourceGroupName
* @property retentionInDays The retention period in days.
* @property tags Tags applied to the component.
* @property workspaceId The id of the associated Log Analytics workspace
*/
public data class GetInsightsResult(
public val appId: String,
public val applicationType: String,
public val connectionString: String,
public val id: String,
public val instrumentationKey: String,
public val location: String,
public val name: String,
public val resourceGroupName: String,
public val retentionInDays: Int,
public val tags: Map,
public val workspaceId: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.appinsights.outputs.GetInsightsResult):
GetInsightsResult = GetInsightsResult(
appId = javaType.appId(),
applicationType = javaType.applicationType(),
connectionString = javaType.connectionString(),
id = javaType.id(),
instrumentationKey = javaType.instrumentationKey(),
location = javaType.location(),
name = javaType.name(),
resourceGroupName = javaType.resourceGroupName(),
retentionInDays = javaType.retentionInDays(),
tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
workspaceId = javaType.workspaceId(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy