![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.azureplaywrightservice.kotlin.AzureplaywrightserviceFunctions.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.azureplaywrightservice.kotlin
import com.pulumi.azurenative.azureplaywrightservice.AzureplaywrightserviceFunctions.getAccountPlain
import com.pulumi.azurenative.azureplaywrightservice.kotlin.inputs.GetAccountPlainArgs
import com.pulumi.azurenative.azureplaywrightservice.kotlin.inputs.GetAccountPlainArgsBuilder
import com.pulumi.azurenative.azureplaywrightservice.kotlin.outputs.GetAccountResult
import com.pulumi.azurenative.azureplaywrightservice.kotlin.outputs.GetAccountResult.Companion.toKotlin
import kotlinx.coroutines.future.await
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
public object AzureplaywrightserviceFunctions {
/**
* Get a Account
* Azure REST API version: 2023-10-01-preview.
* Other available API versions: 2024-02-01-preview, 2024-08-01-preview.
* @param argument null
* @return An account resource
*/
public suspend fun getAccount(argument: GetAccountPlainArgs): GetAccountResult =
toKotlin(getAccountPlain(argument.toJava()).await())
/**
* @see [getAccount].
* @param name Name of account
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @return An account resource
*/
public suspend fun getAccount(name: String, resourceGroupName: String): GetAccountResult {
val argument = GetAccountPlainArgs(
name = name,
resourceGroupName = resourceGroupName,
)
return toKotlin(getAccountPlain(argument.toJava()).await())
}
/**
* @see [getAccount].
* @param argument Builder for [com.pulumi.azurenative.azureplaywrightservice.kotlin.inputs.GetAccountPlainArgs].
* @return An account resource
*/
public suspend fun getAccount(argument: suspend GetAccountPlainArgsBuilder.() -> Unit): GetAccountResult {
val builder = GetAccountPlainArgsBuilder()
builder.argument()
val builtArgument = builder.build()
return toKotlin(getAccountPlain(builtArgument.toJava()).await())
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy