Exemplo n.º 1
0
        /// <summary>
        /// Write Protection Entity
        /// </summary>
        /// <param name="protectableItem"></param>
        private void WriteProtectionEntity(ProtectableItem protectableItem)
        {
            ASRVirtualMachine entity = RecoveryServicesClient.FetchProtectionEntityData <ASRVirtualMachine>(
                protectableItem, this.ProtectionContainer.ID, this.ProtectionContainer.Name);

            this.WriteObject(entity);
        }