com.pulumi.azure.communication.kotlin.outputs.GetServiceResult.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.communication.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
/**
* A collection of values returned by getService.
* @property dataLocation The location where the Communication service stores its data at rest.
* @property id The provider-assigned unique ID for this managed resource.
* @property name
* @property primaryConnectionString The primary connection string of the Communication Service.
* @property primaryKey The primary key of the Communication Service.
* @property resourceGroupName
* @property secondaryConnectionString The secondary connection string of the Communication Service.
* @property secondaryKey The secondary key of the Communication Service.
* @property tags A mapping of tags assigned to the Communication Service.
*/
public data class GetServiceResult(
public val dataLocation: String,
public val id: String,
public val name: String,
public val primaryConnectionString: String,
public val primaryKey: String,
public val resourceGroupName: String,
public val secondaryConnectionString: String,
public val secondaryKey: String,
public val tags: Map,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.communication.outputs.GetServiceResult):
GetServiceResult = GetServiceResult(
dataLocation = javaType.dataLocation(),
id = javaType.id(),
name = javaType.name(),
primaryConnectionString = javaType.primaryConnectionString(),
primaryKey = javaType.primaryKey(),
resourceGroupName = javaType.resourceGroupName(),
secondaryConnectionString = javaType.secondaryConnectionString(),
secondaryKey = javaType.secondaryKey(),
tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy