Compartilhar via


RecoveryServicesBackupExtensions.GetBackupProtectionPolicyResource Método

Definição

Obtém um objeto que representa um BackupProtectionPolicyResource junto com as operações de instância que podem ser executadas nele, mas sem dados. Você pode usar CreateResourceIdentifier(String, String, String, String) para criar um BackupProtectionPolicyResourceResourceIdentifier de seus componentes.

public static Azure.ResourceManager.RecoveryServicesBackup.BackupProtectionPolicyResource GetBackupProtectionPolicyResource (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id);
static member GetBackupProtectionPolicyResource : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.RecoveryServicesBackup.BackupProtectionPolicyResource
<Extension()>
Public Function GetBackupProtectionPolicyResource (client As ArmClient, id As ResourceIdentifier) As BackupProtectionPolicyResource

Parâmetros

client
ArmClient

A ArmClient instância na qual o método será executado.

id
ResourceIdentifier

A ID do recurso a ser obtido.

Retornos

Retorna um objeto BackupProtectionPolicyResource.

Aplica-se a