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. Uses Azure REST API version 2024-10-01. Other available API versions: 2023-02-01, 2023-04-01, 2023-06-01, 2023-08-01, 2024-01-01, 2024-02-01, 2024-04-01, 2024-04-30-preview, 2024-07-30-preview, 2024-11-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native recoveryservices [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

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

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.

See also


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.

See also