com.pulumi.gcp.compute.kotlin.outputs.GetInstanceBootDiskInitializeParam.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.compute.kotlin.outputs
import kotlin.Any
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
/**
*
* @property enableConfidentialCompute A flag to enable confidential compute mode on boot disk
* @property image The image from which this disk was initialised.
* @property labels A set of key/value label pairs assigned to the disk.
* @property provisionedIops Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle.
* @property provisionedThroughput Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle.
* @property resourceManagerTags A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
* @property size The size of the image in gigabytes.
* @property type The accelerator type resource exposed to this instance. E.g. `nvidia-tesla-k80`.
*/
public data class GetInstanceBootDiskInitializeParam(
public val enableConfidentialCompute: Boolean,
public val image: String,
public val labels: Map,
public val provisionedIops: Int,
public val provisionedThroughput: Int,
public val resourceManagerTags: Map,
public val size: Int,
public val type: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.GetInstanceBootDiskInitializeParam): GetInstanceBootDiskInitializeParam = GetInstanceBootDiskInitializeParam(
enableConfidentialCompute = javaType.enableConfidentialCompute(),
image = javaType.image(),
labels = javaType.labels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
provisionedIops = javaType.provisionedIops(),
provisionedThroughput = javaType.provisionedThroughput(),
resourceManagerTags = javaType.resourceManagerTags().map({ args0 ->
args0.key.to(args0.value)
}).toMap(),
size = javaType.size(),
type = javaType.type(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy