getProtectionPolicy

Provides the details of the backup policies associated to Recovery Services Vault. This is an asynchronous operation. Status of the operation can be fetched using GetPolicyOperationResult API. Azure REST API version: 2023-04-01. Other available API versions: 2016-06-01.

Return

Base class for backup policy. Workload-specific backup policies are derived from this class.

Parameters

argument

null


suspend fun getProtectionPolicy(policyName: String, resourceGroupName: String, vaultName: String): GetProtectionPolicyResult

Return

Base class for backup policy. Workload-specific backup policies are derived from this class.

See also

Parameters

policyName

Backup policy information to be fetched.

resourceGroupName

The name of the resource group where the recovery services vault is present.

vaultName

The name of the recovery services vault.


Return

Base class for backup policy. Workload-specific backup policies are derived from this class.

See also

Parameters

argument

Builder for com.pulumi.azurenative.recoveryservices.kotlin.inputs.GetProtectionPolicyPlainArgs.