![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.webpubsub.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.webpubsub.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
/**
* A collection of values returned by getService.
* @property aadAuthEnabled
* @property capacity
* @property externalIp
* @property hostname The FQDN of the Web Pubsub service.
* @property id The provider-assigned unique ID for this managed resource.
* @property localAuthEnabled
* @property location The Azure location where the Web Pubsub service exists.
* @property name
* @property primaryAccessKey The primary access key of the Web Pubsub service.
* @property primaryConnectionString The primary connection string of the Web Pubsub service.
* @property publicNetworkAccessEnabled
* @property publicPort The publicly accessible port of the Web Pubsub service which is designed for browser/client use.
* @property resourceGroupName
* @property secondaryAccessKey The secondary access key of the Web Pubsub service.
* @property secondaryConnectionString The secondary connection string of the Web Pubsub service.
* @property serverPort The publicly accessible port of the Web Pubsub service which is designed for customer server side use.
* @property sku
* @property tags
* @property tlsClientCertEnabled
* @property version
*/
public data class GetServiceResult(
public val aadAuthEnabled: Boolean,
public val capacity: Int,
public val externalIp: String,
public val hostname: String,
public val id: String,
public val localAuthEnabled: Boolean,
public val location: String,
public val name: String,
public val primaryAccessKey: String,
public val primaryConnectionString: String,
public val publicNetworkAccessEnabled: Boolean,
public val publicPort: Int,
public val resourceGroupName: String,
public val secondaryAccessKey: String,
public val secondaryConnectionString: String,
public val serverPort: Int,
public val sku: String,
public val tags: Map,
public val tlsClientCertEnabled: Boolean,
public val version: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.webpubsub.outputs.GetServiceResult): GetServiceResult = GetServiceResult(
aadAuthEnabled = javaType.aadAuthEnabled(),
capacity = javaType.capacity(),
externalIp = javaType.externalIp(),
hostname = javaType.hostname(),
id = javaType.id(),
localAuthEnabled = javaType.localAuthEnabled(),
location = javaType.location(),
name = javaType.name(),
primaryAccessKey = javaType.primaryAccessKey(),
primaryConnectionString = javaType.primaryConnectionString(),
publicNetworkAccessEnabled = javaType.publicNetworkAccessEnabled(),
publicPort = javaType.publicPort(),
resourceGroupName = javaType.resourceGroupName(),
secondaryAccessKey = javaType.secondaryAccessKey(),
secondaryConnectionString = javaType.secondaryConnectionString(),
serverPort = javaType.serverPort(),
sku = javaType.sku(),
tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
tlsClientCertEnabled = javaType.tlsClientCertEnabled(),
version = javaType.version(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy