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

com.pulumi.googlenative.compute.v1.kotlin.outputs.GetLicenseResult.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.compute.v1.kotlin.outputs

import kotlin.Boolean
import kotlin.Deprecated
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property chargesUseFee Deprecated. This field no longer reflects whether a license charges a usage fee.
 * @property creationTimestamp Creation timestamp in RFC3339 text format.
 * @property description An optional textual description of the resource; provided by the client when the resource is created.
 * @property kind Type of resource. Always compute#license for licenses.
 * @property licenseCode The unique code used to attach this license to images, snapshots, and disks.
 * @property name Name of the resource. The name must be 1-63 characters long and comply with RFC1035.
 * @property resourceRequirements
 * @property selfLink Server-defined URL for the resource.
 * @property transferable If false, licenses will not be copied from the source resource when creating an image from a disk, disk from snapshot, or snapshot from disk.
 */
public data class GetLicenseResult(
    @Deprecated(
        message = """
  [Output Only] Deprecated. This field no longer reflects whether a license charges a usage fee.
  """,
    )
    public val chargesUseFee: Boolean,
    public val creationTimestamp: String,
    public val description: String,
    public val kind: String,
    public val licenseCode: String,
    public val name: String,
    public val resourceRequirements: LicenseResourceRequirementsResponse,
    public val selfLink: String,
    public val transferable: Boolean,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.compute.v1.outputs.GetLicenseResult): GetLicenseResult = GetLicenseResult(
            chargesUseFee = javaType.chargesUseFee(),
            creationTimestamp = javaType.creationTimestamp(),
            description = javaType.description(),
            kind = javaType.kind(),
            licenseCode = javaType.licenseCode(),
            name = javaType.name(),
            resourceRequirements = javaType.resourceRequirements().let({ args0 ->
                com.pulumi.googlenative.compute.v1.kotlin.outputs.LicenseResourceRequirementsResponse.Companion.toKotlin(args0)
            }),
            selfLink = javaType.selfLink(),
            transferable = javaType.transferable(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy