
com.pulumi.gcp.backupdisasterrecovery.kotlin.outputs.GetDataSourceDataSourceGcpResource.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.backupdisasterrecovery.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property computeInstanceDataSourceProperties ComputeInstanceDataSourceProperties has a subset of Compute Instance properties that are useful at the Datasource level.
* @property gcpResourcename Full resource pathname URL of the source Google Cloud resource.
* @property location Location of the resource: //"global"/"unspecified".
* @property type The type of the Google Cloud resource. Use the Unified Resource Type,
* eg. compute.googleapis.com/Instance.
*/
public data class GetDataSourceDataSourceGcpResource(
public val computeInstanceDataSourceProperties: List,
public val gcpResourcename: String,
public val location: String,
public val type: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.backupdisasterrecovery.outputs.GetDataSourceDataSourceGcpResource): GetDataSourceDataSourceGcpResource = GetDataSourceDataSourceGcpResource(
computeInstanceDataSourceProperties = javaType.computeInstanceDataSourceProperties().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.backupdisasterrecovery.kotlin.outputs.GetDataSourceDataSourceGcpResourceComputeInstanceDataSourceProperty.Companion.toKotlin(args0)
})
}),
gcpResourcename = javaType.gcpResourcename(),
location = javaType.location(),
type = javaType.type(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy