All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.databasemigration.kotlin.outputs.GetProjectResult.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.databasemigration.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map

/**
 * A collection of values returned by getProject.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property location Azure location where the resource exists.
 * @property name
 * @property resourceGroupName
 * @property serviceName
 * @property sourcePlatform The platform type of the migration source.
 * @property tags A mapping of tags to assigned to the resource.
 * @property targetPlatform The platform type of the migration target.
 */
public data class GetProjectResult(
    public val id: String,
    public val location: String,
    public val name: String,
    public val resourceGroupName: String,
    public val serviceName: String,
    public val sourcePlatform: String,
    public val tags: Map,
    public val targetPlatform: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.databasemigration.outputs.GetProjectResult): GetProjectResult = GetProjectResult(
            id = javaType.id(),
            location = javaType.location(),
            name = javaType.name(),
            resourceGroupName = javaType.resourceGroupName(),
            serviceName = javaType.serviceName(),
            sourcePlatform = javaType.sourcePlatform(),
            tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            targetPlatform = javaType.targetPlatform(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy