public PSDataBoxEdgeUser(User user) { this.User = user ?? throw new ArgumentNullException(nameof(user)); this.Id = user.Id; var resourceIdentifier = new DataBoxEdgeResourceIdentifier(user.Id); this.ResourceGroupName = resourceIdentifier.ResourceGroupName; this.DeviceName = resourceIdentifier.DeviceName; this.Name = resourceIdentifier.ResourceName; }
public PSDataBoxEdgeUser() { User = new User(); }