public PSDataBoxEdgeShare(Share share)
        {
            this.Share = share ?? throw new ArgumentNullException("share");
            this.Id    = share.Id;
            this.StorageAccountName = GetStorageAccountCredentialAccountName(share.AzureContainerInfo
                                                                             .StorageAccountCredentialId);
            var resourceIdentifier = new DataBoxEdgeResourceIdentifier(share.Id);

            this.ResourceGroupName = resourceIdentifier.ResourceGroupName;
            this.DeviceName        = resourceIdentifier.DeviceName;
            this.Name = resourceIdentifier.ResourceName;
        }
 public PSDataBoxEdgeShare()
 {
     Share = new Share();
 }