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

com.pulumi.googlenative.compute.alpha.kotlin.outputs.GetFutureReservationResult.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.alpha.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property creationTimestamp The creation timestamp for this future reservation in RFC3339 text format.
 * @property description An optional description of this resource. Provide this property when you create the future reservation.
 * @property kind Type of the resource. Always compute#futureReservation for future reservations.
 * @property name The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
 * @property namePrefix Name prefix for the reservations to be created at the time of delivery. The name prefix must comply with RFC1035. Maximum allowed length for name prefix is 20. Automatically created reservations name format will be -date-####.
 * @property planningStatus Planning state before being submitted for evaluation
 * @property selfLink Server-defined fully-qualified URL for this resource.
 * @property selfLinkWithId Server-defined URL for this resource with the resource id.
 * @property shareSettings List of Projects/Folders to share with.
 * @property specificSkuProperties Future Reservation configuration to indicate instance properties and total count.
 * @property status [Output only] Status of the Future Reservation
 * @property timeWindow Time window for this Future Reservation.
 * @property zone URL of the Zone where this future reservation resides.
 */
public data class GetFutureReservationResult(
    public val creationTimestamp: String,
    public val description: String,
    public val kind: String,
    public val name: String,
    public val namePrefix: String,
    public val planningStatus: String,
    public val selfLink: String,
    public val selfLinkWithId: String,
    public val shareSettings: ShareSettingsResponse,
    public val specificSkuProperties: FutureReservationSpecificSKUPropertiesResponse,
    public val status: FutureReservationStatusResponse,
    public val timeWindow: FutureReservationTimeWindowResponse,
    public val zone: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.compute.alpha.outputs.GetFutureReservationResult): GetFutureReservationResult = GetFutureReservationResult(
            creationTimestamp = javaType.creationTimestamp(),
            description = javaType.description(),
            kind = javaType.kind(),
            name = javaType.name(),
            namePrefix = javaType.namePrefix(),
            planningStatus = javaType.planningStatus(),
            selfLink = javaType.selfLink(),
            selfLinkWithId = javaType.selfLinkWithId(),
            shareSettings = javaType.shareSettings().let({ args0 ->
                com.pulumi.googlenative.compute.alpha.kotlin.outputs.ShareSettingsResponse.Companion.toKotlin(args0)
            }),
            specificSkuProperties = javaType.specificSkuProperties().let({ args0 ->
                com.pulumi.googlenative.compute.alpha.kotlin.outputs.FutureReservationSpecificSKUPropertiesResponse.Companion.toKotlin(args0)
            }),
            status = javaType.status().let({ args0 ->
                com.pulumi.googlenative.compute.alpha.kotlin.outputs.FutureReservationStatusResponse.Companion.toKotlin(args0)
            }),
            timeWindow = javaType.timeWindow().let({ args0 ->
                com.pulumi.googlenative.compute.alpha.kotlin.outputs.FutureReservationTimeWindowResponse.Companion.toKotlin(args0)
            }),
            zone = javaType.zone(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy