예제 #1
0
        /// <summary>
        /// Write Protection Entities
        /// </summary>
        /// <param name="protectableItems">List of protectable items</param>
        private void WriteProtectionEntities(IList <ProtectableItem> protectableItems)
        {
            List <ASRVirtualMachine> asrProtectionEntityList = RecoveryServicesClient.FetchProtectionEntitiesData <ASRVirtualMachine>(
                protectableItems, this.ProtectionContainer.ID, this.ProtectionContainer.Name);

            this.WriteObject(asrProtectionEntityList, true);
        }