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

com.pulumi.azure.advisor.kotlin.outputs.GetRecommendationsResult.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.

There is a newer version: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.advisor.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * A collection of values returned by getRecommendations.
 * @property filterByCategories
 * @property filterByResourceGroups
 * @property id The provider-assigned unique ID for this managed resource.
 * @property recommendations One or more `recommendations` blocks as defined below.
 */
public data class GetRecommendationsResult(
    public val filterByCategories: List? = null,
    public val filterByResourceGroups: List? = null,
    public val id: String,
    public val recommendations: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.advisor.outputs.GetRecommendationsResult):
            GetRecommendationsResult = GetRecommendationsResult(
            filterByCategories = javaType.filterByCategories().map({ args0 -> args0 }),
            filterByResourceGroups = javaType.filterByResourceGroups().map({ args0 -> args0 }),
            id = javaType.id(),
            recommendations = javaType.recommendations().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.advisor.kotlin.outputs.GetRecommendationsRecommendation.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy