get Protection Policy
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. API Version: 2021-02-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.
Parameters
policy Name
Backup policy information to be fetched.
resource Group Name
The name of the resource group where the recovery services vault is present.
vault Name
The name of the recovery services vault.
See also
suspend fun getProtectionPolicy(argument: suspend GetProtectionPolicyPlainArgsBuilder.() -> Unit): GetProtectionPolicyResult
Return
Base class for backup policy. Workload-specific backup policies are derived from this class.
Parameters
argument
Builder for com.pulumi.azurenative.recoveryservices.kotlin.inputs.GetProtectionPolicyPlainArgs.