public static IEnumerable <string> GetIdFromSubscription(this IEntityConfig config)
        {
            var resourceGroupId = new[]
            {
                ResourceType.ResourceGroups, config.GetResourceGroupName()
            };

            return(config.ResourceGroup == null
                ? resourceGroupId
                : resourceGroupId.Concat(config.GetProvidersId()));
        }