Microsoft.Azure.Commands.RedisCache.RedisCacheClient.ListCaches C# (CSharp) Method

ListCaches() public method

public ListCaches ( string resourceGroupName ) : IPage
resourceGroupName string
return IPage
        public IPage<RedisResource> ListCaches(string resourceGroupName)
        {
            if (string.IsNullOrEmpty(resourceGroupName))
            {
                return _client.Redis.List();
            }
            else
            {
                return _client.Redis.ListByResourceGroup(resourceGroupName: resourceGroupName);
            }
        }