public void LanDelete()
        {
            Configure();
            var resp = lanApi.Delete(datacenter.Id, lan.Id);

            resp = dcApi.Delete(datacenter.Id);
        }
        public void ServerDelete()
        {
            Configure();
            var response = serverApi.Delete(datacenter.Id, server.Id);

            response = dcApi.Delete(datacenter.Id);

            Assert.IsNull(response);
        }
示例#3
0
        public void VolumeDelete()
        {
            Configure();
            var response = volumeApi.Delete(datacenter.Id, volume.Id);

            response = dcApi.Delete(datacenter.Id);

            Assert.IsNull(response);
        }
        protected override void BeginProcessing()
        {
            try
            {
                var dcApi = new DataCenterApi(Utilities.Configuration);

                var resp = dcApi.Delete(this.DataCenterId);

                WriteObject("Virtual data center successfully removed ");
            }
            catch (Exception ex)
            {
                WriteError(new ErrorRecord(ex, "", ErrorCategory.NotSpecified, null));
            }
        }
 public void DataCenterDelete()
 {
     Configure();
     var resp = dcApi.Delete(datacenter.Id);
 }