Share via


ProtectionPoliciesOperationsExtensions.Get Method

Definition

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.

public static Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionPolicyResource Get (this Microsoft.Azure.Management.RecoveryServices.Backup.IProtectionPoliciesOperations operations, string vaultName, string resourceGroupName, string policyName);
static member Get : Microsoft.Azure.Management.RecoveryServices.Backup.IProtectionPoliciesOperations * string * string * string -> Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionPolicyResource
<Extension()>
Public Function Get (operations As IProtectionPoliciesOperations, vaultName As String, resourceGroupName As String, policyName As String) As ProtectionPolicyResource

Parameters

operations
IProtectionPoliciesOperations

The operations group for this extension method.

vaultName
String

The name of the recovery services vault.

resourceGroupName
String

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

policyName
String

Backup policy information to be fetched.

Returns

Applies to