getVariable

This operation retrieves a single variable, given its name and the subscription it was created at. Uses Azure REST API version 2022-08-01-preview. Other available API versions: 2024-12-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native authorization [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Return

The variable.

Parameters

argument

null


suspend fun getVariable(variableName: String): GetVariableResult

Return

The variable.

Parameters

variableName

The name of the variable to operate on.

See also


suspend fun getVariable(argument: suspend GetVariablePlainArgsBuilder.() -> Unit): GetVariableResult

Return

The variable.

Parameters

argument

Builder for com.pulumi.azurenative.authorization.kotlin.inputs.GetVariablePlainArgs.

See also