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

com.pulumi.azurenative.verifiedid.kotlin.VerifiedidFunctions.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.verifiedid.kotlin

import com.pulumi.azurenative.verifiedid.VerifiedidFunctions.getAuthorityPlain
import com.pulumi.azurenative.verifiedid.kotlin.inputs.GetAuthorityPlainArgs
import com.pulumi.azurenative.verifiedid.kotlin.inputs.GetAuthorityPlainArgsBuilder
import com.pulumi.azurenative.verifiedid.kotlin.outputs.GetAuthorityResult
import com.pulumi.azurenative.verifiedid.kotlin.outputs.GetAuthorityResult.Companion.toKotlin
import kotlinx.coroutines.future.await
import kotlin.String
import kotlin.Suppress
import kotlin.Unit

public object VerifiedidFunctions {
    /**
     * Get a Authority
     * Azure REST API version: 2024-01-26-preview.
     * @param argument null
     * @return A VerifiedId authority resource
     */
    public suspend fun getAuthority(argument: GetAuthorityPlainArgs): GetAuthorityResult =
        toKotlin(getAuthorityPlain(argument.toJava()).await())

    /**
     * @see [getAuthority].
     * @param authorityName The ID of the authority
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @return A VerifiedId authority resource
     */
    public suspend fun getAuthority(authorityName: String, resourceGroupName: String): GetAuthorityResult {
        val argument = GetAuthorityPlainArgs(
            authorityName = authorityName,
            resourceGroupName = resourceGroupName,
        )
        return toKotlin(getAuthorityPlain(argument.toJava()).await())
    }

    /**
     * @see [getAuthority].
     * @param argument Builder for [com.pulumi.azurenative.verifiedid.kotlin.inputs.GetAuthorityPlainArgs].
     * @return A VerifiedId authority resource
     */
    public suspend fun getAuthority(argument: suspend GetAuthorityPlainArgsBuilder.() -> Unit): GetAuthorityResult {
        val builder = GetAuthorityPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return toKotlin(getAuthorityPlain(builtArgument.toJava()).await())
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy