Now the SDK is still a preview version. In version 1.6.0. He should use the following code.
var listResources = resourceManagementClient.Resources.ListByResourceGroup("ResourceGroup Name");
But it still cannot work correctly on my side, because the API version is api-version = 2017-05-10 . I will catch the request with the help of a violinist.

The code you specified using the API version
var listResources = ResourceManagementClient.ResourceGroups.ListResources(resourceGroup.Name);

Note Please continue to use 1.5.0-preview instead of 1.6.0-preview now if you want to get a group resource or give your feedback to the azure sdk team. Or you can directly use the REST API
source share