
com.pulumi.azure.paloalto.kotlin.PaloaltoFunctions.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.paloalto.kotlin
import com.pulumi.azure.paloalto.PaloaltoFunctions.getLocalRulestackPlain
import com.pulumi.azure.paloalto.kotlin.inputs.GetLocalRulestackPlainArgs
import com.pulumi.azure.paloalto.kotlin.inputs.GetLocalRulestackPlainArgsBuilder
import com.pulumi.azure.paloalto.kotlin.outputs.GetLocalRulestackResult
import com.pulumi.azure.paloalto.kotlin.outputs.GetLocalRulestackResult.Companion.toKotlin
import kotlinx.coroutines.future.await
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
public object PaloaltoFunctions {
/**
*
* @param argument A collection of arguments for invoking getLocalRulestack.
* @return A collection of values returned by getLocalRulestack.
*/
public suspend fun getLocalRulestack(argument: GetLocalRulestackPlainArgs): GetLocalRulestackResult = toKotlin(getLocalRulestackPlain(argument.toJava()).await())
/**
* @see [getLocalRulestack].
* @param name
* @param resourceGroupName
* @return A collection of values returned by getLocalRulestack.
*/
public suspend fun getLocalRulestack(name: String, resourceGroupName: String): GetLocalRulestackResult {
val argument = GetLocalRulestackPlainArgs(
name = name,
resourceGroupName = resourceGroupName,
)
return toKotlin(getLocalRulestackPlain(argument.toJava()).await())
}
/**
* @see [getLocalRulestack].
* @param argument Builder for [com.pulumi.azure.paloalto.kotlin.inputs.GetLocalRulestackPlainArgs].
* @return A collection of values returned by getLocalRulestack.
*/
public suspend fun getLocalRulestack(argument: suspend GetLocalRulestackPlainArgsBuilder.() -> Unit): GetLocalRulestackResult {
val builder = GetLocalRulestackPlainArgsBuilder()
builder.argument()
val builtArgument = builder.build()
return toKotlin(getLocalRulestackPlain(builtArgument.toJava()).await())
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy