com.pulumi.gcp.backupdisasterrecovery.kotlin.outputs.GetManagementServerResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.backupdisasterrecovery.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A collection of values returned by getManagementServer.
* @property id The provider-assigned unique ID for this managed resource.
* @property location
* @property managementUris
* @property name
* @property networks
* @property oauth2ClientId
* @property project
* @property type
*/
public data class GetManagementServerResult(
public val id: String,
public val location: String,
public val managementUris: List,
public val name: String,
public val networks: List,
public val oauth2ClientId: String,
public val project: String,
public val type: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.backupdisasterrecovery.outputs.GetManagementServerResult): GetManagementServerResult = GetManagementServerResult(
id = javaType.id(),
location = javaType.location(),
managementUris = javaType.managementUris().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.backupdisasterrecovery.kotlin.outputs.GetManagementServerManagementUri.Companion.toKotlin(args0)
})
}),
name = javaType.name(),
networks = javaType.networks().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.backupdisasterrecovery.kotlin.outputs.GetManagementServerNetwork.Companion.toKotlin(args0)
})
}),
oauth2ClientId = javaType.oauth2ClientId(),
project = javaType.project(),
type = javaType.type(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy