getPolicy

Get policy. Uses Azure REST API version 2018-09-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.

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.

See also


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

Return

A Policy.

Parameters

argument

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

See also