public IEnumerable <NamespaceAttributes> ListNamespaces(string resourceGroupName)
        {
            NamespaceListResponse             response     = Client.Namespaces.List(resourceGroupName);
            IEnumerable <NamespaceAttributes> resourceList = response.Value.Select(resource => new NamespaceAttributes(resourceGroupName, resource));

            return(resourceList);
        }
        public IEnumerable <NamespaceAttributes> ListAllNamespaces()
        {
            NamespaceListResponse response = Client.Namespaces.ListAll();

            var resourceList = response.Value.Select(resource => new NamespaceAttributes(null, resource));

            return(resourceList);
        }