getPolicy

Get policy. Azure REST API version: 2018-09-15. Other available API versions: 2016-05-15.

Return

A Policy.

Parameters

argument

null


suspend fun getPolicy(expand: String? = null, labName: String, name: String, policySetName: String, resourceGroupName: String): GetPolicyResult

Return

A Policy.

See also

Parameters

expand

Specify the $expand query. Example: 'properties($select=description)'

labName

The name of the lab.

name

The name of the policy.

policySetName

The name of the policy set.

resourceGroupName

The name of the resource group.


suspend fun getPolicy(argument: suspend GetPolicyPlainArgsBuilder.() -> Unit): GetPolicyResult

Return

A Policy.

See also

Parameters

argument

Builder for com.pulumi.azurenative.devtestlab.kotlin.inputs.GetPolicyPlainArgs.