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

com.pulumi.azure.automation.kotlin.outputs.SoftwareUpdateConfigurationTargetAzureQuery.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.automation.kotlin.outputs

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

/**
 *
 * @property locations Specifies a list of locations to scope the query to.
 * @property scopes Specifies a list of Subscription or Resource Group ARM Ids to query.
 * @property tagFilter Specifies how the specified tags to filter VMs. Possible values are `Any` and `All`.
 * @property tags A mapping of tags used for query filter. One or more `tags` block as defined below.
 */
public data class SoftwareUpdateConfigurationTargetAzureQuery(
    public val locations: List? = null,
    public val scopes: List? = null,
    public val tagFilter: String? = null,
    public val tags: List? = null,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.automation.outputs.SoftwareUpdateConfigurationTargetAzureQuery):
            SoftwareUpdateConfigurationTargetAzureQuery = SoftwareUpdateConfigurationTargetAzureQuery(
            locations = javaType.locations().map({ args0 -> args0 }),
            scopes = javaType.scopes().map({ args0 -> args0 }),
            tagFilter = javaType.tagFilter().map({ args0 -> args0 }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.automation.kotlin.outputs.SoftwareUpdateConfigurationTargetAzureQueryTag.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy