com.pulumi.azure.healthcare.kotlin.outputs.GetFhirServiceResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.healthcare.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
* A collection of values returned by getFhirService.
* @property accessPolicyObjectIds The list of the access policies of the service instance.
* @property authentications The `authentication` block as defined below.
* @property configurationExportStorageAccountName The name of the storage account which the operation configuration information is exported to.
* @property containerRegistryLoginServerUrls The list of azure container registry settings used for convert data operation of the service instance.
* @property cors The `cors` block as defined below.
* @property id The provider-assigned unique ID for this managed resource.
* @property identities The `identity` block as defined below.
* @property kind The kind of the Healthcare FHIR Service.
* @property location The Azure Region where the Healthcare FHIR Service is located.
* @property name
* @property tags The map of tags assigned to the Healthcare FHIR Service.
* @property workspaceId
*/
public data class GetFhirServiceResult(
public val accessPolicyObjectIds: List,
public val authentications: List,
public val configurationExportStorageAccountName: String,
public val containerRegistryLoginServerUrls: List,
public val cors: List,
public val id: String,
public val identities: List,
public val kind: String,
public val location: String,
public val name: String,
public val tags: Map? = null,
public val workspaceId: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.healthcare.outputs.GetFhirServiceResult): GetFhirServiceResult = GetFhirServiceResult(
accessPolicyObjectIds = javaType.accessPolicyObjectIds().map({ args0 -> args0 }),
authentications = javaType.authentications().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.healthcare.kotlin.outputs.GetFhirServiceAuthentication.Companion.toKotlin(args0)
})
}),
configurationExportStorageAccountName = javaType.configurationExportStorageAccountName(),
containerRegistryLoginServerUrls = javaType.containerRegistryLoginServerUrls().map({ args0 ->
args0
}),
cors = javaType.cors().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.healthcare.kotlin.outputs.GetFhirServiceCor.Companion.toKotlin(args0)
})
}),
id = javaType.id(),
identities = javaType.identities().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.healthcare.kotlin.outputs.GetFhirServiceIdentity.Companion.toKotlin(args0)
})
}),
kind = javaType.kind(),
location = javaType.location(),
name = javaType.name(),
tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
workspaceId = javaType.workspaceId(),
)
}
}