getPolicy

Gets the details of the policy. Uses Azure REST API version 2021-02-16-preview. Other available API versions: 2024-09-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native datareplication [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Return

Policy model.

Parameters

argument

null


suspend fun getPolicy(policyName: String, resourceGroupName: String, vaultName: String): GetPolicyResult

Return

Policy model.

Parameters

policyName

The policy name.

resourceGroupName

The name of the resource group. The name is case insensitive.

vaultName

The vault name.

See also


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

Return

Policy model.

Parameters

argument

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

See also