com.pulumi.azure.iot.kotlin.outputs.GetDpsResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.iot.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
/**
* A collection of values returned by getDps.
* @property allocationPolicy The allocation policy of the IoT Device Provisioning Service.
* @property deviceProvisioningHostName The device endpoint of the IoT Device Provisioning Service.
* @property id The provider-assigned unique ID for this managed resource.
* @property idScope The unique identifier of the IoT Device Provisioning Service.
* @property location Specifies the supported Azure location where the IoT Device Provisioning Service exists.
* @property name
* @property resourceGroupName
* @property serviceOperationsHostName The service endpoint of the IoT Device Provisioning Service.
* @property tags
*/
public data class GetDpsResult(
public val allocationPolicy: String,
public val deviceProvisioningHostName: String,
public val id: String,
public val idScope: String,
public val location: String,
public val name: String,
public val resourceGroupName: String,
public val serviceOperationsHostName: String,
public val tags: Map? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.iot.outputs.GetDpsResult): GetDpsResult =
GetDpsResult(
allocationPolicy = javaType.allocationPolicy(),
deviceProvisioningHostName = javaType.deviceProvisioningHostName(),
id = javaType.id(),
idScope = javaType.idScope(),
location = javaType.location(),
name = javaType.name(),
resourceGroupName = javaType.resourceGroupName(),
serviceOperationsHostName = javaType.serviceOperationsHostName(),
tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
)
}
}