protected override void BeginProcessing()
        {
            try
            {
                var loadbalancerApi = new LoadBalancerApi(Utilities.Configuration);

                var resp = loadbalancerApi.FindAll(DataCenterId, LoadbalancerId);
                WriteObject(resp.Items);
            }
            catch (Exception ex)
            {
                WriteError(new ErrorRecord(ex, "", ErrorCategory.NotSpecified, null));
            }
        }
        protected override void BeginProcessing()
        {
            try
            {
                var loadbalancerApi = new LoadBalancerApi(Utilities.Configuration);

                if (!string.IsNullOrEmpty(LoadbalancerId))
                {
                    var loadbalancer = loadbalancerApi.FindById(DataCenterId, LoadbalancerId, depth: 5);
                    WriteObject(loadbalancer);
                }
                else
                {
                    var loadbalancers = loadbalancerApi.FindAll(DataCenterId, depth: 5);

                    WriteObject(loadbalancers.Items);
                }
            }
            catch (Exception ex)
            {
                WriteError(new ErrorRecord(ex, "", ErrorCategory.NotSpecified, null));
            }
        }