Exemplo n.º 1
0
        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;
        }
Exemplo n.º 2
0
 public PSDataBoxEdgeUser()
 {
     User = new User();
 }