private void WriteProtectionEntity(ProtectableItem protectableItem) { ASRProtectionEntity entity = RecoveryServicesClient.FetchProtectionEntityData<ASRProtectionEntity>( protectableItem, this.ProtectionContainer.ID, this.ProtectionContainer.Name); this.WriteObject(entity); } }